Home
last modified time | relevance | path

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

12345678910>>...14

/external/chromium_org/third_party/icu/source/test/intltest/
Djamotest.cpp67 …Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseErro… in TestJamo()
162 t = Transliterator::createInstance("NFD", UTRANS_FORWARD, status); // was Hangul-Jamo in TestPiecemeal()
170 t = Transliterator::createInstance("NFC", UTRANS_FORWARD, status); // was Jamo-Hangul in TestPiecemeal()
178 t = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
186 t = Transliterator::createInstance("Jamo-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
194 t = Transliterator::createInstance("Hangul-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
202 t = Transliterator::createInstance("Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
210 t = Transliterator::createInstance("Hangul-Latin; Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
218 t = Transliterator::createInstance("Jamo-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
226 t = Transliterator::createInstance("Hangul-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
[all …]
Dtransapi.cpp73 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestgetID()
90 t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestgetID()
104 …Transliterator* t1=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
105 …Transliterator* t2=Transliterator::createInstance("Latin-Greek", UTRANS_FORWARD, parseError, statu… in TestgetID()
119 …Transliterator* t5=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
136 …Transliterator* t1 = Transliterator::createInstance("Katakana-Latin", UTRANS_FORWARD, parseErro… in TestgetInverse()
137 …Transliterator* invt1 = Transliterator::createInstance("Latin-Katakana", UTRANS_FORWARD, parseErro… in TestgetInverse()
138 …Transliterator* t2 = Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseEr… in TestgetInverse()
139 …Transliterator* invt2 = Transliterator::createInstance("Devanagari-Latin", UTRANS_FORWARD, parseEr… in TestgetInverse()
170 …Transliterator *trans1=Transliterator::createInstance(TransID[i], UTRANS_FORWARD, parseError, stat… in TestgetInverse()
[all …]
Duobjtest.cpp71 …delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status…
355 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
362 TESTCLASSID_NONE_FACTORY(LocaleDisplayNames, LocaleDisplayNames::createInstance("de")); in testIDs()
364 …TESTCLASSID_FACTORY(GregorianCalendar, Calendar::createInstance(Locale("@calendar=gregorian"), sta… in testIDs()
365 …TESTCLASSID_FACTORY(BuddhistCalendar, Calendar::createInstance(Locale("@calendar=buddhist"), statu… in testIDs()
366 …TESTCLASSID_FACTORY(IslamicCalendar, Calendar::createInstance(Locale("@calendar=islamic"), status)… in testIDs()
367 …TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), statu… in testIDs()
368 … TESTCLASSID_FACTORY(HebrewCalendar, Calendar::createInstance(Locale("@calendar=hebrew"), status)); in testIDs()
369 …TESTCLASSID_FACTORY(PersianCalendar, Calendar::createInstance(Locale("@calendar=persian"), status)… in testIDs()
370 … TESTCLASSID_FACTORY(IndianCalendar, Calendar::createInstance(Locale("@calendar=indian"), status)); in testIDs()
[all …]
Dsvccoll.cpp42 Collator* frcol = Collator::createInstance(FR, status); in TestRegister()
43 Collator* uscol = Collator::createInstance(US, status); in TestRegister()
54 Collator* ncol = Collator::createInstance(US_FOO, status); in TestRegister()
87 ncol = Collator::createInstance(US, status); in TestRegister()
95 frcol = Collator::createInstance(FR, status); in TestRegister()
103 Collator* fucol = Collator::createInstance(fu_FU, status); in TestRegister()
105 Collator* ncol = Collator::createInstance(fu_FU_FOO, status); in TestRegister()
201 ncol = Collator::createInstance(fu_FU, status); in TestRegister()
362 Collator* frcol = Collator::createInstance(Locale::getFrance(), status); in TestRegisterFactory()
363 Collator* gecol = Collator::createInstance(Locale::getGermany(), status); in TestRegisterFactory()
[all …]
Dtranstst.cpp237 Transliterator* t = Transliterator::createInstance(id, in TestInstantiation()
291 Transliterator* t = Transliterator::createInstance(id, UTRANS_FORWARD, parseError, status); in TestInstantiation()
607 …Transliterator* t = Transliterator::createInstance("Latin-Hiragana;Hiragana-Latin", UTRANS_FORWARD… in TestCompoundKana()
622 … Transliterator* a = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
623 … Transliterator* b = Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
682 …Transliterator* hex = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status… in TestFiltering()
768 …Transliterator *gl = Transliterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_F… in TestJ277()
853 Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, ec); in TestJ243()
1080 …Transliterator* hk = Transliterator::createInstance("Hiragana-Katakana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
1081 …Transliterator* kh = Transliterator::createInstance("Katakana-Hiragana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
[all …]
Dapicoll.cpp68 collator1=Collator::createInstance(locale, errorCode); in TestOpenVersion()
75 collator2=Collator::createInstance(locale, version1, errorCode); in TestOpenVersion()
112 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty()
195 RuleBasedCollator *rcol = (RuleBasedCollator *)Collator::createInstance("da_DK", in TestProperty()
200 col = Collator::createInstance(Locale::getFrench(), success); in TestProperty()
222 junk = Collator::createInstance(abcd, success); in TestProperty()
232 col = Collator::createInstance(success); in TestProperty()
242 Collator *frCol = Collator::createInstance(Locale::getCanadaFrench(), success); in TestProperty()
277 col=Collator::createInstance(Locale(), versionArray, success); in TestProperty()
315 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status); in TestRuleBasedColl()
[all …]
Ddtptngts.cpp293 … DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI()
305 …DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI()
341 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI()
475 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
500 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
526 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
558 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
593 …DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI()
630 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI()
654 DateTimePatternGenerator *test= DateTimePatternGenerator::createInstance(status); in testAPI()
[all …]
Dg7coll.cpp102 myCollation = Collator::createInstance(locales[i], status); in TestG7Locales()
162 Collator *col = Collator::createInstance("en_US", status); in TestDemo1()
196 Collator *col = Collator::createInstance("en_US", status); in TestDemo2()
230 Collator *col = Collator::createInstance("en_US", status); in TestDemo3()
264 Collator *col = Collator::createInstance("en_US", status); in TestDemo4()
Ddtifmtts.cpp62 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, status); in testAPI()
76 … dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getJapanese(), status); in testAPI()
92 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", *dtitvinf, status); in testAPI()
110 …dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", Locale::getSimplifiedChinese(), *dtit… in testAPI()
971 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(oneSkeleton, loc, ec); in expect()
1086 …DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_ABBR_MONTH_DAY, loc, *… in expectUserDII()
1244 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(oneSkeleton, loc, ec); in stress()
1282 …DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_ABBR_MONTH_DAY, loc, *… in stress()
/external/icu/icu4c/source/test/intltest/
Djamotest.cpp67 …Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseErro… in TestJamo()
162 t = Transliterator::createInstance("NFD", UTRANS_FORWARD, status); // was Hangul-Jamo in TestPiecemeal()
170 t = Transliterator::createInstance("NFC", UTRANS_FORWARD, status); // was Jamo-Hangul in TestPiecemeal()
178 t = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
186 t = Transliterator::createInstance("Jamo-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
194 t = Transliterator::createInstance("Hangul-Latin", UTRANS_FORWARD, status); in TestPiecemeal()
202 t = Transliterator::createInstance("Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
210 t = Transliterator::createInstance("Hangul-Latin; Latin-Jamo", UTRANS_FORWARD, status); in TestPiecemeal()
218 t = Transliterator::createInstance("Jamo-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
226 t = Transliterator::createInstance("Hangul-Latin; Latin-Hangul", UTRANS_FORWARD, status); in TestPiecemeal()
[all …]
Ddtifmtts.cpp66 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, status); in testAPI()
80 … dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getJapanese(), status); in testAPI()
96 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", *dtitvinf, status); in testAPI()
114 …dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", Locale::getSimplifiedChinese(), *dtit… in testAPI()
148 … LocalPointer<DateIntervalFormat> dif(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
154 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testAPI()
155 LocalPointer<Calendar> toTime(Calendar::createInstance(enLocale, status)); in testAPI()
179 dif.adoptInstead(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
325 dtitvfmt = DateIntervalFormat::createInstance("MMMdHHmm", Locale::getEnglish(), status); in testAPI()
1078 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(oneSkeleton, loc, ec); in expect()
[all …]
Dtransapi.cpp73 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestgetID()
90 t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestgetID()
104 …Transliterator* t1=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
105 …Transliterator* t2=Transliterator::createInstance("Latin-Greek", UTRANS_FORWARD, parseError, statu… in TestgetID()
119 …Transliterator* t5=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, … in TestgetID()
136 …Transliterator* t1 = Transliterator::createInstance("Katakana-Latin", UTRANS_FORWARD, parseErro… in TestgetInverse()
137 …Transliterator* invt1 = Transliterator::createInstance("Latin-Katakana", UTRANS_FORWARD, parseErro… in TestgetInverse()
138 …Transliterator* t2 = Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseEr… in TestgetInverse()
139 …Transliterator* invt2 = Transliterator::createInstance("Devanagari-Latin", UTRANS_FORWARD, parseEr… in TestgetInverse()
170 …Transliterator *trans1=Transliterator::createInstance(TransID[i], UTRANS_FORWARD, parseError, stat… in TestgetInverse()
[all …]
Duobjtest.cpp71 …delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status…
365 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
374 TESTCLASSID_NONE_FACTORY(LocaleDisplayNames, LocaleDisplayNames::createInstance("de")); in testIDs()
376 …TESTCLASSID_FACTORY(GregorianCalendar, Calendar::createInstance(Locale("@calendar=gregorian"), sta… in testIDs()
377 …TESTCLASSID_FACTORY(BuddhistCalendar, Calendar::createInstance(Locale("@calendar=buddhist"), statu… in testIDs()
378 …TESTCLASSID_FACTORY(IslamicCalendar, Calendar::createInstance(Locale("@calendar=islamic"), status)… in testIDs()
379 …TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), statu… in testIDs()
380 … TESTCLASSID_FACTORY(HebrewCalendar, Calendar::createInstance(Locale("@calendar=hebrew"), status)); in testIDs()
381 …TESTCLASSID_FACTORY(PersianCalendar, Calendar::createInstance(Locale("@calendar=persian"), status)… in testIDs()
382 … TESTCLASSID_FACTORY(IndianCalendar, Calendar::createInstance(Locale("@calendar=indian"), status)); in testIDs()
[all …]
Dsvccoll.cpp41 Collator* frcol = Collator::createInstance(FR, status); in TestRegister()
42 Collator* uscol = Collator::createInstance(US, status); in TestRegister()
56 Collator* ncol = Collator::createInstance(US_FOO, status); in TestRegister()
82 ncol = Collator::createInstance(US, status); in TestRegister()
90 frcol = Collator::createInstance(FR, status); in TestRegister()
98 Collator* fucol = Collator::createInstance(fu_FU, status); in TestRegister()
102 Collator* ncol = Collator::createInstance(fu_FU_FOO, status); in TestRegister()
200 ncol = Collator::createInstance(fu_FU, status); in TestRegister()
362 Collator* frcol = Collator::createInstance(Locale::getFrance(), status); in TestRegisterFactory()
363 Collator* gecol = Collator::createInstance(Locale::getGermany(), status); in TestRegisterFactory()
[all …]
Dtranstst.cpp237 Transliterator* t = Transliterator::createInstance(id, in TestInstantiation()
291 Transliterator* t = Transliterator::createInstance(id, UTRANS_FORWARD, parseError, status); in TestInstantiation()
607 …Transliterator* t = Transliterator::createInstance("Latin-Hiragana;Hiragana-Latin", UTRANS_FORWARD… in TestCompoundKana()
622 … Transliterator* a = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
623 … Transliterator* b = Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
682 …Transliterator* hex = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status… in TestFiltering()
768 …Transliterator *gl = Transliterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_F… in TestJ277()
853 Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, ec); in TestJ243()
1080 …Transliterator* hk = Transliterator::createInstance("Hiragana-Katakana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
1081 …Transliterator* kh = Transliterator::createInstance("Katakana-Hiragana", UTRANS_FORWARD, parseErro… in TestHiraganaKatakana()
[all …]
Dapicoll.cpp82 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty()
165 RuleBasedCollator *rcol = (RuleBasedCollator *)Collator::createInstance("da_DK", in TestProperty()
179 col = Collator::createInstance(Locale::getFrench(), success); in TestProperty()
201 junk = Collator::createInstance(abcd, success); in TestProperty()
211 col = Collator::createInstance(success); in TestProperty()
221 Collator *frCol = Collator::createInstance(Locale::getCanadaFrench(), success); in TestProperty()
275 col3 = (RuleBasedCollator *)Collator::createInstance(locale, status); in TestRuleBasedColl()
286 col3 = (RuleBasedCollator *)Collator::createInstance(status); in TestRuleBasedColl()
335 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules()
359 Collator *en_US = Collator::createInstance("en_US", status), in TestDecomposition()
[all …]
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp33 Calendar *cal = Calendar::createInstance(status); in dtitvfmtPreDefined()
60 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEngli… in dtitvfmtPreDefined()
61 …DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[j], Locale::getJapan… in dtitvfmtPreDefined()
94 Calendar *cal1 = Calendar::createInstance(status); in dtitvfmtCustomized()
96 Calendar *cal2 = Calendar::createInstance(status); in dtitvfmtCustomized()
98 Calendar *cal3 = Calendar::createInstance(status); in dtitvfmtCustomized()
123 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglis… in dtitvfmtCustomized()
124 …DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[i],Locale::getJapane… in dtitvfmtCustomized()
/external/icu/icu4c/source/i18n/unicode/
Dlocdspnm.h49 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
61 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
75 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
196 inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& locale) { in createInstance() function
197 return LocaleDisplayNames::createInstance(locale, ULDN_STANDARD_NAMES); in createInstance()
Dnumsys.h86 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
92 static NumberingSystem* U_EXPORT2 createInstance(UErrorCode& status);
103 …static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const Unicode…
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dlocdspnm.h48 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
60 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
180 inline LocaleDisplayNames* LocaleDisplayNames::createInstance(const Locale& locale) { in createInstance() function
181 return LocaleDisplayNames::createInstance(locale, ULDN_STANDARD_NAMES); in createInstance()
Dnumsys.h84 static NumberingSystem* U_EXPORT2 createInstance(const Locale & inLocale, UErrorCode& status);
90 static NumberingSystem* U_EXPORT2 createInstance(UErrorCode& status);
101 …static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const Unicode…
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp44 Calendar *cal = Calendar::createInstance(status); in getBestPatternExample()
52 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample()
84 Calendar *cal = Calendar::createInstance(status); in addPatternExample()
88 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample()
125 Calendar *cal = Calendar::createInstance(status); in replaceFieldTypesExample()
129 DateTimePatternGenerator *dtfg = DateTimePatternGenerator::createInstance(locale,status); in replaceFieldTypesExample()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCookieSyncManagerTest.java22 assertThat( CookieSyncManager.createInstance( new Activity() ) , notNullValue() ); in testCreateInstance()
27 CookieSyncManager.createInstance( new Activity() ); in testGetInstance()
33 CookieSyncManager.createInstance( new Activity() ); in testSyncAndReset()
/external/chromium_org/third_party/icu/source/i18n/
Dnumsys.cpp71 NumberingSystem::createInstance(int32_t radix_in, UBool isAlgorithmic_in, const UnicodeString & des… in createInstance() function in NumberingSystem
101 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() function in NumberingSystem
140 NumberingSystem::createInstance(UErrorCode& status) { in createInstance() function in NumberingSystem
141 return NumberingSystem::createInstance(Locale::getDefault(), status); in createInstance()
178 NumberingSystem* ns = NumberingSystem::createInstance(radix,isAlgorithmic,nsd,status); in createInstanceByName()
/external/icu/icu4c/source/common/unicode/
Dlistformatter.h86 static ListFormatter* createInstance(UErrorCode& errorCode);
97 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode);
110 …static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCod…

12345678910>>...14