HomeSort by relevance Sort by last modified time
    Searched refs:Cleanup (Results 1 - 25 of 428) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGenCXX/
mingw-w64-seh-exceptions.cpp 7 struct Cleanup {
8 ~Cleanup() {
14 Cleanup x;
exceptions-cxx-new.cpp 44 struct Cleanup {
45 ~Cleanup() { f(-1); }
49 Cleanup C;
55 // CHECK: to label %[[LEAVE_FUNC:.*]] unwind label %[[CLEANUP:.*]]
61 // CHECK: [[CLEANUP]]
67 // CHECK-LABEL: define {{.*}} void @"\01??1Cleanup@@QAE@XZ"(
exceptions-cxx-ehsc.cpp 4 struct Cleanup { ~Cleanup(); };
9 Cleanup x;
19 struct Cleanup { ~Cleanup(); };
24 Cleanup x;
microsoft-abi-dynamic-cast.cpp 126 struct Cleanup {
127 ~Cleanup();
134 Cleanup c;
  /system/netd/libnetdutils/include/netdutils/
Misc.h 33 // for running arbitrary cleanup or logging code when exiting a scope.
37 class Cleanup {
39 Cleanup() = delete;
40 Cleanup(FnT fn) : mFn(fn) {}
41 ~Cleanup() { mFn(); }
49 // Helper to make a new Cleanup. Avoids complex or impossible syntax
53 // auto cleanup = makeCleanup([](){ your_code_here; });
55 Cleanup<FnT> makeCleanup(FnT fn) {
56 return Cleanup<FnT>(fn);
  /external/tensorflow/tensorflow/core/lib/gtl/
cleanup.h 16 // MakeCleanup(f) returns an RAII cleanup object that calls 'f' in its
37 // You can use Cleanup<F> directly, instead of using MakeCleanup and auto,
40 // You can call 'release()' on a Cleanup object to cancel the cleanup.
53 // A move-only RAII object that calls a stored cleanup functor when
54 // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
56 class Cleanup {
58 Cleanup() : released_(true), f_() {}
61 explicit Cleanup(G&& f) // NOLINT
64 Cleanup(Cleanup&& src) // NOLIN
    [all...]
cleanup_test.cc 16 #include "tensorflow/core/lib/gtl/cleanup.h"
27 using AnyCleanup = gtl::Cleanup<std::function<void()>>;
62 EXPECT_EQ("active", s); // no cleanup should have occurred.
85 AssertTypeEq<decltype(c), gtl::Cleanup<Appender>>();
188 AssertTypeEq<decltype(c), gtl::Cleanup<void (*)()>>();
195 AssertTypeEq<decltype(c), gtl::Cleanup<void (*)()>>();
217 // Test that MakeCleanup(lvalue) produces Cleanup<F>, not Cleanup<F&>.
222 AssertTypeEq<decltype(c), gtl::Cleanup<F>>();
246 AssertTypeEq<decltype(c), gtl::Cleanup<F>>()
    [all...]
  /external/valgrind/drd/tests/
pth_cleanup_handler.stderr.exp 2 Cleanup handler has been called.
3 Cleanup handler has been called.
  /external/tensorflow/tensorflow/core/lib/io/
iterator.h 82 struct Cleanup {
86 Cleanup* next;
88 Cleanup cleanup_;
iterator.cc 29 for (Cleanup* c = cleanup_.next; c != nullptr;) {
31 Cleanup* next = c->next;
40 Cleanup* c;
44 c = new Cleanup;
  /external/tpm2/
ExecCommand.c 141 goto Cleanup;
145 goto Cleanup;
156 goto Cleanup;
161 goto Cleanup;
166 goto Cleanup;
174 goto Cleanup;
185 goto Cleanup;
191 goto Cleanup;
206 goto Cleanup;
218 goto Cleanup;
    [all...]
  /system/update_engine/payload_consumer/
filesystem_verifier_action.cc 70 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true.
77 void FilesystemVerifierAction::Cleanup(ErrorCode code) {
91 Cleanup(ErrorCode::kSuccess);
111 return Cleanup(ErrorCode::kFilesystemVerifierError);
122 return Cleanup(ErrorCode::kFilesystemVerifierError);
152 Cleanup(ErrorCode::kError);
164 Cleanup(ErrorCode::kError);
171 return Cleanup(ErrorCode::kError);
178 return Cleanup(ErrorCode::kFilesystemVerifierError);
189 Cleanup(ErrorCode::kError)
    [all...]
filesystem_verifier_action.h 57 // Used for testing. Return true if Cleanup() has not yet been called due
87 void Cleanup(ErrorCode code);
  /system/bt/btif/avrcp/
avrcp_service.h 57 void Cleanup();
75 bool Cleanup() override;
  /external/autotest/client/deps/glbench/src/
glx_stuff.h 19 virtual void Cleanup();
egl_stuff.h 22 virtual void Cleanup();
glinterface.h 43 virtual void Cleanup() = 0;
waffle_stuff.h 22 virtual void Cleanup();
  /external/tensorflow/tensorflow/core/distributed_runtime/
rendezvous_mgr_interface.h 92 virtual void Cleanup(int64 step_id) = 0;
  /external/clang/lib/CodeGen/
EHScopeStack.h 1 //===-- EHScopeStack.h - Stack for cleanup IR generation --------*- C++ -*-===//
35 /// the innermost cleanup. When a (normal) cleanup is popped, any
36 /// unresolved fixups in that scope are threaded through the cleanup.
79 /// Denotes a cleanup that should run when a scope is exited using exceptional
83 /// Denotes a cleanup that should run when a scope is exited using normal
140 /// Information for lazily generating a cleanup. Subclasses must be
142 /// allocated on the cleanup stack and freely copied and moved
145 /// Cleanup implementations should generally be declared in an
147 class Cleanup {
    [all...]
CGCall.h 74 EHScopeStack::stable_iterator Cleanup;
106 void addArgCleanupDeactivation(EHScopeStack::stable_iterator Cleanup,
109 ArgCleanup.Cleanup = Cleanup;
130 /// is used to cleanup objects that are owned by the callee once the call
137 /// The iterator pointing to the stack restore cleanup. We manually run and
138 /// deactivate this cleanup after the call in the unexceptional case because
  /cts/hostsidetests/sustainedperf/shadertoy_android/jni/
hooks_android.cpp 21 extern void Cleanup();
  /external/stressapptest/src/
main.cc 38 if (!sat->Cleanup()) {
39 logprintf(0, "Process Error: Sat::Cleanup() failed\n");
  /system/bt/include/hardware/
bt_hearing_aid.h 66 virtual void Cleanup(void) = 0;
  /art/test/1946-list-descriptors/
descriptors.cc 44 static void Cleanup(char** data, jint cnt) {
75 Cleanup(classes, cnt);
82 Cleanup(classes, cnt);
86 Cleanup(classes, cnt);
124 // Cleanup the cur_info
128 // Cleanup the array.

Completed in 518 milliseconds

1 2 3 4 5 6 7 8 91011>>