Searched full:foo* (Results 226 - 234 of 234) sorted by relevance
12345678910
/gem5/ext/pybind11/docs/advanced/cast/ |
H A D | strings.rst | 34 cout << "My favorite food is\n"; 46 My favorite food is
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | common.h | 278 m.def("foo", []() {
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | embed.h | 41 m.def("foo", []() {
|
/gem5/ext/pybind11/tests/ |
H A D | test_class.cpp | 258 int foo() const { return value; } function in class:ProtectedA 266 using ProtectedA::foo; 272 .def("foo", &PublicistA::foo); 274 .def("foo", static_cast<int (ProtectedA::*)() const>(&PublicistA::foo)); 282 virtual int foo() const { return value; } function in class:ProtectedB 290 int foo() const override { PYBIND11_OVERLOAD(int, ProtectedB, foo, ); } 295 using ProtectedB::foo; [all...] |
H A D | test_class.py | 209 assert a.foo() == 42 212 assert b.foo() == 42 218 def foo(self): member in class:test_bind_protected_functions.C 222 assert c.foo() == 0
|
H A D | test_exceptions.cpp | 120 py::dict foo; 123 py::object o = foo["bar"]; 132 py::dict foo; 135 py::object o = foo["bar"]; 157 PyErr_SetString(PyExc_ValueError, "foo"); 161 if ((err && e.what() != std::string("ValueError: foo")) || 170 PyErr_SetString(PyExc_ValueError, "foo"); 177 PyErr_SetString(PyExc_ValueError, "foo");
|
H A D | test_enum.py | 18 foo = m.UnscopedEnum.EOne.name 19 foo = "bar" 29 foo = m.UnscopedEnum.__members__ 30 foo["bar"] = "baz"
|
H A D | test_exceptions.py | 20 assert msg(excinfo.value) == "foo"
|
H A D | test_pytypes.cpp | 80 m.def("bytes_from_string", []() { return py::bytes(std::string("foo")); });
|
Completed in 18 milliseconds
12345678910