/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 152 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53_1() 153 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53_1() 154 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53_1() 155 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53_1() 156 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53_1() 157 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53_1() 158 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53_1() 159 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53_1() 160 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53_1() 161 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53_1() [all …]
|
D | plurults.cpp | 209 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI() 219 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI() 662 pr.adoptInstead(PluralRules::createRules("s: n not in 1,3,4,6", status)); in testSelect() 666 pr.adoptInstead(PluralRules::createRules("r: n in 1..4, 7..10, 14 .. 17;" in testSelect() 672 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 1; b: n mod 100 is 0 ", status)); in testSelect() 679 pr.adoptInstead(PluralRules::createRules("a: n is 1", status)); in testSelect() 683 pr.adoptInstead(PluralRules::createRules("a: n is 1 ", status)); in testSelect() 687 pr.adoptInstead(PluralRules::createRules("a: n is 1;", status)); in testSelect() 691 pr.adoptInstead(PluralRules::createRules("a: n is 1 ; ", status)); in testSelect() 697 …pr.adoptInstead(PluralRules::createRules("c: n in 5..15; b : n in 1..10 ;a:n in 10 .. 20", status… in testSelect() [all …]
|
D | rbbiapts.cpp | 1237 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1241 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1245 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1263 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1276 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1280 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1296 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1306 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1310 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1325 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() [all …]
|
D | itutil.cpp | 304 s.adoptInstead(new UnicodeString((UChar)0xfffc)); in TestLocalPointer() 313 s.adoptInstead(new UnicodeString()); in TestLocalPointer() 408 a.adoptInstead(new UnicodeString[4]); in TestLocalArray() 674 sel.adoptInstead(NULL); in TestLocalXyzPointerNull() 682 cal.adoptInstead(NULL); in TestLocalXyzPointerNull() 689 patgen.adoptInstead(NULL); in TestLocalXyzPointerNull() 697 msg.adoptInstead(NULL); in TestLocalXyzPointerNull() 709 regex.adoptInstead(NULL); in TestLocalXyzPointerNull() 722 trans.adoptInstead(NULL); in TestLocalXyzPointerNull()
|
D | strcase.cpp | 487 … iter.adoptInstead(ubrk_open((UBreakIteratorType)type, cLocaleID, NULL, 0, &status)); in TestCasing() 493 … iter.adoptInstead(ubrk_openRules(rules, UPRV_LENGTHOF(rules), NULL, 0, &parseError, &status)); in TestCasing() 522 iter.adoptInstead(NULL); in TestCasing()
|
D | scientificnumberformattertest.cpp | 67 fmt.adoptInstead( in TestBasic()
|
D | tscoll.cpp | 500 orders.adoptInstead(temp); in getOrders() 519 orders.adoptInstead(temp); in getOrders()
|
D | tsmthred.cpp | 501 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormatSharedData() 536 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormat() 605 fTSF.adoptInstead(new ThreadSafeFormat(status)); in FormatThreadTest() 699 … percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status)); in run()
|
D | g7coll.cpp | 126 myCollation.adoptInstead(tblColl1); in TestG7Locales()
|
D | dtifmtts.cpp | 180 dif.adoptInstead(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
|
D | convtest.cpp | 452 cnv.adoptInstead(cnv_open(charset, errorCode)); in TestGetUnicodeSet() 586 cnv.adoptInstead(cnv_open(cnvNames[i], errorCode)); in TestGetUnicodeSet2()
|
D | apicoll.cpp | 2422 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords() 2431 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords() 2443 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords()
|
D | dtfmttst.cpp | 2559 fmt.adoptInstead(NULL); in TestHebrewClone() 2603 fmt.adoptInstead(NULL); in TestDateFormatSymbolsClone() 4727 fmt.adoptInstead(DateFormat::createInstanceForSkeleton( in TestCreateInstanceForSkeleton()
|
/external/icu/icu4c/source/common/unicode/ |
D | localpointer.h | 142 void adoptInstead(T *p) { in adoptInstead() function 285 void adoptInstead(T *p) { in adoptInstead() function 437 void adoptInstead(T *p) { in adoptInstead() function 529 void adoptInstead(Type *p) { \ 554 void adoptInstead(Type *p) { \
|
/external/icu/icu4c/source/common/ |
D | uloc_keytype.cpp | 139 … keyMapEntry.adoptInstead(ures_getNextResource(keyMapRes.getAlias(), keyMapEntry.orphan(), &sts)); in initFromResourceBundle() 180 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle() 187 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle() 203 …typeMapEntry.adoptInstead(ures_getNextResource(typeMapResByKey.getAlias(), typeMapEntry.orphan(), … in initFromResourceBundle() 304 …typeAliasDataEntry.adoptInstead(ures_getNextResource(typeAliasResByKey.getAlias(), typeAliasDataEn… in initFromResourceBundle() 354 …bcpTypeAliasDataEntry.adoptInstead(ures_getNextResource(bcpTypeAliasResByKey.getAlias(), bcpTypeAl… in initFromResourceBundle()
|
D | filteredbrk.cpp | 253 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState() 487 strs.adoptInstead(ures_getNextResource(breaks.getAlias(), strs.orphan(), &subStatus)); in SimpleFilteredBreakIteratorBuilder() 628 backwardsTrie.adoptInstead(builder->build(USTRINGTRIE_BUILD_FAST, status)); in build() 636 forwardsPartialTrie.adoptInstead(builder2->build(USTRINGTRIE_BUILD_FAST, status)); in build()
|
D | cmemory.h | 223 void adoptInstead(T *p) { in adoptInstead() function
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_icu.cpp | 157 ownedPkg.adoptInstead(new Package); in writePackageDatFile() 164 addListPkg.adoptInstead(readList(sourcePath, addList, TRUE, NULL)); in writePackageDatFile()
|
/external/icu/icu4c/source/i18n/ |
D | brktrans.cpp | 84 bi.adoptInstead(BreakIterator::createWordInstance(Locale::getEnglish(), status)); in handleTransliterate() 87 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
|
D | dcfmtsym.cpp | 256 nonLatnSymbols.adoptInstead( in initialize() 385 dataRes.adoptInstead( in initialize()
|
D | numfmt.cpp | 1373 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1404 ownedResource.adoptInstead(resource); in makeInstance()
|
D | region.cpp | 206 res.adoptInstead(NULL); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
|
/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 234 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf() 318 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "r", fileLocale, "UTF-8")); in DataDrivenPrintf()
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 661 data.adoptInstead(parse(ucbuf, inputDir, outputDir, filename, in processFile()
|
/external/icu/icu4c/source/tools/pkgdata/ |
D | pkgdata.cpp | 2124 p.adoptInstead(popen(cmdBuf.data(), "r")); in pkg_getOptionsFromICUConfig() 2132 p.adoptInstead(popen(cmd, "r")); in pkg_getOptionsFromICUConfig()
|