Searched refs:cobj (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Objects/ |
D | cobject.c | 20 PyCObject_FromVoidPtr(void *cobj, void (*destr)(void *)) in PyCObject_FromVoidPtr() argument 31 self->cobject=cobj; in PyCObject_FromVoidPtr() 39 PyCObject_FromVoidPtrAndDesc(void *cobj, void *desc, in PyCObject_FromVoidPtrAndDesc() argument 57 self->cobject = cobj; in PyCObject_FromVoidPtrAndDesc() 115 PyCObject_SetVoidPtr(PyObject *self, void *cobj) in PyCObject_SetVoidPtr() argument 124 cself->cobject = cobj; in PyCObject_SetVoidPtr()
|
/external/python/cpython2/Doc/c-api/ |
D | cobject.rst | 31 .. c:function:: PyObject* PyCObject_FromVoidPtr(void* cobj, void (*destr)(void *)) 33 Create a :c:type:`PyCObject` from the ``void *`` *cobj*. The *destr* function 37 .. c:function:: PyObject* PyCObject_FromVoidPtrAndDesc(void* cobj, void* desc, void (*destr)(void *… 39 Create a :c:type:`PyCObject` from the :c:type:`void \*` *cobj*. The *destr* 56 .. c:function:: int PyCObject_SetVoidPtr(PyObject* self, void* cobj) 58 Set the void pointer inside *self* to *cobj*. The :c:type:`PyCObject` must not
|
/external/libcxx/test/std/utilities/variant/variant.visit/ |
D | visit.pass.cpp | 97 const Fn &cobj = obj; in test_call_operator_forwarding() local 101 std::visit(cobj); in test_call_operator_forwarding() 105 std::visit(std::move(cobj)); in test_call_operator_forwarding() 113 std::visit(cobj, v); in test_call_operator_forwarding() 117 std::visit(std::move(cobj), v); in test_call_operator_forwarding() 125 std::visit(cobj, v); in test_call_operator_forwarding() 129 std::visit(std::move(cobj), v); in test_call_operator_forwarding() 139 std::visit(cobj, v, v2); in test_call_operator_forwarding() 143 std::visit(std::move(cobj), v, v2); in test_call_operator_forwarding()
|
/external/python/cpython2/Include/ |
D | cobject.h | 54 void *cobj, void (*destruct)(void*)); 63 void *cobj, void *desc, void (*destruct)(void*,void*)); 75 PyAPI_FUNC(int) PyCObject_SetVoidPtr(PyObject *self, void *cobj);
|
/external/python/cpython2/Python/ |
D | mactoolboxglue.c | 357 PyObject *routinename(object cobj) { \ 365 return (*PyMacGluePtr_##routinename)(cobj); \ 371 int routinename(PyObject *pyobj, object *cobj) { \ 379 return (*PyMacGluePtr_##routinename)(pyobj, cobj); \
|
D | getargs.c | 166 PyObject *cobj; in addcleanup() local 184 cobj = PyCapsule_New(ptr, name, destr); in addcleanup() 185 if (!cobj) { in addcleanup() 189 if (PyList_Append(*freelist, cobj)) { in addcleanup() 190 Py_DECREF(cobj); in addcleanup() 193 Py_DECREF(cobj); in addcleanup()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
D | apply.pass.cpp | 140 TrackedCallable const& cobj = obj; in check_apply_quals_and_types() local 148 auto ret = std::apply(cobj, std::forward<Tuple>(t)); in check_apply_quals_and_types() 160 auto ret = std::apply(std::move(cobj), std::forward<Tuple>(t)); in check_apply_quals_and_types()
|
/external/vulkan-headers/registry/ |
D | reg.py | 539 cobj = self.cmddict[name] 540 write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle)
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 101 PyCObject_FromVoidPtr:void*:cobj:: 105 PyCObject_FromVoidPtrAndDesc:void*:cobj::
|