Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/tensorflow/tensorflow/python/
H A Dpywrap_dtensor_device.cc53 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device()
59 destructor(PyCapsule_GetPointer(capsule, "TFE_CustomDevice_DeviceInfo")); in CallDelete_DeviceInfo()
111 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
125 PyCapsule_GetPointer(device_info.ptr(), in PYBIND11_MODULE()
137 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
150 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
161 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
170 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
180 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo"), in PYBIND11_MODULE()
189 PyCapsule_GetPointer(device_info.ptr(), "TFE_CustomDevice_DeviceInfo")); in PYBIND11_MODULE()
[all …]
H A Dmlir_wrapper.cc42 PyCapsule_GetPointer(context.ptr(), nullptr)); in PYBIND11_MODULE()
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/
H A Dcustom_device_testutil.cc35 delete reinterpret_cast<bool*>(PyCapsule_GetPointer(capsule, "flag")); in CallDelete_Flag()
40 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device()
72 PyCapsule_GetPointer(flag_capsule.ptr(), "flag")); in PYBIND11_MODULE()
/aosp_15_r20/external/python/watchdog/src/
Dwatchdog_fsevents.c267 void *p = PyCapsule_GetPointer(ptr, NULL); in watchdog_pycapsule_destructor()
666 run_loop_ref = PyCapsule_GetPointer(value, NULL); in watchdog_add_watch()
759 FSEventStreamRef stream_ref = PyCapsule_GetPointer(value, NULL); in watchdog_flush_events()
783 FSEventStreamRef stream_ref = PyCapsule_GetPointer(streamref_capsule, NULL); in watchdog_remove_watch()
806 CFRunLoopRef run_loop_ref = PyCapsule_GetPointer(value, NULL); in watchdog_stop()
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/parallel_device/
H A Dpywrap_parallel_device.cc33 PyCapsule_GetPointer(capsule, "TFE_CustomDevice")); in CallDelete_Device()
39 destructor(PyCapsule_GetPointer(capsule, "TFE_CustomDevice_DeviceInfo")); in CallDelete_DeviceInfo()
/aosp_15_r20/external/python/cpython2/Modules/_ctypes/
Dctypes.h459 void *p = PyCapsule_GetPointer(ptr, name); \
469 (PyCapsule_GetPointer(capsule, name))
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/
H A 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()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcapsule.rst60 .. c:function:: void* PyCapsule_GetPointer(PyObject *capsule, const char *name)
120 :c:func:`PyCapsule_GetPointer` for information on how capsule names are
/aosp_15_r20/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
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/external/python/cpython2/Include/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/external/python/cpython3/Include/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dpycapsule.h33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
/aosp_15_r20/external/libxml2/python/
H A Dtypes.c488 xmlXPathNodeSetFreeNs((xmlNsPtr) PyCapsule_GetPointer(cap, "xmlNsPtr")); in libxml_xmlXPathDestructNsNode()
870 xmlErrorPtr err = (xmlErrorPtr) PyCapsule_GetPointer(cap, "xmlErrorPtr"); in libxml_xmlDestructError()
/aosp_15_r20/external/python/cpython2/Doc/includes/
Dcapsulethunk.h31 #define PyCapsule_GetPointer(capsule, name) \ macro
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage_module.cc125 delete (ApiImplementation*)PyCapsule_GetPointer( in PyInit__message()
/aosp_15_r20/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
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/
H A Dmessage_module.cc125 delete (ApiImplementation*)PyCapsule_GetPointer( in PyInit__message()
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dpython_tensor_converter_wrapper.cc90 PyCapsule_GetPointer(context_handle.get(), nullptr)); in MakePythonTensorConverter()
/aosp_15_r20/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
H A Dobservability.pyx.pxi28 capsule_ptr = cpython.PyCapsule_GetPointer(capsule, SERVER_CALL_TRACER_FACTORY)
/aosp_15_r20/external/python/cpython3/Objects/
Dcapsule.c80 PyCapsule_GetPointer(PyObject *o, const char *name) in PyCapsule_GetPointer() function
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/experimental/
H A Dunified_api.cc108 static_cast<TFE_Context*>(PyCapsule_GetPointer(obj.ptr(), nullptr)); in PYBIND11_MODULE()

123