Home
last modified time | relevance | path

Searched refs:g_callbacks (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/metrics/
Duser_metrics.cc20 LazyInstance<std::vector<ActionCallback>>::DestructorAtExit g_callbacks = variable
33 DCHECK(g_callbacks.Get().empty()); in RecordComputedAction()
43 for (const ActionCallback& callback : g_callbacks.Get()) { in RecordComputedAction()
52 g_callbacks.Get().push_back(callback); in AddActionCallback()
58 std::vector<ActionCallback>* callbacks = g_callbacks.Pointer(); in RemoveActionCallback()
/external/grpc-grpc/src/cpp/server/
Dserver_cc.cc64 std::shared_ptr<Server::GlobalCallbacks> g_callbacks = nullptr; variable
68 if (!g_callbacks) { in InitGlobalCallbacks()
69 g_callbacks.reset(new DefaultGlobalCallbacks()); in InitGlobalCallbacks()
405 global_callbacks_ = g_callbacks; in Server()
465 GPR_ASSERT(!g_callbacks); in SetGlobalCallbacks()
467 g_callbacks.reset(callbacks); in SetGlobalCallbacks()