Home
last modified time | relevance | path

Searched refs:UnicodeString (Results 1 – 25 of 1169) sorted by relevance

12345678910>>...47

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp44 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 …]
Dmiscdtfm.cpp27 #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 …]
Ddtfmttst.cpp171 UnicodeString actualPattern(EXPECTED[i].actualPattern, -1, US_INV); in TestPatterns()
172 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns()
192 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); in TestPatterns()
202 UnicodeString expectedLocalPattern(EXPECTED[i].expectedLocalPattern, -1, US_INV); in TestPatterns()
203 UnicodeString actualLocalPattern1; in TestPatterns()
204 UnicodeString actualLocalPattern2; in TestPatterns()
234 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel()
263 const UnicodeString* id = ids->snext(status); in TestWallyWedel()
278 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + in TestWallyWedel()
290 UnicodeString fmtOffset; in TestWallyWedel()
[all …]
Dintltest.h46 #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 …]
/external/chromium_org/third_party/icu/source/test/intltest/
Ddtptngts.cpp44 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 …]
Dmiscdtfm.cpp27 #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 …]
Dintltest.h46 #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 …]
/external/chromium_org/third_party/icu/source/common/unicode/
Dunistr.h95 #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 …]
/external/icu/icu4c/source/common/unicode/
Dunistr.h95 #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 …]
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h339 UnicodeString& getGMTPattern(UnicodeString& pattern) const;
349 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status);
359UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& patter…
369 …void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, U…
380 UnicodeString& getGMTOffsetDigits(UnicodeString& digits) const;
394 void setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status);
403 UnicodeString& getGMTZeroFormat(UnicodeString& gmtZeroFormat) const;
412 void setGMTZeroFormat(const UnicodeString& gmtZeroFormat, UErrorCode& status);
448UnicodeString& formatOffsetISO8601Basic(int32_t offset, UBool useUtcIndicator, UBool isShort, UBoo…
449 UnicodeString& result, UErrorCode& status) const;
[all …]
Ddecimfmt.h727 DecimalFormat(const UnicodeString& pattern,
748 DecimalFormat( const UnicodeString& pattern,
765 DecimalFormat( const UnicodeString& pattern,
855 DecimalFormat( const UnicodeString& pattern,
876 DecimalFormat( const UnicodeString& pattern,
935 virtual UnicodeString& format(double number,
936 UnicodeString& appendTo,
952 virtual UnicodeString& format(double number,
953 UnicodeString& appendTo,
970 virtual UnicodeString& format(double number,
[all …]
Ddtfmtsym.h190 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 …]
Ddtptngen.h117 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status);
132 UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
159 UDateTimePatternConflict addPattern(const UnicodeString& pattern,
161 UnicodeString& conflictingPattern,
182 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
192 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
205 void setAppendItemName(UDateTimePatternField field, const UnicodeString& value);
215 const UnicodeString& getAppendItemName(UDateTimePatternField field) const;
236 void setDateTimeFormat(const UnicodeString& dateTimeFormat);
243 const UnicodeString& getDateTimeFormat() const;
[all …]
Dtranslit.h248 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 …]
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dtzfmt.h342 UnicodeString& getGMTPattern(UnicodeString& pattern) const;
352 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status);
362UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& patter…
372 …void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, U…
383 UnicodeString& getGMTOffsetDigits(UnicodeString& digits) const;
397 void setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status);
406 UnicodeString& getGMTZeroFormat(UnicodeString& gmtZeroFormat) const;
415 void setGMTZeroFormat(const UnicodeString& gmtZeroFormat, UErrorCode& status);
452UnicodeString& formatOffsetISO8601Basic(int32_t offset, UBool useUtcIndicator, UBool isShort, UBoo…
453 UnicodeString& result, UErrorCode& status) const;
[all …]
Ddecimfmt.h727 DecimalFormat(const UnicodeString& pattern,
748 DecimalFormat( const UnicodeString& pattern,
765 DecimalFormat( const UnicodeString& pattern,
827 DecimalFormat( const UnicodeString& pattern,
848 DecimalFormat( const UnicodeString& pattern,
907 virtual UnicodeString& format(double number,
908 UnicodeString& appendTo,
924 virtual UnicodeString& format(double number,
925 UnicodeString& appendTo,
942 virtual UnicodeString& format(double number,
[all …]
Ddtfmtsym.h190 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 …]
Ddtptngen.h117 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status);
132 UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
159 UDateTimePatternConflict addPattern(const UnicodeString& pattern,
161 UnicodeString& conflictingPattern,
182 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
192 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
205 void setAppendItemName(UDateTimePatternField field, const UnicodeString& value);
215 const UnicodeString& getAppendItemName(UDateTimePatternField field) const;
236 void setDateTimeFormat(const UnicodeString& dateTimeFormat);
243 const UnicodeString& getDateTimeFormat() const;
[all …]
Dtranslit.h248 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 …]
/external/icu/icu4c/source/i18n/
Dtransreg.h26 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 …]
Dtridpars.h68 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 …]
/external/chromium_org/third_party/icu/source/i18n/
Dtransreg.h26 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 …]
Dtridpars.h68 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 …]
/external/chromium_org/third_party/icu/source/common/
Dserv.h72 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 …]
/external/icu/icu4c/source/common/
Dserv.h72 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 …]

12345678910>>...47