Home
last modified time | relevance | path

Searched refs:PyCapsule_GetPointer (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Include/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h31 #define PyCapsule_GetPointer(capsule, name) \ macro
/external/python/cpython2/Objects/
Dcobject.c70 return (void *)PyCapsule_GetPointer(self, name); in PyCObject_AsVoidPtr()
Dcapsule.c80 PyCapsule_GetPointer(PyObject *o, const char *name) in PyCapsule_GetPointer() function
/external/python/cpython2/Modules/_ctypes/
Dctypes.h459 void *p = PyCapsule_GetPointer(ptr, name); \
469 (PyCapsule_GetPointer(capsule, name))
/external/python/cpython2/Doc/c-api/
Dcapsule.rst56 .. c:function:: void* PyCapsule_GetPointer(PyObject *capsule, const char *name)
115 :c:func:`PyCapsule_GetPointer` for information on how capsule names are
/external/libxml2/python/
Dlibxml_wrap.h41 #define PyCapsule_GetPointer(o, n) PyCObject_GetDesc((o)) macro
Dtypes.c406 xmlXPathNodeSetFreeNs((xmlNsPtr) PyCapsule_GetPointer(cap, "xmlNsPtr")); in libxml_xmlXPathDestructNsNode()
Dlibxml.c3779 str = PyCapsule_GetPointer(obj, PyCapsule_GetName(obj)); in libxml_getObjDesc()
/external/python/cpython2/PC/os2vacpp/
Dpython.def97 PyCapsule_GetPointer
/external/python/cpython2/Modules/cjkcodecs/
Dcjkcodecs.h376 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
Dmultibytecodec.c1786 codec = PyCapsule_GetPointer(arg, PyMultibyteCodec_CAPSULE_NAME); in __create_codec()
/external/python/cpython2/Doc/howto/
Dcporting.rst231 :c:func:`PyCapsule_GetPointer` is ignored, and no error checking
/external/python/cpython2/Modules/
D_testcapimodule.c2036 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()
2089 pointer2 = PyCapsule_GetPointer(object, "the wrong name"); in test_capsule()
2135 pointer2 = PyCapsule_GetPointer(object, in test_capsule()
/external/python/cpython2/Doc/data/
Drefcounts.dat67 PyCapsule_GetPointer:void*:::
68 PyCapsule_GetPointer:PyObject*:self:0:
69 PyCapsule_GetPointer:const char *:name::
/external/python/cpython2/Python/
Dgetargs.c148 void *ptr = PyCapsule_GetPointer(self, GETARGS_CAPSULE_NAME_CLEANUP_PTR); in cleanup_ptr()
157 Py_buffer *ptr = (Py_buffer *)PyCapsule_GetPointer(self, GETARGS_CAPSULE_NAME_CLEANUP_BUFFER); in cleanup_buffer()
Dcompile.c549 … c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, COMPILER_CAPSULE_NAME_COMPILER_UNIT); in compiler_exit_scope()
/external/python/cpython2/PC/os2emx/
Dpython27.def217 "PyCapsule_GetPointer"
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2280 vtable = PyCapsule_GetPointer(capsule, "mymodule.CAPI");