/external/icu/icu4c/source/i18n/ |
D | zonemeta.h | 37 …static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &syste… 44 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 59 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &coun… 64 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 70 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 78 static const UChar* U_EXPORT2 findTimeZoneID(const UnicodeString& tzid); 111 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
D | zonemeta.cpp | 235 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 240 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) { in getCanonicalCLDRID() 255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 272 tzid.extract(0, 0x7fffffff, id, LENGTHOF(id), US_INV); in getCanonicalCLDRID() 289 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 306 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 348 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 371 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status… in getCanonicalCLDRID() argument 372 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() 416 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /… in getCanonicalCountry() argument [all …]
|
D | olsontz.cpp | 120 const UnicodeString& tzid, in OlsonTimeZone() argument 122 BasicTimeZone(tzid), finalZone(NULL) in OlsonTimeZone() 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 709 UnicodeString tzid; in initTransitionRules() local 710 getID(tzid); in initTransitionRules() 712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 847 finalZone->getID(tzid); in initTransitionRules() 848 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
D | vtzone.cpp | 359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 360 zonename = tzid; in getDefaultTZName() 1358 UnicodeString tzid; in parse() local 1415 tzid = value; in parse() 1429 if (tzid.length() == 0) { in parse() 1501 getDefaultTZName(tzid, dst, zonename); in parse() 1586 getDefaultTZName(tzid, FALSE, zonename); in parse() 1595 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() 1701 setID(tzid); in parse() 1779 UnicodeString tzid; in write() local [all …]
|
D | simpletz.cpp | 1102 UnicodeString tzid; in initTransitionRules() local 1103 getID(tzid); in initTransitionRules() 1136 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1189 …initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules() 1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules() 1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
|
D | dtfmtsym.cpp | 1121 const UnicodeString *tzid; in initZoneStringsArray() local 1126 while ((tzid = tzids->snext(status))) { in initZoneStringsArray() 1137 zarray[i][0].setTo(*tzid); in initZoneStringsArray() 1138 … zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); in initZoneStringsArray() 1139 … zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); in initZoneStringsArray() 1140 … zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); in initZoneStringsArray() 1141 … zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
|
D | olsontz.h | 126 const UnicodeString& tzid,
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | zonemeta.h | 37 …static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &syste… 44 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 59 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &coun… 64 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 70 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 78 static const UChar* U_EXPORT2 findTimeZoneID(const UnicodeString& tzid); 111 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
D | zonemeta.cpp | 233 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 238 int32_t len = tzid.length(); in getCanonicalCLDRID() 254 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 271 const UChar* idChars = tzid.getBuffer(); in getCanonicalCLDRID() 291 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 308 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 350 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 373 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status… in getCanonicalCLDRID() argument 374 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() 418 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /… in getCanonicalCountry() argument [all …]
|
D | olsontz.cpp | 120 const UnicodeString& tzid, in OlsonTimeZone() argument 122 BasicTimeZone(tzid), finalZone(NULL) in OlsonTimeZone() 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 709 UnicodeString tzid; in initTransitionRules() local 710 getID(tzid); in initTransitionRules() 712 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 713 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 847 finalZone->getID(tzid); in initTransitionRules() 848 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
D | vtzone.cpp | 359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 360 zonename = tzid; in getDefaultTZName() 1358 UnicodeString tzid; in parse() local 1415 tzid = value; in parse() 1429 if (tzid.length() == 0) { in parse() 1501 getDefaultTZName(tzid, dst, zonename); in parse() 1586 getDefaultTZName(tzid, FALSE, zonename); in parse() 1595 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() 1701 setID(tzid); in parse() 1779 UnicodeString tzid; in write() local [all …]
|
D | simpletz.cpp | 1102 UnicodeString tzid; in initTransitionRules() local 1103 getID(tzid); in initTransitionRules() 1136 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1174 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1189 …initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules() 1192 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules() 1204 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
|
D | dtfmtsym.cpp | 1121 const UnicodeString *tzid; in initZoneStringsArray() local 1126 while ((tzid = tzids->snext(status))) { in initZoneStringsArray() 1137 zarray[i][0].setTo(*tzid); in initZoneStringsArray() 1138 … zarray[i][1].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_STANDARD, now, tzDispName)); in initZoneStringsArray() 1139 … zarray[i][2].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_STANDARD, now, tzDispName)); in initZoneStringsArray() 1140 … zarray[i][3].setTo(tzNames->getDisplayName(*tzid, UTZNM_LONG_DAYLIGHT, now, tzDispName)); in initZoneStringsArray() 1141 … zarray[i][4].setTo(tzNames->getDisplayName(*tzid, UTZNM_SHORT_DAYLIGHT, now, tzDispName)); in initZoneStringsArray()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | tzfmttst.cpp | 174 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 175 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 176 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 210 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 222 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip() 225 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 231 … logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 236 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 244 if (outtzid != *tzid) { in TestTimeZoneRoundTrip() 245 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid in TestTimeZoneRoundTrip() [all …]
|
D | tzrulets.cpp | 615 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 616 if (tzid == NULL) { in TestOlsonTransition() 623 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 650 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 651 if (tzid == NULL) { in TestRBTZTransition() 658 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 665 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 667 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 669 … errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 674 …UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() [all …]
|
D | caltest.cpp | 351 UnicodeString tzid("TestZone"); in TestGenericAPI() local 354 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI() 413 if (z->getID(str) != tzid || in TestGenericAPI() 2471 const char* tzid; member 2513 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { in TestRepeatedWallTime() 2515 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); in TestRepeatedWallTime() 2525 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2528 …LLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() 2541 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2544 …: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 174 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 175 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 176 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 210 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 222 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip() 225 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 231 … logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 236 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 244 if (outtzid != *tzid) { in TestTimeZoneRoundTrip() 245 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid in TestTimeZoneRoundTrip() [all …]
|
D | tzrulets.cpp | 613 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 614 if (tzid == NULL) { in TestOlsonTransition() 621 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 648 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 649 if (tzid == NULL) { in TestRBTZTransition() 656 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 663 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 665 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 667 … errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 672 …UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() [all …]
|
D | caltest.cpp | 372 UnicodeString tzid("TestZone"); in TestGenericAPI() local 375 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI() 434 if (z->getID(str) != tzid || in TestGenericAPI() 2508 const char* tzid; member 2550 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { in TestRepeatedWallTime() 2552 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); in TestRepeatedWallTime() 2562 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2565 …LLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() 2578 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2581 …: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 42 const char * tzid; member 78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 82 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cdateintervalformattest.c | 42 const char * tzid; member 78 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 82 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 83 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 161 const UnicodeString *tzid; in call() local 162 while ((tzid = tzids->snext(*status))) { in call() 163 TimeZone *tz = TimeZone::createTimeZone(*tzid); in call()
|
/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 161 const UnicodeString *tzid; in call() local 162 while ((tzid = tzids->snext(*status))) { in call() 163 TimeZone *tz = TimeZone::createTimeZone(*tzid); in call()
|
/external/chromium_org/third_party/icu/source/common/ |
D | putil.cpp | 997 const char *tzid = NULL; in uprv_tzname() local 999 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 1001 if (tzid != NULL) { in uprv_tzname() 1002 return tzid; in uprv_tzname() 1017 tzid = getenv("TZ"); in uprv_tzname() 1018 if (tzid != NULL && isValidOlsonID(tzid) in uprv_tzname() 1021 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1025 skipZoneIDPrefix(&tzid); in uprv_tzname() 1026 return tzid; in uprv_tzname() 1123 tzid = remapShortTimeZone(U_TZNAME[0], U_TZNAME[1], daylightType, uprv_timezone()); in uprv_tzname() [all …]
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 997 const char *tzid = NULL; in uprv_tzname() local 999 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 1001 if (tzid != NULL) { in uprv_tzname() 1002 return tzid; in uprv_tzname() 1017 tzid = getenv("TZ"); in uprv_tzname() 1018 if (tzid != NULL && isValidOlsonID(tzid) in uprv_tzname() 1021 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1025 skipZoneIDPrefix(&tzid); in uprv_tzname() 1026 return tzid; in uprv_tzname() 1123 tzid = remapShortTimeZone(U_TZNAME[0], U_TZNAME[1], daylightType, uprv_timezone()); in uprv_tzname() [all …]
|