Home
last modified time | relevance | path

Searched refs:cleanup_ (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Diterator.cc22 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()
Diterator.h88 Cleanup cleanup_; variable
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr.h95 : 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/
Dupb.c1989 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()
Dupb.h3687 upb_inttable cleanup_; member
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c2136 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()
Dupb.h4383 upb_inttable cleanup_;