Home
last modified time | relevance | path

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

12345678910>>...26

/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 …]
Ddtfmrgts.cpp23 #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 …]
Ddtfmttst.cpp181 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 …]
Dintltest.h29 #pragma map(IntlTest::log( const UnicodeString &message ),"logos390")
35 UnicodeString UCharToUnicodeString(UChar c);
36 UnicodeString Int64ToUnicodeString(int64_t num);
38 UnicodeString operator+(const UnicodeString& left, long num);
39 UnicodeString operator+(const UnicodeString& left, unsigned long num);
40 UnicodeString operator+(const UnicodeString& left, double num);
41 UnicodeString operator+(const UnicodeString& left, char num);
42 UnicodeString operator+(const UnicodeString& left, short num);
43 UnicodeString operator+(const UnicodeString& left, int num);
44 UnicodeString operator+(const UnicodeString& left, unsigned char num);
[all …]
Dicusvtst.cpp93 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 …]
Dnumrgts.cpp31 virtual UnicodeString& format( double number, in format()
32 UnicodeString& toAppendTo, in format()
40 virtual UnicodeString& format(const Formattable& obj, in format()
41 UnicodeString& toAppendTo, in format()
49 virtual UnicodeString& format( double /* number */, in format()
50 UnicodeString& toAppendTo, in format()
63 virtual void parse( const UnicodeString& /* text */, in parse() argument
70 virtual void parse( const UnicodeString& text, in parse()
79 virtual UnicodeString& format(int32_t, in format()
80 UnicodeString& foo, in format()
[all …]
Dtranstst.h374 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 …]
/external/icu/icu4c/source/common/unicode/
Dunistr.h94 #define US_INV icu::UnicodeString::kInvariant
114 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)U_DECLARE_UTF16(cs),…
116 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)L ## cs, _length)
118 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const UChar *)cs, _length)
120 # define UNICODE_STRING(cs, _length) icu::UnicodeString(cs, _length, US_INV)
293 class U_COMMON_API UnicodeString : public Replaceable
326 inline UBool operator== (const UnicodeString& text) const;
335 inline UBool operator!= (const UnicodeString& text) const;
344 inline UBool operator> (const UnicodeString& text) const;
353 inline UBool operator< (const UnicodeString& text) const;
[all …]
Dnormalizer2.h193 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/
Dtzfmt.h348 UnicodeString& getGMTPattern(UnicodeString& pattern) const;
358 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status);
368UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& patter…
378 …void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, U…
389 UnicodeString& getGMTOffsetDigits(UnicodeString& digits) const;
403 void setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status);
412 UnicodeString& getGMTZeroFormat(UnicodeString& gmtZeroFormat) const;
421 void setGMTZeroFormat(const UnicodeString& gmtZeroFormat, UErrorCode& status);
457UnicodeString& formatOffsetISO8601Basic(int32_t offset, UBool useUtcIndicator, UBool isShort, UBoo…
458 UnicodeString& result, UErrorCode& status) const;
[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 …]
Ddtitvfmt.h237 const UnicodeString& skeleton,
275 const UnicodeString& skeleton,
295 const UnicodeString& skeleton,
340 const UnicodeString& skeleton,
399 virtual UnicodeString& format(const Formattable& obj,
400 UnicodeString& appendTo,
421 UnicodeString& format(const DateInterval* dtInterval,
422 UnicodeString& appendTo,
450 UnicodeString& format(Calendar& fromCalendar,
452 UnicodeString& appendTo,
[all …]
Ddtptngen.h130 static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
145 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status) { in getSkeleton()
163 static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
181 UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status) { in getBaseSkeleton()
210 UDateTimePatternConflict addPattern(const UnicodeString& pattern,
212 UnicodeString& conflictingPattern,
233 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
243 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
256 void setAppendItemName(UDateTimePatternField field, const UnicodeString& value);
266 const UnicodeString& getAppendItemName(UDateTimePatternField field) 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 …]
Ddecimfmt.h732 DecimalFormat(const UnicodeString& pattern,
753 DecimalFormat( const UnicodeString& pattern,
770 DecimalFormat( const UnicodeString& pattern,
859 DecimalFormat( const UnicodeString& pattern,
880 DecimalFormat( const UnicodeString& pattern,
939 virtual UnicodeString& format(double number,
940 UnicodeString& appendTo,
956 virtual UnicodeString& format(double number,
957 UnicodeString& appendTo,
974 virtual UnicodeString& format(double number,
[all …]
Dtimezone.h175 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 …]
Dsmpdtfmt.h741 SimpleDateFormat(const UnicodeString& pattern,
765 SimpleDateFormat(const UnicodeString& pattern,
766 const UnicodeString& override,
781 SimpleDateFormat(const UnicodeString& pattern,
806 SimpleDateFormat(const UnicodeString& pattern,
807 const UnicodeString& override,
820 SimpleDateFormat(const UnicodeString& pattern,
833 SimpleDateFormat(const UnicodeString& pattern,
891 virtual UnicodeString& format( Calendar& cal,
892 UnicodeString& appendTo,
[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 …]
Dtznames_impl.h50 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;
178UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
180UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
181UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeSt…
[all …]
Dlocdspnm.cpp73 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/
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 …]
Dservloc.h67 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 …]
Dsimplepatternformatter.h54 explicit SimplePatternFormatter(const UnicodeString& pattern, UErrorCode &errorCode) { in SimplePatternFormatter()
65 SimplePatternFormatter(const UnicodeString& pattern, int32_t min, int32_t max, in SimplePatternFormatter()
92 UBool compile(const UnicodeString &pattern, UErrorCode &errorCode) { in compile()
104 UBool compileMinMaxPlaceholders(const UnicodeString &pattern,
125 UnicodeString &format(
126 const UnicodeString &value0,
127 UnicodeString &appendTo, UErrorCode &errorCode) const;
141 UnicodeString &format(
142 const UnicodeString &value0,
143 const UnicodeString &value1,
[all …]

12345678910>>...26