/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AbstractServerImplBuilderTest.java | 50 List<ServerStreamTracer.Factory> factories = builder.getTracerFactories(); in getTracerFactories_default() local 51 assertEquals(3, factories.size()); in getTracerFactories_default() 52 assertThat(factories.get(0)).isInstanceOf(CensusStatsModule.ServerTracerFactory.class); in getTracerFactories_default() 53 assertThat(factories.get(1)).isInstanceOf(CensusTracingModule.ServerTracerFactory.class); in getTracerFactories_default() 54 assertThat(factories.get(2)).isSameAs(DUMMY_USER_TRACER); in getTracerFactories_default() 61 List<ServerStreamTracer.Factory> factories = builder.getTracerFactories(); in getTracerFactories_disableStats() local 62 assertEquals(2, factories.size()); in getTracerFactories_disableStats() 63 assertThat(factories.get(0)).isInstanceOf(CensusTracingModule.ServerTracerFactory.class); in getTracerFactories_disableStats() 64 assertThat(factories.get(1)).isSameAs(DUMMY_USER_TRACER); in getTracerFactories_disableStats() 71 List<ServerStreamTracer.Factory> factories = builder.getTracerFactories(); in getTracerFactories_disableTracing() local [all …]
|
/external/tensorflow/tensorflow/stream_executor/ |
D | plugin_registry.cc | 74 std::map<PluginId, FACTORY_TYPE>* factories) { in RegisterFactoryInternal() argument 77 if (factories->find(plugin_id) != factories->end()) { in RegisterFactoryInternal() 85 (*factories)[plugin_id] = factory; in RegisterFactoryInternal() 92 PluginId plugin_id, const std::map<PluginId, FACTORY_TYPE>& factories, in GetFactoryInternal() argument 94 auto iter = factories.find(plugin_id); in GetFactoryInternal() 95 if (iter == factories.end()) { in GetFactoryInternal() 148 bool PluginRegistry::HasFactory(const PluginFactories& factories, in HasFactory() argument 153 return factories.blas.find(plugin_id) != factories.blas.end(); in HasFactory() 155 return factories.dnn.find(plugin_id) != factories.dnn.end(); in HasFactory() 157 return factories.fft.find(plugin_id) != factories.fft.end(); in HasFactory() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 208 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread 214 factories = service.factories(); in UnregisterFactoryThread() 219 int s = factories.size(); in iterate() 221 factories = service.factories(); in iterate() 224 Factory f = (Factory)factories.remove(n); in iterate() 232 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread 235 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument 238 this.factories = factories; in UnregisterFactoryListThread() 243 if (n < factories.length) { in iterate() 244 Factory f = factories[n++]; in iterate() [all …]
|
D | ICUServiceTest.java | 139 List factories = service.factories(); in TestAPI() local 140 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI() 146 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI() 157 factories = service.factories(); in TestAPI() 158 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI() 166 service.unregisterFactory((Factory)factories.get(0)); in TestAPI() 167 factories = service.factories(); in TestAPI() 168 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI() 775 List factories = service.factories(); in TestLocale() local 776 Iterator iter = factories.iterator(); in TestLocale()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUServiceThreadTest.java | 211 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread 217 factories = service.factories(); in UnregisterFactoryThread() 222 int s = factories.size(); in iterate() 224 factories = service.factories(); in iterate() 227 Factory f = (Factory)factories.remove(n); in iterate() 235 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread 238 … UnregisterFactoryListThread(String name, ICUService service, long delay, Factory[] factories) { in UnregisterFactoryListThread() argument 241 this.factories = factories; in UnregisterFactoryListThread() 246 if (n < factories.length) { in iterate() 247 Factory f = factories[n++]; in iterate() [all …]
|
D | ICUServiceTest.java | 142 List factories = service.factories(); in TestAPI() local 143 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI() 149 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI() 160 factories = service.factories(); in TestAPI() 161 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI() 169 service.unregisterFactory((Factory)factories.get(0)); in TestAPI() 170 factories = service.factories(); in TestAPI() 171 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI() 778 List factories = service.factories(); in TestLocale() local 779 Iterator iter = factories.iterator(); in TestLocale()
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
D | AndroidEndpointFactory.java | 18 private final Factories factories; field in AndroidEndpointFactory 20 AndroidEndpointFactory(Factories factories) { in AndroidEndpointFactory() argument 21 this.factories = factories; in AndroidEndpointFactory() 28 factories.clientFactory, channelType, port, protocols, ciphers); in newClient() 34 return new ServerEndpoint(factories.serverFactory, factories.serverSocketFactory, in newServer()
|
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
D | AndroidEndpointFactory.java | 20 private final Factories factories; field in AndroidEndpointFactory 22 AndroidEndpointFactory(Factories factories) { in AndroidEndpointFactory() argument 23 this.factories = factories; in AndroidEndpointFactory() 30 factories.clientFactory, channelType, port, protocols, ciphers); in newClient() 36 return new ServerEndpoint(factories.serverFactory, factories.serverSocketFactory, in newServer()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | device_factory.cc | 46 static std::unordered_map<string, FactoryItem>* factories = in device_factories() local 48 return *factories; in device_factories() 56 std::unordered_map<string, FactoryItem>& factories = device_factories(); in DevicePriority() local 57 auto iter = factories.find(device_type); in DevicePriority() 58 if (iter != factories.end()) { in DevicePriority() 70 std::unordered_map<string, FactoryItem>& factories = device_factories(); in Register() local 71 auto iter = factories.find(device_type); in Register() 72 if (iter == factories.end()) { in Register() 73 factories[device_type] = {std::move(factory_ptr), priority}; in Register()
|
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEndpointFactory.java | 20 private final Factories factories; field in OpenJdkEndpointFactory 22 OpenJdkEndpointFactory(Factories factories) { in OpenJdkEndpointFactory() argument 23 this.factories = factories; in OpenJdkEndpointFactory() 30 factories.clientFactory, channelType, port, protocols, ciphers); in newClient() 36 return new ServerEndpoint(factories.serverFactory, factories.serverSocketFactory, in newServer()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | compiler.cc | 76 auto* factories = GetPlatformCompilerFactories(); in RegisterCompilerFactory() local 77 CHECK(factories->find(platform_id) == factories->end()) in RegisterCompilerFactory() 79 (*factories)[platform_id] = std::move(compiler_factory); in RegisterCompilerFactory() 98 auto* factories = GetPlatformCompilerFactories(); in GetForPlatform() local 99 auto it = factories->find(platform->id()); in GetForPlatform() 100 if (it == factories->end()) { in GetForPlatform()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | StatsTraceContext.java | 50 List<ClientStreamTracer.Factory> factories = callOptions.getStreamTracerFactories(); in newClientContext() local 51 if (factories.isEmpty()) { in newClientContext() 56 StreamTracer[] tracers = new StreamTracer[factories.size()]; in newClientContext() 58 tracers[i] = factories.get(i).newClientStreamTracer(callOptions, headers); in newClientContext() 67 List<ServerStreamTracer.Factory> factories, String fullMethodName, Metadata headers) { in newServerContext() argument 68 if (factories.isEmpty()) { in newServerContext() 71 StreamTracer[] tracers = new StreamTracer[factories.size()]; in newServerContext() 73 tracers[i] = factories.get(i).newServerStreamTracer(fullMethodName, headers); in newServerContext()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestIdentity.java | 28 List<Factory> factories = new ArrayList<Factory>(); in TestIdentityVsFilename() local 29 factories.add(testInfo.getFullCldrFactory()); in TestIdentityVsFilename() 31 factories.add(testInfo.getExemplarsFactory()); in TestIdentityVsFilename() 32 factories.add(testInfo.getCollationFactory()); in TestIdentityVsFilename() 33 factories.add(testInfo.getRBNFFactory()); in TestIdentityVsFilename() 34 factories.add(testInfo.getAnnotationsFactory()); in TestIdentityVsFilename() 36 for (Factory factory : factories) { in TestIdentityVsFilename()
|
D | TestIntMap.java | 30 Object[] factories = { new BasicIntMapFactory<String>(), in main() local 36 checkSamples(factories, samples); in main() 48 checkSamples(factories, samples); in main() 51 private static void checkSamples(Object[] factories, Set<String> samples) { in checkSamples() argument 59 for (Object factoryObject : factories) { in checkSamples()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ManifestSchemaFactory.java | 123 private MessageInfoFactory[] factories; field in ManifestSchemaFactory.CompositeMessageInfoFactory 125 CompositeMessageInfoFactory(MessageInfoFactory... factories) { in CompositeMessageInfoFactory() argument 126 this.factories = factories; in CompositeMessageInfoFactory() 131 for (MessageInfoFactory factory : factories) { in isSupported() 141 for (MessageInfoFactory factory : factories) { in messageInfoFor()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | MainDispatchers.kt | 22 val factories = if (FAST_SERVICE_LOADER_ENABLED) { in <lambda>() constant 35 factories.maxBy { it.loadPriority }?.tryCreateDispatcher(factories) in <lambda>() 52 public fun MainDispatcherFactory.tryCreateDispatcher(factories: List<MainDispatcherFactory>): MainC… in tryCreateDispatcher() 54 createDispatcher(factories) in tryCreateDispatcher()
|
/external/icu/icu4c/source/common/ |
D | serv.cpp | 341 , factories(NULL) in ICUService() 351 , factories(NULL) in ICUService() 363 delete factories; in ~ICUService() 364 factories = NULL; in ~ICUService() 471 int32_t limit = factories->size(); in getKey() 476 if (factory == (const ICUServiceFactory*)factories->elementAt(i)) { in getKey() 504 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(index++); in getKey() 668 } else if (factories != NULL) { in getVisibleIDMap() 669 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap() 670 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUService.java | 125 private final List<Factory> factories = new ArrayList<Factory>(); field in ICUService 394 if (factories.size() == 0) { in getKey() 423 int limit = factories.size(); in getKey() 427 if (factory == factories.get(i)) { in getKey() 458 Factory f = factories.get(index++); in getKey() 590 ListIterator<Factory> lIter = factories.listIterator(factories.size()); in getVisibleIDMap() 761 public final List<Factory> factories() { in factories() method in ICUService 764 return new ArrayList<Factory>(factories); in factories() 800 factories.add(0, factory); in registerFactory() 823 if (factories.remove(factory)) { in unregisterFactory() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUService.java | 127 private final List<Factory> factories = new ArrayList<Factory>(); field in ICUService 399 if (factories.size() == 0) { in getKey() 428 int limit = factories.size(); in getKey() 432 if (factory == factories.get(i)) { in getKey() 463 Factory f = factories.get(index++); in getKey() 595 ListIterator<Factory> lIter = factories.listIterator(factories.size()); in getVisibleIDMap() 766 public final List<Factory> factories() { in factories() method in ICUService 769 return new ArrayList<Factory>(factories); in factories() 805 factories.add(0, factory); in registerFactory() 828 if (factories.remove(factory)) { in unregisterFactory() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
D | TranscoderRegistry.java | 15 private final Map<MultiClassKey, ResourceTranscoder<?, ?>> factories = field in TranscoderRegistry 29 factories.put(new MultiClassKey(decodedClass, transcodedClass), transcoder); in register() 50 result = factories.get(GET_KEY); in get()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ClassSanityTester.java | 298 List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); in doTestEquals() local 299 if (factories.isEmpty()) { in doTestEquals() 302 int numberOfParameters = factories.get(0).getParameters().size(); in doTestEquals() 308 for (Invokable<?, ?> factory : factories) { in doTestEquals() 410 private final ImmutableList<Invokable<?, ?>> factories; field in ClassSanityTester.FactoryMethodReturnValueTester 416 ImmutableList<Invokable<?, ?>> factories, in FactoryMethodReturnValueTester() argument 419 this.factories = factories; in FactoryMethodReturnValueTester() 545 for (Invokable<?, ?> factory : factories) { in getFactoriesToTest() 685 List<Invokable<?, ? extends T>> factories = Lists.newArrayList(); in getFactories() local 694 factories.add(factory); in getFactories() [all …]
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | ClassSanityTester.java | 298 List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); in doTestEquals() local 299 if (factories.isEmpty()) { in doTestEquals() 302 int numberOfParameters = factories.get(0).getParameters().size(); in doTestEquals() 308 for (Invokable<?, ?> factory : factories) { in doTestEquals() 412 private final ImmutableList<Invokable<?, ?>> factories; field in ClassSanityTester.FactoryMethodReturnValueTester 418 ImmutableList<Invokable<?, ?>> factories, in FactoryMethodReturnValueTester() argument 421 this.factories = factories; in FactoryMethodReturnValueTester() 547 for (Invokable<?, ?> factory : factories) { in getFactoriesToTest() 688 List<Invokable<?, ? extends T>> factories = Lists.newArrayList(); in getFactories() local 697 factories.add(factory); in getFactories() [all …]
|
/external/apache-http/src/org/apache/commons/logging/ |
D | LogFactory.java | 289 protected static Hashtable factories = null; field in LogFactory 697 synchronized (factories) { in release() 704 LogFactory factory = (LogFactory) factories.get(classLoader); in release() 707 factories.remove(classLoader); in release() 728 synchronized (factories) { in releaseAll() 729 Enumeration elements = factories.elements(); in releaseAll() 734 factories.clear(); in releaseAll() 923 factory = (LogFactory) factories.get(contextClassLoader); 948 factories.put(classLoader, factory); 1740 factories = createFactoryStore();
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | profiler_factory.cc | 27 static auto factories = new std::vector<ProfilerFactory>(); in GetFactories() local 28 return factories; in GetFactories()
|
/external/catch2/include/internal/ |
D | catch_list.cpp | 130 …IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactori… in listReporters() local 132 for( auto const& factoryKvp : factories ) in listReporters() 135 for( auto const& factoryKvp : factories ) { in listReporters() 147 return factories.size(); in listReporters()
|