/third_party/boost/boost/python/detail/ |
D | borrowed_ptr.hpp | 16 template<class T> class borrowed class 29 struct is_borrowed_ptr<borrowed<T>*> 35 struct is_borrowed_ptr<borrowed<T> const*> 41 struct is_borrowed_ptr<borrowed<T> volatile*> 47 struct is_borrowed_ptr<borrowed<T> const volatile*> 58 struct is_borrowed<borrowed<T> > 73 inline T* get_managed_object(detail::borrowed<T> const volatile* p, tag_t) in get_managed_object()
|
/third_party/boost/libs/python/test/ |
D | borrowed.cpp | 25 assert_borrowed_ptr(borrowed((PyObject*)0)); in main() 26 assert_borrowed_ptr(borrowed((PyTypeObject*)0)); in main() 27 assert_borrowed_ptr((detail::borrowed<PyObject> const*)0); in main() 28 assert_borrowed_ptr((detail::borrowed<PyObject> volatile*)0); in main() 29 assert_borrowed_ptr((detail::borrowed<PyObject> const volatile*)0); in main()
|
D | callbacks.cpp | 90 return call<char const*>(f, borrowed(s)); in apply_cstring_pyobject() 107 return call<handle<> >(x.get(), type_handle(borrowed(x->ob_type))); in apply_to_own_type()
|
D | builtin_converters.cpp | 47 using boost::python::borrowed; 52 return handle<PyTypeObject>(borrowed(x->ob_type)); in get_type()
|
D | test_overload_resolution.cpp | 28 using boost::python::borrowed;
|
/third_party/boost/boost/python/ |
D | object_slices.hpp | 44 return object_slice(x, api::slice_key(borrowed(start.ptr()), borrowed(finish.ptr()))); in slice() 52 return const_object_slice(x, api::slice_key(borrowed(start.ptr()), borrowed(finish.ptr()))); in slice() 60 return object_slice(x, api::slice_key(allow_null((PyObject*)0), borrowed(finish.ptr()))); in slice() 68 return const_object_slice(x, api::slice_key(allow_null((PyObject*)0), borrowed(finish.ptr()))); in slice() 92 return object_slice(x, api::slice_key(borrowed(start.ptr()), allow_null((PyObject*)0))); in slice() 100 return const_object_slice(x, api::slice_key(borrowed(start.ptr()), allow_null((PyObject*)0))); in slice()
|
D | borrowed.hpp | 14 inline python::detail::borrowed<T>* borrowed(T* p) in borrowed() function 16 return (detail::borrowed<T>*)p; in borrowed()
|
D | handle.hpp | 31 inline T* manage_ptr(detail::borrowed<null_ok<T> >* p, int) in manage_ptr() 37 inline T* manage_ptr(null_ok<detail::borrowed<T> >* p, int) in manage_ptr() 43 inline T* manage_ptr(detail::borrowed<T>* p, long) in manage_ptr()
|
D | args.hpp | 72 elements[0].default_value = handle<>(python::borrowed(object(value).ptr())); in operator =()
|
/third_party/boost/libs/python/doc/reference/ |
D | handle.qbk | 25 explicit handle(detail::borrowed<null_ok<Y> >* p); 28 explicit handle(null_ok<detail::borrowed<Y> >* p); 31 explicit handle(detail::borrowed<Y>* p); 64 namespace detail { template <class T> struct borrowed; } 73 explicit handle(detail::borrowed<null_ok<Y> >* p); 83 explicit handle(null_ok<detail::borrowed<Y> >* p);`` 92 explicit handle(detail::borrowed<Y>* p);`` 172 [section Function `borrowed`] 175 detail::borrowed<T>* borrowed(T* p) 177 return (detail::borrowed<T>*)p;
|
D | lvalue_from_pytype.qbk | 76 #include <boost/python/borrowed.hpp> 94 cache = handle<noddy_NoddyObject>(borrowed(x));
|
D | has_back_reference.qbk | 41 handle<> self() { return handle<>(borrowed(m_self)); }
|
/third_party/boost/libs/python/src/object/ |
D | enum.cpp | 166 type_handle metatype(borrowed(&PyType_Type)); in new_enum_type() 167 type_handle base(borrowed(&enum_type_object)); in new_enum_type() 244 object type((type_handle(borrowed(type_)))); in to_python()
|
D | function.cpp | 142 handle<>inner_args(allow_null(borrowed(args))); in call() 406 return handle<function>(borrowed(downcast<function>(keeper.ptr()))); in not_implemented_function() 436 dict = handle<>(borrowed(((PyClassObject*)ns)->cl_dict)); in add_to_namespace() 440 dict = handle<>(borrowed(((PyTypeObject*)ns)->tp_dict)); in add_to_namespace() 457 borrowed( in add_to_namespace()
|
D | class.cpp | 324 return type_handle(borrowed(&class_metatype_object)); in class_metatype() 479 return type_handle(borrowed(&class_type_object)); in class_type() 517 python::borrowed( in query_class() 712 dict d((handle<>(borrowed(self->tp_dict)))); in make_method_static()
|
/third_party/python/Doc/c-api/ |
D | weakref.rst | 61 This function returns a :term:`borrowed reference` to the referenced object. 63 except when it cannot be destroyed before the last usage of the borrowed
|
D | function.rst | 64 Return a :term:`borrowed reference` to the *__module__* attribute of the
|
/third_party/boost/boost/python/converter/ |
D | shared_ptr_from_python.hpp | 53 (void*)0, shared_ptr_deleter(handle<>(borrowed(source))) ); in construct()
|
/third_party/boost/libs/mpl/doc/src/refmanual/ |
D | Algorithms.rst | 5 of many of the STL algorithms, iteration algorithms borrowed from
|
/third_party/boost/libs/xpressive/doc/ |
D | acknowledgements.qbk | 17 various ideas borrowed liberally from his regex implementation. I'd also like
|
/third_party/boost/boost/python/suite/indexing/detail/ |
D | indexing_suite_detail.hpp | 534 handle<> h(python::borrowed(shared)); in base_get_item_() 653 handle<> l_(python::borrowed(v)); in base_set_slice()
|
/third_party/python/Doc/extending/ |
D | extending.rst | 648 *borrowed* references; do not decrement their reference count! 938 not hold on to the object longer than the owner from which it was borrowed. 939 Using a borrowed reference after the owner has disposed of it risks using freed 944 --- in other words, with a borrowed reference you don't run the risk of leaking 946 that there are some subtle situations where in seemingly correct code a borrowed 947 reference can be used after the owner from which it was borrowed has in fact 950 A borrowed reference can be changed into an owned reference by calling 952 reference was borrowed --- it creates a new owned reference, and gives full 981 The function :c:func:`PyImport_AddModule` also returns a borrowed reference, even 994 from the caller. The caller owns a reference to the object, so the borrowed [all …]
|
/third_party/boost/libs/python/example/numpy/ |
D | gaussian.cpp | 254 bp::object obj(bp::handle<>(bp::borrowed(p))); in convertible()
|
/third_party/boost/libs/outcome/doc/src/themes/boostdoc/ |
D | LICENSE | 26 Parts of the navigation implementation were borrowed from the docdock theme,
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/fast-deep-equal/ |
D | README.md | 44 comparing the elements - borrowed from [react-fast-compare](https://github.com/FormidableLabs/react…
|