Searched refs:PyCapsule_New (Results 1 – 21 of 21) sorted by relevance
/third_party/python/Include/ |
D | pycapsule.h | 28 PyAPI_FUNC(PyObject *) PyCapsule_New(
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message_module.cc | 110 if (PyObject* api = PyCapsule_New( in INITFUNC()
|
/third_party/python/Modules/cjkcodecs/ |
D | cjkcodecs.h | 288 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/ |
D | capsule.rst | 31 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/ |
D | capsule.c | 44 PyCapsule_New(void *pointer, const char *name, PyCapsule_Destructor destructor) in PyCapsule_New() function
|
/third_party/python/Modules/_ctypes/ |
D | callproc.c | 168 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()
|
D | cfield.c | 1352 keep = PyCapsule_New(buffer, CTYPES_CFIELD_CAPSULE_NAME_PYMEM, pymem_destructor); in Z_set()
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 180 PyCapsule_New:PyObject*::+1: 181 PyCapsule_New:void*:pointer:: 182 PyCapsule_New:const char *:name:: 183 PyCapsule_New::void (* destructor)(PyObject* )::
|
D | stable_abi.dat | 55 function,PyCapsule_New,3.2,
|
/third_party/python/PC/ |
D | python3dll.c | 128 EXPORT_FUNC(PyCapsule_New)
|
/third_party/python/Modules/ |
D | unicodedata.c | 1330 PyObject *capsule = PyCapsule_New(capi, in unicodedata_create_capi()
|
D | pyexpat.c | 1972 PyObject *capi_object = PyCapsule_New(capi, PyExpat_CAPSULE_NAME, in pyexpat_exec()
|
D | _cursesmodule.c | 4770 c_api_object = PyCapsule_New(PyCurses_API, PyCurses_CAPSULE_NAME, in PyInit__curses()
|
D | _testcapimodule.c | 3131 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule() 3138 object = PyCapsule_New(known, "ignored", NULL); in test_capsule()
|
D | _datetimemodule.c | 6643 x = PyCapsule_New(capi, PyDateTime_CAPSULE_NAME, datetime_destructor); in _datetime_exec()
|
D | socketmodule.c | 7150 PyObject *capsule = PyCapsule_New(capi,
|
D | posixmodule.c | 14532 return PyCapsule_New(cookie, "DLL directory cookie", NULL); in os__add_dll_directory_impl()
|
/third_party/python/Misc/ |
D | stable_abi.txt | 388 function PyCapsule_New
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 2774 …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/ |
D | extending.rst | 1187 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/ |
D | compile.c | 685 PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL); in compiler_enter_scope()
|