Home
last modified time | relevance | path

Searched refs:SimpleFactory (Results 1 – 25 of 50) sorted by relevance

12

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCldrFactory.java21 import org.unicode.cldr.util.SimpleFactory;
44 Factory factory = SimpleFactory.make(paths, ".*"); in testDirectories()
62 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testMerge()
67 Factory factoryDouble = SimpleFactory.make(paths, ".*"); in testMerge()
162 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testWrite()
166 Factory factoryDouble = SimpleFactory.make(paths, ".*"); in testWrite()
DTestCLDRUtils.java19 import org.unicode.cldr.util.SimpleFactory;
106 CLDRFile emptyFile = SimpleFactory.makeFile(aloc.getBaseName()); in TestEmptyCLDRFile()
DTestCldrFileWrite.java16 import org.unicode.cldr.util.SimpleFactory;
80 Factory afactory = SimpleFactory.make(dirName, ".*"); in checkFile()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java27 public class SimpleFactory extends Factory { class
305 private static Cache<SimpleFactoryCacheKey, SimpleFactory> factoryCache = null;
309 private SimpleFactory() { in SimpleFactory() method in SimpleFactory
328 return new SimpleFactory(list, matchString, minimalDraftStatus); in make()
339 SimpleFactory fact = factoryCache.getIfPresent(key); in make()
351 SimpleFactory sf = new SimpleFactory(list, matchString, minimalDraftStatus); in make()
382 return new SimpleFactory(sourceDirectory, matchString, minimalDraftStatus); in make()
398 SimpleFactory fact = factoryCache.getIfPresent(key); in make()
414SimpleFactory sf = new SimpleFactory(sourceDirectory, matchString, minimalDraftStatus); in make()
439 …private SimpleFactory(File sourceDirectories[], String matchString, DraftStatus minimalDraftStatus… in SimpleFactory() method in SimpleFactory
DCLDRConfig.java302 mainAndAnnotationsFactory = SimpleFactory.make(paths, ".*"); in getMainAndAnnotationsFactory()
313 … allFactory = SimpleFactory.make(addStandardSubdirectories(CLDR_DATA_DIRECTORIES), ".*"); in getCommonSeedExemplarsFactory()
328 commonAndSeedAndMainAndAnnotationsFactory = SimpleFactory.make(paths, ".*"); in getCommonAndSeedAndMainAndAnnotationsFactory()
340 fullFactory = SimpleFactory.make(paths, ".*"); in getFullCldrFactory()
DFactory.java185 return SimpleFactory.make(path, string); in make()
200 return SimpleFactory.make(mainDirectory, string, approved); in make()
/external/icu/icu4c/source/common/
Dserv.cpp127 SimpleFactory::SimpleFactory(UObject* instanceToAdopt, const UnicodeString& id, UBool visible) in SimpleFactory() function in SimpleFactory
132 SimpleFactory::~SimpleFactory() in ~SimpleFactory()
138 SimpleFactory::create(const ICUServiceKey& key, const ICUService* service, UErrorCode& status) cons… in create()
150 SimpleFactory::updateVisibleIDs(Hashtable& result, UErrorCode& status) const in updateVisibleIDs()
160 SimpleFactory::getDisplayName(const UnicodeString& id, const Locale& /* locale */, UnicodeString& r… in getDisplayName()
172 SimpleFactory::debug(UnicodeString& toAppendTo) const in debug()
183 SimpleFactory::debugClass(UnicodeString& toAppendTo) const in debugClass()
189 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleFactory) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
841 return new SimpleFactory(objToAdopt, id, visible); in createSimpleFactory()
Dserv.h43 class SimpleFactory;
285 class U_COMMON_API SimpleFactory : public ICUServiceFactory {
302 SimpleFactory(UObject* instanceToAdopt, const UnicodeString& id, UBool visible = true);
307 virtual ~SimpleFactory();
/external/cldr/tools/java/org/unicode/cldr/tool/
DRemoveEmptyCldrFiles.java8 import org.unicode.cldr.util.SimpleFactory;
15 Factory factory = SimpleFactory.make(paths, ".*"); in main()
DShowLanguageData.java9 import org.unicode.cldr.util.SimpleFactory;
17 static CLDRFile english = SimpleFactory.makeFile("en", CLDRPaths.MAIN_DIRECTORY, true);
DPrepareRootAnnotations.java11 import org.unicode.cldr.util.SimpleFactory;
20 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in main()
DGenerateEnglishChanged.java20 import org.unicode.cldr.util.SimpleFactory;
41 Factory factoryTrunk = SimpleFactory.make(addStandardSubdirectories, ".*"); in main()
48 Factory factoryLastRelease = SimpleFactory.make(addStandardSubdirectories, ".*"); in main()
DGenerateIndexCharacters.java15 import org.unicode.cldr.util.SimpleFactory;
30 CLDRFile temp = SimpleFactory.makeFile(locale); in main()
DDeriveScripts.java19 import org.unicode.cldr.util.SimpleFactory;
45 final Factory fullCldrFactory = SimpleFactory.make(paths, ".*");
103 } catch(final SimpleFactory.NoSourceDirectoryException nsde) {
DCLDRFormat.java17 import org.unicode.cldr.util.SimpleFactory;
65 … CLDRFile regenFile = SimpleFactory.makeFile(key, destSubdir + key, DraftStatus.unconfirmed); in main()
DFixDelimiters.java17 import org.unicode.cldr.util.SimpleFactory;
39 Factory factory = SimpleFactory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
DCopySubdivisionsIntoMain.java17 import org.unicode.cldr.util.SimpleFactory;
116 } catch (SimpleFactory.NoSourceDirectoryException e) { in doAfter()
DChartSubdivisionNames.java22 import org.unicode.cldr.util.SimpleFactory;
80 Factory factory = SimpleFactory.make(paths, ".*"); in writeSubcharts()
DDiffCldr.java24 import org.unicode.cldr.util.SimpleFactory;
83 Factory factory = SimpleFactory.make(dirBase + dir, ".*"); in main()
/external/icu/libicu/cts_headers/
Dserv.h43 class SimpleFactory;
285 class U_COMMON_API SimpleFactory : public ICUServiceFactory {
302 SimpleFactory(UObject* instanceToAdopt, const UnicodeString& id, UBool visible = true);
307 virtual ~SimpleFactory();
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DManyConstructorsTest.java95 install(new FactoryModuleBuilder().build(SimpleFactory.class)); in testUsingOneConstructor()
98 SimpleFactory factory = injector.getInstance(SimpleFactory.class); in testUsingOneConstructor()
209 public static interface SimpleFactory { interface in ManyConstructorsTest
/external/cldr/tools/java/org/unicode/cldr/icu/
DExtractICUData.java33 import org.unicode.cldr.util.SimpleFactory;
86 CLDRFile accumulatedItems = SimpleFactory.makeSupplemental("allItems"); in generateTransliterators()
130 CLDRFile outFile = SimpleFactory.makeSupplemental(fileName); in generateTransliterators()
179 CLDRFile outFile = SimpleFactory.makeSupplemental(coreName); in convertFile()
277 CLDRFile outFile = SimpleFactory.makeSupplemental("transformAliases"); in getTranslitIndex()
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrDataSupplier.java21 import org.unicode.cldr.util.SimpleFactory;
208 factory = SimpleFactory.make(dirArray, ".*", draftStatus.getRawStatus()); in getFactory()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUService.java274 public static class SimpleFactory implements Factory { class in ICUService
283 public SimpleFactory(Object instance, String id) { in SimpleFactory() method in ICUService.SimpleFactory
292 public SimpleFactory(Object instance, String id, boolean visible) { in SimpleFactory() method in ICUService.SimpleFactory
789 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUService.java269 public static class SimpleFactory implements Factory { class in ICUService
278 public SimpleFactory(Object instance, String id) { in SimpleFactory() method in ICUService.SimpleFactory
287 public SimpleFactory(Object instance, String id, boolean visible) { in SimpleFactory() method in ICUService.SimpleFactory
784 return registerFactory(new SimpleFactory(obj, canonicalID, visible)); in registerObject()

12