Searched refs:cleanup_ (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/lib/io/ |
D | iterator.cc | 22 cleanup_.function = nullptr; in Iterator() 23 cleanup_.next = nullptr; in Iterator() 27 if (cleanup_.function != nullptr) { in ~Iterator() 28 (*cleanup_.function)(cleanup_.arg1, cleanup_.arg2); in ~Iterator() 29 for (Cleanup* c = cleanup_.next; c != nullptr;) { in ~Iterator() 41 if (cleanup_.function == nullptr) { in RegisterCleanup() 42 c = &cleanup_; in RegisterCleanup() 45 c->next = cleanup_.next; in RegisterCleanup() 46 cleanup_.next = c; in RegisterCleanup()
|
D | iterator.h | 88 Cleanup cleanup_; variable
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_mgr.h | 95 : name_(strings::StrCat("__per_step_", step_id)), cleanup_(cleanup) {} in ScopedStepContainer() 101 cleanup_(cleanup) {} in ScopedStepContainer() 103 ~ScopedStepContainer() { cleanup_(name_); } in ~ScopedStepContainer() 109 const std::function<void(const string&)> cleanup_; variable
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 1989 upb_inttable_begin(&i, &h->cleanup_); in freehandlers() 1997 upb_inttable_uninit(&h->cleanup_); in freehandlers() 2260 if (!upb_inttable_init(&h->cleanup_, UPB_CTYPE_FPTR)) goto oom; in upb_handlers_new() 2380 if (upb_inttable_lookupptr(&h->cleanup_, p, NULL)) { in upb_handlers_addcleanup() 2383 ok = upb_inttable_insertptr(&h->cleanup_, p, upb_value_fptr(func)); in upb_handlers_addcleanup()
|
D | upb.h | 3687 upb_inttable cleanup_; member
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 2136 upb_inttable_begin(&i, &h->cleanup_); in freehandlers() 2144 upb_inttable_uninit(&h->cleanup_); in freehandlers() 2413 if (!upb_inttable_init(&h->cleanup_, UPB_CTYPE_FPTR)) goto oom; in upb_handlers_new() 2533 if (upb_inttable_lookupptr(&h->cleanup_, p, NULL)) { in upb_handlers_addcleanup() 2536 ok = upb_inttable_insertptr(&h->cleanup_, p, upb_value_fptr(func)); in upb_handlers_addcleanup()
|
D | upb.h | 4383 upb_inttable cleanup_;
|