Home
last modified time | relevance | path

Searched refs:factories (Results 1 – 25 of 60) sorted by relevance

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceThreadTest.java206 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread
212 factories = service.factories(); in UnregisterFactoryThread()
216 int s = factories.size(); in iterate()
218 factories = service.factories(); in iterate()
221 Factory f = (Factory)factories.remove(n); in iterate()
230 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread
233 …rFactoryListThread(String name, ICUService service, long delay, Factory[] factories, TestLog log) { in UnregisterFactoryListThread() argument
236 this.factories = factories; in UnregisterFactoryListThread()
240 if (n < factories.length) { in iterate()
241 Factory f = factories[n++]; in iterate()
[all …]
DICUServiceTest.java136 List factories = service.factories(); in TestAPI() local
137 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI()
143 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI()
154 factories = service.factories(); in TestAPI()
155 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI()
163 service.unregisterFactory((Factory)factories.get(0)); in TestAPI()
164 factories = service.factories(); in TestAPI()
165 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
761 List factories = service.factories(); in TestLocale() local
762 Iterator iter = factories.iterator(); in TestLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceThreadTest.java205 List factories; field in ICUServiceThreadTest.UnregisterFactoryThread
211 factories = service.factories(); in UnregisterFactoryThread()
215 int s = factories.size(); in iterate()
217 factories = service.factories(); in iterate()
220 Factory f = (Factory)factories.remove(n); in iterate()
229 Factory[] factories; field in ICUServiceThreadTest.UnregisterFactoryListThread
232 …rFactoryListThread(String name, ICUService service, long delay, Factory[] factories, TestLog log) { in UnregisterFactoryListThread() argument
235 this.factories = factories; in UnregisterFactoryListThread()
239 if (n < factories.length) { in iterate()
240 Factory f = factories[n++]; in iterate()
[all …]
DICUServiceTest.java135 List factories = service.factories(); in TestAPI() local
136 confirmIdentical("4) factory size", factories.size(), 2); in TestAPI()
142 confirmIdentical("5) factory size", factories.size(), 2); in TestAPI()
153 factories = service.factories(); in TestAPI()
154 confirmIdentical("9) factory size", factories.size(), 4); in TestAPI()
162 service.unregisterFactory((Factory)factories.get(0)); in TestAPI()
163 factories = service.factories(); in TestAPI()
164 confirmIdentical("11) factory size", factories.size(), 3); in TestAPI()
760 List factories = service.factories(); in TestLocale() local
761 Iterator iter = factories.iterator(); in TestLocale()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DSocketType.java18 private final Factories factories; field in SocketType
20 SocketType(Factories factories) { in SocketType() argument
21 this.factories = factories; in SocketType()
27 factories.clientFactory, channelType, port, protocols, ciphers); in newClient()
32 return new ServerEndpoint(factories.serverFactory, factories.serverSocketFactory, in newServer()
/external/icu/icu4c/source/common/
Dserv.cpp341 , 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()
669 } else if (factories != NULL) { in getVisibleIDMap()
670 for (int32_t pos = factories->size(); --pos >= 0;) { in getVisibleIDMap()
671 ICUServiceFactory* f = (ICUServiceFactory*)factories->elementAt(pos); in getVisibleIDMap()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java125 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()
759 public final List<Factory> factories() { in factories() method in ICUService
762 return new ArrayList<Factory>(factories); in factories()
798 factories.add(0, factory); in registerFactory()
821 if (factories.remove(factory)) { in unregisterFactory()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java127 private final List<Factory> factories = new ArrayList<Factory>(); field in ICUService
396 if (factories.size() == 0) { in getKey()
425 int limit = factories.size(); in getKey()
429 if (factory == factories.get(i)) { in getKey()
460 Factory f = factories.get(index++); in getKey()
592 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/skia/samplecode/
DOverView.cpp47 OverView(int count, const SkViewFactory* factories[]);
123 SkView* create_overview(int count, const SkViewFactory* factories[]) { in create_overview() argument
124 return new OverView(count, factories); in create_overview()
132 OverView::OverView(int count, const SkViewFactory* factories[]) { in OverView() argument
134 fFactories = factories; in OverView()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DTranscoderRegistry.java15 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/
DClassSanityTester.java310 List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls))); in doTestEquals() local
311 if (factories.isEmpty()) { in doTestEquals()
314 int numberOfParameters = factories.get(0).getParameters().size(); in doTestEquals()
320 for (Invokable<?, ?> factory : factories) { in doTestEquals()
407 private final ImmutableList<Invokable<?, ?>> factories; field in ClassSanityTester.FactoryMethodReturnValueTester
413 ImmutableList<Invokable<?, ?>> factories, in FactoryMethodReturnValueTester() argument
416 this.factories = factories; in FactoryMethodReturnValueTester()
541 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/apache-http/src/org/apache/commons/logging/
DLogFactory.java289 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/dagger2/producers/src/main/java/dagger/producers/monitoring/internal/
DMonitors.java47 Collection<? extends ProductionComponentMonitor.Factory> factories) { in delegatingProductionComponentMonitorFactory() argument
48 if (factories.isEmpty()) { in delegatingProductionComponentMonitorFactory()
50 } else if (factories.size() == 1) { in delegatingProductionComponentMonitorFactory()
51 return new NonThrowingProductionComponentMonitor.Factory(Iterables.getOnlyElement(factories)); in delegatingProductionComponentMonitorFactory()
53 return new DelegatingProductionComponentMonitor.Factory(factories); in delegatingProductionComponentMonitorFactory()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamUrlLoader.java26 … public ModelLoader<URL, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
27 … return new StreamUrlLoader(factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
DStreamStringLoader.java25 … public ModelLoader<String, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
26 return new StreamStringLoader(factories.buildModelLoader(Uri.class, InputStream.class)); in build()
DStreamFileLoader.java25 … public ModelLoader<File, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
26 return new StreamFileLoader(factories.buildModelLoader(Uri.class, InputStream.class)); in build()
DStreamResourceLoader.java25 … public ModelLoader<Integer, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
26 …return new StreamResourceLoader(context, factories.buildModelLoader(Uri.class, InputStream.class)); in build()
DStreamUriLoader.java31 … public ModelLoader<Uri, InputStream> build(Context context, GenericLoaderFactory factories) { in build() argument
32 …return new StreamUriLoader(context, factories.buildModelLoader(GlideUrl.class, InputStream.class)); in build()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorStringLoader.java25 … ModelLoader<String, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
26 …return new FileDescriptorStringLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.c… in build()
DFileDescriptorResourceLoader.java25 …ModelLoader<Integer, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
26 return new FileDescriptorResourceLoader(context, factories.buildModelLoader(Uri.class, in build()
DFileDescriptorFileLoader.java27 …ic ModelLoader<File, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
28 …return new FileDescriptorFileLoader(factories.buildModelLoader(Uri.class, ParcelFileDescriptor.cla… in build()
DFileDescriptorUriLoader.java27 …lic ModelLoader<Uri, ParcelFileDescriptor> build(Context context, GenericLoaderFactory factories) { in build() argument
28 return new FileDescriptorUriLoader(context, factories.buildModelLoader(GlideUrl.class, in build()
/external/skia/gm/
Dlocalmatriximagefilter.cpp54 const ImageFilterFactory factories[] = { variable
70 for (auto&& factory : factories) {
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DModelLoaderFactory.java25 ModelLoader<T, Y> build(Context context, GenericLoaderFactory factories); in build() argument
/external/skia/tests/
DStreamBufferTest.cpp85 } factories[] = { in DEF_TEST() local
91 for (auto f : factories) { in DEF_TEST()

123