Home
last modified time | relevance | path

Searched refs:Unref (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/core/lib/core/
Drefcount_test.cc45 ref->Unref(); in TEST_F()
56 ref->Unref(); in TEST_F()
58 ref->Unref(); in TEST_F()
65 ref->Unref(); in TEST_F()
72 ref->Unref(); in TEST_F()
73 ref->Unref(); in TEST_F()
82 cref->Unref(); in TEST_F()
84 cref->Unref(); in TEST_F()
91 EXPECT_FALSE(ref->Unref()); in TEST_F()
92 EXPECT_TRUE(ref->Unref()); in TEST_F()
/external/grpc-grpc/test/core/gprpp/
Dref_counted_test.cc37 foo->Unref(); in TEST()
44 foo->Unref(); in TEST()
45 foo->Unref(); in TEST()
61 foo->Unref(DEBUG_LOCATION, "extra_ref"); in TEST()
65 foo->Unref(); in TEST()
66 foo->Unref(DEBUG_LOCATION, "original_ref"); in TEST()
Dorphanable_test.cc65 void Orphan() override { Unref(); } in Orphan()
91 void Orphan() override { Unref(); } in Orphan()
98 Unref(DEBUG_LOCATION, "work"); in FinishWork()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle_test.cc64 sync_th->Unref(); in TEST()
65 async_th->Unref(); in TEST()
66 ctx->Unref(); in TEST()
115 context_->Unref(); in ~PackedTensorHandleTest()
174 h0->Unref(); in TEST_F()
175 h1->Unref(); in TEST_F()
176 h2->Unref(); in TEST_F()
177 h3->Unref(); in TEST_F()
215 packed_handle->Unref(); in TEST_F()
231 h->Unref(); in TEST_F()
[all …]
Dexecute_node_test.cc133 h0->Unref(); in TEST()
134 h1->Unref(); in TEST()
135 h2->Unref(); in TEST()
136 h3->Unref(); in TEST()
137 packed_h->Unref(); in TEST()
138 ctx->Unref(); in TEST()
/external/tensorflow/tensorflow/core/util/
Dreffed_status_callback_test.cc40 cb->Unref(); in TEST()
56 cb->Unref(); in TEST()
77 cb->Unref(); in TEST()
78 cb->Unref(); in TEST()
80 cb->Unref(); // Created by constructor. in TEST()
105 cb->Unref(); in TEST()
110 cb->Unref(); in TEST()
/external/skia/src/gpu/
DGrRefCnt.h17 template <typename T, auto Ref, auto Unref> class gr_sp {
28 (obj->*Unref)(); in SafeUnref()
42 gr_sp(const gr_sp<T, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
45 gr_sp(const gr_sp<U, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
55 gr_sp(gr_sp<T, Ref, Unref>&& that) : fPtr(that.release()) {} in gr_sp()
86 gr_sp& operator=(const gr_sp<T, Ref, Unref>& that) {
108 gr_sp& operator=(gr_sp<T, Ref, Unref>&& that) {
/external/grpc-grpc/src/core/lib/gprpp/
Dref_counted_ptr.h57 if (value_ != nullptr) value_->Unref();
64 if (value_ != nullptr) value_->Unref();
86 if (value_ != nullptr) value_->Unref();
95 if (value_ != nullptr) value_->Unref();
101 if (value_ != nullptr) value_->Unref(); in ~RefCountedPtr()
107 if (value_ != nullptr) value_->Unref(); in reset()
112 if (value_ != nullptr) value_->Unref(); in reset()
Dref_counted.h55 void Unref() { in Unref() function
114 void Unref() { in Unref() function
120 void Unref(const DebugLocation& location, const char* reason) { in Unref() function
127 Unref(); in Unref()
Dorphanable.h100 void Unref() { in Unref() function
172 void Unref() { in Unref() function
178 void Unref(const DebugLocation& location, const char* reason) { in Unref() function
185 Unref(); in Unref()
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/
Dserver_context.cc67 call_.server_rpc_info()->Unref(); in ~CompletionOp()
107 void Unref();
125 Unref(); in ContinueFinalizeResultAfterInterception()
153 void ServerContextBase::CompletionOp::Unref() { in Unref() function in grpc::ServerContextBase::CompletionOp
154 if (refs_.Unref()) { in Unref()
209 Unref(); in FinalizeResult()
225 Unref(); in FinalizeResult()
252 completion_op_->Unref(); in ~ServerContextBase()
256 rpc_info_->Unref(); in ~ServerContextBase()
/external/tensorflow/tensorflow/core/platform/
Drefcount.h39 bool Unref() const;
65 void operator()(tensorflow::core::RefCounted* o) const { o->Unref(); } in operator()
77 if (obj_) obj_->Unref(); in ~ScopedUnref()
97 inline bool RefCounted::Unref() const { in Unref() function
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr_test.cc60 ~RemoteMgrTest() override { ctx_->Unref(); } in ~RemoteMgrTest()
87 handle->Unref(); in TEST_F()
104 handle->Unref(); in TEST_F()
128 handle->Unref(); in TEST_F()
141 handle->Unref(); in TEST_F()
151 handle->Unref(); in TEST_F()
Dremote_execute_node.h84 handle->Unref(); in ~RemoteExecuteNode()
88 handle->Unref(); in ~RemoteExecuteNode()
90 eager_client_->Unref(); in ~RemoteExecuteNode()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/
Dcredentials.cc45 if (creds) creds->Unref(); in grpc_channel_credentials_release()
51 if (creds) creds->Unref(); in grpc_call_credentials_release()
55 static_cast<grpc_channel_credentials*>(p)->Unref(); in credentials_pointer_arg_destroy()
101 if (creds) creds->Unref(); in grpc_server_credentials_release()
122 static_cast<grpc_server_credentials*>(p)->Unref(); in server_credentials_pointer_arg_destroy()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_consume_test.cc100 CordRep::Unref(rep); in TEST()
117 CordRep::Unref(rep); in TEST()
119 CordRep::Unref(tree); in TEST()
135 CordRep::Unref(rep); in TEST()
152 CordRep::Unref(rep); in TEST()
154 CordRep::Unref(tree); in TEST()
167 CordRep::Unref(flat2); in TEST()
Dcord_rep_consume.cc38 CordRep::Unref(substring); in ClipSubstring()
53 CordRep::Unref(concat); in ClipConcat()
77 CordRep::Unref(left); in Consume()
85 CordRep::Unref(right); in Consume()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dorphanable.h103 void Unref() { in Unref() function
104 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
108 void Unref(const DebugLocation& location, const char* reason) { in Unref() function
109 if (GPR_UNLIKELY(refs_.Unref(location, reason))) { in Unref()
Dref_counted.h155 bool Unref() { in Unref() function
172 bool Unref(const DebugLocation& location, const char* reason) { in Unref() function
288 void Unref() { in Unref() function
289 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
293 void Unref(const DebugLocation& location, const char* reason) { in Unref() function
294 if (GPR_UNLIKELY(refs_.Unref(location, reason))) { in Unref()
/external/grpc-grpc/src/cpp/common/
Dalarm.cc51 Unref(); in FinalizeResult()
83 alarm->Unref(); in Set()
95 Unref(); in Destroy()
100 void Unref() { in Unref() function in grpc::internal::AlarmImpl
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_test.cc133 outputs[0]->Unref(); in TEST_P()
134 outputs[1]->Unref(); in TEST_P()
209 outputs[0]->Unref(); in TEST_P()
210 outputs[1]->Unref(); in TEST_P()
286 outputs[0]->Unref(); in TEST_P()
287 outputs[1]->Unref(); in TEST_P()
438 outputs[0]->Unref(); in TEST_P()
439 outputs[1]->Unref(); in TEST_P()
440 outputs[2]->Unref(); in TEST_P()
494 outputs[0]->Unref(); in TEST_P()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dalarm.cc47 Unref(); in FinalizeResult()
91 alarm->Unref(); in Set()
107 Unref(); in Destroy()
112 void Unref() { in Unref() function in grpc::internal::AlarmImpl
/external/grpc-grpc/src/core/lib/iomgr/
Dcfstream_handle.h50 void Unref(const char* file = "", int line = 0, const char* reason = nullptr);
72 (handle)->Unref(__FILE__, __LINE__, (reason))
75 #define CFSTREAM_HANDLE_UNREF(handle, reason) (handle)->Unref()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dcfstream_handle.h59 void Unref(const char* file = "", int line = 0, const char* reason = nullptr);
82 (handle)->Unref(__FILE__, __LINE__, (reason))
85 #define CFSTREAM_HANDLE_UNREF(handle, reason) (handle)->Unref()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dgraph_mgr.cc71 for (const auto& p : table_) p.second->Unref(); in ~GraphMgr()
304 item->Unref(); in Register()
332 item->Unref(); in Deregister()
347 item->Unref(); in DeregisterAll()
367 rendezvous->Unref(); in SendInputs()
374 rendezvous->Unref(); in RecvOutputs()
403 rendezvous->Unref(); in RecvOutputsAsync()
484 item->Unref(); in ExecuteAsync()
485 rendezvous->Unref(); in ExecuteAsync()
505 rendezvous->Unref(); in ExecuteAsync()
[all …]

12345678910>>...15