/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 44 UnicodeString patternData[] = { in testAPI() 45 UnicodeString("yM"), // 00 in testAPI() 46 UnicodeString("yMMM"), // 01 in testAPI() 47 UnicodeString("yMd"), // 02 in testAPI() 48 UnicodeString("yMMMd"), // 03 in testAPI() 49 UnicodeString("Md"), // 04 in testAPI() 50 UnicodeString("MMMd"), // 05 in testAPI() 51 UnicodeString("MMMMd"), // 06 in testAPI() 52 UnicodeString("yQQQ"), // 07 in testAPI() 53 UnicodeString("hhmm"), // 08 in testAPI() [all …]
|
D | miscdtfm.cpp | 27 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"… 46 errcheckln(status, UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); in failure() 62 UnicodeString dstring [] = { in test4097450() 63 UnicodeString("97"), in test4097450() 64 UnicodeString("1997"), in test4097450() 65 UnicodeString("97"), in test4097450() 66 UnicodeString("1997"), in test4097450() 67 UnicodeString("01"), in test4097450() 68 UnicodeString("2001"), in test4097450() 69 UnicodeString("01"), in test4097450() [all …]
|
D | dtfmrgts.cpp | 23 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"… 75 logln((UnicodeString) "today: " + today); in Test4029195() 81 UnicodeString pat; in Test4029195() 89 UnicodeString fmtd; in Test4029195() 96 UnicodeString todayS; in Test4029195() 102 logln((UnicodeString)"today date: " + today); in Test4029195() 108 UnicodeString rt; in Test4029195() 137 UnicodeString str; in Test4052408() 144 UnicodeString expected[] = { in Test4052408() 145 (UnicodeString) "", //"ERA_FIELD", in Test4052408() [all …]
|
D | dtfmttst.cpp | 181 UnicodeString actualPattern(EXPECTED[i].actualPattern, -1, US_INV); in TestPatterns() 182 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns() 202 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); in TestPatterns() 212 UnicodeString expectedLocalPattern(EXPECTED[i].expectedLocalPattern, -1, US_INV); in TestPatterns() 213 UnicodeString actualLocalPattern1; in TestPatterns() 214 UnicodeString actualLocalPattern2; in TestPatterns() 244 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() 273 const UnicodeString* id = ids->snext(status); in TestWallyWedel() 288 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + in TestWallyWedel() 300 UnicodeString fmtOffset; in TestWallyWedel() [all …]
|
D | intltest.h | 46 #pragma map(IntlTest::log( const UnicodeString &message ),"logos390") 52 UnicodeString UCharToUnicodeString(UChar c); 53 UnicodeString Int64ToUnicodeString(int64_t num); 55 UnicodeString operator+(const UnicodeString& left, long num); 56 UnicodeString operator+(const UnicodeString& left, unsigned long num); 57 UnicodeString operator+(const UnicodeString& left, double num); 58 UnicodeString operator+(const UnicodeString& left, char num); 59 UnicodeString operator+(const UnicodeString& left, short num); 60 UnicodeString operator+(const UnicodeString& left, int num); 61 UnicodeString operator+(const UnicodeString& left, unsigned char num); [all …]
|
D | icusvtst.cpp | 93 virtual UnicodeString& debug(UnicodeString& result) const { in debug() 100 virtual UnicodeString& debugClass(UnicodeString& result) const { in debugClass() 113 ICUServiceKey* createKey(const UnicodeString* id, UErrorCode& status) const { in createKey() 117 …virtual ICUServiceFactory* createSimpleFactory(UObject* obj, const UnicodeString& id, UBool visibl… in createSimpleFactory() 154 UnicodeString append(UnicodeString& result, const UObject* obj) in append() 160 const UnicodeString* s; in append() 163 if ((s = dynamic_cast<const UnicodeString*>(obj)) != NULL) { in append() 178 UnicodeString& 179 ICUServiceTest::lrmsg(UnicodeString& result, const UnicodeString& message, const UObject* lhs, cons… in lrmsg() 190 ICUServiceTest::confirmBoolean(const UnicodeString& message, UBool val) in confirmBoolean() [all …]
|
D | dcfmapts.cpp | 31 if (exec) logln((UnicodeString)"TestSuite DecimalFormatAPI"); in runIndexedTest() 35 logln((UnicodeString)"DecimalFormat API test---"); logln((UnicodeString)""); in runIndexedTest() 40 … errln((UnicodeString)"ERROR: Could not set default locale, test may not give correct results"); in runIndexedTest() 48 logln((UnicodeString)"DecimalFormat Rounding test---"); in runIndexedTest() 54 logln((UnicodeString)"DecimalFormat Rounding Increment test---"); in runIndexedTest() 60 logln((UnicodeString)"CurrencyPluralInfo API test---"); in runIndexedTest() 66 logln((UnicodeString)"Scale test---"); in runIndexedTest() 72 logln((UnicodeString)"TestFixedDecimal ---"); in runIndexedTest() 78 logln((UnicodeString)"TestBadFastpath ---"); in runIndexedTest() 84 logln((UnicodeString)"TestRequiredDecimalPoint ---"); in runIndexedTest() [all …]
|
D | transtst.h | 374 void expectT(const UnicodeString& id, 375 const UnicodeString& source, 376 const UnicodeString& expectedResult); 378 void expect(const UnicodeString& rules, 379 const UnicodeString& source, 380 const UnicodeString& expectedResult, 383 void expect(const UnicodeString& id, 384 const UnicodeString& rules, 385 const UnicodeString& source, 386 const UnicodeString& expectedResult, [all …]
|
D | numrgts.cpp | 30 virtual UnicodeString& format( double number, in format() 31 UnicodeString& toAppendTo, in format() 39 virtual UnicodeString& format(const Formattable& obj, in format() 40 UnicodeString& toAppendTo, in format() 48 virtual UnicodeString& format( double /* number */, in format() 49 UnicodeString& toAppendTo, in format() 62 virtual void parse( const UnicodeString& /* text */, in parse() argument 69 virtual void parse( const UnicodeString& text, in parse() 78 virtual UnicodeString& format(int32_t, in format() 79 UnicodeString& foo, in format() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 95 #define US_INV icu::UnicodeString::kInvariant 115 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)U_DECLARE_UTF16(cs),… 117 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)L ## cs, _length) 119 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)cs, _length) 121 # define UNICODE_STRING(cs, _length) icu::UnicodeString(cs, _length, US_INV) 245 class U_COMMON_API UnicodeString : public Replaceable 278 inline UBool operator== (const UnicodeString& text) const; 287 inline UBool operator!= (const UnicodeString& text) const; 296 inline UBool operator> (const UnicodeString& text) const; 305 inline UBool operator< (const UnicodeString& text) const; [all …]
|
D | normalizer2.h | 193 UnicodeString 194 normalize(const UnicodeString &src, UErrorCode &errorCode) const { in normalize() 195 UnicodeString result; in normalize() 212 virtual UnicodeString & 213 normalize(const UnicodeString &src, 214 UnicodeString &dest, 230 virtual UnicodeString & 231 normalizeSecondAndAppend(UnicodeString &first, 232 const UnicodeString &second, 248 virtual UnicodeString & [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tzfmt.h | 351 UnicodeString& getGMTPattern(UnicodeString& pattern) const; 361 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status); 371 …UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& patter… 381 …void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, U… 392 UnicodeString& getGMTOffsetDigits(UnicodeString& digits) const; 406 void setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status); 415 UnicodeString& getGMTZeroFormat(UnicodeString& gmtZeroFormat) const; 424 void setGMTZeroFormat(const UnicodeString& gmtZeroFormat, UErrorCode& status); 460 …UnicodeString& formatOffsetISO8601Basic(int32_t offset, UBool useUtcIndicator, UBool isShort, UBoo… 461 UnicodeString& result, UErrorCode& status) const; [all …]
|
D | dtfmtsym.h | 190 const UnicodeString* getEras(int32_t& count) const; 198 void setEras(const UnicodeString* eras, int32_t count); 207 const UnicodeString* getEraNames(int32_t& count) const; 215 void setEraNames(const UnicodeString* eraNames, int32_t count); 224 const UnicodeString* getNarrowEras(int32_t& count) const; 232 void setNarrowEras(const UnicodeString* narrowEras, int32_t count); 240 const UnicodeString* getMonths(int32_t& count) const; 249 void setMonths(const UnicodeString* months, int32_t count); 258 const UnicodeString* getShortMonths(int32_t& count) const; 266 void setShortMonths(const UnicodeString* shortMonths, int32_t count); [all …]
|
D | decimfmt.h | 727 DecimalFormat(const UnicodeString& pattern, 748 DecimalFormat( const UnicodeString& pattern, 765 DecimalFormat( const UnicodeString& pattern, 854 DecimalFormat( const UnicodeString& pattern, 875 DecimalFormat( const UnicodeString& pattern, 934 virtual UnicodeString& format(double number, 935 UnicodeString& appendTo, 951 virtual UnicodeString& format(double number, 952 UnicodeString& appendTo, 969 virtual UnicodeString& format(double number, [all …]
|
D | translit.h | 248 UnicodeString ID; 311 typedef Transliterator* (U_EXPORT2 *Factory)(const UnicodeString& ID, Token context); 324 Transliterator(const UnicodeString& ID, UnicodeFilter* adoptedFilter); 349 static Transliterator* createBasicInstance(const UnicodeString& id, 350 const UnicodeString* canon); 470 const UnicodeString& insertion, 541 const UnicodeString* insertion, 718 virtual const UnicodeString& getID(void) const; 729 static UnicodeString& U_EXPORT2 getDisplayName(const UnicodeString& ID, 730 UnicodeString& result); [all …]
|
D | dtptngen.h | 129 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status); 144 UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status); 171 UDateTimePatternConflict addPattern(const UnicodeString& pattern, 173 UnicodeString& conflictingPattern, 194 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value); 204 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const; 217 void setAppendItemName(UDateTimePatternField field, const UnicodeString& value); 227 const UnicodeString& getAppendItemName(UDateTimePatternField field) const; 250 void setDateTimeFormat(const UnicodeString& dateTimeFormat); 257 const UnicodeString& getDateTimeFormat() const; [all …]
|
D | timezone.h | 175 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID); 252 static int32_t U_EXPORT2 countEquivalentIDs(const UnicodeString& id); 273 static const UnicodeString U_EXPORT2 getEquivalentID(const UnicodeString& id, 357 static UnicodeString& U_EXPORT2 getCanonicalID(const UnicodeString& id, 358 UnicodeString& canonicalID, UErrorCode& status); 375 static UnicodeString& U_EXPORT2 getCanonicalID(const UnicodeString& id, 376 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status); 400 static UnicodeString& U_EXPORT2 getWindowsID(const UnicodeString& id, 401 UnicodeString& winid, UErrorCode& status); 429 … static UnicodeString& U_EXPORT2 getIDForWindowsID(const UnicodeString& winid, const char* region, [all …]
|
D | dtitvfmt.h | 235 const UnicodeString& skeleton, 273 const UnicodeString& skeleton, 293 const UnicodeString& skeleton, 338 const UnicodeString& skeleton, 394 virtual UnicodeString& format(const Formattable& obj, 395 UnicodeString& appendTo, 413 UnicodeString& format(const DateInterval* dtInterval, 414 UnicodeString& appendTo, 439 UnicodeString& format(Calendar& fromCalendar, 441 UnicodeString& appendTo, [all …]
|
D | rbnf.h | 539 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status); 564 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 582 RuleBasedNumberFormat(const UnicodeString& rules, const Locale& locale, 611 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 681 virtual UnicodeString getRules() const; 697 virtual UnicodeString getRuleSetName(int32_t index) const; 729 virtual UnicodeString getRuleSetDisplayName(int32_t index, 740 virtual UnicodeString getRuleSetDisplayName(const UnicodeString& ruleSetName, 754 virtual UnicodeString& format(int32_t number, 755 UnicodeString& toAppendTo, [all …]
|
/external/icu/icu4c/source/i18n/ |
D | transreg.h | 26 class UnicodeString; variable 47 TransliteratorAlias(const UnicodeString& aliasID, const UnicodeSet* compoundFilter); 52 TransliteratorAlias(const UnicodeString& ID, const UnicodeString& idBlocks, 59 TransliteratorAlias(const UnicodeString& theID, 60 const UnicodeString& rules, 110 UnicodeString ID; 111 UnicodeString aliasesOrRules; 175 Transliterator* get(const UnicodeString& ID, 194 Transliterator* reget(const UnicodeString& ID, 213 void put(const UnicodeString& ID, [all …]
|
D | tridpars.h | 68 UnicodeString source; // not null 69 UnicodeString target; // not null 70 UnicodeString variant; // may be null 71 UnicodeString filter; // may be null 73 Specs(const UnicodeString& s, const UnicodeString& t, 74 const UnicodeString& v, UBool sawS, 75 const UnicodeString& f); 100 UnicodeString canonID; 101 UnicodeString basicID; 102 UnicodeString filter; [all …]
|
D | tznames_impl.h | 50 const UChar *get(const UnicodeString &s, UErrorCode &status); 133 void put(const UnicodeString &key, void *value, ZNStringPool &sp, UErrorCode &status); 135 void search(const UnicodeString &text, int32_t start, 153 void putImpl(const UnicodeString &key, void *value, UErrorCode &status); 155 void search(CharacterNode *node, const UnicodeString &text, int32_t start, 175 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const; 177 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 178 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz… 180 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt… 181 …UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeSt… [all …]
|
D | locdspnm.cpp | 73 UnicodeString& get(const char* tableKey, const char* itemKey, 74 UnicodeString& result) const; 75 UnicodeString& get(const char* tableKey, const char* subTableKey, const char* itemKey, 76 UnicodeString& result) const; 78 UnicodeString& getNoFallback(const char* tableKey, const char* itemKey, 79 UnicodeString &result) const; 80 UnicodeString& getNoFallback(const char* tableKey, const char* subTableKey, const char* itemKey, 81 UnicodeString &result) const; 84 inline UnicodeString & 85 ICUDataTable::get(const char* tableKey, const char* itemKey, UnicodeString& result) const { in get() [all …]
|
/external/icu/icu4c/source/common/ |
D | serv.h | 72 const UnicodeString _id; 84 ICUServiceKey(const UnicodeString& id); 96 virtual const UnicodeString& getID() const; 105 virtual UnicodeString& canonicalID(UnicodeString& result) const; 114 virtual UnicodeString& currentID(UnicodeString& result) const; 130 virtual UnicodeString& currentDescriptor(UnicodeString& result) const; 150 virtual UBool isFallbackOf(const UnicodeString& id) const; 159 virtual UnicodeString& prefix(UnicodeString& result) const; 170 static UnicodeString& parsePrefix(UnicodeString& result); 181 static UnicodeString& parseSuffix(UnicodeString& result); [all …]
|
D | servloc.h | 67 UnicodeString _primaryID; 68 UnicodeString _fallbackID; 69 UnicodeString _currentID; 79 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID, 80 const UnicodeString* canonicalFallbackID, 86 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID, 87 const UnicodeString* canonicalFallbackID, 98 LocaleKey(const UnicodeString& primaryID, 99 const UnicodeString& canonicalPrimaryID, 100 const UnicodeString* canonicalFallbackID, [all …]
|