Searched refs:attr (Results 51 - 71 of 71) sorted by relevance
123
/gem5/ext/testlib/ |
H A D | result.py | 179 for attr in self.attributes: 181 attr.write(file_)
|
/gem5/src/python/m5/util/ |
H A D | code_formatter.py | 288 def __getattr__(self, attr): 289 return self[attr]
|
/gem5/src/arch/arm/ |
H A D | tlb.hh | 343 setAttr(uint64_t attr) argument 345 _attr = attr;
|
H A D | isa.cc | 2013 uint64_t attr = getDTBPtr(tc)->getAttr(); 2014 uint64_t attr1 = attr >> 56; 2016 attr |= 0x100; 2017 attr &= ~ uint64_t(0x80); 2019 newVal = (paddr & mask(47, 12)) | attr;
|
H A D | miscregs_types.hh | 625 Bitfield<63, 56> attr; member in namespace:ArmISA
|
/gem5/ext/pybind11/tests/ |
H A D | test_stl.cpp | 159 m.attr("has_optional") = true; 182 m.attr("has_exp_optional") = true;
|
H A D | test_builtin_casters.cpp | 51 m.attr("wchar_size") = py::cast(sizeof(wchar_t)); 65 m.attr("has_string_view") = true;
|
H A D | test_copy_move.cpp | 161 m.attr("has_optional") = true; 175 m.attr("has_optional") = false;
|
H A D | test_numpy_array.cpp | 27 check.numpy = np.attr("dtype")(np.attr(name)); 60 check.size_numpy = check.dtype.attr("itemsize").template cast<int>();
|
H A D | test_eigen.cpp | 90 m.attr("have_eigen") = true; 322 py::module::import("numpy").attr("ones")(10); 326 py::module::import("numpy").attr("ones")(10);
|
H A D | test_class.cpp | 248 aliased.attr("size_noalias") = py::int_(sizeof(AliasedHasOpNewDelSize)); 249 aliased.attr("size_alias") = py::int_(sizeof(PyAliasedHasOpNewDelSize));
|
H A D | constructor_stats.h | 123 py::module::import("gc").attr("collect")();
|
H A D | test_factory_constructors.cpp | 148 m_tag.attr(#Name) = py::cast(Name##_tag{})
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest-port_test.cc | 322 pthread_attr_t attr; local 323 ASSERT_EQ(0, pthread_attr_init(&attr)); 324 ASSERT_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE)); 326 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 327 ASSERT_EQ(0, pthread_attr_destroy(&attr));
|
/gem5/util/stats/ |
H A D | db.py | 393 def __setattr__(self, attr, value): 394 super(Database, self).__setattr__(attr, value) 395 if attr != 'method':
|
/gem5/src/sim/ |
H A D | init.cc | 204 m_m5.attr("__package__") = py::cast("_m5");
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | pytypes.h | 82 obj_attr_accessor attr(handle key) const; 84 str_attr_accessor attr(const char *key) const; 496 PYBIND11_DEPRECATED("Use of obj.attr(...) as bool is deprecated in favor of pybind11::hasattr(obj, ...)") 929 return attr("format")(std::forward<Args>(args)...); 1411 template <typename D> obj_attr_accessor object_api<D>::attr(handle key) const { function in class:object_api 1414 template <typename D> str_attr_accessor object_api<D>::attr(const char *key) const { function in class:object_api 1421 return attr("__contains__")(std::forward<T>(item)).template cast<bool>(); 1428 str_attr_accessor object_api<D>::doc() const { return attr("__doc__"); }
|
H A D | numpy.h | 221 auto c = m.attr("_ARRAY_API"); 500 .attr("_dtype_from_pep3118").cast<object>().release().ptr(); 513 for (auto field : attr("fields").attr("items")()) {
|
H A D | cast.h | 416 errorString += handle(scope.type).attr("__name__").cast<std::string>(); 1134 // On PyPy, check that "__bool__" (or "__nonzero__" on Python 2.7) attr exists 1857 // forward declaration (definition in attr.h) 1862 function_call(const function_record &f, handle p); // Implementation in attr.h
|
/gem5/src/gpu-compute/ |
H A D | gpu_tlb.cc | 737 SegAttr attr = tc->readMiscRegNoEffect(MISCREG_SEG_ATTR(seg)); local 740 if (!attr.writable && (mode == BaseTLB::Write || 744 if (!attr.readable && mode == BaseTLB::Read) 747 expandDown = attr.expandDown;
|
/gem5/src/arch/ |
H A D | isa_parser.py | 2564 for attr in attrList: 2565 tmp_dict[attr] = eval(attr)
|
Completed in 77 milliseconds
123