Home
last modified time | relevance | path

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

12345678910>>...29

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp52 UnicodeString patternData[] = { in testAPI()
53 UnicodeString("yM"), // 00 in testAPI()
54 UnicodeString("yMMM"), // 01 in testAPI()
55 UnicodeString("yMd"), // 02 in testAPI()
56 UnicodeString("yMMMd"), // 03 in testAPI()
57 UnicodeString("Md"), // 04 in testAPI()
58 UnicodeString("MMMd"), // 05 in testAPI()
59 UnicodeString("MMMMd"), // 06 in testAPI()
60 UnicodeString("yQQQ"), // 07 in testAPI()
61 UnicodeString("hhmm"), // 08 in testAPI()
[all …]
Dmiscdtfm.cpp29 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"…
48 errcheckln(status, UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); in failure()
64 UnicodeString dstring [] = { in test4097450()
65 UnicodeString("97"), in test4097450()
66 UnicodeString("1997"), in test4097450()
67 UnicodeString("97"), in test4097450()
68 UnicodeString("1997"), in test4097450()
69 UnicodeString("01"), in test4097450()
70 UnicodeString("2001"), in test4097450()
71 UnicodeString("01"), in test4097450()
[all …]
Ddtfmttst.cpp191 UnicodeString actualPattern(EXPECTED[i].actualPattern, -1, US_INV); in TestPatterns()
192 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns()
212 UnicodeString pattern = generator->getBestPattern(actualPattern, errorCode); in TestPatterns()
222 UnicodeString expectedLocalPattern(EXPECTED[i].expectedLocalPattern, -1, US_INV); in TestPatterns()
223 UnicodeString actualLocalPattern1; in TestPatterns()
224 UnicodeString actualLocalPattern2; in TestPatterns()
254 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel()
283 const UnicodeString* id = ids->snext(status); in TestWallyWedel()
298 UnicodeString dstOffset = (UnicodeString)"" + sign + (hours < 10 ? "0" : "") + in TestWallyWedel()
310 UnicodeString fmtOffset; in TestWallyWedel()
[all …]
Ddtfmrgts.cpp26 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"…
79 logln((UnicodeString) "today: " + today); in Test4029195()
85 UnicodeString pat; in Test4029195()
93 UnicodeString fmtd; in Test4029195()
100 UnicodeString todayS; in Test4029195()
106 logln((UnicodeString)"today date: " + today); in Test4029195()
112 UnicodeString rt; in Test4029195()
141 UnicodeString str; in Test4052408()
148 UnicodeString expected[] = { in Test4052408()
149 (UnicodeString) "", //"ERA_FIELD", in Test4052408()
[all …]
Dicusvtst.cpp96 virtual UnicodeString& debug(UnicodeString& result) const { in debug()
103 virtual UnicodeString& debugClass(UnicodeString& result) const { in debugClass()
116 ICUServiceKey* createKey(const UnicodeString* id, UErrorCode& status) const { in createKey()
120 …virtual ICUServiceFactory* createSimpleFactory(UObject* obj, const UnicodeString& id, UBool visibl… in createSimpleFactory()
157 UnicodeString append(UnicodeString& result, const UObject* obj) in append()
163 const UnicodeString* s; in append()
166 if ((s = dynamic_cast<const UnicodeString*>(obj)) != NULL) { in append()
181 UnicodeString&
182 ICUServiceTest::lrmsg(UnicodeString& result, const UnicodeString& message, const UObject* lhs, cons… in lrmsg()
193 ICUServiceTest::confirmBoolean(const UnicodeString& message, UBool val) in confirmBoolean()
[all …]
Dintltest.h26 #pragma map(IntlTest::log( const UnicodeString &message ),"logos390")
32 UnicodeString UCharToUnicodeString(UChar c);
33 UnicodeString Int64ToUnicodeString(int64_t num);
34 UnicodeString DoubleToUnicodeString(double num);
36 UnicodeString operator+(const UnicodeString& left, long num);
37 UnicodeString operator+(const UnicodeString& left, unsigned long num);
38 UnicodeString operator+(const UnicodeString& left, double num);
39 UnicodeString operator+(const UnicodeString& left, char num);
40 UnicodeString operator+(const UnicodeString& left, short num);
41 UnicodeString operator+(const UnicodeString& left, int num);
[all …]
Dnumrgts.cpp36 virtual UnicodeString& format( double number, in format()
37 UnicodeString& toAppendTo, in format()
45 virtual UnicodeString& format(const Formattable& obj, in format()
46 UnicodeString& toAppendTo, in format()
54 virtual UnicodeString& format( double /* number */, in format()
55 UnicodeString& toAppendTo, in format()
68 virtual void parse( const UnicodeString& /* text */, in parse() argument
75 virtual void parse( const UnicodeString& text, in parse()
84 virtual UnicodeString& format(int32_t, in format()
85 UnicodeString& foo, in format()
[all …]
/external/cldr/tools/c/genldml/
Dgenldml.h59 UnicodeString mSettings;
77 UnicodeString indentOffset;
88UnicodeString formatString(UnicodeString& str, const Formattable* args, int32_t num,UnicodeString&…
91 UnicodeString formatString(UnicodeString& str,UnicodeString& argument, UnicodeString& result);
97 void printString( UnicodeString* uString, FILE* file);
98 void printString( UnicodeString* uString);
101 void chopIndent(UnicodeString& indent);
102 void addIndent(UnicodeString& indent);
119 void writeVersion(UnicodeString& xmlString);
131 void writeLocaleScript(UnicodeString& xmlString);
[all …]
/external/icu/icu4c/source/common/unicode/
Dunistr.h93 #define US_INV icu::UnicodeString::kInvariant
113 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, u ## cs, _length)
115 # define UNICODE_STRING(cs, _length) icu::UnicodeString(TRUE, (const char16_t*)u ## cs, _length)
289 class U_COMMON_API UnicodeString : public Replaceable
322 inline UBool operator== (const UnicodeString& text) const;
331 inline UBool operator!= (const UnicodeString& text) const;
340 inline UBool operator> (const UnicodeString& text) const;
349 inline UBool operator< (const UnicodeString& text) const;
358 inline UBool operator>= (const UnicodeString& text) const;
367 inline UBool operator<= (const UnicodeString& text) const;
[all …]
Dnormalizer2.h198 UnicodeString
199 normalize(const UnicodeString &src, UErrorCode &errorCode) const { in normalize()
200 UnicodeString result; in normalize()
217 virtual UnicodeString &
218 normalize(const UnicodeString &src,
219 UnicodeString &dest,
264 virtual UnicodeString &
265 normalizeSecondAndAppend(UnicodeString &first,
266 const UnicodeString &second,
282 virtual UnicodeString &
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddtfmtsym.h193 const UnicodeString* getEras(int32_t& count) const;
201 void setEras(const UnicodeString* eras, int32_t count);
210 const UnicodeString* getEraNames(int32_t& count) const;
218 void setEraNames(const UnicodeString* eraNames, int32_t count);
227 const UnicodeString* getNarrowEras(int32_t& count) const;
235 void setNarrowEras(const UnicodeString* narrowEras, int32_t count);
243 const UnicodeString* getMonths(int32_t& count) const;
252 void setMonths(const UnicodeString* months, int32_t count);
261 const UnicodeString* getShortMonths(int32_t& count) const;
269 void setShortMonths(const UnicodeString* shortMonths, int32_t count);
[all …]
Dtzfmt.h350 UnicodeString& getGMTPattern(UnicodeString& pattern) const;
360 void setGMTPattern(const UnicodeString& pattern, UErrorCode& status);
370UnicodeString& getGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, UnicodeString& patter…
380 …void setGMTOffsetPattern(UTimeZoneFormatGMTOffsetPatternType type, const UnicodeString& pattern, U…
391 UnicodeString& getGMTOffsetDigits(UnicodeString& digits) const;
405 void setGMTOffsetDigits(const UnicodeString& digits, UErrorCode& status);
414 UnicodeString& getGMTZeroFormat(UnicodeString& gmtZeroFormat) const;
423 void setGMTZeroFormat(const UnicodeString& gmtZeroFormat, UErrorCode& status);
459UnicodeString& formatOffsetISO8601Basic(int32_t offset, UBool useUtcIndicator, UBool isShort, UBoo…
460 UnicodeString& result, UErrorCode& status) const;
[all …]
Ddtitvfmt.h239 const UnicodeString& skeleton,
277 const UnicodeString& skeleton,
297 const UnicodeString& skeleton,
342 const UnicodeString& skeleton,
401 virtual UnicodeString& format(const Formattable& obj,
402 UnicodeString& appendTo,
423 UnicodeString& format(const DateInterval* dtInterval,
424 UnicodeString& appendTo,
452 UnicodeString& format(Calendar& fromCalendar,
454 UnicodeString& appendTo,
[all …]
Ddtptngen.h133 static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
147 UnicodeString getSkeleton(const UnicodeString& pattern, UErrorCode& status); /* {
167 static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
184 UnicodeString getBaseSkeleton(const UnicodeString& pattern, UErrorCode& status); /* {
216 UDateTimePatternConflict addPattern(const UnicodeString& pattern,
218 UnicodeString& conflictingPattern,
239 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value);
249 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const;
262 void setAppendItemName(UDateTimePatternField field, const UnicodeString& value);
274 const UnicodeString& getAppendItemName(UDateTimePatternField field) const;
[all …]
Dtranslit.h495 UnicodeString ID;
558 typedef Transliterator* (U_EXPORT2 *Factory)(const UnicodeString& ID, Token context);
571 Transliterator(const UnicodeString& ID, UnicodeFilter* adoptedFilter);
596 static Transliterator* createBasicInstance(const UnicodeString& id,
597 const UnicodeString* canon);
717 const UnicodeString& insertion,
788 const UnicodeString* insertion,
965 virtual const UnicodeString& getID(void) const;
976 static UnicodeString& U_EXPORT2 getDisplayName(const UnicodeString& ID,
977 UnicodeString& result);
[all …]
Dtimezone.h177 static TimeZone* U_EXPORT2 createTimeZone(const UnicodeString& ID);
254 static int32_t U_EXPORT2 countEquivalentIDs(const UnicodeString& id);
275 static const UnicodeString U_EXPORT2 getEquivalentID(const UnicodeString& id,
359 static UnicodeString& U_EXPORT2 getCanonicalID(const UnicodeString& id,
360 UnicodeString& canonicalID, UErrorCode& status);
377 static UnicodeString& U_EXPORT2 getCanonicalID(const UnicodeString& id,
378 UnicodeString& canonicalID, UBool& isSystemID, UErrorCode& status);
402 static UnicodeString& U_EXPORT2 getWindowsID(const UnicodeString& id,
403 UnicodeString& winid, UErrorCode& status);
431 … static UnicodeString& U_EXPORT2 getIDForWindowsID(const UnicodeString& winid, const char* region,
[all …]
Drbnf.h577 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status);
602 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
620 RuleBasedNumberFormat(const UnicodeString& rules, const Locale& locale,
649 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
719 virtual UnicodeString getRules() const;
735 virtual UnicodeString getRuleSetName(int32_t index) const;
767 virtual UnicodeString getRuleSetDisplayName(int32_t index,
778 virtual UnicodeString getRuleSetDisplayName(const UnicodeString& ruleSetName,
792 virtual UnicodeString& format(int32_t number,
793 UnicodeString& toAppendTo,
[all …]
Dsmpdtfmt.h747 SimpleDateFormat(const UnicodeString& pattern,
771 SimpleDateFormat(const UnicodeString& pattern,
772 const UnicodeString& override,
787 SimpleDateFormat(const UnicodeString& pattern,
812 SimpleDateFormat(const UnicodeString& pattern,
813 const UnicodeString& override,
826 SimpleDateFormat(const UnicodeString& pattern,
839 SimpleDateFormat(const UnicodeString& pattern,
897 virtual UnicodeString& format( Calendar& cal,
898 UnicodeString& appendTo,
[all …]
Ddecimfmt.h722 DecimalFormat(const UnicodeString& pattern, UErrorCode& status);
745 …DecimalFormat(const UnicodeString& pattern, DecimalFormatSymbols* symbolsToAdopt, UErrorCode& stat…
761 DecimalFormat(const UnicodeString& pattern, DecimalFormatSymbols* symbolsToAdopt,
857 DecimalFormat(const UnicodeString& pattern, DecimalFormatSymbols* symbolsToAdopt,
880 …DecimalFormat(const UnicodeString& pattern, const DecimalFormatSymbols& symbols, UErrorCode& statu…
937UnicodeString& format(double number, UnicodeString& appendTo, FieldPosition& pos) const U_OVERRIDE;
952 UnicodeString& format(double number, UnicodeString& appendTo, FieldPosition& pos,
969 UnicodeString& format(double number, UnicodeString& appendTo, FieldPositionIterator* posIter,
983UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPosition& pos) const U_OVERRID…
998 UnicodeString& format(int32_t number, UnicodeString& appendTo, FieldPosition& pos,
[all …]
/external/icu/icu4c/source/i18n/
Dtransreg.h28 class UnicodeString; variable
49 TransliteratorAlias(const UnicodeString& aliasID, const UnicodeSet* compoundFilter);
54 TransliteratorAlias(const UnicodeString& ID, const UnicodeString& idBlocks,
61 TransliteratorAlias(const UnicodeString& theID,
62 const UnicodeString& rules,
112 UnicodeString ID;
113 UnicodeString aliasesOrRules;
177 Transliterator* get(const UnicodeString& ID,
196 Transliterator* reget(const UnicodeString& ID,
215 void put(const UnicodeString& ID,
[all …]
Dtridpars.h70 UnicodeString source; // not null
71 UnicodeString target; // not null
72 UnicodeString variant; // may be null
73 UnicodeString filter; // may be null
75 Specs(const UnicodeString& s, const UnicodeString& t,
76 const UnicodeString& v, UBool sawS,
77 const UnicodeString& f);
102 UnicodeString canonID;
103 UnicodeString basicID;
104 UnicodeString filter;
[all …]
Dtznames_impl.h55 const UChar *get(const UnicodeString &s, UErrorCode &status);
138 void put(const UnicodeString &key, void *value, ZNStringPool &sp, UErrorCode &status);
140 void search(const UnicodeString &text, int32_t start,
158 void putImpl(const UnicodeString &key, void *value, UErrorCode &status);
160 void search(CharacterNode *node, const UnicodeString &text, int32_t start,
180 StringEnumeration* getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const;
182 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
183UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
185UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
186UnicodeString& getTimeZoneDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UnicodeSt…
[all …]
/external/icu/icu4c/source/common/
Dserv.h74 const UnicodeString _id;
86 ICUServiceKey(const UnicodeString& id);
98 virtual const UnicodeString& getID() const;
107 virtual UnicodeString& canonicalID(UnicodeString& result) const;
116 virtual UnicodeString& currentID(UnicodeString& result) const;
132 virtual UnicodeString& currentDescriptor(UnicodeString& result) const;
152 virtual UBool isFallbackOf(const UnicodeString& id) const;
161 virtual UnicodeString& prefix(UnicodeString& result) const;
172 static UnicodeString& parsePrefix(UnicodeString& result);
183 static UnicodeString& parseSuffix(UnicodeString& result);
[all …]
Dlocdspnm.cpp76 UnicodeString& get(const char* tableKey, const char* itemKey,
77 UnicodeString& result) const;
78 UnicodeString& get(const char* tableKey, const char* subTableKey, const char* itemKey,
79 UnicodeString& result) const;
81 UnicodeString& getNoFallback(const char* tableKey, const char* itemKey,
82 UnicodeString &result) const;
83 UnicodeString& getNoFallback(const char* tableKey, const char* subTableKey, const char* itemKey,
84 UnicodeString &result) const;
87 inline UnicodeString &
88 ICUDataTable::get(const char* tableKey, const char* itemKey, UnicodeString& result) const { in get()
[all …]
Dservloc.h69 UnicodeString _primaryID;
70 UnicodeString _fallbackID;
71 UnicodeString _currentID;
81 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
82 const UnicodeString* canonicalFallbackID,
88 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
89 const UnicodeString* canonicalFallbackID,
100 LocaleKey(const UnicodeString& primaryID,
101 const UnicodeString& canonicalPrimaryID,
102 const UnicodeString* canonicalFallbackID,
[all …]

12345678910>>...29