/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 180 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53() 181 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53() 182 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53() 183 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53() 184 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53() 185 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53() 186 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53() 187 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53() 188 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53() 189 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53() [all …]
|
D | plurults.cpp | 213 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI() 223 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI() 666 pr.adoptInstead(PluralRules::createRules("s: n not in 1,3,4,6", status)); in testSelect() 670 pr.adoptInstead(PluralRules::createRules("r: n in 1..4, 7..10, 14 .. 17;" in testSelect() 676 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 1; b: n mod 100 is 0 ", 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() 695 pr.adoptInstead(PluralRules::createRules("a: n is 1 ; ", status)); in testSelect() 701 …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 | 1218 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1222 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1226 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1244 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1257 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1261 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1277 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder() 1287 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() 1291 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder() 1306 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder() [all …]
|
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() 220 …thisRule->fRuleMatcher.adoptInstead(new RegexMatcher(thisRule->fExpandedRule, UREGEX_COMMENTS | UR… in addRule() 629 fRuleSet.adoptInstead(new BreakRules(this, status)); in setup() 635 fBI.adoptInstead(fRuleSet->createICUBreakIterator(status)); in setup() 636 fTestData.adoptInstead(new MonkeyTestData()); in setup() [all …]
|
D | itutil.cpp | 428 s.adoptInstead(new UnicodeString((UChar)0xfffc)); in TestLocalPointer() 437 s.adoptInstead(new UnicodeString()); in TestLocalPointer() 528 a.adoptInstead(new UnicodeString[4]); in TestLocalArray() 786 sel.adoptInstead(NULL); in TestLocalXyzPointerNull() 794 cal.adoptInstead(NULL); in TestLocalXyzPointerNull() 801 patgen.adoptInstead(NULL); in TestLocalXyzPointerNull() 809 msg.adoptInstead(NULL); in TestLocalXyzPointerNull() 821 regex.adoptInstead(NULL); in TestLocalXyzPointerNull() 834 trans.adoptInstead(NULL); in TestLocalXyzPointerNull()
|
D | tscoll.cpp | 502 orders.adoptInstead(temp); in getOrders() 521 orders.adoptInstead(temp); in getOrders()
|
D | tsmthred.cpp | 453 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormatSharedData() 488 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormat() 557 fTSF.adoptInstead(new ThreadSafeFormat(status)); in FormatThreadTest() 651 … percentFormatter.adoptInstead(NumberFormat::createPercentInstance(Locale::getFrench(),status)); in run()
|
D | scientificnumberformattertest.cpp | 69 fmt.adoptInstead( in TestBasic()
|
D | g7coll.cpp | 128 myCollation.adoptInstead(tblColl1); in TestG7Locales()
|
/external/icu/icu4c/source/i18n/ |
D | number_formatimpl.cpp | 207 nsLocal.adoptInstead(ns); in macrosToMicroGenerator() 217 fSymbols.adoptInstead(fMicros.symbols); in macrosToMicroGenerator() 231 fSymbols.adoptInstead(symbols); in macrosToMicroGenerator() 258 fPatternInfo.adoptInstead(patternInfo); in macrosToMicroGenerator() 335 … fScientificHandler.adoptInstead(new ScientificHandler(¯os.notation, fMicros.symbols, chain)); in macrosToMicroGenerator() 344 fPatternModifier.adoptInstead(patternModifier); in macrosToMicroGenerator() 359 … fImmutablePatternModifier.adoptInstead(patternModifier->createImmutableAndChain(chain, status)); in macrosToMicroGenerator() 368 fLongNameHandler.adoptInstead( in macrosToMicroGenerator() 379 fLongNameHandler.adoptInstead( in macrosToMicroGenerator() 398 fCompactHandler.adoptInstead( in macrosToMicroGenerator() [all …]
|
D | number_decimfmtprops.h | 46 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr)); in CurrencyPluralInfoWrapper() 52 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
|
D | brktrans.cpp | 86 bi.adoptInstead(BreakIterator::createWordInstance(Locale::getEnglish(), status)); in handleTransliterate() 89 boundaries.adoptInstead(new UVector32(status)); in handleTransliterate()
|
D | numparse_decimal.cpp | 52 fLocalDecimalUniSet.adoptInstead(set); in DecimalMatcher() 69 fLocalSeparatorSet.adoptInstead(set); in DecimalMatcher() 77 fLocalDigitStrings.adoptInstead(digitStrings); in DecimalMatcher()
|
D | decimfmt.cpp | 93 fields->properties->currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat() 394 fields->properties.adoptInstead(new DecimalFormatProperties(*source.fields->properties)); in DecimalFormat() 395 fields->symbols.adoptInstead(new DecimalFormatSymbols(*source.fields->symbols)); in DecimalFormat() 396 fields->exportedProperties.adoptInstead(new DecimalFormatProperties()); in DecimalFormat() 406 fields->symbols.adoptInstead(new DecimalFormatSymbols(*rhs.fields->symbols)); in operator =() 603 fields->symbols.adoptInstead(symbolsToAdopt); in adoptDecimalFormatSymbols() 608 fields->symbols.adoptInstead(new DecimalFormatSymbols(symbols)); in setDecimalFormatSymbols() 617 fields->properties->currencyPluralInfo.fPtr.adoptInstead(toAdopt); in adoptCurrencyPluralInfo() 623 fields->properties->currencyPluralInfo.fPtr.adoptInstead(info.clone()); in setCurrencyPluralInfo() 1147 fields->formatter.adoptInstead( in touch()
|
D | number_decimfmtprops.cpp | 37 currencyPluralInfo.fPtr.adoptInstead(nullptr); in clear()
|
D | numfmt.cpp | 1373 ownedNs.adoptInstead(NumberingSystem::createInstance(desiredLocale,status)); in makeInstance() 1454 f.adoptInstead(r); in makeInstance() 1489 f.adoptInstead(df.orphan()); in makeInstance()
|
D | dtptngen.cpp | 1265 … dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), fCalendar->getType(), in setDateTimeFromCalendar() 1273 …dateTimePatterns.adoptInstead(ures_getByKeyWithFallback(calData.getAlias(), DT_DateTimeGregorianTa… in setDateTimeFromCalendar() 1809 prevElem->next.adoptInstead(curElem); in copyFrom() 1909 curElem->next.adoptInstead(newElem.orphan()); in add() 2626 fSkeletons.adoptInstead(nullptr); in DTSkeletonEnumeration() 2699 fPatterns.adoptInstead(nullptr); in add()
|
D | smpdtfmt.cpp | 673 dateTimePatterns.adoptInstead( in construct() 682 dateTimePatterns.adoptInstead( in construct() 719 currentBundle.adoptInstead( in construct() 744 currentBundle.adoptInstead( in construct() 784 currentBundle.adoptInstead( in construct() 809 currentBundle.adoptInstead( in construct() 3760 df.adoptInstead(dynamic_cast<DecimalFormat*>(fmtAsDF->clone())); in parseInt()
|
/external/icu/icu4c/source/common/unicode/ |
D | localpointer.h | 144 void adoptInstead(T *p) { in adoptInstead() function 282 void adoptInstead(T *p) { in adoptInstead() function 427 void adoptInstead(T *p) { in adoptInstead() function 515 void adoptInstead(Type *p) { \
|
/external/icu/libandroidicu/include/unicode/ |
D | localpointer.h | 144 void adoptInstead(T *p) { in adoptInstead() function 282 void adoptInstead(T *p) { in adoptInstead() function 427 void adoptInstead(T *p) { in adoptInstead() function 515 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 | ustr_titlecase_brkiter.cpp | 169 ownedIter.adoptInstead(iter); in ustrcase_getTitleBreakIterator()
|
/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/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()
|