Home
last modified time | relevance | path

Searched refs:createInstance (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/external/icu/icu4c/source/test/intltest/
Djamotest.cpp70 …Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseErro… in TestJamo()
165 t = Transliterator::createInstance("NFD", UTRANS_FORWARD, status); // was Hangul-Jamo in TestPiecemeal()
173 t = Transliterator::createInstance("NFC", UTRANS_FORWARD, status); // was Jamo-Hangul in TestPiecemeal()
181 t = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
189 t = Transliterator::createInstance("Jamo-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
197 t = Transliterator::createInstance("Hangul-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
205 t = Transliterator::createInstance("Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
213 t = Transliterator::createInstance("Hangul-Latin; Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
221 t = Transliterator::createInstance("Jamo-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
229 t = Transliterator::createInstance("Hangul-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
[all …]
Ddtifmtts.cpp72 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, status); in testAPI()
86 … dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getJapanese(), status); in testAPI()
102 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", *dtitvinf, status); in testAPI()
120 …dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", Locale::getSimplifiedChinese(), *dtit… in testAPI()
154 … LocalPointer<DateIntervalFormat> dif(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
160 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testAPI()
161 LocalPointer<Calendar> toTime(Calendar::createInstance(enLocale, status)); in testAPI()
185 dif.adoptInstead(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
331 dtitvfmt = DateIntervalFormat::createInstance("MMMdHHmm", Locale::getEnglish(), status); in testAPI()
1079 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(oneSkeleton, loc, ec); in expect()
[all …]
Duobjtest.cpp73 …delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status…
369 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
377 TESTCLASSID_FACTORY(TimeUnit, TimeUnit::createInstance(TimeUnit::UTIMEUNIT_YEAR, status)); in testIDs()
382 TESTCLASSID_NONE_FACTORY(LocaleDisplayNames, LocaleDisplayNames::createInstance("de")); in testIDs()
384 …TESTCLASSID_FACTORY(GregorianCalendar, Calendar::createInstance(Locale("@calendar=gregorian"), sta… in testIDs()
385 …TESTCLASSID_FACTORY(BuddhistCalendar, Calendar::createInstance(Locale("@calendar=buddhist"), statu… in testIDs()
386 …TESTCLASSID_FACTORY(IslamicCalendar, Calendar::createInstance(Locale("@calendar=islamic"), status)… in testIDs()
387 …TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), statu… in testIDs()
388 … TESTCLASSID_FACTORY(HebrewCalendar, Calendar::createInstance(Locale("@calendar=hebrew"), status)); in testIDs()
389 …TESTCLASSID_FACTORY(PersianCalendar, Calendar::createInstance(Locale("@calendar=persian"), status)… in testIDs()
[all …]
Dtransapi.cpp76 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestgetID()
93 t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestgetID()
107 …Transliterator* t1=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
108 …Transliterator* t2=Transliterator::createInstance("Latin-Greek", UTRANS_FORWARD, parseError, statu… in TestgetID()
122 …Transliterator* t5=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
139 …Transliterator* t1 = Transliterator::createInstance("Katakana-Latin", UTRANS_FORWARD, parseErro… in TestgetInverse()
140 …Transliterator* invt1 = Transliterator::createInstance("Latin-Katakana", UTRANS_FORWARD, parseErro… in TestgetInverse()
141 …Transliterator* t2 = Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseEr… in TestgetInverse()
142 …Transliterator* invt2 = Transliterator::createInstance("Devanagari-Latin", UTRANS_FORWARD, parseEr… in TestgetInverse()
173 …Transliterator *trans1=Transliterator::createInstance(TransID[i], UTRANS_FORWARD, parseError, stat… in TestgetInverse()
[all …]
Dtranstst.cpp239 Transliterator* t = Transliterator::createInstance(id, in TestInstantiation()
294 Transliterator* t = Transliterator::createInstance(id, UTRANS_FORWARD, parseError, status); in TestInstantiation()
610 …Transliterator* t = Transliterator::createInstance("Latin-Hiragana;Hiragana-Latin", UTRANS_FORWARD… in TestCompoundKana()
625 … Transliterator* a = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
626 … Transliterator* b = Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
685 …Transliterator* hex = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status… in TestFiltering()
771 …Transliterator *gl = Transliterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_F… in TestJ277()
856 Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, ec); in TestJ243()
1083 …Transliterator* hk = Transliterator::createInstance("Hiragana-Katakana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
1084 …Transliterator* kh = Transliterator::createInstance("Katakana-Hiragana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
[all …]
Dsvccoll.cpp44 Collator* frcol = Collator::createInstance(FR, status); in TestRegister()
45 Collator* uscol = Collator::createInstance(US, status); in TestRegister()
59 Collator* ncol = Collator::createInstance(US_FOO, status); in TestRegister()
86 ncol = Collator::createInstance(US, status); in TestRegister()
94 frcol = Collator::createInstance(FR, status); in TestRegister()
102 Collator* fucol = Collator::createInstance(fu_FU, status); in TestRegister()
106 Collator* ncol = Collator::createInstance(fu_FU_FOO, status); in TestRegister()
204 ncol = Collator::createInstance(fu_FU, status); in TestRegister()
366 Collator* frcol = Collator::createInstance(Locale::getFrance(), status); in TestRegisterFactory()
367 Collator* gecol = Collator::createInstance(Locale::getGermany(), status); in TestRegisterFactory()
[all …]
Dapicoll.cpp83 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty()
159 RuleBasedCollator *rcol = (RuleBasedCollator *)Collator::createInstance("da_DK", in TestProperty()
173 col = Collator::createInstance(Locale::getFrench(), success); in TestProperty()
196 junk = Collator::createInstance(abcd, success); in TestProperty()
206 Collator *frCol = Collator::createInstance(Locale::getCanadaFrench(), success); in TestProperty()
230 LocalPointer<Collator> col(Collator::createInstance(Locale::getEnglish(), errorCode)); in TestKeywordValues()
281 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status); in TestRuleBasedColl()
292 col3 = (RuleBasedCollator *)Collator::createInstance(status); in TestRuleBasedColl()
341 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules()
365 Collator *en_US = Collator::createInstance("en_US", status), in TestDecomposition()
[all …]
Derarulestest.cpp53 LocalPointer<EraRules> rules1(EraRules::createInstance(calId, FALSE, status)); in testAPIs()
59 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, TRUE, status)); in testAPIs()
76 LocalPointer<Calendar> cal(Calendar::createInstance("en", status)); in testAPIs()
109 LocalPointer<EraRules> rules(EraRules::createInstance("japanese", TRUE, status)); in testJapanese()
Ddtptngts.cpp383 … DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI()
395 …DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI()
431 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI()
556 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
581 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
607 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
639 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
674 …DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI()
711 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI()
734 DateTimePatternGenerator *test= DateTimePatternGenerator::createInstance(status); in testAPI()
[all …]
Dg7coll.cpp102 LocalPointer<Collator> myCollation(Collator::createInstance(locale, status)); in TestG7Locales()
153 Collator *col = Collator::createInstance("en_US", status); in TestDemo1()
187 Collator *col = Collator::createInstance("en_US", status); in TestDemo2()
221 Collator *col = Collator::createInstance("en_US", status); in TestDemo3()
255 Collator *col = Collator::createInstance("en_US", status); in TestDemo4()
Dlocnmtst.cpp95 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany()); in TestCreate()
103 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); in TestCreateDialect()
111 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestWithKeywordsAndEverything()
122 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestCurrencyKeyword()
132 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestUnknownCurrencyKeyword()
142 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestUntranslatedKeywords()
152 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestPrivateUse()
410 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestRootEtc()
/external/opencensus-java/api/src/test/java/io/opencensus/internal/
DProviderTest.java51 Provider.createInstance( in createInstance_ThrowsErrorWhenClassIsPrivate()
62 Provider.createInstance( in createInstance_ThrowsErrorWhenClassHasPrivateConstructor()
73 Provider.createInstance( in createInstance_ThrowsErrorWhenClassDoesNotHaveDefaultConstructor()
83 Provider.createInstance( in createInstance_ThrowsErrorWhenClassIsNotASubclass()
94 Provider.createInstance( in createInstance_GoodClass()
106 Provider.createInstance( in createInstance_GoodSubclass()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp36 Calendar *cal = Calendar::createInstance(status); in dtitvfmtPreDefined()
63 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEngli… in dtitvfmtPreDefined()
64 …DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[j], Locale::getJapan… in dtitvfmtPreDefined()
97 Calendar *cal1 = Calendar::createInstance(status); in dtitvfmtCustomized()
99 Calendar *cal2 = Calendar::createInstance(status); in dtitvfmtCustomized()
101 Calendar *cal3 = Calendar::createInstance(status); in dtitvfmtCustomized()
126 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglis… in dtitvfmtCustomized()
127 …DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[i],Locale::getJapane… in dtitvfmtCustomized()
/external/icu/icu4c/source/common/unicode/
Dlocdspnm.h52 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
64 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
78 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
199 inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& locale) { in createInstance() function
200 return LocaleDisplayNames::createInstance(locale, ULDN_STANDARD_NAMES); in createInstance()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp47 Calendar *cal = Calendar::createInstance(status); in getBestPatternExample()
55 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample()
87 Calendar *cal = Calendar::createInstance(status); in addPatternExample()
91 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample()
128 Calendar *cal = Calendar::createInstance(status); in replaceFieldTypesExample()
132 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample()
/external/icu/icu4c/source/i18n/unicode/
Dnumsys.h88 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
94 static NumberingSystem* U_EXPORT2 createInstance(UErrorCode& status);
105 …static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const Unicode…
Dlistformatter.h95 static ListFormatter* createInstance(UErrorCode& errorCode);
106 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode);
119 …static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCod…
Ddtitvfmt.h238 static DateIntervalFormat* U_EXPORT2 createInstance(
276 static DateIntervalFormat* U_EXPORT2 createInstance(
296 static DateIntervalFormat* U_EXPORT2 createInstance(
341 static DateIntervalFormat* U_EXPORT2 createInstance(
Dcalendar.h303 static Calendar* U_EXPORT2 createInstance(UErrorCode& success);
317 static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, UErrorCode& success);
330 static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, UErrorCode& success);
342 static Calendar* U_EXPORT2 createInstance(const Locale& aLocale, UErrorCode& success);
357 …static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode…
371 …static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, const Locale& aLocale, UErrorCode&…
2482 Calendar::createInstance(TimeZone* zone, UErrorCode& errorCode) in createInstance() function
2485 return createInstance(zone, Locale::getDefault(), errorCode); in createInstance()
/external/icu/icu4c/source/common/
Dbrkiter.cpp147 return createInstance(key, UBRK_WORD, status); in createWordInstance()
156 return createInstance(key, UBRK_LINE, status); in createLineInstance()
165 return createInstance(key, UBRK_CHARACTER, status); in createCharacterInstance()
174 return createInstance(key, UBRK_SENTENCE, status); in createSentenceInstance()
183 return createInstance(key, UBRK_TITLE, status); in createTitleInstance()
367 BreakIterator::createInstance(const Locale& loc, int32_t kind, UErrorCode& status) in createInstance() function in BreakIterator
441 …eredBreakIteratorBuilder* fbiBuilder = FilteredBreakIteratorBuilder::createInstance(loc, kvStatus); in makeInstance()
Dloadednormalizer2impl.cpp116 Norm2AllModes::createInstance(const char *packageName, in createInstance() function in Norm2AllModes
128 return createInstance(impl, errorCode); in createInstance()
152 nfcSingleton = Norm2AllModes::createInstance(NULL, "nfc", errorCode); in initSingletons()
156 nfkcSingleton = Norm2AllModes::createInstance(NULL, "nfkc", errorCode); in initSingletons()
158 nfkc_cfSingleton = Norm2AllModes::createInstance(NULL, "nfkc_cf", errorCode); in initSingletons()
296 Norm2AllModes::createInstance(packageName, name, errorCode)); in getInstance()
/external/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp62 return createInstance(fmtToAdopt, new SuperscriptStyle(), status); in createSuperscriptInstance()
67 return createInstance( in createSuperscriptInstance()
79 return createInstance( in createMarkupInstance()
90 return createInstance( in createMarkupInstance()
97 ScientificNumberFormatter *ScientificNumberFormatter::createInstance( in createInstance() function in ScientificNumberFormatter
Dnumsys.cpp79 NumberingSystem::createInstance(int32_t radix_in, UBool isAlgorithmic_in, const UnicodeString & des… in createInstance() function in NumberingSystem
111 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() function in NumberingSystem
188 NumberingSystem::createInstance(UErrorCode& status) { in createInstance() function in NumberingSystem
189 return NumberingSystem::createInstance(Locale::getDefault(), status); in createInstance()
219 …LocalPointer<NumberingSystem> ns(NumberingSystem::createInstance(radix, isAlgorithmic, nsd, status… in createInstanceByName()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp90 TestInstance* createInstance (Context& context) const;
228 template<> TestInstance* MSCase<MSCaseSampleQualifierDistinctValues>::createInstance (Context& cont… in createInstance() function in vkt::pipeline::multisample::MSCase
290 template<> TestInstance* MSCase<MSCaseInterpolateAtSampleDistinctValues>::createInstance (Context& … in createInstance() function in vkt::pipeline::multisample::MSCase
415 template<> TestInstance* MSCase<MSCaseInterpolateAtSampleSingleSample>::createInstance (Context& co… in createInstance() function in vkt::pipeline::multisample::MSCase
487 template<> TestInstance* MSCase<MSCaseInterpolateAtSampleIgnoresCentroid>::createInstance (Context&… in createInstance() function in vkt::pipeline::multisample::MSCase
558 template<> TestInstance* MSCase<MSCaseInterpolateAtSampleConsistency>::createInstance (Context& con… in createInstance() function in vkt::pipeline::multisample::MSCase
629 template<> TestInstance* MSCase<MSCaseInterpolateAtCentroidConsistency>::createInstance (Context& c… in createInstance() function in vkt::pipeline::multisample::MSCase
707 template<> TestInstance* MSCase<MSCaseInterpolateAtOffsetPixelCenter>::createInstance (Context& con… in createInstance() function in vkt::pipeline::multisample::MSCase
780 template<> TestInstance* MSCase<MSCaseInterpolateAtOffsetSamplePosition>::createInstance (Context& … in createInstance() function in vkt::pipeline::multisample::MSCase
897 template<> TestInstance* MSCase<MSCaseCentroidQualifierInsidePrimitive>::createInstance (Context& c… in createInstance() function in vkt::pipeline::multisample::MSCase
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCookieSyncManagerTest.java16 assertThat(CookieSyncManager.createInstance(new Activity())).isNotNull(); in testCreateInstance()
21 CookieSyncManager.createInstance(new Activity()); in testGetInstance()

12345678910>>...16