Home
last modified time | relevance | path

Searched refs:registry_ (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/lib/
Dsync_handle_watcher.cc20 registry_(SyncHandleRegistry::current()), in SyncHandleWatcher()
26 registry_->UnregisterHandle(handle_); in ~SyncHandleWatcher()
48 bool result = registry_->Wait(should_stop_array, 2); in SyncWatch()
62 registry_->RegisterHandle(handle_, handle_signals_, callback_); in IncrementRegisterCount()
71 registry_->UnregisterHandle(handle_); in DecrementRegisterCount()
Dsync_event_watcher.cc18 registry_(SyncHandleRegistry::current()), in SyncEventWatcher()
24 registry_->UnregisterEvent(event_, callback_); in ~SyncEventWatcher()
51 bool result = registry_->Wait(should_stop_array.container().data(), in SyncWatch()
65 registry_->RegisterEvent(event_, callback_); in IncrementRegisterCount()
74 registry_->UnregisterEvent(event_, callback_); in DecrementRegisterCount()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry.cc75 const auto found_it = registry_.find(metric_def->name()); in Register()
76 if (found_it != registry_.end()) { in Register()
80 registry_.insert( in Register()
90 registry_.erase(metric_def->name()); in Unregister()
98 for (const auto& registration : registry_) { in CollectMetrics()
Dcollection_registry.h189 std::map<StringPiece, CollectionInfo> registry_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/framework/
Dop.cc49 for (const auto& e : registry_) delete e.second; in ~OpRegistry()
67 gtl::FindWithDefault(registry_, op_type_name, nullptr)) { in LookUp()
86 res = gtl::FindWithDefault(registry_, op_type_name, nullptr); in LookUpSlow()
128 for (const auto& p : registry_) { in GetRegisteredOps()
137 for (const auto& p : registry_) { in GetOpRegistrationData()
157 registry_.begin(), registry_.end()); in Export()
226 !gtl::InsertIfNotPresent(&registry_, op_reg_data->op_def.name(), in RegisterAlreadyLocked()
Dop.h154 mutable std::unordered_map<string, const OpRegistrationData*> registry_
/external/tensorflow/tensorflow/cc/framework/
Dgrad_op_registry.cc28 CHECK(registry_.insert({op, func}).second) << "Existing gradient for " << op; in Register()
33 auto iter = registry_.find(op); in Lookup()
34 if (iter == registry_.end()) { in Lookup()
Dgradients.cc102 const ops::GradOpRegistry* registry_; member in tensorflow::__anon2882cf250111::SymbolicGradientBuilder
145 registry_(registry), in SymbolicGradientBuilder()
375 Status s = registry_->Lookup(opname, &grad_fn); in IsPrimitiveOpWithNoGrad()
384 TF_RETURN_IF_ERROR(registry_->Lookup(op.node()->type_string(), &grad_fn)); in CallGradFunction()
Dgrad_op_registry.h54 std::unordered_map<string, GradFunc> registry_;
/external/perfetto/src/tracing/core/
Dstartup_trace_writer_registry.cc32 : registry_(registry) {} in StartupTraceWriterRegistryHandle()
37 if (registry_) in OnWriterDestroyed()
38 registry_->OnStartupTraceWriterDestroyed(writer); in OnWriterDestroyed()
43 registry_ = nullptr; in OnRegistryDestroyed()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dversioning_test_service.cc100 registry_.AddInterface<HumanResourceDatabase>( in HumanResourceSystemServer()
108 registry_.BindInterface(interface_name, std::move(interface_pipe)); in OnBindInterface()
118 service_manager::BinderRegistry registry_; member in mojo::test::versioning::HumanResourceSystemServer
Dsync_handle_registry_unittest.cc17 SyncHandleRegistryTest() : registry_(SyncHandleRegistry::current()) {} in SyncHandleRegistryTest()
19 const scoped_refptr<SyncHandleRegistry>& registry() { return registry_; } in registry()
22 scoped_refptr<SyncHandleRegistry> registry_; member in mojo::SyncHandleRegistryTest
/external/gflags/src/
Dgflags.cc929 explicit CommandLineFlagParser(FlagRegistry* reg) : registry_(reg) {} in CommandLineFlagParser()
981 FlagRegistry* const registry_; member in GFLAGS_NAMESPACE::__anon73d8155c0111::CommandLineFlagParser
1034 registry_->Lock(); in ParseNewCommandLineFlags()
1059 CommandLineFlag* flag = registry_->SplitArgumentLocked(arg, &key, &value, in ParseNewCommandLineFlags()
1107 registry_->Unlock(); in ParseNewCommandLineFlags()
1148 CommandLineFlag* flag = registry_->FindFlagLocked(flagname); in ProcessFromenvLocked()
1184 if (value && !registry_->SetFlagLocked(flag, value, set_mode, &msg)) { in ProcessSingleOptionLocked()
1207 FlagRegistryLock frl(registry_); in ValidateFlags()
1208 for (FlagRegistry::FlagConstIterator i = registry_->flags_.begin(); in ValidateFlags()
1209 i != registry_->flags_.end(); ++i) { in ValidateFlags()
[all …]
/external/tensorflow/tensorflow/core/platform/
Denv.cc60 mutable std::unordered_map<string, std::unique_ptr<FileSystem>> registry_
67 if (!registry_.emplace(string(scheme), std::unique_ptr<FileSystem>(factory())) in Register()
77 const auto found = registry_.find(scheme); in Lookup()
78 if (found == registry_.end()) { in Lookup()
87 for (const auto& e : registry_) { in GetRegisteredFileSystemSchemes()
/external/libchrome/mojo/public/cpp/bindings/
Dsync_event_watcher.h62 scoped_refptr<SyncHandleRegistry> registry_; variable
Dsync_handle_watcher.h64 scoped_refptr<SyncHandleRegistry> registry_; variable
/external/perfetto/include/perfetto/tracing/core/
Dstartup_trace_writer_registry.h62 StartupTraceWriterRegistry* registry_; variable
/external/protobuf/src/google/protobuf/
Dextension_set.cc81 ExtensionRegistry* registry_ = NULL; variable
85 delete registry_; in DeleteRegistry()
86 registry_ = NULL; in DeleteRegistry()
90 registry_ = new ExtensionRegistry; in InitRegistry()
100 if (!InsertIfNotPresent(registry_, std::make_pair(containing_type, number), in Register()
110 return (registry_ == NULL) in FindRegisteredExtension()
112 : FindOrNull(*registry_, std::make_pair(containing_type, number)); in FindRegisteredExtension()
/external/protobuf/js/
Dmessage.js1312 jspb.Message.registry_[id] = constructor;
1323 jspb.Message.registry_ = {};
Dmessage_test.js253 assertEquals(jspb.Message.registry_['res'], proto.jspb.test.SomeResponse);
/external/python/cpython3/Doc/library/
Dipaddress.rst172 iana-ipv4-special-registry_ (for IPv4) or iana-ipv6-special-registry_
178 iana-ipv4-special-registry_ (for IPv4) or iana-ipv6-special-registry_