Searched refs:say_something (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.py255 assert obj.say_something(3) == "hihihi"
260 assert obj.say_something(3) == "hihihi"
265 assert obj.say_something(3) == "B says hi 3 times"
271 assert obj.say_something(3) == "B says hi 3 times"
281 assert obj.say_something(3) == "B says hi 3 times"
290 assert obj.say_something(3) == "B says hi 3 times"
300 assert obj.say_something(3) == "B says hi 3 times"
310 assert obj.say_something(3) == "B says hi 3 times"
323 assert obj.say_something(3) == "B says hi 3 times"
329 assert obj.say_something(
335 def say_something(self, times): member in class:test_inherited_virtuals.DT
351 def say_something(self, times): member in class:test_inherited_virtuals.DT2
358 def say_something(self, times): member in class:test_inherited_virtuals.BT
[all...]
H A Dtest_virtual_functions.cpp332 virtual std::string say_something(unsigned times) { \
339 return say_something(1) + " " + std::to_string(unlucky_number()); \
348 std::string say_something(unsigned times) override { \
378 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, A_Repeat, say_something, times); }
384 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, B_Repeat, say_something, times); }
391 std::string say_something(unsigned times) override { PYBIND11_OVERLOAD(std::string, C_Repeat, say_something, times); }
398 std::string say_something(unsigne
[all...]

Completed in 7 milliseconds