| /external/icu4c/samples/translit/answers/ |
| main_4.cpp | 19 UnicodeString UNACCENT_RULES( 38 UnicodeString str, str2;
|
| /external/icu4c/samples/translit/ |
| main.cpp | 19 UnicodeString UNACCENT_RULES( 39 UnicodeString str, str2;
|
| /external/icu4c/test/intltest/ |
| dtfmapts.cpp | 164 UnicodeString res1, res2, res3; 172 logln( (UnicodeString) "" + d + " formatted to " + res1); 175 logln( (UnicodeString) "" + d + " formatted to " + res2); 178 logln( (UnicodeString) "" + d + " formatted to " + res3); 186 UnicodeString text("02/03/76 2:50 AM, CST"); 215 logln((UnicodeString) "Got " + count + " locales" ); 217 UnicodeString name; 287 UnicodeString str;
|
| itrbnfp.cpp | 147 UnicodeString us; 160 UnicodeString us;
|
| ucdtest.cpp | 42 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); 169 UnicodeString propName(fields[1][0], (int32_t)(fields[1][1]-fields[1][0])); 300 UnicodeString pattern=UNICODE_STRING_SIMPLE("[:Alphabetic=:]"); 301 pattern.insert(pattern.length()-2, UnicodeString(falseValues[i], -1, US_INV)); 314 UnicodeString pattern=UNICODE_STRING_SIMPLE("[:Alphabetic=:]"); 315 pattern.insert(pattern.length()-2, UnicodeString(trueValues[i], -1, US_INV)); 353 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode);
|
| regextst.cpp | 264 const UnicodeString pattern(pat, -1, US_INV); 265 const UnicodeString inputText(text, -1, US_INV); 272 UnicodeString patString(pat, -1, US_INV); 281 UnicodeString inputString(inputText); 282 UnicodeString unEscapedInput = inputString.unescape(); 343 UnicodeString inputString(text, -1, US_INV); 344 UnicodeString unEscapedInput = inputString.unescape(); 417 UnicodeString pattern(pat); 426 UnicodeString patString(pat); 669 UnicodeString re("abc") [all...] |
| citrtest.cpp | 26 SCharacterIterator(const UnicodeString& textStr){ 38 void setText(const UnicodeString& newText){ 42 virtual void getText(UnicodeString& result) { 136 UnicodeString text; 162 UnicodeString testText("Now is the time for all good men to come to the aid of their country."); 163 UnicodeString testText2("\\ud800\\udc01deadbeef"); 195 UnicodeString testText("Now is the time for all good men to come to the aid of their country."); 196 UnicodeString testText2("Don't bother using this string."); 197 UnicodeString result1, result2, result3; 287 UnicodeString result, result4, result5 [all...] |
| calcasts.cpp | 22 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 96 errln((UnicodeString)"Checking field " + fieldName(field) + " and got " + u_errorName(status)); 100 errln((UnicodeString)"FAIL: Checking field " + fieldName(field) + " expected " + value + " and got " + res + UnicodeString("\n")); 103 logln((UnicodeString)"Checking field " + fieldName(field) + " == " + value + UnicodeString("\n")); 176 UnicodeString result; 187 errln((UnicodeString)"FAIL: DateFormatting failed. Got " + result + " and expected " + UnicodeString(expectedUChars) + UnicodeString("\n")) [all...] |
| dtifmtts.cpp | 219 UnicodeString res; [all...] |
| uts46test.cpp | 85 static UBool isASCII(const UnicodeString &str) { 111 UnicodeString result; 113 UnicodeString input=UNICODE_STRING_SIMPLE("www.eXample.cOm"); 114 UnicodeString expected=UNICODE_STRING_SIMPLE("www.example.com"); 209 UnicodeString input=UNICODE_STRING_SIMPLE("\\u0000A_2+2=4\\u000A.e\\u00DFen.net").unescape(); 210 UnicodeString result; 541 // The UTS #46 code gives a default-capacity UnicodeString as the destination buffer, 542 // and the internal UnicodeString capacity is currently 15 UChars on 64-bit machines 562 UnicodeString input(ctou(testCase.s)); 563 UnicodeString expected(ctou(testCase.u)) [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.");
|
| tzrulets.cpp | 30 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 64 virtual const UnicodeString *snext(UErrorCode& status); 99 const UnicodeString* 104 unistr = UnicodeString(TESTZIDS[idx++], ""); 309 errln(UnicodeString("FAIL: Invalid time zone offset: ") + offset + " /expected: 0"); 323 errln(UnicodeString("FAIL: Invalid time zone raw offset: ") + offset + " /expected: -3600000"); 326 errln(UnicodeString("FAIL: Invalid DST amount: ") + dstSavings + " /expected: 3600000"); 348 errln((UnicodeString)"FAIL: Invalid time zone offset: " + offset + " /expected: -3600000"); 362 errln((UnicodeString)"FAIL: Invalid time zone raw offset: " + offset + " /expected: -3600000"); 365 errln((UnicodeString)"FAIL: Invalid DST amount: " + dstSavings + " /expected: 0") [all...] |
| /external/icu4c/i18n/ |
| numsys.cpp | 55 UnicodeString defaultDigits = DEFAULT_DIGITS; 71 NumberingSystem::createInstance(int32_t radix_in, UBool isAlgorithmic_in, const UnicodeString & desc_in, UErrorCode &status) { 166 UnicodeString nsd; 194 UnicodeString NumberingSystem::getDescription() { 210 void NumberingSystem::setDesc(UnicodeString d) { 226 UBool NumberingSystem::isValidDigitString(const UnicodeString& str) {
|
| strmatch.cpp | 26 StringMatcher::StringMatcher(const UnicodeString& theString, 155 UnicodeString& StringMatcher::toPattern(UnicodeString& result, 159 UnicodeString str, quoteBuf; 239 UnicodeString& StringMatcher::toReplacerPattern(UnicodeString& rule,
|
| fmtable.cpp | 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...] |
| repattrn.cpp | 76 fPatternString = new UnicodeString(*(other.fPatternString)); 273 RegexPattern::compile(const UnicodeString ®ex, 374 RegexPattern::compile(const UnicodeString ®ex, 398 RegexPattern::compile(const UnicodeString ®ex, 432 // matcher(UnicodeString, err) 435 RegexMatcher *RegexPattern::matcher(const UnicodeString &input, 463 /* This should never get called. The API with UnicodeString should be called instead. */ 503 UBool U_EXPORT2 RegexPattern::matches(const UnicodeString ®ex, 504 const UnicodeString &input, 556 UnicodeString RegexPattern::pattern() const [all...] |
| stsearch.cpp | 24 StringSearch::StringSearch(const UnicodeString &pattern, 25 const UnicodeString &text, 63 StringSearch::StringSearch(const UnicodeString &pattern, 64 const UnicodeString &text, 98 StringSearch::StringSearch(const UnicodeString &pattern, 126 StringSearch::StringSearch(const UnicodeString &pattern, 259 void StringSearch::setText(const UnicodeString &text, UErrorCode &status) 289 void StringSearch::setPattern(const UnicodeString &pattern, 299 const UnicodeString & StringSearch::getPattern() const
|
| astro.h | 105 UnicodeString toString() const; 173 UnicodeString toString() const; 247 UnicodeString toString() const;
|
| bmsearch.cpp | 52 Target(UCollator *theCollator, const UnicodeString *target, int32_t patternLength, UErrorCode &status); 55 void setTargetString(const UnicodeString *target); 67 UBool isIdentical(UnicodeString &pattern, int32_t start, int32_t end); 86 const UnicodeString *targetString; 94 Target::Target(UCollator *theCollator, const UnicodeString *target, int32_t patternLength, UErrorCode &status) 149 void Target::setTargetString(const UnicodeString *target) 347 UBool Target::isIdentical(UnicodeString &pattern, int32_t start, int32_t end) 356 UnicodeString t2, p2; 357 nfd.normalize(UnicodeString(FALSE, targetBuffer + start, end - start), t2, status); 601 BoyerMooreSearch::BoyerMooreSearch(CollData *theData, const UnicodeString &patternString, const UnicodeString *targetString [all...] |
| zrule.cpp | 42 UnicodeString s(nameLength==-1, name, nameLength); 70 UnicodeString s(nameLength==-1, name, nameLength); 91 // UnicodeString s(nameLength==-1, name, nameLength); 92 UnicodeString s;
|
| casetrn.cpp | 89 CaseMapTransliterator::CaseMapTransliterator(const UnicodeString &id, UCaseMapFull *map) : 147 UnicodeString tmp;
|
| quant.cpp | 95 UnicodeString& Quantifier::toPattern(UnicodeString& result,
|
| /external/icu4c/common/ |
| uniset_props.cpp | 114 UnicodeString pattern((const char *)context, -1, US_INV); 151 ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); 284 // using these functions is not only faster than UnicodeString::compare() and 289 isPerlOpen(const UnicodeString &pattern, int32_t pos) { 295 isPerlClose(const UnicodeString &pattern, int32_t pos) { 300 isNameOpen(const UnicodeString &pattern, int32_t pos) { 305 isPOSIXOpen(const UnicodeString &pattern, int32_t pos) { 310 isPOSIXClose(const UnicodeString &pattern, int32_t pos) { 329 UnicodeSet::UnicodeSet(const UnicodeString& pattern, 356 UnicodeSet::UnicodeSet(const UnicodeString& pattern [all...] |
| /external/chromium/chrome/browser/ui/webui/options/chromeos/ |
| system_settings_provider.cc | 149 icu::UnicodeString zone_id; 158 icu::UnicodeString city; 186 icu::UnicodeString(kTimeZones[i], -1, US_INV))); 275 icu::UnicodeString name; 286 icu::UnicodeString id;
|
| /external/v8/src/extensions/experimental/ |
| break-iterator.cc | 49 icu::UnicodeString* BreakIterator::ResetAdoptedText( 52 icu::UnicodeString* text = static_cast<icu::UnicodeString*>( 58 text = new icu::UnicodeString( 77 delete static_cast<icu::UnicodeString*>(
|