Home
last modified time | relevance | path

Searched refs:adoptInstead (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp237 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53()
238 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53()
239 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53()
240 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53()
241 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53()
242 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53()
243 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53()
244 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53()
245 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53()
246 measureUnit.adoptInstead(MeasureUnit::createSquareMile(status)); in TestCompatible53()
[all …]
Dplurults.cpp225 newRules.adoptInstead(test->createRules(complexRule2, status)); in testAPI()
235 newRules.adoptInstead(test->createRules(decimalRule, status)); in testAPI()
987 pr.adoptInstead(PluralRules::createRules("s: n not in 1,3,4,6", status)); in testSelect()
991 pr.adoptInstead(PluralRules::createRules("r: n in 1..4, 7..10, 14 .. 17;" in testSelect()
997 pr.adoptInstead(PluralRules::createRules("a: n mod 10 is 1; b: n mod 100 is 0 ", status)); in testSelect()
1004 pr.adoptInstead(PluralRules::createRules("a: n is 1", status)); in testSelect()
1008 pr.adoptInstead(PluralRules::createRules("a: n is 1 ", status)); in testSelect()
1012 pr.adoptInstead(PluralRules::createRules("a: n is 1;", status)); in testSelect()
1016 pr.adoptInstead(PluralRules::createRules("a: n is 1 ; ", status)); in testSelect()
1022 …pr.adoptInstead(PluralRules::createRules("c: n in 5..15; b : n in 1..10 ;a:n in 10 .. 20", status… in testSelect()
[all …]
Dalphaindextst.cpp105 index.adoptInstead(nullptr); in APITest()
115 index.adoptInstead(new AlphabeticIndex(coll.orphan(), status)); in APITest()
121 index.adoptInstead(nullptr); in APITest()
127 index.adoptInstead(new AlphabeticIndex(Locale::getEnglish(), status)); in APITest()
138 index.adoptInstead(nullptr); in APITest()
144 index.adoptInstead(new AlphabeticIndex(Locale::getEnglish(), status)); in APITest()
152 index.adoptInstead(nullptr); in APITest()
157 index.adoptInstead(new AlphabeticIndex(Locale::getGerman(), status)); in APITest()
183 index.adoptInstead(nullptr); in APITest()
197 index.adoptInstead(new AlphabeticIndex(Locale::getEnglish(), status)); in APITest()
[all …]
Drbbiapts.cpp1224 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder()
1228 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1232 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder()
1250 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder()
1263 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1267 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder()
1283 builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(status)); in TestFilteredBreakIteratorBuilder()
1293 baseBI.adoptInstead(BreakIterator::createSentenceInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
1297 filteredBI.adoptInstead(builder->build(baseBI.orphan(), status)); in TestFilteredBreakIteratorBuilder()
1312 … builder.adoptInstead(FilteredBreakIteratorBuilder::createInstance(Locale::getEnglish(), status)); in TestFilteredBreakIteratorBuilder()
[all …]
Drbbimonkeytest.cpp62 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 …]
Ditutil.cpp365 s.adoptInstead(new UnicodeString((UChar)0xfffc)); in TestLocalPointer()
374 s.adoptInstead(new UnicodeString()); in TestLocalPointer()
484 a.adoptInstead(new UnicodeString[4]); in TestLocalArray()
756 sel.adoptInstead(NULL); in TestLocalXyzPointerNull()
764 cal.adoptInstead(NULL); in TestLocalXyzPointerNull()
771 patgen.adoptInstead(NULL); in TestLocalXyzPointerNull()
779 msg.adoptInstead(NULL); in TestLocalXyzPointerNull()
791 regex.adoptInstead(NULL); in TestLocalXyzPointerNull()
804 trans.adoptInstead(NULL); in TestLocalXyzPointerNull()
/third_party/node/deps/icu-small/source/common/unicode/
Dlocalpointer.h153 void adoptInstead(T *p) { in adoptInstead() function
271 adoptInstead(p.release());
300 void adoptInstead(T *p) { in adoptInstead() function
446 adoptInstead(p.release());
475 void adoptInstead(T *p) { in adoptInstead() function
572 adoptInstead(p.release()); \
583 void adoptInstead(Type *p) { \
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h153 void adoptInstead(T *p) { in adoptInstead() function
271 adoptInstead(p.release());
300 void adoptInstead(T *p) { in adoptInstead() function
446 adoptInstead(p.release());
475 void adoptInstead(T *p) { in adoptInstead() function
572 adoptInstead(p.release()); \
583 void adoptInstead(Type *p) { \
/third_party/icu/icu4c/source/common/unicode/
Dlocalpointer.h153 void adoptInstead(T *p) { in adoptInstead() function
271 adoptInstead(p.release());
300 void adoptInstead(T *p) { in adoptInstead() function
446 adoptInstead(p.release());
475 void adoptInstead(T *p) { in adoptInstead() function
572 adoptInstead(p.release()); \
583 void adoptInstead(Type *p) { \
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_formatimpl.cpp207 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(&macros.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 …]
Dnumber_decimfmtprops.h44 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr)); in CurrencyPluralInfoWrapper()
50 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
/third_party/node/deps/icu-small/source/common/
Duloc_keytype.cpp119 … keyMapEntry.adoptInstead(ures_getNextResource(keyMapRes.getAlias(), keyMapEntry.orphan(), &sts)); in initFromResourceBundle()
157 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle()
164 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle()
182 …typeMapEntry.adoptInstead(ures_getNextResource(typeMapResByKey.getAlias(), typeMapEntry.orphan(), … in initFromResourceBundle()
271 …typeAliasDataEntry.adoptInstead(ures_getNextResource(typeAliasResByKey.getAlias(), typeAliasDataEn… in initFromResourceBundle()
312 …bcpTypeAliasDataEntry.adoptInstead(ures_getNextResource(bcpTypeAliasResByKey.getAlias(), bcpTypeAl… in initFromResourceBundle()
341 keyData->typeMap.adoptInstead(typeDataMap); in initFromResourceBundle()
/third_party/icu/icu4c/source/common/
Duloc_keytype.cpp119 … keyMapEntry.adoptInstead(ures_getNextResource(keyMapRes.getAlias(), keyMapEntry.orphan(), &sts)); in initFromResourceBundle()
157 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle()
164 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle()
180 …typeMapEntry.adoptInstead(ures_getNextResource(typeMapResByKey.getAlias(), typeMapEntry.orphan(), … in initFromResourceBundle()
269 …typeAliasDataEntry.adoptInstead(ures_getNextResource(typeAliasResByKey.getAlias(), typeAliasDataEn… in initFromResourceBundle()
310 …bcpTypeAliasDataEntry.adoptInstead(ures_getNextResource(bcpTypeAliasResByKey.getAlias(), bcpTypeAl… in initFromResourceBundle()
339 keyData->typeMap.adoptInstead(typeDataMap); in initFromResourceBundle()
/third_party/skia/third_party/externals/icu/source/common/
Duloc_keytype.cpp119 … keyMapEntry.adoptInstead(ures_getNextResource(keyMapRes.getAlias(), keyMapEntry.orphan(), &sts)); in initFromResourceBundle()
157 …typeAliasResByKey.adoptInstead(ures_getByKey(typeAliasRes.getAlias(), legacyKeyId, NULL, &tmpSts)); in initFromResourceBundle()
164 …bcpTypeAliasResByKey.adoptInstead(ures_getByKey(bcpTypeAliasRes.getAlias(), bcpKeyId, NULL, &tmpSt… in initFromResourceBundle()
180 …typeMapEntry.adoptInstead(ures_getNextResource(typeMapResByKey.getAlias(), typeMapEntry.orphan(), … in initFromResourceBundle()
269 …typeAliasDataEntry.adoptInstead(ures_getNextResource(typeAliasResByKey.getAlias(), typeAliasDataEn… in initFromResourceBundle()
310 …bcpTypeAliasDataEntry.adoptInstead(ures_getNextResource(bcpTypeAliasResByKey.getAlias(), bcpTypeAl… in initFromResourceBundle()
339 keyData->typeMap.adoptInstead(typeDataMap); in initFromResourceBundle()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duloc_keytype.cpp143 … 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()
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dlocalpointer.h144 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) { \
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_formatimpl.cpp178 nsLocal.adoptInstead(ns); in macrosToMicroGenerator()
203 fSymbols.adoptInstead(newSymbols.orphan()); in macrosToMicroGenerator()
237 fPatternInfo.adoptInstead(patternInfo); in macrosToMicroGenerator()
341 fScientificHandler.adoptInstead(newScientificHandler); in macrosToMicroGenerator()
354 fPatternModifier.adoptInstead(patternModifier); in macrosToMicroGenerator()
456 fCompactHandler.adoptInstead(newCompactHandler); in macrosToMicroGenerator()
483 fRules.adoptInstead(PluralRules::forLocale(locale, status)); in resolvePluralRules()
Dnumber_decimfmtprops.h50 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr)); in CurrencyPluralInfoWrapper()
57 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
/third_party/node/deps/icu-small/source/i18n/
Dnumber_formatimpl.cpp178 nsLocal.adoptInstead(ns); in macrosToMicroGenerator()
203 fSymbols.adoptInstead(newSymbols.orphan()); in macrosToMicroGenerator()
237 fPatternInfo.adoptInstead(patternInfo); in macrosToMicroGenerator()
341 fScientificHandler.adoptInstead(newScientificHandler); in macrosToMicroGenerator()
354 fPatternModifier.adoptInstead(patternModifier); in macrosToMicroGenerator()
462 fCompactHandler.adoptInstead(newCompactHandler); in macrosToMicroGenerator()
489 fRules.adoptInstead(PluralRules::forLocale(locale, status)); in resolvePluralRules()
Dnumber_decimfmtprops.h50 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr)); in CurrencyPluralInfoWrapper()
57 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
/third_party/icu/icu4c/source/i18n/
Dnumber_formatimpl.cpp178 nsLocal.adoptInstead(ns); in macrosToMicroGenerator()
203 fSymbols.adoptInstead(newSymbols.orphan()); in macrosToMicroGenerator()
237 fPatternInfo.adoptInstead(patternInfo); in macrosToMicroGenerator()
341 fScientificHandler.adoptInstead(newScientificHandler); in macrosToMicroGenerator()
354 fPatternModifier.adoptInstead(patternModifier); in macrosToMicroGenerator()
456 fCompactHandler.adoptInstead(newCompactHandler); in macrosToMicroGenerator()
483 fRules.adoptInstead(PluralRules::forLocale(locale, status)); in resolvePluralRules()
Dnumber_decimfmtprops.h50 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr)); in CurrencyPluralInfoWrapper()
57 fPtr.adoptInstead(new CurrencyPluralInfo(*other.fPtr));
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_icu.cpp159 ownedPkg.adoptInstead(new Package); in writePackageDatFile()
166 addListPkg.adoptInstead(readList(sourcePath, addList, TRUE, NULL)); in writePackageDatFile()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_icu.cpp159 ownedPkg.adoptInstead(new Package); in writePackageDatFile()
166 addListPkg.adoptInstead(readList(sourcePath, addList, TRUE, NULL)); in writePackageDatFile()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dpkg_icu.cpp159 ownedPkg.adoptInstead(new Package); in writePackageDatFile()
166 addListPkg.adoptInstead(readList(sourcePath, addList, TRUE, NULL)); in writePackageDatFile()

123456