| /external/icu4c/test/intltest/ |
| loctest.cpp | 155 errln("FAIL: " #test " was not true. " + UnicodeString(print) ); \ 157 logln("PASS: asserted " #test "-> " + UnicodeString(print)); \ 161 #define test_dumpLocale(l) { logln(#l " = " + UnicodeString(l.getName(), "")); } 238 UnicodeString temp; 249 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); 296 if (temp != UnicodeString("x-klingon") ) 300 if (temp != UnicodeString("Latn") ) 304 if (temp != UnicodeString("ZX") ) 308 //if (temp != UnicodeString("SPECIAL") ) 311 if (temp != UnicodeString("") ) [all...] |
| restest.cpp | 38 #define CONFIRM_EQ(actual, expected, myAction) if ((expected)==(actual)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of " + (expected) + "\n");} 39 #define CONFIRM_GE(actual, expected, myAction) if ((actual)>=(expected)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x >= " + (expected) + "\n");} 40 #define CONFIRM_NE(actual, expected, myAction) if ((expected)!=(actual)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x != " + (expected) + "\n");} 42 #define CONFIRM_UErrorCode(actual, expected, myAction) if ((expected)==(actual)) { record_pass(myAction); } else { record_fail(myAction + (UnicodeString)" returned " + u_errorName(actual) + " instead of " + u_errorName(expected) + "\n"); } 210 dataerrln("Could not load testdata.dat %s " + UnicodeString(u_errorName(status))); 243 dataerrln("Could not load testdata.dat " + UnicodeString(testdatapath) + ", " + UnicodeString(u_errorName(err))) [all...] |
| itercoll.cpp | 52 UnicodeString source; 94 UnicodeString source; 97 (UnicodeString)"&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH", status); 114 c2 = new RuleBasedCollator((UnicodeString)"&a < b < c/abd < d", status); 131 c3 = new RuleBasedCollator((UnicodeString)"&a < b < c/aba < d < z < ch", status); 197 UnicodeString msg1("offset at end != length: "); 198 UnicodeString msg2(" vs "); 274 UnicodeString empty(""); 297 UnicodeString rule("&a < ab < c/aba < d < z < ch"); 300 UnicodeString str(ch) [all...] |
| normconf.cpp | 27 logln((UnicodeString)""); \ 46 normalizer(UnicodeString(), UNORM_NFC) {} 59 void NormalizerConformanceTest::compare(const UnicodeString& s1, const UnicodeString& s2){ 164 UnicodeString fields[FIELD_COUNT]; 207 errln((UnicodeString)"Unable to parse line " + count); 275 dataerrln((UnicodeString)"Total: " + failCount + " lines/code points failed, " + 278 logln((UnicodeString)"Total: " + passCount + " lines/code points passed"); 297 UBool NormalizerConformanceTest::checkConformance(const UnicodeString* field, 303 UnicodeString out, fcd [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...] |
| mnkytst.cpp | 45 CollationMonkeyTest::report(UnicodeString& s, UnicodeString& t, int32_t result, int32_t revResult) 49 UnicodeString msg; 55 msg += (UnicodeString) " (result " + result + ", reverse Result " + revResult + ")"; 84 UnicodeString subs, subt; 113 UnicodeString msg; 114 UnicodeString addOne(subs); 159 UnicodeString subs, subt; 179 UnicodeString msg; 180 UnicodeString addOne(subs) [all...] |
| 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.h | 173 void dump(UnicodeString msg, RuleBasedCollator* c, UErrorCode& status);
|
| dtfmrgts.h | 30 void aux917( SimpleDateFormat *fmt, UnicodeString& str );
|
| testidna.cpp | 441 if(UnicodeString(transOut,transOutLength)!= UnicodeString(prepOut, prepOutLength)){ 442 errln("Failed. Expected: " + prettify(UnicodeString(transOut, transOutLength)) 443 + " Got: " + prettify(UnicodeString(prepOut,prepOutLength))); 479 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Expected : " 480 + prettify(UnicodeString(expected,expectedLen)) 481 + " Got: " + prettify(UnicodeString(dest,destLen)) 491 UnicodeString(testName)+ 492 " null terminated source. Expected: " +UnicodeString(u_errorName(expectedStatus)) 493 + " Got: "+ UnicodeString(u_errorName(status) [all...] |
| tufmtts.cpp | 67 UnicodeString formatted; 232 const UnicodeString oneSecondStr(oneSecond); 233 const UnicodeString oneMinuteStr(oneMinute); 234 const UnicodeString oneHourStr(oneHour); 235 const UnicodeString oneDayStr(oneDay); 236 const UnicodeString oneMonthStr(oneMonth); 237 const UnicodeString oneYearStr(oneYear); 238 const UnicodeString sevenSecondsStr(sevenSeconds); 239 const UnicodeString sevenMinutesStr(sevenMinutes); 240 const UnicodeString sevenHoursStr(sevenHours) [all...] |
| /external/icu4c/common/ |
| normalizer2.cpp | 38 virtual UnicodeString & 39 normalize(const UnicodeString &src, 40 UnicodeString &dest, 51 virtual UnicodeString & 52 normalizeSecondAndAppend(UnicodeString &first, 53 const UnicodeString &second, 64 virtual UnicodeString & 65 append(UnicodeString &first, 66 const UnicodeString &second, 78 getDecomposition(UChar32, UnicodeString &) const [all...] |
| resbund.cpp | 244 UnicodeString ResourceBundle::getString(UErrorCode& status) const { 247 return UnicodeString(TRUE, r, len); 302 UnicodeString ResourceBundle::getNextString(UErrorCode& status) { 305 return UnicodeString(TRUE, r, len); 308 UnicodeString ResourceBundle::getNextString(const char ** key, UErrorCode& status) { 311 return UnicodeString(TRUE, r, len); 326 UnicodeString ResourceBundle::getStringEx(int32_t indexS, UErrorCode& status) const { 329 return UnicodeString(TRUE, r, len); 354 UnicodeString ResourceBundle::getStringEx(const char* key, UErrorCode& status) const { 357 return UnicodeString(TRUE, r, len) [all...] |
| locdispnames.cpp | 38 UnicodeString& 39 Locale::getDisplayLanguage(UnicodeString& dispLang) const 48 * the exact buffer we need copy it to the UnicodeString and delete it*/ 50 UnicodeString& 52 UnicodeString &result) const { 84 UnicodeString& 85 Locale::getDisplayScript(UnicodeString& dispScript) const 90 UnicodeString& 92 UnicodeString &result) const { 124 UnicodeString [all...] |
| /external/icu4c/i18n/ |
| anytrans.cpp | 177 AnyTransliterator::AnyTransliterator(const UnicodeString& id, 178 const UnicodeString& theTarget, 179 const UnicodeString& theVariant, 281 UnicodeString sourceName(uscript_getName(source), -1, US_INV); 282 UnicodeString id(sourceName); 310 static UScriptCode scriptNameToCode(const UnicodeString& name) { 340 UnicodeString source; 348 UnicodeString target; 363 UnicodeString variant; 366 UnicodeString id [all...] |
| plurrule_impl.h | 137 void getNextToken(const UnicodeString& ruleData, int32_t *ruleIndex, UnicodeString& token, 144 void getKeyType(const UnicodeString& token, tokenType& type, UErrorCode &status); 146 UBool isValidKeyword(const UnicodeString& token); 186 UnicodeString keyword; 192 UnicodeString select(double number) const; 193 void dumpRules(UnicodeString& result); 195 UErrorCode getKeywords(int32_t maxArraySize, UnicodeString *keywords, int32_t& arraySize) const; 196 UBool isKeyword(const UnicodeString& keyword) const; 208 virtual const UnicodeString* snext(UErrorCode& status) [all...] |
| funcrepl.cpp | 94 UnicodeString& FunctionReplacer::toReplacerPattern(UnicodeString& rule, 96 UnicodeString str;
|
| regexst.cpp | 148 fUnescapeCharSet(UnicodeString(TRUE, gUnescapeCharPattern, -1), *status), 158 fPropSets[URX_ISWORD_SET] = new UnicodeSet(UnicodeString(TRUE, gIsWordPattern, -1), *status); 159 fPropSets[URX_ISSPACE_SET] = new UnicodeSet(UnicodeString(TRUE, gIsSpacePattern, -1), *status); 160 fPropSets[URX_GC_EXTEND] = new UnicodeSet(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status); 161 fPropSets[URX_GC_CONTROL] = new UnicodeSet(UnicodeString(TRUE, gGC_ControlPattern, -1), *status); 162 fPropSets[URX_GC_L] = new UnicodeSet(UnicodeString(TRUE, gGC_LPattern, -1), *status); 163 fPropSets[URX_GC_V] = new UnicodeSet(UnicodeString(TRUE, gGC_VPattern, -1), *status); 164 fPropSets[URX_GC_T] = new UnicodeSet(UnicodeString(TRUE, gGC_TPattern, -1), *status); 165 fPropSets[URX_GC_LV] = new UnicodeSet(UnicodeString(TRUE, gGC_LVPattern, -1), *status); 166 fPropSets[URX_GC_LVT] = new UnicodeSet(UnicodeString(TRUE, gGC_LVTPattern, -1), *status) [all...] |
| vtzone.cpp | 89 static int32_t parseAsciiDigits(const UnicodeString& str, int32_t start, int32_t length, UErrorCode& status) { 118 static UnicodeString& appendAsciiDigits(int32_t number, uint8_t length, UnicodeString& str) { 153 static UnicodeString& appendMillis(UDate date, UnicodeString& str) { 189 static UnicodeString& getDateTimeString(UDate time, UnicodeString& str) { 215 static UnicodeString& getUTCDateTimeString(UDate time, UnicodeString& str) { 225 static UDate parseDateTimeString(const UnicodeString& str, int32_t offset, UErrorCode& status) [all...] |
| nortrans.cpp | 57 Transliterator* NormalizationTransliterator::_create(const UnicodeString& ID, 73 NormalizationTransliterator::NormalizationTransliterator(const UnicodeString& id, 117 UnicodeString input, normalized; 134 UnicodeString segment; 135 UnicodeString normalized;
|
| numfmt.cpp | 54 static void debugout(UnicodeString s) { 173 const UnicodeString * 289 UnicodeString& 291 UnicodeString& toAppendTo, 305 UnicodeString& 307 UnicodeString& toAppendTo, 321 UnicodeString& 323 UnicodeString& toAppendTo, 348 UnicodeString& 350 UnicodeString& toAppendTo [all...] |
| /external/icu4c/i18n/unicode/ |
| uspoof.h | 603 * @param text A UnicodeString to be checked for possible security issues. 624 const U_NAMESPACE_QUALIFIER UnicodeString &text, [all...] |
| tmutfmt.h | 51 * UnicodeString formatted; 174 * @see Format#format(const Formattable&, UnicodeString&, FieldPosition&, UErrorCode&) const 177 virtual UnicodeString& format(const Formattable& obj, 178 UnicodeString& toAppendTo, 184 * @see Format#parseObject(const UnicodeString&, Formattable&, ParsePosition&) const; 187 virtual void parseObject(const UnicodeString& source,
|
| /external/chromium/base/i18n/ |
| number_formatting.cc | 45 icu::UnicodeString ustr;
|
| time_formatting.cc | 22 icu::UnicodeString date_string; 59 icu::UnicodeString generated_pattern = 60 generator->getBestPattern(icu::UnicodeString(base_pattern), status); 107 icu::UnicodeString pattern_unicode;
|