Searched refs:instance (Results 26 - 46 of 46) sorted by relevance
12
/gem5/ext/pybind11/tests/ |
H A D | test_class.py | 18 instance = m.NoConstructor.new_instance() 22 del instance 43 Return an instance
|
H A D | test_smart_ptr.py | 158 assert "Unable to cast from non-held to held instance" in str(excinfo.value) 194 assert "Unable to cast from non-held to held instance" in str(excinfo.value) 272 instance = m.HeldByDefaultHolder() 274 m.HeldByDefaultHolder.load_shared_ptr(instance) 276 "default-holder instance" in str(excinfo.value)
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | cast.h | 107 // want to follow Python/virtual C++ rules that there should only be one instance of a 207 instance *inst = nullptr; 213 value_and_holder(instance *i, const detail::type_info *type, size_t vpos, size_t index) : 236 : inst->nonsimple.status[index] & instance::status_holder_constructed; 242 inst->nonsimple.status[index] |= instance::status_holder_constructed; 244 inst->nonsimple.status[index] &= (uint8_t) ~instance::status_holder_constructed; 249 : inst->nonsimple.status[index] & instance::status_instance_registered; 255 inst->nonsimple.status[index] |= instance::status_instance_registered; 257 inst->nonsimple.status[index] &= (uint8_t) ~instance::status_instance_registered; 261 // Container for accessing and iterating over an instance' [all...] |
H A D | pybind11.h | 339 pybind11_fail("overloading a method with both static and instance methods is not supported; " 343 "error while attempting to bind " + std::string(rec->is_method ? "instance" : "static") + " method " + 395 pybind11_fail("cpp_function::cpp_function(): Could not allocate instance method object"); 440 const auto pi = reinterpret_cast<instance *>(parent.ptr()); 780 auto *pi = reinterpret_cast<instance *>(parent.ptr()); 1296 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1324 static void init_holder(detail::instance *inst, detail::value_and_holder &v_h, 1335 /// Performs instance initialization including constructing a holder and registering the known 1336 /// instance. Should be called as soon as the `type` value_ptr is set for an instance [all...] |
H A D | attr.h | 228 void (*init_instance)(instance *, const void *) = nullptr;
|
/gem5/src/sim/ |
H A D | drain.cc | 197 : _drainManager(DrainManager::instance()),
|
H A D | eventq.hh | 221 Counter instance; member in class:Event 351 instance = ++instanceCounter; 543 * An instance of this class temporarily migrates execution to a
|
H A D | eventq.cc | 89 return csprintf("Event_%d", instance);
|
H A D | cxx_manager.cc | 629 return DrainManager::instance().tryDrain() ? 0 : 1; 635 DrainManager::instance().resume();
|
/gem5/src/python/m5/util/ |
H A D | grammar.py | 111 parser = new.instance(ply.yacc.LRParser, dict)
|
/gem5/src/mem/ruby/network/ |
H A D | MessageBuffer.hh | 128 return RubyDummyPort::instance();
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | internals.h | 97 std::unordered_multimap<const void *, instance*> registered_instances; // void * -> instance* 121 void (*init_instance)(instance *, const void *);
|
H A D | common.h | 301 /// Approach used to cast a previously unknown C++ instance into a Python object 327 /** Use std::move to move the return value contents into a new instance 361 * The space to allocate for simple layout instance holders (see below) in multiple of the size of 381 /// The 'instance' type which needs to be standard layout (need to be able to use 'offsetof') 382 struct instance { struct 394 * An instance has two possible value/holder layouts. 419 /// For simple layout, tracks whether the instance is registered in `registered_instances` 424 /// Initializes all of the above type/values/holders data (but not the instance values themselves) 440 static_assert(std::is_standard_layout<instance>::value, "Internal error: `pybind11::detail::instance` i [all...] |
/gem5/ext/testlib/ |
H A D | helper.py | 337 def collect(self, instance): 339 col.append(instance)
|
/gem5/util/cxx_config/ |
H A D | main.cc | 264 DrainManager::instance().preCheckpointRestore();
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | main.cc | 308 DrainManager::instance().preCheckpointRestore();
|
/gem5/src/python/pybind11/ |
H A D | core.cc | 126 .def_static("instance", &DrainManager::instance,
|
/gem5/src/python/m5/ |
H A D | simulate.py | 73 _drain_manager = _m5.drain.DrainManager.instance()
|
/gem5/src/gpu-compute/ |
H A D | dispatcher.cc | 49 GpuDispatcher *GpuDispatcher::instance = nullptr; member in class:GpuDispatcher
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-param-test_test.cc | 571 static TestGenerationEnvironment* instance = new TestGenerationEnvironment; local 572 return instance;
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest.cc | 2541 // The newly created TestInfo instance will assume 3985 static UnitTest* const instance = new UnitTest; local 3986 return instance; 3988 static UnitTest instance; 3989 return &instance;
|
Completed in 66 milliseconds
12