Home
last modified time | relevance | path

Searched refs:PyCapsule_New (Results 1 – 25 of 43) sorted by relevance

12

/external/libxml2/python/
Dtypes.c234 ret = PyCapsule_New((void *) doc, (char *) "xmlDocPtr", NULL); in libxml_xmlDocPtrWrap()
250 ret = PyCapsule_New((void *) node, (char *) "xmlNodePtr", NULL); in libxml_xmlNodePtrWrap()
266 ret = PyCapsule_New((void *) uri, (char *) "xmlURIPtr", NULL); in libxml_xmlURIPtrWrap()
282 ret = PyCapsule_New((void *) ns, (char *) "xmlNsPtr", NULL); in libxml_xmlNsPtrWrap()
298 ret = PyCapsule_New((void *) attr, (char *) "xmlAttrPtr", NULL); in libxml_xmlAttrPtrWrap()
314 ret = PyCapsule_New((void *) attr, (char *) "xmlAttributePtr", NULL); in libxml_xmlAttributePtrWrap()
330 ret = PyCapsule_New((void *) elem, (char *) "xmlElementPtr", NULL); in libxml_xmlElementPtrWrap()
346 ret = PyCapsule_New((void *) ctxt, (char *) "xmlXPathContextPtr", NULL); in libxml_xmlXPathContextPtrWrap()
362 ret = PyCapsule_New((void *)ctxt, (char *)"xmlXPathParserContextPtr", NULL); in libxml_xmlXPathParserContextPtrWrap()
379 ret = PyCapsule_New((void *) ctxt, (char *) "xmlParserCtxtPtr", NULL); in libxml_xmlParserCtxtPtrWrap()
[all …]
Dlibxml_wrap.h38 #ifndef PyCapsule_New
39 #define PyCapsule_New PyCObject_FromVoidPtrAndDesc macro
/external/tensorflow/tensorflow/compiler/xla/python/
Dcustom_call_for_test.pyx6 from cpython.pycapsule cimport PyCapsule_New
19 cpu_custom_call_targets[fn_name] = PyCapsule_New(fn, name, NULL)
/external/python/cpython2/Include/
Dpycapsule.h28 PyAPI_FUNC(PyObject *) PyCapsule_New(
/external/python/cpython3/Include/
Dpycapsule.h28 PyAPI_FUNC(PyObject *) PyCapsule_New(
/external/python/cpython3/Doc/includes/
Dcapsulethunk.h27 #define PyCapsule_New(pointer, name, destructor) \ macro
/external/python/cpython2/Doc/includes/
Dcapsulethunk.h27 #define PyCapsule_New(pointer, name, destructor) \ macro
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h288 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec()
313 PyCapsule_New((void *)h, PyMultibyteCodec_CAPSULE_NAME, NULL)); in register_maps()
/external/python/cpython2/Modules/cjkcodecs/
Dcjkcodecs.h285 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec()
310 PyCapsule_New((void *)h, PyMultibyteCodec_CAPSULE_NAME, NULL)); in register_maps()
/external/python/cpython2/Doc/c-api/
Dcapsule.rst31 See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor
40 .. c:function:: PyObject* PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destr…
/external/python/cpython3/Doc/c-api/
Dcapsule.rst31 See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor
40 .. c:function:: PyObject* PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destr…
/external/python/cpython2/Objects/
Dcapsule.c44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) in PyCapsule_New() function
/external/python/cpython3/Objects/
Dcapsule.c44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) in PyCapsule_New() function
/external/tensorflow/tensorflow/python/
Dpywrap_tfe.i189 $result = PyCapsule_New($1, nullptr, TFE_DeleteContextCapsule);
/external/python/cpython2/PC/os2vacpp/
Dpython.def100 PyCapsule_New
/external/python/cpython2/Modules/_ctypes/
Dctypes.h466 (PyCapsule_New(pointer, name, capsule_destructor_ ## name))
/external/python/cpython2/Doc/data/
Drefcounts.dat75 PyCapsule_New:PyObject*::+1:
76 PyCapsule_New:void*:pointer::
77 PyCapsule_New:const char *:name::
78 PyCapsule_New::void (* destructor)(PyObject* )::
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c163 errobj = PyCapsule_New(space, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in _ctypes_get_errobj()
696 pa->keep = PyCapsule_New(pa->value.p, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in ConvParam()
/external/python/cpython3/Doc/howto/
Dcporting.rst228 * The name parameter passed in to :c:func:`PyCapsule_New` is ignored.
/external/python/cpython2/Doc/howto/
Dcporting.rst228 * The name parameter passed in to :c:func:`PyCapsule_New` is ignored.
/external/python/cpython3/PC/
Dpython3.def54 PyCapsule_New=python37.PyCapsule_New
/external/python/cpython2/Modules/
DcStringIO.c769 v = PyCapsule_New(&CAPI, PycStringIO_CAPSULE_NAME, NULL); in initcStringIO()
Dunicodedata.c1281 v = PyCapsule_New((void *)&hashAPI, PyUnicodeData_CAPSULE_NAME, NULL); in initunicodedata()
/external/python/cpython3/Doc/data/
Drefcounts.dat180 PyCapsule_New:PyObject*::+1:
181 PyCapsule_New:void*:pointer::
182 PyCapsule_New:const char *:name::
183 PyCapsule_New::void (* destructor)(PyObject* )::
/external/python/cpython2/PC/os2emx/
Dpython27.def220 "PyCapsule_New"

12