/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 174 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53_1() 175 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53_1() 176 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53_1() 177 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53_1() 178 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53_1() 179 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53_1() 180 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53_1() 181 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53_1() 182 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53_1() 183 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53_1() [all …]
|
D | plurults.cpp | 211 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI() 221 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI() 664 pr.adoptInstead(PluralRules::createRules("s: n not in 1,3,4,6", status)); in testSelect() 668 pr.adoptInstead(PluralRules::createRules("r: n in 1..4, 7..10, 14 .. 17;" in testSelect() 674 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 1; b: n mod 100 is 0 ", status)); in testSelect() 681 pr.adoptInstead(PluralRules::createRules("a: n is 1", status)); in testSelect() 685 pr.adoptInstead(PluralRules::createRules("a: n is 1 ", status)); in testSelect() 689 pr.adoptInstead(PluralRules::createRules("a: n is 1;", status)); in testSelect() 693 pr.adoptInstead(PluralRules::createRules("a: n is 1 ; ", status)); in testSelect() 699 …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 | 1212 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1216 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1220 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1238 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1251 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1255 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1271 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1281 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1285 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1300 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() [all …]
|
D | itutil.cpp | 306 s.adoptInstead(new UnicodeString((UChar)0xfffc)); in TestLocalPointer() 315 s.adoptInstead(new UnicodeString()); in TestLocalPointer() 410 a.adoptInstead(new UnicodeString[4]); in TestLocalArray() 676 sel.adoptInstead(NULL); in TestLocalXyzPointerNull() 684 cal.adoptInstead(NULL); in TestLocalXyzPointerNull() 691 patgen.adoptInstead(NULL); in TestLocalXyzPointerNull() 699 msg.adoptInstead(NULL); in TestLocalXyzPointerNull() 711 regex.adoptInstead(NULL); in TestLocalXyzPointerNull() 724 trans.adoptInstead(NULL); in TestLocalXyzPointerNull()
|
D | rbbimonkeytest.cpp | 62 fCharClasses.adoptInstead(uhash_open(uhash_hashUnicodeString, in BreakRules() 73 fCharClassList.adoptInstead(new UVector(status)); in BreakRules() 75 fSetRefsMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules() 82 fCommentsMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules() 90 fClassDefMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules() 99 fRuleDefMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules() 212 …thisRule->fRuleMatcher.adoptInstead(new RegexMatcher(thisRule->fExpandedRule, UREGEX_COMMENTS | UR… in addRule() 613 fRuleSet.adoptInstead(new BreakRules(this, status)); in setup() 619 fBI.adoptInstead(fRuleSet->createICUBreakIterator(status)); in setup() 620 fTestData.adoptInstead(new MonkeyTestData()); in setup() [all …]
|
D | strcase.cpp | 496 … iter.adoptInstead(ubrk_open((UBreakIteratorType)type, cLocaleID, NULL, 0, &status)); in TestCasing() 502 … iter.adoptInstead(ubrk_openRules(rules, UPRV_LENGTHOF(rules), NULL, 0, &parseError, &status)); in TestCasing() 531 iter.adoptInstead(NULL); in TestCasing()
|
D | tscoll.cpp | 502 orders.adoptInstead(temp); in getOrders() 521 orders.adoptInstead(temp); in getOrders()
|
D | scientificnumberformattertest.cpp | 69 fmt.adoptInstead( in TestBasic()
|
D | tsmthred.cpp | 503 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormatSharedData() 538 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormat() 607 fTSF.adoptInstead(new ThreadSafeFormat(status)); in FormatThreadTest() 701 … percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status)); in run()
|
D | g7coll.cpp | 128 myCollation.adoptInstead(tblColl1); in TestG7Locales()
|
D | callimts.cpp | 214 cal.adoptInstead(Calendar::createInstance(buf, status)); in TestLimitsThread()
|
D | convtest.cpp | 454 cnv.adoptInstead(cnv_open(charset, errorCode)); in TestGetUnicodeSet() 588 cnv.adoptInstead(cnv_open(cnvNames[i], errorCode)); in TestGetUnicodeSet2()
|
D | dtifmtts.cpp | 185 dif.adoptInstead(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI()
|
D | apicoll.cpp | 2424 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords() 2433 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords() 2445 coll.adoptInstead(Collator::createInstance(localeID, errorCode)); in TestBadKeywords()
|
/external/icu/icu4c/source/common/unicode/ |
D | localpointer.h | 144 void adoptInstead(T *p) { in adoptInstead() function 286 void adoptInstead(T *p) { in adoptInstead() function 435 void adoptInstead(T *p) { in adoptInstead() function 524 void adoptInstead(Type *p) { \ 551 void adoptInstead(Type *p) { \
|
/external/icu/icu4c/source/common/ |
D | uloc_keytype.cpp | 143 … keyMapEntry.adoptInstead(ures_getNextResource(keyMapRes.getAlias(), keyMapEntry.orphan(), &sts)); in initFromResourceBundle() 184 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle() 191 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle() 207 …typeMapEntry.adoptInstead(ures_getNextResource(typeMapResByKey.getAlias(), typeMapEntry.orphan(), … in initFromResourceBundle() 312 …typeAliasDataEntry.adoptInstead(ures_getNextResource(typeAliasResByKey.getAlias(), typeAliasDataEn… in initFromResourceBundle() 362 …bcpTypeAliasDataEntry.adoptInstead(ures_getNextResource(bcpTypeAliasResByKey.getAlias(), bcpTypeAl… in initFromResourceBundle()
|
D | filteredbrk.cpp | 255 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState() 521 strs.adoptInstead(ures_getNextResource(breaks.getAlias(), strs.orphan(), &subStatus)); in SimpleFilteredBreakIteratorBuilder() 662 backwardsTrie.adoptInstead(builder->build(USTRINGTRIE_BUILD_FAST, status)); in build() 670 forwardsPartialTrie.adoptInstead(builder2->build(USTRINGTRIE_BUILD_FAST, status)); in build()
|
D | cmemory.h | 227 void adoptInstead(T *p) { in adoptInstead() function
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_icu.cpp | 159 ownedPkg.adoptInstead(new Package); in writePackageDatFile() 166 addListPkg.adoptInstead(readList(sourcePath, addList, TRUE, NULL)); in writePackageDatFile()
|
/external/icu/icu4c/source/i18n/ |
D | brktrans.cpp | 86 bi.adoptInstead(BreakIterator::createWordInstance(Locale::getEnglish(), status)); in handleTransliterate() 89 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
|
D | smpdtfmt.cpp | 714 dateTimePatterns.adoptInstead( in construct() 723 dateTimePatterns.adoptInstead( in construct() 760 currentBundle.adoptInstead( in construct() 785 currentBundle.adoptInstead( in construct() 825 currentBundle.adoptInstead( in construct() 850 currentBundle.adoptInstead( in construct()
|
D | numfmt.cpp | 1376 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1407 ownedResource.adoptInstead(resource); in makeInstance()
|
D | region.cpp | 207 res.adoptInstead(NULL); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
|
/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8")); in DataDrivenPrintf() 321 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "r", fileLocale, "UTF-8")); in DataDrivenPrintf()
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 664 data.adoptInstead(parse(ucbuf, inputDir, outputDir, filename, in processFile()
|