/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_thread_registry_test.cc | 35 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/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | TypeRegistryTest.cs | 45 … var registry = TypeRegistry.FromFiles(DurationReflection.Descriptor, StructReflection.Descriptor); in CreateWithFileDescriptor() 46 AssertDescriptorPresent(registry, Duration.Descriptor); in CreateWithFileDescriptor() 47 AssertDescriptorPresent(registry, ListValue.Descriptor); in CreateWithFileDescriptor() 48 AssertDescriptorAbsent(registry, Timestamp.Descriptor); in CreateWithFileDescriptor() 55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile() 57 AssertDescriptorPresent(registry, TestFieldOrderings.Descriptor); in TypesFromSameFile() 59 AssertDescriptorPresent(registry, TestFieldOrderings.Types.NestedMessage.Descriptor); in TypesFromSameFile() 65 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in DependenciesAreIncluded() 67 AssertDescriptorPresent(registry, ImportMessage.Descriptor); in DependenciesAreIncluded() 69 AssertDescriptorPresent(registry, PublicImportMessage.Descriptor); in DependenciesAreIncluded() [all …]
|
/external/deqp/scripts/opengl/ |
D | src_util.py | 30 import khr_util.registry 89 registry = getGLRegistry() 90 glFeatures = registry.getFeatures('gl') 91 esFeatures = registry.getFeatures('gles2') 92 spec = khr_util.registry.InterfaceSpec() 94 for feature in registry.getFeatures('gl'): 97 for feature in registry.getFeatures('gles2'): 101 extension = registry.extensions[extName] 112 return khr_util.registry.createInterface(registry, spec, 'gles2') 114 def getInterface (registry, api, version=None, profile=None, **kwargs): argument [all …]
|
D | gen_all.py | 38 registry = getGLRegistry() 42 genES31WrapperFuncs(registry) 43 genESDirectInit(registry) 44 genESStaticLibrary(registry) 45 genExtInit(registry, iface) 46 genFuncInit(registry)
|
D | gen_ext_init.py | 25 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/r8/src/main/java/com/android/tools/r8/code/ |
D | InvokeCustom.java | 44 public void registerUse(UseRegistry registry) { in registerUse() argument 45 registerCallSite(registry, getCallSite()); in registerUse() 63 static void registerCallSite(UseRegistry registry, DexCallSite callSite) { in registerCallSite() argument 64 InvokeCustom.registerMethodHandle(registry, callSite.bootstrapMethod); in registerCallSite() 69 registry.registerTypeReference(((DexValueType) arg).value); in registerCallSite() 71 InvokeCustom.registerMethodHandle(registry, ((DexValueMethodHandle) arg).value); in registerCallSite() 76 static void registerMethodHandle(UseRegistry registry, DexMethodHandle methodHandle) { in registerMethodHandle() argument 79 registry.registerInstanceFieldRead(methodHandle.asField()); in registerMethodHandle() 82 registry.registerInstanceFieldWrite(methodHandle.asField()); in registerMethodHandle() 85 registry.registerStaticFieldRead(methodHandle.asField()); in registerMethodHandle() [all …]
|
/external/deqp/scripts/egl/ |
D | library.py | 25 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 …]
|
D | proc_address_tests.py | 30 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 …]
|
D | common.py | 33 import khr_util.registry 86 def getInterface (registry, api, version=None, profile=None, **kwargs): argument 87 spec = khr_util.registry.spec(registry, api, version, profile, **kwargs) 88 return khr_util.registry.createInterface(registry, spec, api) 109 def genCommandLists (registry, renderCommand, check, directory, filePattern, align=False): argument 110 for eFeature in registry.features: 118 iface = getInterface(registry, api, version=version, profile=profile)
|
/external/ImageMagick/MagickCore/ |
D | registry.c | 74 *registry = (SplayTreeInfo *) NULL; variable 154 if (registry == (void *) NULL) in DeleteImageRegistry() 156 return(DeleteNodeFromSplayTree(registry,key)); in DeleteImageRegistry() 197 if (registry == (void *) NULL) in GetImageRegistry() 199 registry_info=(RegistryInfo *) GetValueFromSplayTree(registry,key); in GetImageRegistry() 275 if (registry == (void *) NULL) in GetNextImageRegistry() 277 return((char *) GetNextKeyInSplayTree(registry)); in GetNextImageRegistry() 330 if (registry != (void *) NULL) in RegistryComponentTerminus() 331 registry=DestroySplayTree(registry); in RegistryComponentTerminus() 363 if (registry == (void *) NULL) in RemoveImageRegistry() [all …]
|
/external/r8/src/main/java/com/android/tools/r8/jar/ |
D | JarRegisterEffectsVisitor.java | 22 private final UseRegistry registry; field in JarRegisterEffectsVisitor 25 public JarRegisterEffectsVisitor(DexType clazz, UseRegistry registry, in JarRegisterEffectsVisitor() argument 29 this.registry = registry; in JarRegisterEffectsVisitor() 37 registry.registerNewInstance(type); in visitTypeInsn() 39 registry.registerTypeReference(type); in visitTypeInsn() 45 registry.registerTypeReference(application.getTypeFromDescriptor(desc)); in visitMultiANewArrayInsn() 51 registry.registerTypeReference(application.getType((Type) cst)); in visitLdcInsn() 61 registry.registerInvokeVirtual(method); in visitMethodInsn() 64 registry.registerInvokeStatic(method); in visitMethodInsn() 67 registry.registerInvokeInterface(method); in visitMethodInsn() [all …]
|
/external/python/cpython2/Python/ |
D | _warnings.c | 67 PyObject *registry; in get_once_registry() local 69 registry = get_warnings_attr("onceregistry"); in get_once_registry() 70 if (registry == NULL) { in get_once_registry() 76 _once_registry = registry; in get_once_registry() 77 return registry; in get_once_registry() 169 already_warned(PyObject *registry, PyObject *key, int should_set) in already_warned() argument 176 already_warned = PyDict_GetItem(registry, key); in already_warned() 185 return PyDict_SetItem(registry, key, Py_True); in already_warned() 221 update_registry(PyObject *registry, PyObject *text, PyObject *category, in update_registry() argument 236 rc = already_warned(registry, altkey, 1); in update_registry() [all …]
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
D | PlotTest.java | 195 …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/vulkan-validation-layers/layers/ |
D | vk_validation_error_database.txt | 11 …L, instance must be a valid VkInstance handle' (https://www.khronos.org/registry/vulkan/specs/1.0-… 12 …tates 'pName must be a null-terminated string' (https://www.khronos.org/registry/vulkan/specs/1.0-… 13 …tates 'device must be a valid VkDevice handle' (https://www.khronos.org/registry/vulkan/specs/1.0-… 14 …tates 'pName must be a null-terminated string' (https://www.khronos.org/registry/vulkan/specs/1.0-… 15 …ter to a valid VkInstanceCreateInfo structure' (https://www.khronos.org/registry/vulkan/specs/1.0-… 16 …er to a valid VkAllocationCallbacks structure' (https://www.khronos.org/registry/vulkan/specs/1.0-… 17 …ance must be a pointer to a VkInstance handle' (https://www.khronos.org/registry/vulkan/specs/1.0-… 18 …ust be VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO' (https://www.khronos.org/registry/vulkan/specs/1.0-… 19 …. Instances' which states 'pNext must be NULL' (https://www.khronos.org/registry/vulkan/specs/1.0-… 20 …3.2. Instances' which states 'flags must be 0' (https://www.khronos.org/registry/vulkan/specs/1.0-… [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUServiceTestSample.java | 113 private static ICUService registry; field in ICUServiceTestSample.HelloService 134 private static ICUService registry() { in registry() method in ICUServiceTestSample.HelloService 135 if (registry == null) { in registry() 138 return registry; in registry() 142 registry = new ICULocaleService() { in initRegistry() 171 registry().addListener(l); in addListener() 178 registry().removeListener(l); in removeListener() 185 return (HelloService)registry().get(id); in get() 189 return registry().getVisibleIDs(); in getVisibleIDs() 193 return getDisplayNames(registry(), locale); in getDisplayNames() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTestSample.java | 112 private static ICUService registry; field in ICUServiceTestSample.HelloService 133 private static ICUService registry() { in registry() method in ICUServiceTestSample.HelloService 134 if (registry == null) { in registry() 137 return registry; in registry() 141 registry = new ICULocaleService() { in initRegistry() 170 registry().addListener(l); in addListener() 177 registry().removeListener(l); in removeListener() 184 return (HelloService)registry().get(id); in get() 188 return registry().getVisibleIDs(); in getVisibleIDs() 192 return getDisplayNames(registry(), locale); in getDisplayNames() [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | WindowList.py | 51 registry = WindowList() variable 53 add_windows_to_menu = registry.add_windows_to_menu 54 register_callback = registry.register_callback 55 unregister_callback = registry.unregister_callback 62 registry.add(self) 66 registry.delete(self) 70 if not registry.dict: 74 registry.call_callbacks()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultHttpClient.java | 179 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/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
D | Plugins.java | 17 private static final PluginRegistry registry = new PluginRegistry(); field in Plugins 23 return registry.getStackTraceCleanerProvider(); in getStackTraceCleanerProvider() 33 return registry.getMockMaker(); in getMockMaker() 43 return registry.getInstantiatorProvider(); in getInstantiatorProvider() 53 return registry.getAnnotationEngine(); in getAnnotationEngine()
|
/external/icu/icu4c/source/i18n/ |
D | translit.cpp | 99 static icu::TransliteratorRegistry* registry = 0; variable 103 #define HAVE_REGISTRY(status) (registry!=0 || initializeRegistry(status)) 983 t = registry->get(id, alias, ec); in createBasicInstance() 1015 t = registry->reget(id, parser, alias, ec); in createBasicInstance() 1228 registry->put(id, factory, context, TRUE, ec); in _registerFactory() 1263 registry->put(adoptedPrototype, TRUE, ec); in _registerInstance() 1278 registry->put(aliasID, realID, FALSE, TRUE, ec); in _registerAlias() 1293 registry->remove(ID); in unregister() 1308 retVal = registry->countAvailableIDs(); in countAvailableIDs() 1324 result = ®istry->getAvailableID(index); in getAvailableID() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ParserTest.java | 66 ExtensionRegistryLite registry) in assertRoundTripEquals() argument 73 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 76 offset, length, registry)); in assertRoundTripEquals() 78 message.toByteString(), registry)); in assertRoundTripEquals() 80 new ByteArrayInputStream(data), registry)); in assertRoundTripEquals() 82 CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals() 233 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize() local 234 UnittestOptimizeFor.registerAllExtensions(registry); in testOptimizeForSize() 236 assertRoundTripEquals(message, registry); in testOptimizeForSize() 297 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge() local [all …]
|
/external/python/cpython2/Lib/ |
D | warnings.py | 233 registry = globals.setdefault("__warningregistry__", {}) 234 warn_explicit(message, category, filename, lineno, module, registry, 238 module=None, registry=None, module_globals=None): argument 244 if registry is None: 245 registry = {} 254 if registry.get(key): 268 registry[key] = 1 279 registry[key] = 1 287 registry[key] = 1 289 if registry.get(altkey): [all …]
|
/external/apache-http/src/org/apache/http/client/protocol/ |
D | ClientContextConfigurer.java | 58 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/skia/tools/ |
D | ok_srcs.cpp | 16 const skiagm::GMRegistry* registry = skiagm::GMRegistry::Head(); member 52 if (!registry) { in next() 56 src.factory = registry->factory(); in next() 57 registry = registry->next(); in next()
|
D | ok_test.cpp | 16 const skiatest::TestRegistry* registry = skiatest::TestRegistry::Head(); member 63 if (!registry) { in next() 67 src.test = registry->factory(); in next() 70 registry = registry->next(); in next()
|