Home
last modified time | relevance | path

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

123456

/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/deqp/scripts/opengl/
Dsrc_util.py30 import khr_util.registry
82 registry = getGLRegistry()
83 glFeatures = registry.getFeatures('gl')
84 esFeatures = registry.getFeatures('gles2')
85 spec = khr_util.registry.InterfaceSpec()
87 for feature in registry.getFeatures('gl'):
90 for feature in registry.getFeatures('gles2'):
94 extension = registry.extensions[extName]
105 return khr_util.registry.createInterface(registry, spec, 'gles2')
107 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/deqp/scripts/egl/
Dlibrary.py5 import khr_util.registry
40 def getExtOnlyIface (registry, api, extensions): argument
41 spec = khr_util.registry.InterfaceSpec()
43 for extension in registry.extensions:
44 if not khr_util.registry.getExtensionName(extension) in extensions:
47 if not khr_util.registry.extensionSupports(extension, api):
52 return khr_util.registry.createInterface(registry, spec, api)
57 def genStaticLibrary (registry): argument
58 genCommandLists(registry, commandLibraryEntry,
64 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
72 def getInterface (registry, api, version=None, profile=None, **kwargs): argument
73 spec = khr_util.registry.spec(registry, api, version, profile, **kwargs)
74 return khr_util.registry.createInterface(registry, spec, api)
95 def genCommandLists (registry, renderCommand, check, directory, filePattern, align=False): argument
96 for eFeature in registry.features:
104 iface = getInterface(registry, api, version=version, profile=profile)
D__init__.py33 registry = getEGLRegistry()
35 noExtIface = getInterface(registry, 'egl', VERSION)
42 library.gen(registry)
/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/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/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/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/
Dsymbol.js54 var registry = %SymbolRegistry();
55 if (IS_UNDEFINED(registry.for[key])) {
57 registry.for[key] = symbol;
58 registry.keyFor[symbol] = key;
60 return registry.for[key];
/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()
/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/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_mako_test.py30 self.assertEqual(len(app.registry), 0)
32 self.assertEqual(len(app.registry), 1)
38 self.assertEqual(len(app.registry), 0)
40 self.assertEqual(len(app.registry), 1)
Dextras_i18n_test.py350 self.assertEqual(len(app.registry), 0)
352 self.assertEqual(len(app.registry), 1)
360 self.assertEqual(len(app.registry), 0)
362 self.assertEqual(len(app.registry), 1)
371 self.assertEqual(len(app.registry), 1)
372 self.assertEqual(len(req.registry), 0)
374 self.assertEqual(len(app.registry), 1)
375 self.assertEqual(len(req.registry), 1)
383 self.assertEqual(len(app.registry), 0)
384 self.assertEqual(len(req.registry), 0)
[all …]
/external/deqp/scripts/khr_util/
Dregistry.py281 def createInterface(registry, spec, api=None): argument
297 return parseType(registry.types[name, api])
303 return parseEnum(registry.enums[enumName, api])
328 eCmd = registry.commands[commandName]
343 eGroup = registry.groups[name]
371 aliasCommand = registry.commands[alias]
386 def spec(registry, api, version=None, profile=None, extensionNames=[], protects=[], force=False): argument
397 for eFeature in registry.getFeatures(api, check):
401 eExtension = registry.extensions[extName]
412 def interface(registry, api, **kwargs): argument
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_registry.py7 from paste.registry import *
8 from paste.registry import Registry
191 registry = Registry()
193 'paste.registry': registry}
221 registry.prepare()
222 registry.register(stacked, new)
224 registry.cleanup()
229 registry.replace(stacked, replace)
233 registry.cleanup()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dregistry.py487 registry = environ.get('paste.registry')
488 if not registry or not len(registry.reglist) or \
495 (registry, registry.reglist[:])
500 for reglist in registry.reglist:
557 registry, reglist = self.saved_registry_states[request_id]
558 registry.reglist = reglist
/external/pdfium/third_party/freetype/src/cid/
Dcidriver.c105 const char* *registry, in cid_get_ros()
112 if ( registry ) in cid_get_ros()
113 *registry = cid->registry; in cid_get_ros()
/external/apache-harmony/support/src/test/resources/tests/resources/manifest/
Dhyts_MANIFEST.MF6 com.ibm.ive.eccomm.client.services.registry,
7 com.ibm.ive.eccomm.service.registry; specification-version=1.0.0,
18 com.ibm.ive.eccomm.service.registry.RegistryService
22 com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterator.java438 private static TransliteratorRegistry registry; field in Transliterator
1388 Transliterator t = registry.get(id, s); in getBasicInstance()
1710 registry.put(ID, transClass, true); in registerClass()
1729 registry.put(ID, factory, true); in registerFactory()
1743 registry.put(trans.getID(), trans, true); in registerInstance()
1757 registry.put(trans.getID(), trans, visible); in registerInstance()
1774 registry.put(aliasID, realID, true); in registerAlias()
1825 registry.remove(ID); in unregister()
1841 return registry.getAvailableIDs(); in getAvailableIDs()
1852 return registry.getAvailableSources(); in getAvailableSources()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_shm.c137 registry_handle_global(void *data, struct wl_registry *registry, uint32_t name, in registry_handle_global() argument
143 shmdpy->wl_shm = wl_registry_bind(registry, name, &wl_shm_interface, 1); in registry_handle_global()
159 shmdpy->base.registry = wl_display_get_registry(shmdpy->base.dpy); in wayland_shm_display_init_screen()
160 wl_proxy_set_queue((struct wl_proxy *) shmdpy->base.registry, in wayland_shm_display_init_screen()
162 wl_registry_add_listener(shmdpy->base.registry, &registry_listener, shmdpy); in wayland_shm_display_init_screen()

123456