Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/eager/
Dcustom_device_testutil.cc36 delete reinterpret_cast<bool*>(PyCapsule_GetPointer(capsule, "flag")); in CallDelete_Flag()
41 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device()
73 PyCapsule_GetPointer(flag_capsule.ptr(), "flag")); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/python/distribute/parallel_device/
Dpywrap_parallel_device.cc33 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device()
39 destructor(PyCapsule_GetPointer(capsule, "TFE_CustomDevice_DeviceInfo")); in CallDelete_DeviceInfo()
/external/python/cffi/c/
Dfile_emulator.h25 FILE *f = (FILE *)PyCapsule_GetPointer(ob_capsule, "FILE"); in _close_file_capsule()
84 f = PyCapsule_GetPointer(ob_capsule, "FILE"); in PyFile_AsFile()
Dffi_obj.c985 lock = PyCapsule_GetPointer(capsule, "cffi_init_once_lock"); in _free_init_once_lock()
1050 lock = (PyThread_type_lock)PyCapsule_GetPointer(lockobj, in ffi_init_once()
/external/python/cpython2/Include/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/external/python/cpython3/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/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc200 TFE_Context* ctx = reinterpret_cast<TFE_Context*>(PyCapsule_GetPointer( in DoCallPyFunc()
239 TFE_Context* ctx = reinterpret_cast<TFE_Context*>(PyCapsule_GetPointer( in DoCallPyFunc()
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter_wrapper.cc90 PyCapsule_GetPointer(context_handle.get(), nullptr)); in MakePythonTensorConverter()
/external/tensorflow/tensorflow/python/
Dmlir_wrapper.cc42 PyCapsule_GetPointer(context.ptr(), nullptr)); in PYBIND11_MODULE()
Dtfe_wrapper.cc94 return static_cast<TFE_Context*>(PyCapsule_GetPointer(ctx.ptr(), nullptr)); in InputTFE_Context()
1537 PyCapsule_GetPointer(capsule, tensorflow::kDlTensorCapsuleName); in PYBIND11_MODULE()
1598 PyCapsule_GetPointer(device.ptr(), "TFE_CustomDevice")), in PYBIND11_MODULE()
1600 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
/external/python/cpython3/Doc/c-api/
Dcapsule.rst60 .. c:function:: void* PyCapsule_GetPointer(PyObject *capsule, const char *name)
119 :c:func:`PyCapsule_GetPointer` for information on how capsule names are
/external/python/cpython2/Doc/c-api/
Dcapsule.rst59 .. c:function:: void* PyCapsule_GetPointer(PyObject *capsule, const char *name)
118 :c:func:`PyCapsule_GetPointer` for information on how capsule names are
/external/python/cpython3/Objects/
Dcapsule.c80 PyCapsule_GetPointer(PyObject *o, const char *name) in PyCapsule_GetPointer() function
/external/libxml2/python/
Dlibxml_wrap.h41 #define PyCapsule_GetPointer(o, n) PyCObject_GetDesc((o)) macro
/external/tensorflow/tensorflow/python/framework/experimental/
Dunified_api.cc108 static_cast<TFE_Context*>(PyCapsule_GetPointer(obj.ptr(), nullptr)); in PYBIND11_MODULE()
/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()
/external/python/cpython3/Modules/cjkcodecs/
Dcjkcodecs.h381 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
/external/tensorflow/tensorflow/compiler/xla/python/
Ddlpack.cc313 PyCapsule_GetPointer(obj, kDlTensorCapsuleName)); in BufferToDLPackManagedTensor()
/external/python/pybind11/tests/
Dtest_pytypes.cpp115 (size_t) PyCapsule_GetPointer(ptr, name), name in TEST_SUBMODULE()
/external/python/cpython2/Doc/howto/
Dcporting.rst231 :c:func:`PyCapsule_GetPointer` is ignored, and no error checking

123