/gem5/ext/pybind11/include/pybind11/ |
H A D | stl.h | 86 static handle cast(T &&src, return_value_policy policy, handle parent) { argument 88 policy = return_value_policy_override<Key>::policy(policy); 91 auto value_ = reinterpret_steal<object>(key_conv::cast(forward_like<T>(value), policy, parent)); 122 static handle cast(T &&src, return_value_policy policy, handle parent) { argument 124 return_value_policy policy_key = policy; 125 return_value_policy policy_value = policy; 127 policy_key = return_value_policy_override<Key>::policy(policy_key); 128 policy_value = return_value_policy_override<Value>::policy(policy_valu 169 cast(T &&src, return_value_policy policy, handle parent) argument 228 cast(T &&src, return_value_policy policy, handle parent) argument 266 cast(T_ &&src, return_value_policy policy, handle parent) argument 308 return_value_policy policy; member in struct:variant_caster_visitor 361 cast(Variant &&src, return_value_policy policy, handle parent) argument [all...] |
H A D | functional.h | 85 static handle cast(Func &&f_, return_value_policy policy, handle /* parent */) { argument 91 return cpp_function(*result, policy).release(); 93 return cpp_function(std::forward<Func>(f_), policy).release();
|
H A D | eigen.h | 295 static handle cast_impl(CType *src, return_value_policy policy, handle parent) { argument 296 switch (policy) { 317 static handle cast(Type &&src, return_value_policy /* policy */, handle parent) { 321 static handle cast(const Type &&src, return_value_policy /* policy */, handle parent) { 325 static handle cast(Type &src, return_value_policy policy, handle parent) { argument 326 if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference) 327 policy = return_value_policy::copy; 328 return cast_impl(&src, policy, parent); 331 static handle cast(const Type &src, return_value_policy policy, handl argument 337 cast(Type *src, return_value_policy policy, handle parent) argument 341 cast(const Type *src, return_value_policy policy, handle parent) argument 369 cast(const MapType &src, return_value_policy policy, handle parent) argument 528 cast(const Type *src, return_value_policy policy, handle parent) argument [all...] |
H A D | cast.h | 495 PYBIND11_NOINLINE static handle cast(const void *_src, return_value_policy policy, handle parent, argument 520 switch (policy) { 835 static handle cast(const itype &src, return_value_policy policy, handle parent) { argument 836 if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference) 837 policy = return_value_policy::copy; 838 return cast(&src, policy, parent); 869 static handle cast(const itype *src, return_value_policy policy, handle parent) { argument 872 st.first, policy, parent, st.second, 934 static handle cast(const std::reference_wrapper<type> &src, return_value_policy policy, handl [all...] |
H A D | attr.h | 74 A call policy which places one or more guard variables (``Ts...``) around the function call. 160 /// Return value policy associated with this function 161 return_value_policy policy = return_value_policy::automatic; member in struct:function_record 327 /// Process an attribute indicating the function's return value policy 329 static void init(const return_value_policy &p, function_record *r) { r->policy = p; } 442 * Process a keep_alive call policy -- invokes keep_alive_impl during the
|
H A D | pybind11.h | 144 /* Invoke call policy pre-call hook */ 152 /* Override policy for rvalues -- usually to enforce rvp::move on an rvalue */ 153 return_value_policy policy = return_value_policy_override<Return>::policy(call.func.policy); 160 std::move(args_converter).template call<Return, Guard>(cap->f), policy, call.parent); 162 /* Invoke call policy post-call hook */ 1863 template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> 1865 auto c = detail::collect_arguments<policy>(std::forward<Args>(args)...);
|
H A D | pytypes.h | 107 template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> 109 template <return_value_policy policy = return_value_policy::automatic_reference, typename... Args> 651 /// Lightweight iterator policy using just a simple pointer: see ``PySequence_Fast_ITEMS`` 768 template <return_value_policy policy = return_value_policy::automatic_reference> 770 template <return_value_policy policy = return_value_policy::automatic_reference>
|
/gem5/src/mem/qos/ |
H A D | mem_ctrl.cc | 48 policy(p->qos_policy), 57 // Set the priority policy 58 if (policy) { 59 policy->setMemCtrl(this); 62 // Set the queue priority policy 67 // Set the bus turnaround policy 215 if (policy) { 216 return policy->schedule(m_id, data); 231 if (policy) { 248 "QoSMemoryTurnaround::selectBusState running policy [all...] |
H A D | mem_ctrl.hh | 43 #include "mem/qos/policy.hh" 69 const std::unique_ptr<Policy> policy; member in class:QoS::MemCtrl 184 * the configured QoS policy. 201 * based on configured policy.
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_port.h | 101 sc_port_policy policy=SC_ONE_OR_MORE_BOUND ); 103 sc_port_policy policy=SC_ONE_OR_MORE_BOUND ); 318 sc_port_policy policy=SC_ONE_OR_MORE_BOUND ) : 319 base_type( max_size_, policy ), m_interface( 0 ), m_interface_vec() 323 sc_port_policy policy=SC_ONE_OR_MORE_BOUND ) : 324 base_type( name_, max_size_, policy ), m_interface( 0 ), 645 Description of Modification: multiport binding policy changes
|
H A D | sc_port.cpp | 127 sc_port_policy policy() const; 177 sc_bind_info::policy() const function in class:sc_core::sc_bind_info 240 int max_size_, sc_port_policy policy 246 m_bind_info = new sc_bind_info( max_size_, policy ); 250 const char* name_, int max_size_, sc_port_policy policy 256 m_bind_info = new sc_bind_info( max_size_, policy ); 521 switch ( m_bind_info->policy() ) 761 Description of Modification: multiport binding policy changes
|
/gem5/src/dev/arm/ |
H A D | smmu_v3_caches.hh | 123 const std::string &policy); 172 const std::string &policy); 215 const std::string &policy); 263 const std::string &policy); 306 unsigned _associativity, const std::string &policy);
|
H A D | smmu_v3_caches.cc | 81 panic("Unknown cache replacement policy '%s'\n", policy_name); 150 const std::string &policy) 152 SMMUv3BaseCache(policy, SMMUTLB_SEED), 419 panic("Unknown replacement policy %d\n", replacementPolicy); 430 const std::string &policy) 432 SMMUv3BaseCache(policy, ARMARCHTLB_SEED), 619 panic("Unknown replacement policy %d\n", replacementPolicy); 629 const std::string &policy) 631 SMMUv3BaseCache(policy, IPACACHE_SEED), 799 panic("Unknown replacement policy 149 SMMUTLB(unsigned numEntries, unsigned _associativity, const std::string &policy) argument 429 ARMArchTLB(unsigned numEntries, unsigned _associativity, const std::string &policy) argument 628 IPACache(unsigned numEntries, unsigned _associativity, const std::string &policy) argument 808 ConfigCache(unsigned numEntries, unsigned _associativity, const std::string &policy) argument 972 WalkCache(const std::array<unsigned, 2*WALK_CACHE_LEVELS> &_sizes, unsigned _associativity, const std::string &policy) argument [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_copy_move.cpp | 92 static handle cast(const CopyOnlyInt *src, return_value_policy policy, handle parent) { argument 94 return cast(*src, policy, parent);
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_vector.h | 173 typedef sc_direct_access< type > policy; typedef in struct:sc_core::sc_direct_access 179 // convert from any policy to (const) direct policy 184 typename U::policy::element_type>::value>::type* = NULL) 206 typedef sc_member_access< element_type, access_type > policy; typedef in class:sc_core::sc_member_access 235 typedef typename AccessPolicy::policy access_policy;
|