Home
last modified time | relevance | path

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

/third_party/python/Include/
Dpycapsule.h28 PyAPI_FUNC(PyObject *) PyCapsule_New(
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage_module.cc110 if (PyObject* api = PyCapsule_New( in INITFUNC()
/third_party/python/Modules/cjkcodecs/
Dcjkcodecs.h288 codecobj = PyCapsule_New((void *)codec, PyMultibyteCodec_CAPSULE_NAME, NULL); in getcodec()
309 PyObject *capsule = PyCapsule_New((void *)h, in register_maps()
/third_party/python/Doc/c-api/
Dcapsule.rst31 See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor
41 .. c:function:: PyObject* PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destr…
/third_party/python/Objects/
Dcapsule.c44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) in PyCapsule_New() function
/third_party/python/Modules/_ctypes/
Dcallproc.c168 errobj = PyCapsule_New(space, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in _ctypes_get_errobj()
708 pa->keep = PyCapsule_New(pa->value.p, CTYPES_CAPSULE_NAME_PYMEM, pymem_destructor); in ConvParam()
Dcfield.c1352 keep = PyCapsule_New(buffer, CTYPES_CFIELD_CAPSULE_NAME_PYMEM, pymem_destructor); in Z_set()
/third_party/python/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* )::
Dstable_abi.dat55 function,PyCapsule_New,3.2,
/third_party/python/PC/
Dpython3dll.c128 EXPORT_FUNC(PyCapsule_New)
/third_party/python/Modules/
Dunicodedata.c1330 PyObject *capsule = PyCapsule_New(capi, in unicodedata_create_capi()
Dpyexpat.c1972 PyObject *capi_object = PyCapsule_New(capi, PyExpat_CAPSULE_NAME, in pyexpat_exec()
D_cursesmodule.c4770 c_api_object = PyCapsule_New(PyCurses_API, PyCurses_CAPSULE_NAME, in PyInit__curses()
D_testcapimodule.c3131 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()
3138 object = PyCapsule_New(known, "ignored", NULL); in test_capsule()
D_datetimemodule.c6643 x = PyCapsule_New(capi, PyDateTime_CAPSULE_NAME, datetime_destructor); in _datetime_exec()
Dsocketmodule.c7150 PyObject *capsule = PyCapsule_New(capi,
Dposixmodule.c14532 return PyCapsule_New(cookie, "DLL directory cookie", NULL); in os__add_dll_directory_impl()
/third_party/python/Misc/
Dstable_abi.txt388 function PyCapsule_New
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c2774 …PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyMo… in SWIG_Python_SetModule()
2815 obj = PyCapsule_New((void*) descriptor, NULL, NULL); in SWIG_Python_TypeQuery()
/third_party/python/Doc/extending/
Dextending.rst1187 The function :c:func:`PyCapsule_New` takes a name parameter
1269 c_api_object = PyCapsule_New((void *)PySpam_API, "spam._C_API", NULL);
/third_party/python/Python/
Dcompile.c685 PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL); in compiler_enter_scope()