| /external/icu4c/i18n/ |
| cpdtrans.cpp | 67 CompoundTransliterator::CompoundTransliterator(const UnicodeString& id, 79 CompoundTransliterator::CompoundTransliterator(const UnicodeString& id, 93 CompoundTransliterator::CompoundTransliterator(const UnicodeString& newID, 148 void CompoundTransliterator::init(const UnicodeString& id, 160 UnicodeString regenID; 223 UnicodeString newID; 241 UnicodeString CompoundTransliterator::joinIDs(Transliterator* const transliterators[], 243 UnicodeString id; 387 static void _smartAppend(UnicodeString& buf, UChar c) { 394 UnicodeString& CompoundTransliterator::toRules(UnicodeString& rulesSource [all...] |
| dtfmtsym.cpp | 203 static inline UnicodeString* newUnicodeStringArray(size_t count) { 204 return new UnicodeString[count ? count : 1]; 244 DateFormatSymbols::assignArray(UnicodeString*& dstArray, 246 const UnicodeString* srcArray, 252 // three ways that all allow to safely use UnicodeString::fastCopyFrom(): 277 DateFormatSymbols::createZoneStrings(const UnicodeString *const * otherStrings) 282 fZoneStrings = (UnicodeString **)uprv_malloc(fZoneStringsRowCount * sizeof(UnicodeString *)); 338 createZoneStrings((const UnicodeString**)other.fZoneStrings); 431 DateFormatSymbols::arrayCompare(const UnicodeString* array1 [all...] |
| fmtable.cpp.noOrig | 164 // Creates a formattable object with a UnicodeString instance. 166 Formattable::Formattable(const UnicodeString& stringToCopy) 170 fValue.fString = new UnicodeString(stringToCopy); 174 // Creates a formattable object with a UnicodeString* value. 177 Formattable::Formattable(UnicodeString* stringToAdopt) 236 fValue.fString = new UnicodeString(*source.fValue.fString); 553 Formattable::setString(const UnicodeString& stringToCopy) 557 fValue.fString = new UnicodeString(stringToCopy); 576 Formattable::adoptString(UnicodeString* stringToAdopt) 603 UnicodeString& [all...] |
| vzone.cpp | 28 UnicodeString s(idLength==-1, ID, idLength); 34 UnicodeString s(vtzdataLength==-1, vtzdata, vtzdataLength); 55 UnicodeString s; 66 UnicodeString s(urlLength==-1, url, urlLength); 82 UnicodeString s; 94 UnicodeString s; 106 UnicodeString s;
|
| winnmfmt.cpp | 201 UnicodeString& Win32NumberFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) const 206 UnicodeString& Win32NumberFormat::format(int32_t number, UnicodeString& appendTo, FieldPosition& pos) const 211 UnicodeString& Win32NumberFormat::format(int64_t number, UnicodeString& appendTo, FieldPosition& pos) const 217 void Win32NumberFormat::parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const 238 UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, wchar_t *fmt, ...) const
|
| bms.cpp | 65 const UnicodeString *targetString; 82 UnicodeString patternString(pattern, patternLength); 85 bms->targetString = new UnicodeString(target, targetLength); 145 bms->targetString = new UnicodeString(target, targetLength);
|
| colldata.cpp | 49 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 207 strings = new UnicodeString [listMax]; 225 void StringList::add(const UnicodeString *string, UErrorCode &status) 238 UnicodeString *newStrings = new UnicodeString[newMax]; 240 uprv_memcpy(newStrings, strings, listSize * sizeof(UnicodeString)); 265 const UnicodeString string(chars, count); 270 const UnicodeString *StringList::get(int32_t index) const 294 void put(uint32_t ce, UnicodeString *string, UErrorCode &status); 326 void CEToStringsMap::put(uint32_t ce, UnicodeString *string, UErrorCode &status [all...] |
| uni2name.cpp | 91 UnicodeString str(FALSE, OPEN_DELIM, OPEN_DELIM_LEN); 101 str.append(UnicodeString(buf, len, US_INV)).append(CLOSE_DELIM);
|
| /external/icu4c/test/intltest/ |
| srchtest.cpp | 28 logln((UnicodeString)""); \ 66 UnicodeString rules; 216 char * StringSearchTest::toCharString(const UnicodeString &text) 260 UnicodeString matchtext; 372 UnicodeString text; 375 UnicodeString pattern; 431 UnicodeString text; 434 UnicodeString pattern; 484 UnicodeString text; 487 UnicodeString pattern [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);
|
| textfile.cpp | 76 UBool TextFile::readLine(UnicodeString& line, UErrorCode& ec) { 101 UnicodeString str(buffer, encoding); 111 UBool TextFile::readLineSkippingComments(UnicodeString& line, UErrorCode& ec,
|
| tsputil.cpp | 12 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 87 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 88 errln(UnicodeString(" IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 91 errln(UnicodeString("FAIL: IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 93 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 195 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 197 errln(UnicodeString(" max(") + a + ", " + b + ") is " + result + ", expected " + exp); 199 errln(UnicodeString(" min(") + a + ", " + b + ") is " + result + ", expected " + exp); 203 errln(UnicodeString("FAIL: max(") + a + ", " + b + ") is " + result + ", expected " + exp); 205 errln(UnicodeString("FAIL: min(") + a + ", " + b + ") is " + result + ", expected " + exp) [all...] |
| itrbnf.cpp | 108 UnicodeString result; 112 UnicodeString expected(text1); 115 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'"); 124 UnicodeString expected(text2); 128 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'"); 190 UnicodeString desc; 209 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status); 220 UnicodeString rules = formatter->getRules(); 246 UnicodeString ruleSetName; 253 UnicodeString intFormatResult, doubleFormatResult; [all...] |
| regcoll.cpp | 47 const UnicodeString test1 = "XFILE What subset of all possible test cases has the highest probability of detecting the most errors?"; 48 const UnicodeString test2 = "Xf_ile What subset of all possible test cases has the lowest probability of detecting the least errors?"; 96 UnicodeString rules; 147 const UnicodeString test3(chars3); 276 UnicodeString rules = "< a < b , c/a < d < z"; 302 UnicodeString rules; 424 const UnicodeString test1(chars1); 425 const UnicodeString test2(chars2); 547 RuleBasedCollator *rbc = new RuleBasedCollator((UnicodeString)"< a < bb", status); 560 errln((UnicodeString)"Compare(a,bb) returned " + (int)resul [all...] |
| csdetest.cpp | 100 static UnicodeString *split(const UnicodeString &src, UChar ch, int32_t &splits) 109 UnicodeString *result = new UnicodeString[splits]; 125 static char *extractBytes(const UnicodeString &source, const char *codepage, int32_t &length) 145 void CharsetDetectionTest::checkEncoding(const UnicodeString &testString, const UnicodeString &encoding, const UnicodeString &id) 149 UnicodeString *eSplit = split(encoding, CH_SLASH, splits); 175 UnicodeString name(ucsdet_getName(matches[0], &status)) [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/common/unicode/ |
| rbbi.h | 82 * When the input text is provided by a UnicodeString, this will point to 238 RuleBasedBreakIterator( const UnicodeString &rules, 315 virtual const UnicodeString& getRules(void) const; 380 virtual void setText(const UnicodeString& newText);
|
| /external/icu4c/extra/uconv/ |
| uconv.cpp | 290 UnicodeString str(name, ""); 304 UnicodeString str(name, ""); 421 getChunkLimit(const UnicodeString &prev, const UnicodeString &s) { 608 UnicodeString chunk; // One chunk of the text being collected for transformation. 610 UnicodeString u; // String to do the transliteration. 623 UnicodeString str1(infilestr, ""); 625 UnicodeString str2(strerror(errno), ""); 652 UnicodeString str(translit), pestr; 696 UnicodeString str(fromcpage, "") [all...] |
| /external/icu4c/common/ |
| uniset.cpp | 100 UnicodeString str; 108 UnicodeString str; 123 // UnicodeString in UVector support 127 dst->pointer = new UnicodeString(*(UnicodeString*)src->pointer); 131 const UnicodeString &a = *(const UnicodeString*)t1.pointer; 132 const UnicodeString &b = *(const UnicodeString*)t2.pointer; 243 setPattern(UnicodeString(o.pat, o.patLen)) [all...] |
| rbbidata.h | 157 const UnicodeString &getRuleSourceString() const; 185 UnicodeString fRuleString;
|
| /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;
|
| /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/chromium/chrome/common/ |
| time_format.cc | 189 static const icu::UnicodeString kKeywords[] = { 199 icu::UnicodeString fallback_rules("one: n is 1", -1, US_INV); 207 icu::UnicodeString pattern; 220 pattern += icu::UnicodeString(sub_pattern.c_str(), "UTF-8"); 240 static const icu::UnicodeString kUnits[4][2] = { 246 icu::UnicodeString suffix(GetFallbackFormatSuffix(format_type), -1, US_INV); 247 icu::UnicodeString pattern; 270 icu::UnicodeString time_string;
|
| /external/icu4c/i18n/unicode/ |
| coleitr.h | 76 * UnicodeString str = "This is a test"; 242 void setText(const UnicodeString& str, UErrorCode& status); 308 CollationElementIterator(const UnicodeString& sourceText,
|
| /external/icu4c/samples/translit/answers/ |
| main_3.cpp | 19 UnicodeString UNACCENT_RULES( 37 UnicodeString str, str2;
|