Searched refs:inc_ref (Results 1 - 9 of 9) sorted by relevance
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | class.h | 60 heap_type->ht_name = name_obj.inc_ref().ptr(); 62 heap_type->ht_qualname = name_obj.inc_ref().ptr(); 174 heap_type->ht_name = name_obj.inc_ref().ptr(); 176 heap_type->ht_qualname = name_obj.inc_ref().ptr(); 377 heap_type->ht_name = name_obj.inc_ref().ptr(); 379 heap_type->ht_qualname = name_obj.inc_ref().ptr(); 571 heap_type->ht_qualname = qualname.inc_ref().ptr();
|
/gem5/src/python/pybind11/ |
H A D | event.cc | 87 obj.inc_ref();
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | functional.h | 87 return none().inc_ref();
|
H A D | pytypes.h | 190 const handle& inc_ref() const & { Py_XINCREF(m_ptr); return *this; } function in class:handle 234 object(handle h, bool is_borrowed) : handle(h) { if (is_borrowed) inc_ref(); } 236 object(const object &o) : handle(o) { inc_ref(); } 254 other.inc_ref(); 285 object(handle h, borrowed_t) : handle(h) { inc_ref(); } 578 if (PyList_SetItem(obj.ptr(), static_cast<ssize_t>(index), val.inc_ref().ptr()) != 0) { 595 if (PyTuple_SetItem(obj.ptr(), static_cast<ssize_t>(index), val.inc_ref().ptr()) != 0) { 793 : Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \ 1039 return handle(value ? Py_True : Py_False).inc_ref().ptr(); 1237 return handle(op).inc_ref() [all...] |
H A D | cast.h | 76 PyList_SET_ITEM(list_ptr, 0, h.inc_ref().ptr()); 511 return handle((PyObject *) it_i->second).inc_ref(); 1068 return none().inc_ref(); 1108 return none().inc_ref(); 1155 return handle(src ? Py_True : Py_False).inc_ref(); 1294 if (src == nullptr) return pybind11::none().inc_ref(); 1576 return src.inc_ref();
|
H A D | pybind11.h | 336 inc_ref(); 713 return handle(Py_NotImplemented).inc_ref().ptr(); 809 inc_ref(); 873 PyModule_AddObject(ptr(), name, obj.inc_ref().ptr() /* steals a reference */); 1620 patient.inc_ref(); /* reference patient and leak the weak reference */ 1932 inc_ref(); 1935 void inc_ref() { function in class:gil_scoped_acquire
|
H A D | attr.h | 392 r->args.emplace_back(a.name, a.descr, a.value.inc_ref(), !a.flag_noconvert, a.flag_none);
|
H A D | stl.h | 268 return none().inc_ref();
|
H A D | numpy.h | 583 api.PyArray_SetBaseObject_(tmp.ptr(), base.inc_ref().ptr()); 992 return src.inc_ref();
|
Completed in 44 milliseconds