| /external/icu4c/test/intltest/ |
| rbbiapts.h | 93 void doBoundaryTest(RuleBasedBreakIterator& bi, UnicodeString& text, int32_t *boundaries); 96 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
|
| tmsgfmt.h | 73 UnicodeString expected ,char* errMsg); 79 UnicodeString pattern ,Locale locale , UErrorCode& err, char* errMsg);
|
| tstnrapi.cpp | 23 UnicodeString s=UnicodeString("a\\u0308\\uac00\\U0002f800", "").unescape(); 57 UnicodeString tel, nfkc, nfkd; 58 tel=UnicodeString(1, (UChar32)0x2121, 10); 67 nfkc!=UnicodeString("TE\\u0139TELTELTELTELTELTELTELTELTEL", "").unescape() || 68 nfkd!=UnicodeString("TEL\\u0301TELTELTELTELTELTELTELTELTEL", "").unescape() 80 UnicodeString out, out2; 128 copy.setText(UnicodeString(1000, (UChar32)0x308, 1000), errorCode);
|
| tzregts.cpp | 22 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 27 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest"); 57 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); 92 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); 129 UnicodeString str, str2; 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); 167 UnicodeString str; 170 errln((UnicodeString)"Fail: " + str + " inDaylightTime=FALSE, exp TRUE"); 184 logln((UnicodeString)"Stepwise from " + 186 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE")) [all...] |
| calregts.cpp | 31 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 36 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest"); 116 errcheckln(status, UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); 141 logln(UnicodeString("") + d); 163 logln(UnicodeString("HOUR=") + cal->get(UCAL_HOUR, status)); //prints 0 165 logln(UnicodeString("HOUR_OF_DAY=") + cal->get(UCAL_HOUR_OF_DAY, status)); 199 logln(UnicodeString(string, "")); 200 log(UnicodeString("") + cal->get(UCAL_MONTH, status)) ; 204 log(UnicodeString("/") + date) ; 205 logln(UnicodeString("/") + cal->get(UCAL_YEAR, status)) [all...] |
| nmfmtrt.cpp | 34 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 38 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRoundTripTest"); 50 dataerrln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); 52 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); 123 UnicodeString name; 142 logln(UnicodeString("Numeric error ") + min_numeric_error + " to " + max_numeric_error); 238 UnicodeString s, s2, temp; 280 errln(UnicodeString("*** NUMERIC ERROR ") + error); 320 UnicodeString& 321 NumberFormatRoundTripTest::typeOf(const Formattable& n, UnicodeString& result [all...] |
| tsnmfmt.h | 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
|
| tzfmttst.cpp | 43 SimpleTimeZone unknownZone(-31415, (UnicodeString)"Etc/Unknown"); 56 Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone((UnicodeString)"UTC"), status); 117 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); 119 errcheckln(status, (UnicodeString)"new SimpleDateFormat failed for pattern " + 126 const UnicodeString *tzid; 131 UnicodeString tzstr; 157 UnicodeString outtzid; 162 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); 167 errln((UnicodeString)"Failed to get offsets from time zone" + outtzid); 175 UnicodeString canonical [all...] |
| regextst.h | 52 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, 53 const UnicodeString &input, const char *srcPath, int32_t line);
|
| sdtfmtts.cpp | 61 const UnicodeString pattern("yyyy.MM.dd G 'at' hh:mm:ss z", ""); 62 const UnicodeString override("y=hebr;d=thai;s=arab", ""); /* use invariant converter */ 63 const UnicodeString override_bogus("y=hebr;d=thai;s=bogus", ""); 96 logln(UnicodeString("Override with: ") + override); 109 logln(UnicodeString("Override with: ") + override_bogus); 144 UnicodeString res1, res2; 148 logln( (UnicodeString) "" + d + " formatted to " + res1); 155 logln((UnicodeString) "" + fD.getDate() + " formatted to " + res2); 161 UnicodeString text("02/03/76 2:50 AM, CST"); 216 UnicodeString p1("yyyy.MM.dd G 'at' hh:mm:ss z") [all...] |
| /external/icu4c/i18n/ |
| dtptngen.cpp | 224 //static const UnicodeString repeatedPattern=UnicodeString(repeatedPatterns); 388 UnicodeString 389 DateTimePatternGenerator::getSkeleton(const UnicodeString& pattern, UErrorCode& 395 UnicodeString 396 DateTimePatternGenerator::getBaseSkeleton(const UnicodeString& pattern, UErrorCode& /*status*/) { 403 UnicodeString dfPattern; 404 UnicodeString conflictingString; 443 DateTimePatternGenerator::hackTimes(const UnicodeString& hackPattern, UErrorCode& status) { 445 UnicodeString conflictingString [all...] |
| casetrn.h | 43 CaseMapTransliterator(const UnicodeString &id, UCaseMapFull *map);
|
| msgfmt_impl.h | 31 virtual const UnicodeString* snext(UErrorCode& status);
|
| rbt_data.cpp | 48 UnicodeString* value = 49 new UnicodeString(*(const UnicodeString*)e->value.pointer); 54 variableNames.put(*(UnicodeString*)e->key.pointer, value, status);
|
| unesctrn.h | 62 UnescapeTransliterator(const UnicodeString& ID,
|
| uregexc.cpp | 37 UnicodeString patString(pattern);
|
| currfmt.cpp | 53 UnicodeString& CurrencyFormat::format(const Formattable& obj, 54 UnicodeString& appendTo, 61 void CurrencyFormat::parseObject(const UnicodeString& source,
|
| /external/icu4c/common/ |
| usetiter.cpp | 62 string = (const UnicodeString*) set->strings->elementAt(nextString++); 95 string = (const UnicodeString*) set->strings->elementAt(nextString++); 135 const UnicodeString& UnicodeSetIterator::getString() { 138 cpString = new UnicodeString();
|
| ustrenum.h | 60 * Returns the next element a UnicodeString*. If there are no 65 virtual const UnicodeString* snext(UErrorCode& status);
|
| locutil.cpp | 46 UnicodeString& 47 LocaleUtility::canonicalLocaleString(const UnicodeString* id, UnicodeString& result) 112 result = UnicodeString(canon); 123 LocaleUtility::initLocaleFromName(const UnicodeString& id, Locale& result) 131 * We need to convert from a UnicodeString to char * in order to 170 UnicodeString& 171 LocaleUtility::initNameFromLocale(const Locale& locale, UnicodeString& result) 176 result.append(UnicodeString(locale.getName(), -1, US_INV)); 182 LocaleUtility::getAvailableLocaleNames(const UnicodeString& bundleID [all...] |
| /external/icu4c/test/letest/ |
| letsutil.cpp | 30 char *getCString(const UnicodeString *uString) 52 const UnicodeString ustring(uChars); 57 char *getUTF8String(const UnicodeString *uString) 79 le_bool getRTL(const UnicodeString &text)
|
| /external/icu4c/test/perf/ustrperf/ |
| stringperf.h | 28 const UnicodeString uEMPTY; 30 UnicodeString unistr; 37 const UnicodeString uScan_STRING=UnicodeString(scan_STRING); 43 static UnicodeString* catICU; 56 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 72 catICU = new UnicodeString(to_alloc,'a',0); 73 //catICU = new UnicodeString(); 79 catICU = new UnicodeString(); 147 uS0_=new UnicodeString[numLines_] [all...] |
| /external/icu4c/samples/datefmt/answers/ |
| main_2.cpp | 20 TimeZone* createZone(const UnicodeString& id) { 21 UnicodeString str; 41 UnicodeString str;
|
| main_3.cpp | 20 TimeZone* createZone(const UnicodeString& id) { 21 UnicodeString str; 41 UnicodeString str;
|
| /external/icu4c/samples/datefmt/ |
| main.cpp | 20 TimeZone* createZone(const UnicodeString& id) { 21 UnicodeString str; 41 UnicodeString str;
|