/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; 253 tzID=(UChar*)malloc(sizeof(UChar) * 4); 254 u_uastrcpy(tzID, "GMT"); 255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); 295 free(tzID); 306 UChar *pattern, *tzID, *exp; 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strlen(tzID), NULL, UCAL_TRADITIONAL, &status); * [all...] |
cmsgtst.c | 370 UChar *result, tzID[4], str[25]; 389 u_uastrcpy(tzID, "PST"); 390 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 471 UChar *result, *tzID, *str; 490 tzID=(UChar*)malloc(sizeof(UChar) * 4); 491 u_uastrcpy(tzID, "PST"); 492 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 557 free(tzID); [all...] |
cdtrgtst.c | 208 UChar tzID[4]; 211 u_uastrcpy(tzID, "PST"); 214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 227 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 280 UChar dateString[30], pattern[20], tzID[4]; 286 u_uastrcpy(tzID, "PST"); 288 formatter = udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); 293 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); 301 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status) [all...] |
ccaltst.c | 86 UChar tzID[4]; 118 /*get Illegal TZID where index >= count*/ 121 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 241 u_uastrcpy(tzID, "PST"); 242 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 247 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 251 u_strcpy(tzID, fgGMTID); 252 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
miscdtfm.cpp | 319 UnicodeString tzID = "Asia/Tokyo"; 352 if (tzID == (zones[i][0])) {
|
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; 253 tzID=(UChar*)malloc(sizeof(UChar) * 4); 254 u_uastrcpy(tzID, "GMT"); 255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); 295 free(tzID); 306 UChar *pattern, *tzID, *exp; 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); 325 u_uastrcpy(tzID, "PST"); 328 /* cal=ucal_open(tzID, u_strlen(tzID), NULL, UCAL_TRADITIONAL, &status); * [all...] |
cmsgtst.c | 376 UChar *result, tzID[4], str[25]; 395 u_uastrcpy(tzID, "PST"); 396 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 477 UChar *result, *tzID, *str; 496 tzID=(UChar*)malloc(sizeof(UChar) * 4); 497 u_uastrcpy(tzID, "PST"); 498 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 563 free(tzID); [all...] |
cdtrgtst.c | 208 UChar tzID[4]; 211 u_uastrcpy(tzID, "PST"); 214 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 227 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 280 UChar dateString[30], pattern[20], tzID[4]; 286 u_uastrcpy(tzID, "PST"); 288 formatter = udat_open(UDAT_PATTERN,UDAT_PATTERN,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); 293 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); 302 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status) [all...] |
ccaltst.c | 99 UChar tzID[4]; 131 /*get Illegal TZID where index >= count*/ 134 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 278 u_uastrcpy(tzID, "PST"); 279 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 284 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); 288 u_strcpy(tzID, fgGMTID); 289 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status) [all...] |
/external/icu/icu4c/source/test/intltest/ |
miscdtfm.cpp | 322 UnicodeString tzID = "Asia/Tokyo"; 355 if (tzID == (zones[i][0])) {
|
/external/icu/icu4c/source/i18n/ |
tzfmt.cpp | 847 UnicodeString tzID; 954 getTimeZoneID(specificMatches.getAlias(), matchIdx, tzID); 955 U_ASSERT(!tzID.isEmpty()); 956 return TimeZone::createTimeZone(tzID); [all...] |
tzgnames.cpp | 55 const UChar* tzID; 65 // <tzID>&<mzID>#[L|S] 67 UnicodeString str(p->tzID); 89 // We just check identity of tzID/mzID 90 return (p1->tzID == p2->tzID && p1->mzID == p2->mzID && p1->isLong == p2->isLong); 106 const UChar* tzID; 131 UnicodeString& getTimeZoneID(int32_t index, UnicodeString& tzID) const; 174 TimeZoneGenericNameMatchInfo::getTimeZoneID(int32_t index, UnicodeString& tzID) const { 176 if (minfo != NULL && minfo->gnameInfo->tzID != NULL) [all...] |
zonemeta.cpp | 235 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { 240 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) { 255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); 256 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already 272 tzid.extract(0, 0x7fffffff, id, LENGTHOF(id), US_INV); 289 canonicalID = TimeZone::findID(tzid); 306 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); 348 const UChar* key = ZoneMeta::findTimeZoneID(tzid); 371 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) 713 const UChar *tzid = NULL; local [all...] |
tznames_impl.cpp | 604 static TZNames* createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID); 632 TZNames::createInstance(UResourceBundle* rb, const char* key, const UnicodeString& tzID) { 654 TimeZoneNamesImpl::getDefaultExemplarLocationName(tzID, tmpName); 751 const UChar* tzID; 814 if (nameinfo->tzID) { 815 fResults->addZone(nameinfo->type, matchLength, UnicodeString(nameinfo->tzID, -1), status); 921 const UChar *tzID = ZoneMeta::getCanonicalCLDRID(*tz); 922 if (tzID != NULL) { 923 loadStrings(UnicodeString(tzID)); 1000 TimeZoneNamesImpl::getAvailableMetaZoneIDs(const UnicodeString& tzID, UErrorCode& status) const [all...] |
/prebuilts/misc/common/icu4j/ |
icu4j.jar | |