/external/tensorflow/tensorflow/python/eager/ |
D | custom_device_testutil.cc | 36 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/ |
D | pywrap_parallel_device.cc | 33 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device() 39 destructor(PyCapsule_GetPointer(capsule, "TFE_CustomDevice_DeviceInfo")); in CallDelete_DeviceInfo()
|
/external/python/cffi/c/ |
D | file_emulator.h | 25 FILE *f = (FILE *)PyCapsule_GetPointer(ob_capsule, "FILE"); in _close_file_capsule() 84 f = PyCapsule_GetPointer(ob_capsule, "FILE"); in PyFile_AsFile()
|
D | ffi_obj.c | 985 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/ |
D | pycapsule.h | 33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
|
/external/python/cpython3/Include/ |
D | pycapsule.h | 33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
|
/external/python/cpython2/Doc/includes/ |
D | capsulethunk.h | 31 #define PyCapsule_GetPointer(capsule, name) \ macro
|
/external/python/cpython2/Objects/ |
D | cobject.c | 70 return (void *)PyCapsule_GetPointer(self, name); in PyCObject_AsVoidPtr()
|
D | capsule.c | 80 PyCapsule_GetPointer(PyObject *o, const char *name) in PyCapsule_GetPointer() function
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 459 void *p = PyCapsule_GetPointer(ptr, name); \ 469 (PyCapsule_GetPointer(capsule, name))
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 200 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/ |
D | python_tensor_converter_wrapper.cc | 90 PyCapsule_GetPointer(context_handle.get(), nullptr)); in MakePythonTensorConverter()
|
/external/tensorflow/tensorflow/python/ |
D | mlir_wrapper.cc | 42 PyCapsule_GetPointer(context.ptr(), nullptr)); in PYBIND11_MODULE()
|
D | tfe_wrapper.cc | 94 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/ |
D | capsule.rst | 60 .. 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/ |
D | capsule.rst | 59 .. 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/ |
D | capsule.c | 80 PyCapsule_GetPointer(PyObject *o, const char *name) in PyCapsule_GetPointer() function
|
/external/libxml2/python/ |
D | libxml_wrap.h | 41 #define PyCapsule_GetPointer(o, n) PyCObject_GetDesc((o)) macro
|
/external/tensorflow/tensorflow/python/framework/experimental/ |
D | unified_api.cc | 108 static_cast<TFE_Context*>(PyCapsule_GetPointer(obj.ptr(), nullptr)); in PYBIND11_MODULE()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 97 PyCapsule_GetPointer
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | cjkcodecs.h | 376 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 381 map = PyCapsule_GetPointer(o, PyMultibyteCodec_CAPSULE_NAME); in importmap()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | dlpack.cc | 313 PyCapsule_GetPointer(obj, kDlTensorCapsuleName)); in BufferToDLPackManagedTensor()
|
/external/python/pybind11/tests/ |
D | test_pytypes.cpp | 115 (size_t) PyCapsule_GetPointer(ptr, name), name in TEST_SUBMODULE()
|
/external/python/cpython2/Doc/howto/ |
D | cporting.rst | 231 :c:func:`PyCapsule_GetPointer` is ignored, and no error checking
|