/external/icu4c/i18n/unicode/ |
fmtable.h | 48 * (double, long, etc.) as well as UDate and UnicodeString. 136 * Creates a Formattable object with a UnicodeString object to copy from. 137 * @param strToCopy the UnicodeString string. 140 Formattable(const UnicodeString& strToCopy); 143 * Creates a Formattable object with a UnicodeString object to adopt from. 144 * @param strToAdopt the UnicodeString string. 147 Formattable(UnicodeString* strToAdopt); 242 * Selector indicating a UnicodeString value. Use getString 383 UnicodeString& getString(UnicodeString& result) cons [all...] |
format.h | 139 UnicodeString& format(const Formattable& obj, 140 UnicodeString& appendTo, 159 virtual UnicodeString& format(const Formattable& obj, 160 UnicodeString& appendTo, 179 virtual UnicodeString& format(const Formattable& obj, 180 UnicodeString& appendTo, 223 virtual void parseObject(const UnicodeString& source, 239 void parseObject(const UnicodeString& source, 284 * Simple function for initializing a UParseError from a UnicodeString. 291 static void syntaxError(const UnicodeString& pattern [all...] |
tmutfmt.h | 62 * UnicodeString formatted; 172 * @see Format#format(const Formattable&, UnicodeString&, FieldPosition&, UErrorCode&) const 175 virtual UnicodeString& format(const Formattable& obj, 176 UnicodeString& toAppendTo, 182 * @see Format#parseObject(const UnicodeString&, Formattable&, ParsePosition&) const; 185 virtual void parseObject(const UnicodeString& source, 241 TimeUnit::UTimeUnitFields field, const UnicodeString&,
|
datefmt.h | 61 * UnicodeString myString; 71 * UnicodeString myString; 85 * UnicodeString myString; 231 virtual UnicodeString& format(const Formattable& obj, 232 UnicodeString& appendTo, 251 virtual UnicodeString& format(const Formattable& obj, 252 UnicodeString& appendTo, 288 virtual UnicodeString& format( Calendar& cal, 289 UnicodeString& appendTo, 310 virtual UnicodeString& format(Calendar& cal [all...] |
rbnf.h | 520 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status); 545 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 563 RuleBasedNumberFormat(const UnicodeString& rules, const Locale& locale, 592 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations, 662 virtual UnicodeString getRules() const; 678 virtual UnicodeString getRuleSetName(int32_t index) const; 710 virtual UnicodeString getRuleSetDisplayName(int32_t index, [all...] |
numsys.h | 101 static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const UnicodeString& description, UErrorCode& status ); 140 virtual UnicodeString getDescription(); 170 UnicodeString desc; 179 void setDesc(UnicodeString desc); 183 static UBool isValidDigitString(const UnicodeString &str);
|
plurfmt.h | 217 PluralFormat(const UnicodeString& pattern, UErrorCode& status); 233 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status); 247 const UnicodeString& pattern, 266 const UnicodeString& pattern, 284 const UnicodeString& pattern, 311 void applyPattern(const UnicodeString& pattern, UErrorCode& status); 328 UnicodeString format(int32_t number, UErrorCode& status) const; 342 UnicodeString format(double number, UErrorCode& status) const; 360 UnicodeString& format(int32_t number, 361 UnicodeString& appendTo [all...] |
/external/icu4c/test/intltest/ |
ssearch.cpp | 166 const UnicodeString *debugTestCase = root->getAttribute("debug"); 181 const UnicodeString *id = testCase->getAttribute("id"); 195 const UnicodeString *strength = testCase->getAttribute("strength"); 216 const UnicodeString *norm = testCase->getAttribute("norm"); 226 const UnicodeString *alt = testCase->getAttribute("alternate_handling"); 232 const UnicodeString defLocale("en"); 234 const UnicodeString *locale = testCase->getAttribute("locale"); 241 UnicodeString text; 242 UnicodeString target; 243 UnicodeString pattern [all...] |
apicoll.cpp | 27 // 02/10/98 damiba Added test for compare(UnicodeString&, UnicodeString&, int32_t) 55 errln(UnicodeString("ERROR : ") + message); 148 UnicodeString abau=UNICODE_STRING_SIMPLE("\\x61\\x62\\xe4").unescape(); 149 UnicodeString abss=UNICODE_STRING_SIMPLE("\\x61\\x62\\xdf").unescape(); 180 UnicodeString name; 184 doAssert((name == UnicodeString("Englisch (Vereinigte Staaten)")), "getDisplayName failed"); 188 doAssert((name == UnicodeString("English (United States)")), "getDisplayName failed"); 194 doAssert((name == UnicodeString("English (United States)")), "getDisplayName failed if this is an English machine"); 300 UnicodeString ruleset1("&9 < a, A < b, B < c, C; ch, cH, Ch, CH < d, D, e, E") [all...] |
utxttest.cpp | 25 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status); 94 UnicodeString s; 157 void UTextTest::TestString(const UnicodeString &s) { 166 UnicodeString sa = s.unescape(); 207 // UnicodeString test 216 // Const UnicodeString test 224 // Replaceable test. (UnicodeString inherits Replaceable) 244 // Fragmented UnicodeString (Chunk size of one) 256 // Convert the test string from UnicodeString to (char *) in utf-8 format 286 // us UnicodeString containing the test text [all...] |
winnmtst.cpp | 132 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) 232 UnicodeString u3Buffer, u6Buffer, udBuffer; 233 UnicodeString w3Buffer, w6Buffer, wdBuffer; 246 UnicodeString locale(localeID); 254 UnicodeString locale(localeID); 262 UnicodeString locale(localeID);
|
itrbnf.cpp | 109 UnicodeString result; 113 UnicodeString expected(text1); 116 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'"); 125 UnicodeString expected(text2); 129 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'"); 191 UnicodeString desc; 210 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); 221 UnicodeString rules = formatter->getRules(); 247 UnicodeString ruleSetName; 254 UnicodeString intFormatResult, doubleFormatResult; [all...] |
g7coll.cpp | 98 UnicodeString dispName; 112 UnicodeString msg; 122 // const UnicodeString& defRules = ((RuleBasedCollator*)myCollation)->getRules(); 127 UnicodeString msg, name; 137 UnicodeString msg; 168 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); 169 UnicodeString newRules(" & Z < p, P"); 202 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules(); 203 UnicodeString newRules("& C < ch , cH, Ch, CH"); 236 const UnicodeString baseRules = ((RuleBasedCollator*)col)->getRules() [all...] |
allcoll.cpp | 24 UnicodeString rules(TRUE, DEFAULTRULEARRAY, sizeof(DEFAULTRULEARRAY)/sizeof(DEFAULTRULEARRAY[0])); 25 UnicodeString newRules("& C < ch, cH, Ch, CH & Five, 5 & Four, 4 & one, 1 & Ampersand; '&' & Two, 2 "); 31 UnicodeString ruleset("& C < ch, cH, Ch, CH & Five, 5 & Four, 4 & one, 1 & Ampersand; '&' & Two, 2 "); 157 UnicodeString source("THISISATEST."); 158 UnicodeString target("Thisisatest.");
|
dcfmtest.cpp | 96 // Wrap a StringPiece around the extracted invariant data of a UnicodeString. 102 InvariantStringPiece(const UnicodeString &s); 108 InvariantStringPiece::InvariantStringPiece(const UnicodeString &s) { 121 // a UnicodeString. The extracted data is guaranteed to be nul terminated. 126 UnicodeStringPiece(const UnicodeString &s); 132 UnicodeStringPiece::UnicodeStringPiece(const UnicodeString &s) { 201 // Put the test data into a UnicodeString 203 UnicodeString testString(FALSE, testData, len); 205 RegexMatcher parseLineMat(UnicodeString( 213 RegexMatcher formatLineMat(UnicodeString( [all...] |
dtfmttst.h | 46 static UnicodeString& escape(UnicodeString& s); 58 static void getFieldText(DateFormat* df, int32_t field, UDate date, UnicodeString& str); 86 virtual void testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected); 230 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
|
/external/icu4c/i18n/ |
strrepl.cpp | 37 StringReplacer::StringReplacer(const UnicodeString& theOutput, 56 StringReplacer::StringReplacer(const UnicodeString& theOutput, 130 UnicodeString buf; 150 UnicodeString str((UChar) 0xFFFF); 196 text.handleReplaceBetween(tempStart + outLen, destLimit + outLen, UnicodeString()); 199 text.handleReplaceBetween(start + outLen, limit + outLen, UnicodeString()); 240 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, 243 UnicodeString quoteBuf; 265 UnicodeString buf [all...] |
format.cpp | 108 UnicodeString& 110 UnicodeString& toAppendTo, 124 UnicodeString& 126 UnicodeString& toAppendTo, 141 Format::parseObject(const UnicodeString& source, 165 * Simple function for initializing a UParseError from a UnicodeString. 172 void Format::syntaxError(const UnicodeString& pattern,
|
nortrans.cpp | 58 Transliterator* NormalizationTransliterator::_create(const UnicodeString& ID, 74 NormalizationTransliterator::NormalizationTransliterator(const UnicodeString& id, 118 UnicodeString input, normalized; 135 UnicodeString segment; 136 UnicodeString normalized;
|
/external/icu4c/samples/ustring/ |
ustring.cpp | 76 printUnicodeString(const char *announce, const UnicodeString &s) { 371 UnicodeString s(input), t; 376 * Full case mappings as in demoCaseMapInC(), using UnicodeString functions. 401 // sample code for UnicodeString storage models ----------------------------- *** 413 // These sample code lines illustrate how to use UnicodeString, and the 422 // * UnicodeString with internally stored contents 423 // instantiate a UnicodeString from a single code point 425 UnicodeString one((UChar32)0x24001); 427 UnicodeString two=one; 433 // * UnicodeString with allocated content [all...] |
/external/icu4c/common/ |
util_props.cpp | 26 int32_t ICU_Utility::parseInteger(const UnicodeString& rule, int32_t& pos, int32_t limit) { 86 int32_t ICU_Utility::parsePattern(const UnicodeString& rule, int32_t pos, int32_t limit, 87 const UnicodeString& pattern, int32_t* parsedInts) { 143 UnicodeString ICU_Utility::parseUnicodeIdentifier(const UnicodeString& str, int32_t& pos) { 145 UnicodeString buf; 185 int32_t ICU_Utility::parseNumber(const UnicodeString& text,
|
/external/icu4c/extra/uconv/ |
uconv.cpp | 291 UnicodeString str(name, ""); 305 UnicodeString str(name, ""); 422 getChunkLimit(const UnicodeString &prev, const UnicodeString &s) { 610 UnicodeString chunk; // One chunk of the text being collected for transformation. 612 UnicodeString u; // String to do the transliteration. 625 UnicodeString str1(infilestr, ""); 627 UnicodeString str2(strerror(errno), ""); 655 UnicodeString str(translit), pestr; 699 UnicodeString str(fromcpage, "") [all...] |
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 46 sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); 53 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { 56 UnicodeString str = sdf->format(time, appendTo); 132 UnicodeString str; 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { 242 const UnicodeString* zid = zenum->snext(status); 250 tz = TimeZone::createTimeZone((const UnicodeString&)zids[idx]); 366 UnicodeString id;
|
/external/icu4c/samples/citer/ |
citer.cpp | 20 void printUnicodeString(const UnicodeString &s) 47 UnicodeString testString(testChars,""); 59 UnicodeString result1, result2; 114 UnicodeString testString(testChars,""); 124 UnicodeString result1, result2;
|
/external/icu4c/test/perf/normperf/ |
dtfmtrtperf.h | 70 SimpleTimeZone unknownZone(-31415, (UnicodeString)"Etc/Unknown"); 152 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); 154 //errcheckln(*status, (UnicodeString)"new SimpleDateFormat failed for pattern " + 161 const UnicodeString *tzid; 166 UnicodeString tzstr;
|