Home
last modified time | relevance | path

Searched refs:deallocator (Results 1 – 25 of 45) sorted by relevance

12

/external/tensorflow/tensorflow/core/runtime_fallback/util/gpu/
Dgpu_utils.cc70 auto deallocator = [](void* data, size_t len, void* arg) { in MoveGpuBufferToTFTensor() local
79 deallocator, gpu_buffer.release(), in MoveGpuBufferToTFTensor()
/external/tensorflow/tensorflow/core/runtime_fallback/util/
Dtensor_util.cc37 auto deallocator = [](void* data, size_t len, void* arg) { in MoveHostBufferToTfTensor() local
48 data, size, deallocator, host_buffer.release())}; in MoveHostBufferToTfTensor()
/external/cronet/third_party/protobuf/src/google/protobuf/
Darena.cc126 SerialArena::Memory SerialArena::Free(Deallocator deallocator) { in Free() argument
131 deallocator(mem); in Free()
365 auto deallocator = GetDeallocator(alloc_policy_.get(), space_allocated); in Free() local
366 PerSerialArena([deallocator, &mem](SerialArena* a) { in Free()
367 if (mem.ptr) deallocator(mem); in Free()
368 mem = a->Free(deallocator); in Free()
Darena_impl.h372 Memory Free(Deallocator deallocator);
/external/protobuf/src/google/protobuf/
Darena.cc126 SerialArena::Memory SerialArena::Free(Deallocator deallocator) { in Free() argument
131 deallocator(mem); in Free()
365 auto deallocator = GetDeallocator(alloc_policy_.get(), space_allocated); in Free() local
366 PerSerialArena([deallocator, &mem](SerialArena* a) { in Free()
367 if (mem.ptr) deallocator(mem); in Free()
368 mem = a->Free(deallocator); in Free()
Darena_impl.h379 Memory Free(Deallocator deallocator);
/external/tensorflow/tensorflow/core/distributed_runtime/integration_test/
Dc_api_session_coordination_test.cc129 auto deallocator = [](void* data, size_t len, void* arg) {}; in TEST_P() local
131 sizeof(tstr_key), deallocator, nullptr); in TEST_P()
133 sizeof(tstr_val), deallocator, nullptr); in TEST_P()
/external/tensorflow/tensorflow/c/
Dtf_tensor_internal.h42 void (*deallocator)(void* data, size_t len, void* arg), in TF_ManagedBuffer()
46 deallocator_(deallocator), in TF_ManagedBuffer()
Dtf_tensor.cc102 void (*deallocator)(void* data, size_t len, void* arg), in TF_NewTensor()
122 deallocator(data, len, deallocator_arg); in TF_NewTensor()
124 buf = new TF_ManagedBuffer(data, len, deallocator, deallocator_arg, in TF_NewTensor()
Dtf_tensor.h90 void (*deallocator)(void* data, size_t len, void* arg),
/external/cronet/third_party/libxml/src/
Dlist.c188 xmlListCreate(xmlListDeallocator deallocator, xmlListDataCompare compare) in xmlListCreate() argument
211 if (deallocator != NULL) in xmlListCreate()
212 l->linkDeallocator = deallocator; in xmlListCreate()
/external/libxml2/
Dlist.c188 xmlListCreate(xmlListDeallocator deallocator, xmlListDataCompare compare) in xmlListCreate() argument
211 if (deallocator != NULL) in xmlListCreate()
212 l->linkDeallocator = deallocator; in xmlListCreate()
/external/cronet/third_party/libxml/src/include/libxml/
Dlist.h56 xmlListCreate (xmlListDeallocator deallocator,
/external/libxml2/include/libxml/
Dlist.h56 xmlListCreate (xmlListDeallocator deallocator,
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc502 ~CAPICustomDeviceTensorHandle() override { methods_.deallocator(data_); } in ~CAPICustomDeviceTensorHandle()
549 methods.deallocator(data); in TFE_NewCustomDeviceTensorHandle()
562 void (*deallocator)(void* data, size_t len, void* arg), in TFE_NewTensorHandleFromDeviceMemory()
569 deallocator(data, len, deallocator_arg); in TFE_NewTensorHandleFromDeviceMemory()
582 new TF_ManagedBuffer(data, len, deallocator, deallocator_arg, in TFE_NewTensorHandleFromDeviceMemory()
Dc_api_experimental.h425 void (*deallocator)(void* data, size_t len, void* arg),
568 void (*deallocator)(void* data); member
Dcustom_device_testutil.cc69 handle_methods.deallocator = &LoggedTensorDeallocator; in MakeLoggedTensorHandle()
/external/python/cpython2/Doc/c-api/
Dgcsupport.rst80 Similarly, the deallocator for the object must conform to a similar pair of
99 this object to add it back to the set of tracked objects. The deallocator
/external/python/cpython3/Doc/c-api/
Dgcsupport.rst36 Similarly, the deallocator for the object must conform to a similar pair of
122 this object to add it back to the set of tracked objects. The deallocator
/external/libxml2/os400/libxmlrpg/
Dlist.rpgle55 d deallocator value like(xmlListDeallocator)
/external/tensorflow/tensorflow/lite/delegates/coreml/
Dcoreml_executor.mm112 deallocator:(^(void* bytes){
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst178 Fixed possible crash in _io.TextIOWrapper deallocator when the garbage
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device.cc253 handle_methods.deallocator = &ParallelTensorDeallocator; in ParallelTensorToTensorHandle()
/external/python/cpython3/Doc/extending/
Dnewtypes.rst95 One important requirement of the deallocator function is that it leaves any
100 which a deallocator performs which may cause additional Python code to be
134 There are limitations to what you can safely do in a deallocator function.
/external/clang/test/Analysis/
DDeallocUseAfterFreeErrors.m316 // inlined the call to its super deallocator.

12