Home
last modified time | relevance | path

Searched refs:_registry (Results 1 – 15 of 15) sorted by relevance

/external/pigweed/pw_cli/py/
Dplugins_test.py70 self._registry = plugins.Registry(
74 self.assertIsNotNone(self._registry.register('a_plugin',
76 self.assertIs(self._registry['a_plugin'].target, _no_docstring)
80 self._registry.register_by_name('plugin_one', __name__,
83 self._registry.register('plugin_two', _no_docstring))
85 self.assertIs(self._registry['plugin_one'].target, _no_docstring)
86 self.assertIs(self._registry['plugin_two'].target, _no_docstring)
90 self._registry.register_by_name('plugin_two', 'not a module',
95 self._registry.register_by_name('plugin_two', __name__, 'nothing')
99 self._registry.register('plugin_two', 'not function')
[all …]
/external/tensorflow/tensorflow/python/framework/
Dregistry.py45 self._registry = {}
59 if name in self._registry:
60 frame = self._registry[name][_LOCATION_TAG]
75 self._registry[name] = {_TYPE_TAG: candidate, _LOCATION_TAG: location_tag}
83 return self._registry.keys()
96 if name in self._registry:
97 return self._registry[name][_TYPE_TAG]
/external/tensorflow/tensorflow/python/debug/cli/
Danalyzer_cli_test.py634 cls._analyzer, cls._registry = create_analyzer_cli(cls._debug_dump)
666 out = self._registry.dispatch_command("lt", [])
682 out = self._registry.dispatch_command("lt", ["-s", "timestamp", "-r"])
698 out = self._registry.dispatch_command("lt", ["-s", "dump_size"])
713 out = self._registry.dispatch_command("lt", ["-s", "dump_size", "-r"])
729 out = self._registry.dispatch_command("lt", ["-s", "foobar"])
735 out = self._registry.dispatch_command("lt", ["-s", "op_type"])
752 out = self._registry.dispatch_command("lt", ["-s", "op_type", "-r"])
769 out = self._registry.dispatch_command("lt", ["-s", "tensor_name"])
786 out = self._registry.dispatch_command("lt", ["-s", "tensor_name", "-r"])
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Dplugins.py174 self._registry: Dict[str, Plugin] = {}
182 if name in self._registry:
183 return self._registry[name]
192 return iter(self._registry)
195 return len(self._registry)
217 if plugin.name in self._registry and plugin.source is None:
227 existing = self._registry.get(plugin.name)
241 self._registry[plugin.name].source, plugin.target_name)
268 self._registry[plugin.name] = plugin
331 for name in self._registry) + 1 if self._registry else 1
[all …]
/external/python/cpython3/Lib/
Dweakref.py549 _registry = {} variable in finalize
572 self._registry[self] = info
578 info = self._registry.pop(self, None)
585 info = self._registry.get(self)
587 if obj is not None and self._registry.pop(self, None):
593 info = self._registry.get(self)
601 return self in self._registry
606 info = self._registry.get(self)
611 info = self._registry.get(self)
616 info = self._registry.get(self)
[all …]
/external/llvm-project/lld/include/lld/Core/
DLinkingContext.h187 const Registry &registry() const { return _registry; } in registry()
188 Registry &registry() { return _registry; } in registry()
247 Registry _registry; variable
/external/llvm-project/lld/lib/ReaderWriter/
DFileArchive.cpp46 _registry(reg), _logLoading(logLoading) {} in FileArchive()
154 _registry.loadFile(std::move(memberMB)); in instantiateMember()
192 const Registry &_registry; member in lld::__anon04dcd5c90111::FileArchive
/external/llvm-project/lld/include/lld/ReaderWriter/
DYamlContext.h34 const Registry *_registry = nullptr; member
/external/rust/crates/mio/src/
Dio_source.rs194 fn deregister(&mut self, _registry: &Registry) -> io::Result<()> { in deregister()
196 self.selector_id.remove_association(_registry)?; in deregister()
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py470 _registry = {} variable in BaseManager
492 return Server(self._registry, self._address,
519 args=(self._registry, self._address, self._authkey,
645 cls._registry = cls._registry.copy()
660 cls._registry[typeid] = (
765 proxytype = self._manager._registry[token.typeid][-1]
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py487 _registry = {} variable in BaseManager
514 return Server(self._registry, self._address,
548 args=(self._registry, self._address, self._authkey,
692 cls._registry = cls._registry.copy()
707 cls._registry[typeid] = (
815 proxytype = self._manager._registry[token.typeid][-1]
1344 return self._Server(self._registry, self._address,
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp263 assert(info->_registry); in output()
265 if (info->_registry->referenceKindToString(kind.ns, kind.arch, kind.value, in output()
275 assert(info->_registry); in input()
276 if (info->_registry->referenceKindFromString(scalar, kind.ns, kind.arch, in input()
696 if (info->_registry && info->_registry->handleTaggedDoc(io, file)) in mapping()
1309 yamlContext._registry = &_ctx.registry(); in writeFile()
1351 YAMLReader(const Registry &registry) : _registry(registry) {} in YAMLReader()
1363 yamlContext._registry = &_registry; in loadFile()
1386 const Registry &_registry; member in lld::__anona65911ac0211::YAMLReader
/external/python/cpython2/Lib/test/
Dtest_py3kwarn.py11 from test.test_support import __warningregistry__ as _registry unknown
16 past_warnings = _registry.keys()
17 del _registry
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DLayoutPass.h80 const Registry &_registry; variable
DLayoutPass.cpp157 checkNoCycleInFollowonChain(_registry, _followOnNexts, root); in checkFollowonChain()
264 : _registry(registry), _customSorter(std::move(sorter)) {} in LayoutPass()