Home
last modified time | relevance | path

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

12345678910>>...15

/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…
370 TESTCLASSID_FACTORY(DateTimePatternGenerator, DateTimePatternGenerator::createInstance(status)); in testIDs()
378 TESTCLASSID_FACTORY(TimeUnit, TimeUnit::createInstance(TimeUnit::UTIMEUNIT_YEAR, status)); in testIDs()
383 TESTCLASSID_NONE_FACTORY(LocaleDisplayNames, LocaleDisplayNames::createInstance("de")); in testIDs()
385 …TESTCLASSID_FACTORY(GregorianCalendar, Calendar::createInstance(Locale("@calendar=gregorian"), sta… in testIDs()
386 …TESTCLASSID_FACTORY(BuddhistCalendar, Calendar::createInstance(Locale("@calendar=buddhist"), statu… in testIDs()
387 …TESTCLASSID_FACTORY(IslamicCalendar, Calendar::createInstance(Locale("@calendar=islamic"), status)… in testIDs()
388 …TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), statu… in testIDs()
389 … TESTCLASSID_FACTORY(HebrewCalendar, Calendar::createInstance(Locale("@calendar=hebrew"), status)); in testIDs()
390 …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 …]
Ddtptngts.cpp381 … DateTimePatternGenerator *instFromDefaultLocale=DateTimePatternGenerator::createInstance(status); in testAPI()
393 …DateTimePatternGenerator *instFromLocale=DateTimePatternGenerator::createInstance(Locale::getFrenc… in testAPI()
429 DateTimePatternGenerator *gen = DateTimePatternGenerator::createInstance(deLocale, status); in testAPI()
554 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
579 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
605 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
637 DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(loc, status); in testAPI()
672 …DateTimePatternGenerator *patGen=DateTimePatternGenerator::createInstance(Locale::getEnglish(), st… in testAPI()
709 DateTimePatternGenerator *randDTGen= DateTimePatternGenerator::createInstance(status); in testAPI()
732 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/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp35 Calendar *cal = Calendar::createInstance(status); in dtitvfmtPreDefined()
62 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[j], Locale::getEngli… in dtitvfmtPreDefined()
63 …DateIntervalFormat* dtitvfmtJa = DateIntervalFormat::createInstance(skeletons[j], Locale::getJapan… in dtitvfmtPreDefined()
96 Calendar *cal1 = Calendar::createInstance(status); in dtitvfmtCustomized()
98 Calendar *cal2 = Calendar::createInstance(status); in dtitvfmtCustomized()
100 Calendar *cal3 = Calendar::createInstance(status); in dtitvfmtCustomized()
125 …DateIntervalFormat* dtitvfmtEn = DateIntervalFormat::createInstance(skeletons[i],Locale::getEnglis… in dtitvfmtCustomized()
126 …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()
Dlistformatter.h88 static ListFormatter* createInstance(UErrorCode& errorCode);
99 static ListFormatter* createInstance(const Locale& locale, UErrorCode& errorCode);
112 …static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCod…
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp46 Calendar *cal = Calendar::createInstance(status); in getBestPatternExample()
54 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locales[j],status); in getBestPatternExample()
86 Calendar *cal = Calendar::createInstance(status); in addPatternExample()
90 DateTimePatternGenerator *dtfg= DateTimePatternGenerator::createInstance(locale,status); in addPatternExample()
127 Calendar *cal = Calendar::createInstance(status); in replaceFieldTypesExample()
131 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…
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.h320 static Calendar* U_EXPORT2 createInstance(UErrorCode& success);
334 static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, UErrorCode& success);
347 static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, UErrorCode& success);
359 static Calendar* U_EXPORT2 createInstance(const Locale& aLocale, UErrorCode& success);
374 …static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode…
388 …static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, const Locale& aLocale, UErrorCode&…
2501 Calendar::createInstance(TimeZone* zone, UErrorCode& errorCode) in createInstance() function
2504 return createInstance(zone, Locale::getDefault(), errorCode); in createInstance()
/external/robolectric/v1/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/icu/icu4c/source/common/
Dbrkiter.cpp148 return createInstance(key, UBRK_WORD, status); in createWordInstance()
157 return createInstance(key, UBRK_LINE, status); in createLineInstance()
166 return createInstance(key, UBRK_CHARACTER, status); in createCharacterInstance()
175 return createInstance(key, UBRK_SENTENCE, status); in createSentenceInstance()
184 return createInstance(key, UBRK_TITLE, status); in createTitleInstance()
368 BreakIterator::createInstance(const Locale& loc, int32_t kind, UErrorCode& status) in createInstance() function in BreakIterator
442 …eredBreakIteratorBuilder* fbiBuilder = FilteredBreakIteratorBuilder::createInstance(loc, kvStatus); in makeInstance()
Dloadednormalizer2impl.cpp115 Norm2AllModes::createInstance(const char *packageName, in createInstance() function in Norm2AllModes
127 return createInstance(impl, errorCode); in createInstance()
144 nfkcSingleton = Norm2AllModes::createInstance(NULL, "nfkc", errorCode); in initSingletons()
146 nfkc_cfSingleton = Norm2AllModes::createInstance(NULL, "nfkc_cf", errorCode); in initSingletons()
237 Norm2AllModes::createInstance(packageName, name, errorCode)); in getInstance()
/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/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
109 NumberingSystem::createInstance(const Locale & inLocale, UErrorCode& status) { in createInstance() function in NumberingSystem
175 NumberingSystem::createInstance(UErrorCode& status) { in createInstance() function in NumberingSystem
176 return NumberingSystem::createInstance(Locale::getDefault(), status); in createInstance()
208 NumberingSystem* ns = NumberingSystem::createInstance(radix,isAlgorithmic,nsd,status); in createInstanceByName()
/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()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInputGeometryShaderTests.cpp126 virtual TestInstance* createInstance (Context& context) const;
177 TestInstance* GeometryExpanderRenderTest::createInstance (Context& context) const in createInstance() function in vkt::geometry::__anon35229d3e0111::GeometryExpanderRenderTest
230 virtual TestInstance* createInstance (Context& context) const;
241 TestInstance* TriangleStripAdjacencyVertexCountTest::createInstance (Context& context) const in createInstance() function in vkt::geometry::__anon35229d3e0111::TriangleStripAdjacencyVertexCountTest

12345678910>>...15