/gem5/ext/pybind11/tests/ |
H A D | test_sequences_and_iterators.cpp | 38 auto assert_equal = [&checks](py::handle a, py::handle b) { 324 return std::count_if(o.begin(), o.end(), [](py::handle h) { return h.is_none(); }); 328 auto it = std::find_if(o.begin(), o.end(), [](py::handle h) { return h.is_none(); }); 333 return std::count_if(d.begin(), d.end(), [](std::pair<py::handle, py::handle> p) {
|
H A D | test_eigen.cpp | 272 m.def("cpp_copy", [](py::handle m) { return m.cast<Eigen::MatrixXd>()(1, 0); }); 273 m.def("cpp_ref_c", [](py::handle m) { return m.cast<Eigen::Ref<Eigen::MatrixXd>>()(1, 0); }); 274 m.def("cpp_ref_r", [](py::handle m) { return m.cast<Eigen::Ref<MatrixXdR>>()(1, 0); }); 275 m.def("cpp_ref_any", [](py::handle m) { return m.cast<py::EigenDRef<Eigen::MatrixXd>>()(1, 0); });
|
H A D | test_factory_constructors.cpp | 168 .def(py::init([](py::handle, int v, py::handle) { return TestFactoryHelper::construct1(v); }))
|
H A D | test_stl.cpp | 201 static_assert(std::is_same<py::detail::variant_caster_visitor::result_type, py::handle>::value,
|
H A D | test_numpy_array.cpp | 117 template <typename T, typename T2> py::handle auxiliaries(T &&r, T2 &&r2) {
|
H A D | test_numpy_dtypes.cpp | 344 for (const py::handle &d : {
|
/gem5/src/arch/x86/bios/ |
H A D | smbios.hh | 83 uint16_t handle; member in class:X86ISA::SMBios::SMBiosStructure
|
H A D | smbios.cc | 85 uint16_t handleGuest = X86ISA::htog(handle); 92 SimObject(p), type(_type), handle(0), stringFields(false)
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_wait.cpp | 373 sc_process_b* handle = cpi->process_handle; local 374 handle->file = file; 375 handle->lineno = lineno;
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | numpy.h | 555 const void *ptr = nullptr, handle base = handle()) { 591 array(const pybind11::dtype &dt, ShapeContainer shape, const void *ptr = nullptr, handle base = handle()) 595 array(const pybind11::dtype &dt, T count, const void *ptr = nullptr, handle base = handle()) 599 array(ShapeContainer shape, StridesContainer strides, const T *ptr, handle base = handle()) 603 array(ShapeContainer shape, const T *ptr, handle base = handle()) [all...] |
H A D | embed.h | 148 handle builtins(PyEval_GetBuiltins());
|
H A D | stl_bind.h | 134 for (handle h : it) 152 for (handle h : it) { 415 class_<Vector, holder_type> bind_vector(handle scope, std::string const &name, Args&&... args) { 576 class_<Map, holder_type> bind_map(handle scope, const std::string &name, Args&&... args) {
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_port.cpp | 90 sc_process_b* handle; member in struct:sc_core::sc_bind_ef 101 : handle( handle_ ), 494 p->handle->add_static_event( event ); 504 p->handle->add_static_event( event );
|
/gem5/ext/testlib/ |
H A D | log.py | 134 handler.handle(record) 155 def handle(self, record): member in class:Handler
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-death-test_test.cc | 1162 HANDLE handle = ::CreateEvent(NULL, FALSE, FALSE, NULL); local 1163 ASSERT_NE(INVALID_HANDLE_VALUE, handle); 1165 // Tests that the AutoHandle is correctly initialized with a handle. 1166 testing::internal::AutoHandle auto_handle(handle); 1167 EXPECT_EQ(handle, auto_handle.Get()); 1170 // Note that this cannot verify whether the original handle is closed. 1174 // Tests that Reset assigns the new handle. 1175 // Note that this cannot verify whether the original handle is closed. 1176 handle = ::CreateEvent(NULL, FALSE, FALSE, NULL); 1177 ASSERT_NE(INVALID_HANDLE_VALUE, handle); [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-port.cc | 186 AutoHandle::AutoHandle(Handle handle) argument 187 : handle_(handle) {} 201 void AutoHandle::Reset(HANDLE handle) { argument 202 // Resetting with the same handle we already own is invalid. 203 if (handle_ != handle) { 207 handle_ = handle; 210 << "Resetting a valid handle to itself is likely a programmer error " 217 // invalid handle. 488 // Holds the thread id and thread handle that we pass from 493 // The returned handle wil [all...] |
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | init.h | 20 bool load(handle h, bool) { 106 // class gets to handle the destruction however it likes. 292 enable_if_t<std::is_convertible<O, handle>::value, int> = 0>
|
H A D | class.h | 106 /** Types with static properties need to handle `Type.static_prop = x` in a specific way. 203 for (handle h : reinterpret_borrow<tuple>(tinfo->type->tp_bases)) { 282 msg += handle((PyObject *) type).attr("__module__").cast<std::string>() + ".";
|
H A D | internals.h | 246 auto builtins = handle(PyEval_GetBuiltins());
|
/gem5/ext/ply/ply/ |
H A D | lex.py | 493 handle = ldict.get(f,None) 494 if type(handle) in (types.FunctionType, types.MethodType): 495 lexindexfunc[i] = (handle,toknames[f]) 497 elif handle is not None:
|
/gem5/ext/pybind11/tests/test_embed/ |
H A D | test_interpreter.cpp | 99 auto builtins = py::handle(PyEval_GetBuiltins());
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 1509 // Provides leak-safe Windows kernel handle ownership. 1520 explicit AutoHandle(Handle handle); 1526 void Reset(Handle handle); 1529 // Returns true iff the handle is a valid handle object that can be closed.
|