/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
H A D | dtfmtrtperf.h | 161 const UnicodeString *tzid; local 162 while ((tzid = tzids->snext(*status))) { 163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
|
/external/icu/icu4c/source/test/perf/normperf/ |
H A D | dtfmtrtperf.h | 161 const UnicodeString *tzid; local 162 while ((tzid = tzids->snext(*status))) { 163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cdateintervalformattest.c | 42 const char * tzid; member in struct:__anon12199 78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; 82 if ( testItemPtr->tzid ) { 83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); 100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdateintervalformattest.c | 42 const char * tzid; member in struct:__anon21998 78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; 82 if ( testItemPtr->tzid ) { 83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); 100 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", 105 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", 110 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n",
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | simpletz.cpp | 1102 UnicodeString tzid; local 1103 getID(tzid); 1136 dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), 1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, 1189 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDSTSavings()); 1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); 1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0);
|
H A D | olsontz.cpp | 120 const UnicodeString& tzid, 122 BasicTimeZone(tzid), finalZone(NULL) 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); 709 UnicodeString tzid; local 710 getID(tzid); 712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); 713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); 847 finalZone->getID(tzid); 848 firstFinalRule = new TimeArrayTimeZoneRule(tzid, 118 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) argument
|
H A D | zonemeta.cpp | 233 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { argument 238 int32_t len = tzid.length(); 254 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); 255 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already 271 const UChar* idChars = tzid.getBuffer(); 291 canonicalID = TimeZone::findID(tzid); 308 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); 350 const UChar* key = ZoneMeta::findTimeZoneID(tzid); 373 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status) { argument 374 const UChar *canonicalID = getCanonicalCLDRID(tzid, statu 418 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) argument 521 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) argument 554 getMetazoneMappings(const UnicodeString &tzid) argument 622 createMetazoneMappings(const UnicodeString &tzid) argument 715 const UChar *tzid = NULL; local 835 findTimeZoneID(const UnicodeString& tzid) argument [all...] |
H A D | dtfmtsym.cpp | 1121 const UnicodeString *tzid; local 1126 while ((tzid = tzids->snext(status))) { 1137 zarray[i][0].setTo(*tzid); 1138 zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); 1139 zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); 1140 zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); 1141 zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName));
|
H A D | timezone.cpp | 1633 const UChar *tzid = NULL; local 1652 tzid = ures_getStringByKey(zones, "001", &len, &status); // using status, because "001" must be 1655 id.setTo(tzid, len);
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
H A D | icuzdump.cpp | 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { argument
|
/external/icu/icu4c/source/i18n/ |
H A D | simpletz.cpp | 1102 UnicodeString tzid; local 1103 getID(tzid); 1136 dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), 1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, 1189 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDSTSavings()); 1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); 1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0);
|
H A D | olsontz.cpp | 120 const UnicodeString& tzid, 122 BasicTimeZone(tzid), finalZone(NULL) 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); 709 UnicodeString tzid; local 710 getID(tzid); 712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); 713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); 847 finalZone->getID(tzid); 848 firstFinalRule = new TimeArrayTimeZoneRule(tzid, 118 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) argument
|
H A D | zonemeta.cpp | 235 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { argument 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, UnicodeStrin argument 416 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) argument 519 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) argument 552 getMetazoneMappings(const UnicodeString &tzid) argument 620 createMetazoneMappings(const UnicodeString &tzid) argument 713 const UChar *tzid = NULL; local 833 findTimeZoneID(const UnicodeString& tzid) argument [all...] |
H A D | dtfmtsym.cpp | 1121 const UnicodeString *tzid; local 1126 while ((tzid = tzids->snext(status))) { 1137 zarray[i][0].setTo(*tzid); 1138 zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); 1139 zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); 1140 zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); 1141 zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName));
|
H A D | timezone.cpp | 1640 const UChar *tzid = NULL; local 1659 tzid = ures_getStringByKey(zones, "001", &len, &status); // using status, because "001" must be 1662 id.setTo(tzid, len);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | icuzdump.cpp | 199 void dumpZone(ostream& out, const char* linesep, UnicodeString tzid, int32_t low, int32_t high) { argument
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | tzfmttst.cpp | 174 const UnicodeString *tzid; local 175 while ((tzid = tzids->snext(status))) { 176 TimeZone *tz = TimeZone::createTimeZone(*tzid); 210 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); 222 TimeZone::getCanonicalID(*tzid, canonicalID, status); 225 errln((UnicodeString)"Unknown ID " + *tzid); 231 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid 236 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 244 if (outtzid != *tzid) { 245 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid 437 const UnicodeString *tzid; local 922 const char* tzid; member in struct:__anon12343 [all...] |
H A D | caltest.cpp | 351 UnicodeString tzid("TestZone"); 354 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); 413 if (z->getID(str) != tzid || 2471 const char* tzid; member in struct:__anon12297 2513 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { 2515 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); 2525 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); 2528 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " 2541 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); 2544 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid 2569 const char* tzid; member in struct:__anon12298 [all...] |
H A D | tzrulets.cpp | 615 const UnicodeString *tzid = tzenum.snext(status); local 616 if (tzid == NULL) { 623 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); 650 const UnicodeString *tzid = tzenum.snext(status); local 651 if (tzid == NULL) { 658 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); 665 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); 667 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); 669 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); 674 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); 787 const UnicodeString *tzid = tzenum.snext(status); local 887 const UnicodeString *tzid = tzenum.snext(status); local 983 const UnicodeString *tzid = tzenum.snext(status); local 1123 const UnicodeString *tzid = tzenum.snext(status); local 1872 UnicodeString tzid; local 2339 UnicodeString tzid; local [all...] |
H A D | tztest.cpp | 2023 const UnicodeString *tzid = s->snext(ec); local 2024 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid); 2034 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j); 2064 if (*tzid == UnicodeString(excluded2[k])) {
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tzfmttst.cpp | 174 const UnicodeString *tzid; local 175 while ((tzid = tzids->snext(status))) { 176 TimeZone *tz = TimeZone::createTimeZone(*tzid); 210 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); 222 TimeZone::getCanonicalID(*tzid, canonicalID, status); 225 errln((UnicodeString)"Unknown ID " + *tzid); 231 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid 236 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid 244 if (outtzid != *tzid) { 245 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid 437 const UnicodeString *tzid; local 922 const char* tzid; member in struct:__anon22154 [all...] |
H A D | caltest.cpp | 372 UnicodeString tzid("TestZone"); 375 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); 434 if (z->getID(str) != tzid || 2508 const char* tzid; member in struct:__anon22099 2550 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { 2552 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); 2562 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); 2565 dataerrln(UnicodeString("Fail: UCAL_WALLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " 2578 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); 2581 dataerrln(UnicodeString("Fail: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid 2606 const char* tzid; member in struct:__anon22100 [all...] |
H A D | tzrulets.cpp | 613 const UnicodeString *tzid = tzenum.snext(status); local 614 if (tzid == NULL) { 621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); 648 const UnicodeString *tzid = tzenum.snext(status); local 649 if (tzid == NULL) { 656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); 663 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); 665 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); 667 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); 672 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); 785 const UnicodeString *tzid = tzenum.snext(status); local 885 const UnicodeString *tzid = tzenum.snext(status); local 981 const UnicodeString *tzid = tzenum.snext(status); local 1121 const UnicodeString *tzid = tzenum.snext(status); local 1870 UnicodeString tzid; local 2337 UnicodeString tzid; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | putil.cpp | 997 const char *tzid = NULL; local 999 tzid = uprv_detectWindowsTimeZone(); 1001 if (tzid != NULL) { 1002 return tzid; 1009 tzid = getenv("TZFILE"); 1010 if (tzid != NULL) { 1011 return tzid; 1017 tzid = getenv("TZ"); 1018 if (tzid != NULL && isValidOlsonID(tzid) [all...] |
/external/icu/icu4c/source/common/ |
H A D | putil.cpp | 997 const char *tzid = NULL; local 999 tzid = uprv_detectWindowsTimeZone(); 1001 if (tzid != NULL) { 1002 return tzid; 1009 tzid = getenv("TZFILE"); 1010 if (tzid != NULL) { 1011 return tzid; 1017 tzid = getenv("TZ"); 1018 if (tzid != NULL && isValidOlsonID(tzid) [all...] |