Searched refs:stolen_t (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dpytypes.h278 struct stolen_t { }; struct in class:object
286 object(handle h, stolen_t) : handle(h) { }
312 template <typename T> T reinterpret_steal(handle h) { return {h, object::stolen_t{}}; }
782 Name(handle h, bool is_borrowed) : Parent(is_borrowed ? Parent(h, borrowed_t{}) : Parent(h, stolen_t{})) { } \
784 Name(handle h, stolen_t) : Parent(h, stolen_t{}) { } \
793 : Parent(check_(o) ? o.inc_ref().ptr() : ConvertFun(o.ptr()), stolen_t{}) \
796 : Parent(check_(o) ? o.release().ptr() : ConvertFun(o.ptr()), stolen_t{}) \
893 : object(PyUnicode_FromStringAndSize(c, (ssize_t) n), stolen_t{}) {
899 : object(PyUnicode_FromString(c), stolen_t{}) {
[all...]
H A Dnumpy.h844 array_t(handle h, stolen_t) : array(h, stolen_t{}) { }
847 array_t(handle h, bool is_borrowed) : array(raw_array_t(h.ptr()), stolen_t{}) {
852 array_t(const object &o) : array(raw_array_t(o.ptr()), stolen_t{}) {

Completed in 16 milliseconds