Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_thread_registry_test.cc35 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, in CheckThreadQuantity() argument
38 registry->GetNumberOfThreads(&total, &running, &alive); in CheckThreadQuantity()
67 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) { in TestRegistry() argument
69 EXPECT_EQ(0U, registry->CreateThread(get_uid(0), true, -1, 0)); in TestRegistry()
70 registry->StartThread(0, 0, 0); in TestRegistry()
73 EXPECT_EQ(i, registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); in TestRegistry()
75 CheckThreadQuantity(registry, 11, 1, 11); in TestRegistry()
78 registry->StartThread(i, 0, 0); in TestRegistry()
80 CheckThreadQuantity(registry, 11, 6, 11); in TestRegistry()
83 registry->FinishThread(i); in TestRegistry()
[all …]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_builder_registry.py7 builder_registry as registry, unknown
33 self.assertEqual(registry.lookup('fast', 'html'),
37 self.assertEqual(registry.lookup('permissive', 'xml'),
39 self.assertEqual(registry.lookup('strict', 'html'),
42 self.assertEqual(registry.lookup('html5lib', 'html'),
47 self.assertEqual(registry.lookup('html'), LXMLTreeBuilder)
48 self.assertEqual(registry.lookup('xml'), LXMLTreeBuilderForXML)
50 self.assertEqual(registry.lookup('xml'), None)
52 self.assertEqual(registry.lookup('html'), HTML5TreeBuilder)
54 self.assertEqual(registry.lookup('html'), HTMLParserTreeBuilder)
[all …]
/external/dbus/bus/
Dservices.c44 BusRegistry *registry; member
76 BusRegistry *registry; in bus_registry_new() local
78 registry = dbus_new0 (BusRegistry, 1); in bus_registry_new()
79 if (registry == NULL) in bus_registry_new()
82 registry->refcount = 1; in bus_registry_new()
83 registry->context = context; in bus_registry_new()
85 registry->service_hash = _dbus_hash_table_new (DBUS_HASH_STRING, in bus_registry_new()
87 if (registry->service_hash == NULL) in bus_registry_new()
90 registry->service_pool = _dbus_mem_pool_new (sizeof (BusService), in bus_registry_new()
93 if (registry->service_pool == NULL) in bus_registry_new()
[all …]
Dservices.h37 BusRegistry* bus_registry_ref (BusRegistry *registry);
38 void bus_registry_unref (BusRegistry *registry);
39 BusService* bus_registry_lookup (BusRegistry *registry,
41 BusService* bus_registry_ensure (BusRegistry *registry,
47 void bus_registry_foreach (BusRegistry *registry,
50 dbus_bool_t bus_registry_list_services (BusRegistry *registry,
53 dbus_bool_t bus_registry_acquire_service (BusRegistry *registry,
60 dbus_bool_t bus_registry_release_service (BusRegistry *registry,
66 dbus_bool_t bus_registry_set_service_context_table (BusRegistry *registry,
Ddriver.c185 create_unique_client_name (BusRegistry *registry, in create_unique_client_name() argument
234 if (bus_registry_lookup (registry, str) == NULL) in create_unique_client_name()
253 BusRegistry *registry; in bus_driver_handle_hello() local
288 registry = bus_connection_get_registry (connection); in bus_driver_handle_hello()
290 if (!create_unique_client_name (registry, &unique_name)) in bus_driver_handle_hello()
313 service = bus_registry_ensure (registry, in bus_driver_handle_hello()
380 BusRegistry *registry; in bus_driver_handle_list_services() local
387 registry = bus_connection_get_registry (connection); in bus_driver_handle_list_services()
396 if (!bus_registry_list_services (registry, &services, &len)) in bus_driver_handle_list_services()
569 BusRegistry *registry; in bus_driver_handle_acquire_service() local
[all …]
/external/deqp/scripts/opengl/
Dsrc_util.py30 import khr_util.registry
84 registry = getGLRegistry()
85 glFeatures = registry.getFeatures('gl')
86 esFeatures = registry.getFeatures('gles2')
87 spec = khr_util.registry.InterfaceSpec()
89 for feature in registry.getFeatures('gl'):
92 for feature in registry.getFeatures('gles2'):
96 extension = registry.extensions[extName]
107 return khr_util.registry.createInterface(registry, spec, 'gles2')
109 def getInterface (registry, api, version=None, profile=None, **kwargs): argument
[all …]
Dgen_all.py38 registry = getGLRegistry()
42 genES31WrapperFuncs(registry)
43 genESDirectInit(registry)
44 genESStaticLibrary(registry)
45 genExtInit(registry, iface)
46 genFuncInit(registry)
Dgen_ext_init.py25 def genExtensions (registry, iface, api): argument
27 … extIface = getInterface(registry, api, version=False, profile='core', extensionNames=[extName])
48 def genExtInit (registry, iface): argument
49 …writeInlFile(os.path.join(OPENGL_INC_DIR, "glwInitExtES.inl"), genExtensions(registry, iface, 'gle…
50 …writeInlFile(os.path.join(OPENGL_INC_DIR, "glwInitExtGL.inl"), genExtensions(registry, iface, 'gl'…
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.registry_3.5.0.v20100503.jar ... ) } org/eclipse/core/internal/registry/ org/eclipse/core/internal/registry
/external/deqp/scripts/egl/
Dlibrary.py25 import khr_util.registry
60 def getExtOnlyIface (registry, api, extensions): argument
61 spec = khr_util.registry.InterfaceSpec()
63 for extension in registry.extensions:
64 if not khr_util.registry.getExtensionName(extension) in extensions:
67 if not khr_util.registry.extensionSupports(extension, api):
72 return khr_util.registry.createInterface(registry, spec, api)
77 def genStaticLibrary (registry): argument
78 genCommandLists(registry, commandLibraryEntry,
84 def gen (registry): argument
[all …]
Dproc_address_tests.py30 import khr_util.registry
72 def getExtensionList (registry, api): argument
75 for extension in registry.extensions:
76 if not khr_util.registry.extensionSupports(extension, api):
79 spec = khr_util.registry.InterfaceSpec()
81 iface = khr_util.registry.createInterface(registry, spec, api)
86 exts.append((khr_util.registry.getExtensionName(extension),
102 def getInterfaceExactVersion (registry, api, version): argument
103 spec = khr_util.registry.InterfaceSpec()
107 for feature in registry.getFeatures(api, check):
[all …]
Dcommon.py33 import khr_util.registry
75 def getInterface (registry, api, version=None, profile=None, **kwargs): argument
76 spec = khr_util.registry.spec(registry, api, version, profile, **kwargs)
77 return khr_util.registry.createInterface(registry, spec, api)
98 def genCommandLists (registry, renderCommand, check, directory, filePattern, align=False): argument
99 for eFeature in registry.features:
107 iface = getInterface(registry, api, version=version, profile=profile)
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/
DPlotTest.java195 …ass<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry = Deencapsulation… in testAddSeries() local
196 assertEquals(1, registry.size()); in testAddSeries()
197 assertEquals(1, registry.get(cl).size()); in testAddSeries()
202 assertEquals(1, registry.size()); in testAddSeries()
203 assertEquals(1, registry.get(cl).size()); in testAddSeries()
210 assertEquals(1, registry.size()); in testAddSeries()
213 assertEquals(2, registry.get(cl).size()); in testAddSeries()
219 assertEquals(2, registry.size()); in testAddSeries()
227 …ass<SeriesRenderer>, SeriesAndFormatterList<MockSeries,MockFormatter1>> registry = Deencapsulation… in testRemoveSeries() local
243 assertEquals(2, registry.size()); in testRemoveSeries()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dregistry_test.py29 from protorpc import registry
37 MODULE = registry
55 self.registry = {
65 self.registry_service = registry.RegistryService(self.registry,
70 service1_mapping = registry.ServiceMapping()
74 service2_mapping = registry.ServiceMapping()
86 request = registry.GetFileSetRequest()
94 request = registry.GetFileSetRequest()
101 request = registry.GetFileSetRequest()
110 request = registry.GetFileSetRequest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTestSample.java110 private static ICUService registry; field in ICUServiceTestSample.HelloService
131 private static ICUService registry() { in registry() method in ICUServiceTestSample.HelloService
132 if (registry == null) { in registry()
135 return registry; in registry()
139 registry = new ICULocaleService() { in initRegistry()
168 registry().addListener(l); in addListener()
175 registry().removeListener(l); in removeListener()
182 return (HelloService)registry().get(id); in get()
186 return registry().getVisibleIDs(); in getVisibleIDs()
190 return getDisplayNames(registry(), locale); in getDisplayNames()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTestSample.java111 private static ICUService registry; field in ICUServiceTestSample.HelloService
132 private static ICUService registry() { in registry() method in ICUServiceTestSample.HelloService
133 if (registry == null) { in registry()
136 return registry; in registry()
140 registry = new ICULocaleService() { in initRegistry()
169 registry().addListener(l); in addListener()
176 registry().removeListener(l); in removeListener()
183 return (HelloService)registry().get(id); in get()
187 return registry().getVisibleIDs(); in getVisibleIDs()
191 return getDisplayNames(registry(), locale); in getDisplayNames()
[all …]
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpClient.java179 SchemeRegistry registry = new SchemeRegistry(); in createClientConnectionManager() local
180 registry.register( in createClientConnectionManager()
182 registry.register( in createClientConnectionManager()
211 connManager = factory.newInstance(params, registry); in createClientConnectionManager()
213 connManager = new SingleClientConnManager(getParams(), registry); in createClientConnectionManager()
252 AuthSchemeRegistry registry = new AuthSchemeRegistry(); in createAuthSchemeRegistry() local
253 registry.register( in createAuthSchemeRegistry()
256 registry.register( in createAuthSchemeRegistry()
259 return registry; in createAuthSchemeRegistry()
265 CookieSpecRegistry registry = new CookieSpecRegistry(); in createCookieSpecRegistry() local
[all …]
/external/icu/icu4c/source/i18n/
Dtranslit.cpp97 static icu::TransliteratorRegistry* registry = 0; variable
101 #define HAVE_REGISTRY(status) (registry!=0 || initializeRegistry(status))
981 t = registry->get(id, alias, ec); in createBasicInstance()
1013 t = registry->reget(id, parser, alias, ec); in createBasicInstance()
1226 registry->put(id, factory, context, TRUE, ec); in _registerFactory()
1261 registry->put(adoptedPrototype, TRUE, ec); in _registerInstance()
1276 registry->put(aliasID, realID, FALSE, TRUE, ec); in _registerAlias()
1291 registry->remove(ID); in unregister()
1306 retVal = registry->countAvailableIDs(); in countAvailableIDs()
1322 result = &registry->getAvailableID(index); in getAvailableID()
[all …]
/external/autotest/client/virt/
Dinstaller_unittest.py11 self.registry = installer.InstallerRegistry()
21 self.registry.register(install_mode, CustomVirtInstaller, virt_type)
22 klass = self.registry.get_installer(install_mode, virt_type)
32 self.registry.register(install_mode, BaseVirtInstaller)
33 klass = self.registry.get_installer(install_mode,
37 klass = self.registry.get_installer(install_mode,
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dservice_test.py29 from protorpc import registry
105 return registry.RegistryService.Stub(transport)
111 registry.ServiceMapping(
114 registry.ServiceMapping(
128 registry.ServiceMapping(
131 registry.ServiceMapping(
158 self.assertTrue(isinstance(services, registry.ServicesResponse))
160 [registry.ServiceMapping(
163 registry.ServiceMapping(
/external/chromium-trace/catapult/dashboard/dashboard/
Ddatastore_hooks.py56 request.registry['privileged'] = True
67 request.registry['single_privileged'] = True
73 request.registry['single_privileged'] = False
90 if request.registry.get('privileged', False):
92 if request.registry.get('single_privileged', False):
93 request.registry['single_privileged'] = False
/external/protobuf/java/src/test/java/com/google/protobuf/
DParserTest.java67 ExtensionRegistryLite registry) in assertRoundTripEquals() argument
74 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals()
77 offset, length, registry)); in assertRoundTripEquals()
79 message.toByteString(), registry)); in assertRoundTripEquals()
81 new ByteArrayInputStream(data), registry)); in assertRoundTripEquals()
83 CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals()
235 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize() local
236 UnittestOptimizeFor.registerAllExtensions(registry); in testOptimizeForSize()
238 assertRoundTripEquals(message, registry); in testOptimizeForSize()
299 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge() local
[all …]
/external/v8/src/js/
Dsymbol.js61 var registry = %SymbolRegistry();
62 if (IS_UNDEFINED(registry.for[key])) {
64 registry.for[key] = symbol;
65 registry.keyFor[symbol] = key;
67 return registry.for[key];
/external/protobuf/java/src/main/java/com/google/protobuf/
DMessageReflection.java238 ExtensionRegistry registry, String name); in findExtensionByName() argument
241 ExtensionRegistry registry, Descriptors.Descriptor containingType, in findExtensionByNumber() argument
322 Object parseGroup(CodedInputStream input, ExtensionRegistryLite registry, in parseGroup() argument
330 Object parseMessage(CodedInputStream input, ExtensionRegistryLite registry, in parseMessage() argument
340 ByteString bytes, ExtensionRegistryLite registry, in parseMessageFromBytes() argument
433 ExtensionRegistry registry, String name) { in findExtensionByName() argument
434 return registry.findImmutableExtensionByName(name); in findExtensionByName()
438 ExtensionRegistry registry, Descriptors.Descriptor containingType, in findExtensionByNumber() argument
440 return registry.findImmutableExtensionByNumber(containingType, in findExtensionByNumber()
594 ExtensionRegistry registry, String name) { in findExtensionByName() argument
[all …]
/external/apache-http/src/org/apache/http/client/protocol/
DClientContextConfigurer.java58 public void setCookieSpecRegistry(final CookieSpecRegistry registry) { in setCookieSpecRegistry() argument
59 this.context.setAttribute(COOKIESPEC_REGISTRY, registry); in setCookieSpecRegistry()
62 public void setAuthSchemeRegistry(final AuthSchemeRegistry registry) { in setAuthSchemeRegistry() argument
63 this.context.setAttribute(AUTHSCHEME_REGISTRY, registry); in setAuthSchemeRegistry()

1234567891011