| /external/icu/icu4c/source/i18n/ |
| D | number_formatimpl.h | 102 LocalPointer<const UsagePrefsHandler> fUsagePrefsHandler; 103 LocalPointer<const UnitConversionHandler> fUnitConversionHandler; 104 LocalPointer<const DecimalFormatSymbols> fSymbols; 105 LocalPointer<const PluralRules> fRules; 106 LocalPointer<const ParsedPatternInfo> fPatternInfo; 107 LocalPointer<const ScientificHandler> fScientificHandler; 108 LocalPointer<MutablePatternModifier> fPatternModifier; 109 LocalPointer<ImmutablePatternModifier> fImmutablePatternModifier; 110 LocalPointer<LongNameHandler> fLongNameHandler; 114 LocalPointer<MixedUnitLongNameHandler> fMixedUnitLongNameHandler; [all …]
|
| D | dangical.cpp | 111 LocalPointer<InitialTimeZoneRule> initialTimeZone(new InitialTimeZoneRule( in initDangiCalZoneAstroCalc() 114 LocalPointer<TimeZoneRule> rule1897(new TimeArrayTimeZoneRule( in initDangiCalZoneAstroCalc() 117 LocalPointer<TimeZoneRule> rule1898to1911(new TimeArrayTimeZoneRule( in initDangiCalZoneAstroCalc() 120 LocalPointer<TimeZoneRule> ruleFrom1912(new TimeArrayTimeZoneRule( in initDangiCalZoneAstroCalc() 123 LocalPointer<RuleBasedTimeZone> dangiCalZoneAstroCalc(new RuleBasedTimeZone( in initDangiCalZoneAstroCalc()
|
| D | region.cpp | 91 …LocalPointer<UVector> continents(new UVector(uprv_deleteUObject, uhash_compareUnicodeString, statu… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 92 …LocalPointer<UVector> groupings(new UVector(uprv_deleteUObject, uhash_compareUnicodeString, status… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 130 LocalPointer<UnicodeString> newRegion(new UnicodeString(buf), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 135 LocalPointer<UnicodeString> newRegion(new UnicodeString(regionName), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 149 LocalPointer<UnicodeString> newRegion(new UnicodeString(buf), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 154 LocalPointer<UnicodeString> newRegion(new UnicodeString(regionName), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 160 …LocalPointer<UnicodeString> regionName (new UnicodeString(ures_getNextUnicodeString(regionUnknown.… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 170 LocalPointer<Region> r(new Region(), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 220 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 231 LocalPointer<Region> newRgn(new Region, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
| D | numsys.cpp | 99 LocalPointer<NumberingSystem> ns(new NumberingSystem(), status); in createInstance() 221 …LocalPointer<NumberingSystem> ns(NumberingSystem::createInstance(radix, isAlgorithmic, nsd, status… in createInstanceByName() 288 LocalPointer<UVector> numsysNames(new UVector(uprv_deleteUObject, nullptr, status), status); in initNumsysNames() 315 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in initNumsysNames() 335 LocalPointer<StringEnumeration> result(new NumsysNameEnumeration(status), status); in getAvailableNames()
|
| D | brktrans.h | 88 LocalPointer<BreakIterator> cachedBI; 89 LocalPointer<UVector32> cachedBoundaries;
|
| D | basictz.cpp | 314 LocalPointer<UVector> orgRules( in getTimeZoneRulesAfter() 330 LocalPointer<TimeZoneRule> lpRule(orgtrs[i]->clone(), status); in getTimeZoneRulesAfter() 354 LocalPointer<UVector> filteredRules( in getTimeZoneRulesAfter() 362 LocalPointer<InitialTimeZoneRule> res_initial( in getTimeZoneRulesAfter() 427 LocalPointer<TimeArrayTimeZoneRule> lpTar(tar->clone(), status); in getTimeZoneRulesAfter() 466 LocalPointer<TimeArrayTimeZoneRule> newTar(new TimeArrayTimeZoneRule( in getTimeZoneRulesAfter() 479 LocalPointer<AnnualTimeZoneRule> arClone(ar->clone(), status); in getTimeZoneRulesAfter() 490 …LocalPointer<AnnualTimeZoneRule> newAr(new AnnualTimeZoneRule(name, ar->getRawOffset(), ar->getDST… in getTimeZoneRulesAfter()
|
| /external/icu/libicu/cts_headers/ |
| D | number_formatimpl.h | 102 LocalPointer<const UsagePrefsHandler> fUsagePrefsHandler; 103 LocalPointer<const UnitConversionHandler> fUnitConversionHandler; 104 LocalPointer<const DecimalFormatSymbols> fSymbols; 105 LocalPointer<const PluralRules> fRules; 106 LocalPointer<const ParsedPatternInfo> fPatternInfo; 107 LocalPointer<const ScientificHandler> fScientificHandler; 108 LocalPointer<MutablePatternModifier> fPatternModifier; 109 LocalPointer<ImmutablePatternModifier> fImmutablePatternModifier; 110 LocalPointer<LongNameHandler> fLongNameHandler; 114 LocalPointer<MixedUnitLongNameHandler> fMixedUnitLongNameHandler; [all …]
|
| D | brktrans.h | 88 LocalPointer<BreakIterator> cachedBI; 89 LocalPointer<UVector32> cachedBoundaries;
|
| /external/icu/icu4c/source/test/intltest/ |
| D | itformat.cpp | 156 LocalPointer<IntlTest> test(createTimeUnitTest()); in runIndexedTest() 171 LocalPointer<IntlTest> test(createGenderInfoTest()); in runIndexedTest() 180 LocalPointer<IntlTest> test(createCompactDecimalFormatTest()); in runIndexedTest() 191 LocalPointer<IntlTest> test(createRelativeDateTimeFormatterTest()); in runIndexedTest() 201 LocalPointer<IntlTest> test(createMeasureFormatTest()); in runIndexedTest() 210 LocalPointer<IntlTest> test(createNumberFormatSpecificationTest()); in runIndexedTest() 219 LocalPointer<IntlTest> test(createScientificNumberFormatterTest()); in runIndexedTest() 231 LocalPointer<IntlTest> test(createFormattedValueTest()); in runIndexedTest() 240 LocalPointer<IntlTest> test(createFormattedStringBuilderTest()); in runIndexedTest() 249 LocalPointer<IntlTest> test(createStringSegmentTest()); in runIndexedTest() [all …]
|
| D | scientificnumberformattertest.cpp | 55 LocalPointer<ScientificNumberFormatter> fmt( in TestBasic() 84 LocalPointer<ScientificNumberFormatter> fmt3(fmt->clone()); in TestBasic() 103 LocalPointer<ScientificNumberFormatter> fmt( in TestFarsi() 120 …LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", … in TestPlusSignInExponentMarkup() 130 LocalPointer<ScientificNumberFormatter> fmt( in TestPlusSignInExponentMarkup() 147 …LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createScientificInstance("en", … in TestPlusSignInExponentSuperscript() 157 LocalPointer<ScientificNumberFormatter> fmt( in TestPlusSignInExponentSuperscript() 174 … LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); in TestFixedDecimalMarkup() 178 LocalPointer<ScientificNumberFormatter> fmt( in TestFixedDecimalMarkup() 196 … LocalPointer<DecimalFormat> decfmt((DecimalFormat *) NumberFormat::createInstance("en", status)); in TestFixedDecimalSuperscript() [all …]
|
| D | rbbimonkeytest.h | 87 LocalPointer<const UnicodeSet> fSet; 104 LocalPointer<RegexMatcher> fRuleMatcher; // Regular expression that matches the rule. 127 LocalPointer<UVector> fCharClassList; // Char Classes, same contents as fCharClasses values, 138 LocalPointer<RegexMatcher> fSetRefsMatcher; 139 LocalPointer<RegexMatcher> fCommentsMatcher; 140 LocalPointer<RegexMatcher> fClassDefMatcher; 141 LocalPointer<RegexMatcher> fRuleDefMatcher; 192 LocalPointer<BreakRules> fRuleSet; 193 LocalPointer<RuleBasedBreakIterator> fBI; 194 LocalPointer<MonkeyTestData> fTestData;
|
| D | dtifmtts.cpp | 163 … LocalPointer<DateIntervalFormat> dif(DateIntervalFormat::createInstance("yMd", enLocale, status)); in testAPI() 169 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testAPI() 170 LocalPointer<Calendar> toTime(Calendar::createInstance(enLocale, status)); in testAPI() 183 … LocalPointer<DateIntervalInfo> dii(new DateIntervalInfo(Locale::getEnglish(), status), status); in testAPI() 1197 LocalPointer<Calendar> defCal(Calendar::createInstance(loc, ec)); in expect() 1336 …LocalPointer<DateIntervalFormat> fmt(DateIntervalFormat::createInstance(skeleton, locale, status)); in testContext() 1378 LocalPointer<DateIntervalInfo> dtitvinf(new DateIntervalInfo(ec), ec); in testSetIntervalPatternNoSideEffect() 1409 LocalPointer<Calendar> fromTime(Calendar::createInstance(enLocale, status)); in testYearFormats() 1410 LocalPointer<Calendar> toTime(Calendar::createInstance(enLocale, status)); in testYearFormats() 1421 …LocalPointer<DateIntervalFormat> dif(DateIntervalFormat::createInstance("yyyyMd", enLocale, status… in testYearFormats() [all …]
|
| D | plurults.cpp | 146 LocalPointer<PluralRules> test(new PluralRules(status), status); in testAPI() 151 LocalPointer<PluralRules> newEnPlural(test->forLocale(Locale::getEnglish(), status), status); in testAPI() 158 LocalPointer<PluralRules> dupRule(defRule.clone()); in testAPI() 177 LocalPointer<PluralRules> empRule(test->createRules(UNICODE_STRING_SIMPLE("a:n"), status)); in testAPI() 193 LocalPointer<PluralRules> newRules(test->createRules(pluralTestData[i], status)); in testAPI() 222 LocalPointer<PluralRules> newRules(test->createRules(complexRule, status)); in testAPI() 267 LocalPointer<PluralRules> en_UK(test->forLocale(Locale::getUK(), status)); in testAPI() 268 LocalPointer<PluralRules> en(test->forLocale(Locale::getEnglish(), status)); in testAPI() 275 LocalPointer<PluralRules> zh_Hant(test->forLocale(Locale::getTaiwan(), status)); in testAPI() 276 LocalPointer<PluralRules> zh(test->forLocale(Locale::getChinese(), status)); in testAPI() [all …]
|
| D | erarulestest.cpp | 54 LocalPointer<EraRules> rules1(EraRules::createInstance(calId, FALSE, status)); in testAPIs() 60 LocalPointer<EraRules> rules2(EraRules::createInstance(calId, TRUE, status)); in testAPIs() 77 LocalPointer<Calendar> cal(Calendar::createInstance(*TimeZone::getGMT(), "en", status)); in testAPIs() 110 LocalPointer<EraRules> rules(EraRules::createInstance("japanese", TRUE, status)); in testJapanese()
|
| D | plurults.h | 55 const LocalPointer<PluralRules> &test, 59 UnicodeString getPluralKeyword(const LocalPointer<PluralRules> &rules, 61 void checkSelect(const LocalPointer<PluralRules> &rules, UErrorCode &status,
|
| D | nmfmapts.cpp | 305 LocalPointer<NumberFormat> f0(NumberFormat::createInstance(SWAP_LOC, status)); in testRegistration() 306 LocalPointer<NumberFormat> f1(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration() 307 LocalPointer<NumberFormat> f2(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration() 309 LocalPointer<NumberFormat> f3(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration() 310 LocalPointer<NumberFormat> f3a(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration() 311 LocalPointer<NumberFormat> f4(NumberFormat::createInstance(SRC_LOC, status)); in testRegistration() 313 LocalPointer<StringEnumeration> locs(NumberFormat::getAvailableLocales()); in testRegistration() 324 LocalPointer<NumberFormat> f5(NumberFormat::createCurrencyInstance(SRC_LOC, status)); in testRegistration()
|
| D | alphaindextst.cpp | 99 LocalPointer<AlphabeticIndex> index(new AlphabeticIndex(Locale::getEnglish(), status)); in APITest() 110 LocalPointer<RuleBasedCollator> coll(dynamic_cast<RuleBasedCollator *>( in APITest() 159 LocalPointer<Collator> germanCol(Collator::createInstance(Locale::getGerman(), status)); in APITest() 375 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in ManyLocalesTest() 545 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestIndexCharactersList() 559 LocalPointer<RuleBasedCollator> coll( in TestHaniFirst() 589 LocalPointer<RuleBasedCollator> coll( in TestPinyinFirst() 622 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestSchSt() 661 LocalPointer<RuleBasedCollator> coll( in TestNoLabels() 680 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestChineseZhuyin() [all …]
|
| D | compactdecimalformattest.cpp | 329 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() 366 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() 382 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() 488 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance(locale, UNUM_SHORT, st… in TestBug12975() 492 … LocalPointer<DecimalFormat> df((DecimalFormat*) DecimalFormat::createInstance(locale, status)); in TestBug12975() 505 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale() 522 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency()
|
| D | listformattertest.cpp | 131 …LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale(locale_string), errorCo… in CheckFourCases() 152 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(locale, errorCode)); in RecordFourCases() 206 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance(Locale("en"), errorCode)); in Test9946() 278 LocalPointer<ListFormatter> formatter(ListFormatter::createInstance( in RunTestFieldPositionIteratorWithNItemsPatternShift() 299 LocalPointer<ListFormatter> formatter( in RunTestFieldPositionIteratorWithNItems() 503 LocalPointer<ListFormatter> fmt(ListFormatter::createInstance("en", status)); in TestFormattedValue() 532 …LocalPointer<ListFormatter> fmt(ListFormatter::createInstance("zh", ULISTFMT_TYPE_UNITS, ULISTFMT_… in TestFormattedValue() 559 …LocalPointer<ListFormatter> fmt(ListFormatter::createInstance("en", ULISTFMT_TYPE_UNITS, ULISTFMT_… in TestFormattedValue() 622 LocalPointer<ListFormatter> formatter( in DoTheRealListStyleTesting() 674 LocalPointer<ListFormatter> fmt( in TestCreateStyled() [all …]
|
| D | itutil.cpp | 354 LocalPointer<UnicodeString> s(new UnicodeString((UChar32)0x50005)); in TestLocalPointer() 381 LocalPointer<CharString> csx(new CharString("some chars", errorCode), errorCode); in TestLocalPointer() 410 LocalPointer<CharString> null(NULL, errorCode); in TestLocalPointer() 428 LocalPointer<UnicodeString> s1(p1); in TestLocalPointerMoveSwap() 429 LocalPointer<UnicodeString> s2(p2); in TestLocalPointerMoveSwap() 438 LocalPointer<UnicodeString> s3; in TestLocalPointerMoveSwap() 444 s1 = static_cast<LocalPointer<UnicodeString> &&>(s3); in TestLocalPointerMoveSwap() 448 LocalPointer<UnicodeString> s4(static_cast<LocalPointer<UnicodeString> &&>(s2)); in TestLocalPointerMoveSwap() 463 std::unique_ptr<UnicodeString> s = LocalPointer<UnicodeString>(ptr); in TestLocalPointerStdUniquePtr() 465 LocalPointer<UnicodeString> s2(std::move(s)); in TestLocalPointerStdUniquePtr()
|
| D | tzregts.cpp | 132 LocalPointer<SimpleTimeZone> z(new SimpleTimeZone(0, "GMT"), status); in Test4073215() 406 …LocalPointer<SimpleDateFormat> sdf(new SimpleDateFormat((UnicodeString) "MM/dd/yyyy HH:mm", status… in checkCalendar314() 566 …LocalPointer<SimpleTimeZone> tz1(new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status), statu… in Test4154537() 567 …LocalPointer<SimpleTimeZone> tz2(new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status), statu… in Test4154537() 569 …LocalPointer<SimpleTimeZone> tza(new SimpleTimeZone(0, "a", 0, 1, 0, 0, 3, 2, 0, 0, status), statu… in Test4154537() 570 …LocalPointer<SimpleTimeZone> tzA(new SimpleTimeZone(0, "A", 0, 1, 0, 0, 3, 2, 0, 0, status), statu… in Test4154537() 572 …LocalPointer<SimpleTimeZone> tzb(new SimpleTimeZone(0, "b", 0, 1, 0, 0, 3, 1, 0, 0, status), statu… in Test4154537() 630 LocalPointer<SimpleTimeZone> zone(new SimpleTimeZone(0, "Z"), status); in Test4154542() 745 LocalPointer<SimpleTimeZone> z; in Test4154525() 865 LocalPointer<SimpleDateFormat> fmt(new SimpleDateFormat("z", Locale::getUS(), status), status); in Test4162593() [all …]
|
| /external/icu/icu4c/source/common/unicode/ |
| D | localpointer.h | 191 class LocalPointer : public LocalPointerBase<T> { 200 explicit LocalPointer(T *p=NULL) : LocalPointerBase<T>(p) {} 214 LocalPointer(T *p, UErrorCode &errorCode) : LocalPointerBase<T>(p) { in LocalPointer() function 224 LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalPointer() function 238 explicit LocalPointer(std::unique_ptr<T> &&p) in LocalPointer() function 245 ~LocalPointer() { in ~LocalPointer() 255 LocalPointer<T> &operator=(LocalPointer<T> &&src) U_NOEXCEPT { 270 LocalPointer<T> &operator=(std::unique_ptr<T> &&p) U_NOEXCEPT { 280 void swap(LocalPointer<T> &other) U_NOEXCEPT { in swap() 291 friend inline void swap(LocalPointer<T> &p1, LocalPointer<T> &p2) U_NOEXCEPT { in swap()
|
| /external/icu/libicu/cts_headers/unicode/ |
| D | localpointer.h | 191 class LocalPointer : public LocalPointerBase<T> { 200 explicit LocalPointer(T *p=NULL) : LocalPointerBase<T>(p) {} 214 LocalPointer(T *p, UErrorCode &errorCode) : LocalPointerBase<T>(p) { in LocalPointer() function 224 LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { in LocalPointer() function 238 explicit LocalPointer(std::unique_ptr<T> &&p) in LocalPointer() function 245 ~LocalPointer() { in ~LocalPointer() 255 LocalPointer<T> &operator=(LocalPointer<T> &&src) U_NOEXCEPT { 270 LocalPointer<T> &operator=(std::unique_ptr<T> &&p) U_NOEXCEPT { 280 void swap(LocalPointer<T> &other) U_NOEXCEPT { in swap() 291 friend inline void swap(LocalPointer<T> &p1, LocalPointer<T> &p2) U_NOEXCEPT { in swap()
|
| /external/icu/icu4c/source/common/ |
| D | filteredbrk.cpp | 163 LocalPointer<UCharsTrie> fForwardsPartialTrie; // Has ".a" for "a.M." 164 LocalPointer<UCharsTrie> fBackwardsTrie; // i.e. ".srM" for Mrs. 180 LocalPointer<BreakIterator> fDelegate; 588 LocalPointer<BreakIterator> adopt(adoptBreakIterator); in build() 590 LocalPointer<UCharsTrieBuilder> builder(new UCharsTrieBuilder(status), status); in build() 591 LocalPointer<UCharsTrieBuilder> builder2(new UCharsTrieBuilder(status), status); in build() 608 LocalPointer<UCharsTrie> backwardsTrie; // i.e. ".srM" for Mrs. in build() 609 LocalPointer<UCharsTrie> forwardsPartialTrie; // Has ".a" for "a.M." in build() 718 …LocalPointer<FilteredBreakIteratorBuilder> ret(new SimpleFilteredBreakIteratorBuilder(where, statu… in createInstance() 730 …LocalPointer<FilteredBreakIteratorBuilder> ret(new SimpleFilteredBreakIteratorBuilder(status), sta… in createEmptyInstance()
|
| D | ucasemap_titlecase_brkiter.cpp | 43 LocalPointer<BreakIterator> ownedIter; in utf8ToTitle() 67 LocalPointer<BreakIterator> ownedIter; in utf8ToTitle() 115 LocalPointer<BreakIterator> ownedIter; in ucasemap_utf8ToTitle()
|