Home
last modified time | relevance | path

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

/external/python/pybind11/tests/
Dtest_virtual_functions.py286 assert obj.say_something(3) == "hihihi"
291 assert obj.say_something(3) == "hihihi"
296 assert obj.say_something(3) == "B says hi 3 times"
302 assert obj.say_something(3) == "B says hi 3 times"
312 assert obj.say_something(3) == "B says hi 3 times"
321 assert obj.say_something(3) == "B says hi 3 times"
331 assert obj.say_something(3) == "B says hi 3 times"
341 assert obj.say_something(3) == "B says hi 3 times"
354 assert obj.say_something(3) == "B says hi 3 times"
360 assert obj.say_something(3) == "B says hi 3 times"
[all …]
Dtest_virtual_functions.cpp344 virtual std::string say_something(unsigned times) { \
351 return say_something(1) + " " + std::to_string(unlucky_number()); \
362 std::string say_something(unsigned times) override { \
397 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, A_Repeat, say_… in say_something() function in PyA_Repeat
403 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, B_Repeat, say_… in say_something() function in PyB_Repeat
410 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, C_Repeat, say_… in say_something() function in PyC_Repeat
417 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, D_Repeat, say_… in say_something() function in PyD_Repeat
440 …std::string say_something(unsigned times) override { PYBIND11_OVERRIDE(std::string, Base, say_some… in say_something() function in PyA_Tpl
469 .def("say_something", &A_Repeat::say_something) in initialize_inherited_virtuals()
484 .def("say_something", &A_Tpl::say_something) in initialize_inherited_virtuals()