Home
last modified time | relevance | path

Searched refs:to_free (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr.h87 ToFreeVector to_free; in ThenDeleteBuffer() local
91 PollEvents(false, &to_free); in ThenDeleteBuffer()
93 FreeMemory(to_free); in ThenDeleteBuffer()
100 ToFreeVector to_free; in ThenExecute() local
104 PollEvents(false, &to_free); in ThenExecute()
106 FreeMemory(to_free); in ThenExecute()
128 void FreeMemory(const ToFreeVector& to_free) { in FreeMemory() argument
129 for (const auto& iu : to_free) { in FreeMemory()
175 void PollEvents(bool is_dedicated_poller, ToFreeVector* to_free)
Dgpu_event_mgr.cc197 ToFreeVector to_free; in PollLoop() local
208 PollEvents(true, &to_free); in PollLoop()
211 FreeMemory(to_free); in PollLoop()
212 to_free.clear(); in PollLoop()
259 gtl::InlinedVector<InUse, 4>* to_free) { in PollEvents() argument
281 to_free->push_back(iu); in PollEvents()
Dgpu_event_mgr_test.cc59 EventMgr::ToFreeVector to_free; in PollEvents() local
62 em_->PollEvents(is_dedicated_poller, &to_free); in PollEvents()
64 em_->FreeMemory(to_free); in PollEvents()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_trace.cc78 TraceEvent* to_free = it; in ~ChannelTrace() local
80 Delete<TraceEvent>(to_free); in ~ChannelTrace()
99 TraceEvent* to_free = head_trace_; in AddTraceEventHelper() local
101 Delete<TraceEvent>(to_free); in AddTraceEventHelper()
/external/boringssl/src/crypto/err/
Derr.c156 void *to_free; member
197 OPENSSL_free(state->to_free); in err_state_free()
270 OPENSSL_free(state->to_free); in get_error_values()
271 state->to_free = error->data; in get_error_values()
338 OPENSSL_free(state->to_free); in ERR_clear_error()
339 state->to_free = NULL; in ERR_clear_error()
/external/harfbuzz_ng/util/
Doptions.hh73 to_free = g_ptr_array_new (); in option_parser_t()
80 g_ptr_array_foreach (to_free, (GFunc) g_free, nullptr); in ~option_parser_t()
81 g_ptr_array_free (to_free, TRUE); in ~option_parser_t()
93 g_ptr_array_add (to_free, p); in free_later()
106 GPtrArray *to_free; member
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc535 void** to_free; member
585 gpr_free(call->to_free[i]); in maybe_delete_call_state()
587 gpr_free(call->to_free); in maybe_delete_call_state()
598 call->to_free = static_cast<void**>( in add_to_free()
599 gpr_realloc(call->to_free, sizeof(*call->to_free) * call->cap_to_free)); in add_to_free()
601 call->to_free[call->num_to_free++] = p; in add_to_free()
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.cc328 std::vector<const BufferValue*> to_free; in RunComputation() local
329 to_free.reserve(live_buffers.size()); in RunComputation()
335 to_free.push_back(buffer); in RunComputation()
338 absl::c_sort(to_free, [](const BufferValue* x, const BufferValue* y) { in RunComputation()
341 for (const BufferValue* buffer : to_free) { in RunComputation()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c535 EC_GROUP *to_free = NULL; in DEFINE_BSS_GET() local
543 to_free = ret; in DEFINE_BSS_GET()
548 EC_GROUP_free(to_free); in DEFINE_BSS_GET()
/external/protobuf/php/ext/google/protobuf/
Dupb.c1779 void *to_free = block; in default_alloc_cleanup() local
1781 free(to_free); in default_alloc_cleanup()