Home
last modified time | relevance | path

Searched refs:lucky_number (Results 1 – 14 of 14) sorted by relevance

/external/python/pybind11/tests/
Dtest_virtual_functions.py298 assert obj.lucky_number() == 7.0
304 assert obj.lucky_number() == 888.0
308 def lucky_number(self): member in test_inherited_virtuals.CR
309 return m.C_Repeat.lucky_number(self) + 1.25
314 assert obj.lucky_number() == 889.25
323 assert obj.lucky_number() == 888.0
327 def lucky_number(self): member in test_inherited_virtuals.CCR
328 return CR.lucky_number(self) * 10
333 assert obj.lucky_number() == 8892.5
337 def lucky_number(self): member in test_inherited_virtuals.CCT
[all …]
Dtest_virtual_functions.cpp365 virtual double lucky_number() { return 7.0; }
372 double lucky_number() override { return 888; }
404 double lucky_number() override { PYBIND11_OVERRIDE(double, B_Repeat, lucky_number, ); } in lucky_number() function in PyB_Repeat
411 double lucky_number() override { PYBIND11_OVERRIDE(double, C_Repeat, lucky_number, ); } in lucky_number() function in PyC_Repeat
418 double lucky_number() override { PYBIND11_OVERRIDE(double, D_Repeat, lucky_number, ); } in lucky_number() function in PyD_Repeat
447 double lucky_number() override { PYBIND11_OVERRIDE(double, Base, lucky_number, ); } in lucky_number() function in PyB_Tpl
473 .def("lucky_number", &B_Repeat::lucky_number); in initialize_inherited_virtuals()
488 .def("lucky_number", &B_Tpl::lucky_number); in initialize_inherited_virtuals()
/external/nanopb-c/examples/simple/
Dsimple.pb.c14 … PB_FIELD( 1, INT32 , REQUIRED, STATIC , FIRST, SimpleMessage, lucky_number, lucky_number, 0),
Dsimple.c28 message.lucky_number = 13; in main()
66 printf("Your lucky number was %d!\n", (int)message.lucky_number); in main()
Dsimple.proto7 required int32 lucky_number = 1; field
Dsimple.pb.h19 int32_t lucky_number; member
/external/grpc-grpc/third_party/nanopb/examples/simple/
Dsimple.c28 message.lucky_number = 13; in main()
66 printf("Your lucky number was %d!\n", message.lucky_number); in main()
Dsimple.proto7 required int32 lucky_number = 1; field
/external/nanopb-c/examples/cmake_simple/
Dsimple.c28 message.lucky_number = 13; in main()
66 printf("Your lucky number was %d!\n", message.lucky_number); in main()
Dsimple.proto7 required int32 lucky_number = 1; field
/external/grpc-grpc/third_party/nanopb/examples/cmake_simple/
Dsimple.c28 message.lucky_number = 13; in main()
66 printf("Your lucky number was %d!\n", message.lucky_number); in main()
Dsimple.proto7 required int32 lucky_number = 1; field
/external/nanopb-c/examples/cmake_relpath/
Dsimple.c28 message.lucky_number = 13; in main()
67 printf("Your lucky number was %d!\n", message.lucky_number); in main()
/external/nanopb-c/examples/cmake_relpath/proto/
Dsimple.proto8 required int32 lucky_number = 1; field