/external/chromium_org/third_party/icu/source/i18n/ |
D | zstrfmt.h | 270 inline UnicodeString& getLongStandard(const UnicodeString &tzid, UDate date, 272 inline UnicodeString& getLongDaylight(const UnicodeString &tzid, UDate date, 274 inline UnicodeString& getLongGenericNonLocation(const UnicodeString &tzid, UDate date, 276 inline UnicodeString& getLongGenericPartialLocation(const UnicodeString &tzid, UDate date, 278 …inline UnicodeString& getShortStandard(const UnicodeString &tzid, UDate date, UBool commonlyUsedOn… 280 …inline UnicodeString& getShortDaylight(const UnicodeString &tzid, UDate date, UBool commonlyUsedOn… 282 …inline UnicodeString& getShortGenericNonLocation(const UnicodeString &tzid, UDate date, UBool comm… 284 …inline UnicodeString& getShortGenericPartialLocation(const UnicodeString &tzid, UDate date, UBool … 286 … inline UnicodeString& getGenericLocation(const UnicodeString &tzid, UnicodeString &result) const; 310 …UnicodeString& getString(const UnicodeString &tzid, TimeZoneTranslationTypeIndex typeIdx, UDate da… [all …]
|
D | zonemeta.h | 33 …static UnicodeString& U_EXPORT2 getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &sys… 39 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &cano… 47 …static UnicodeString& U_EXPORT2 getSingleCountry(const UnicodeString &tzid, UnicodeString &country… 52 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 58 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 62 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
D | zonemeta.cpp | 188 ZoneMeta::getCanonicalSystemID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& stat… in getCanonicalSystemID() argument 189 int32_t len = tzid.length(); in getCanonicalSystemID() 197 const UChar* idChars = tzid.getBuffer(); in getCanonicalSystemID() 218 systemID.setTo(tzid); in getCanonicalSystemID() 238 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalSystemID() 275 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &canonicalCountry) { in getCanonicalCountry() argument 276 const UChar *region = TimeZone::getRegion(tzid); in getCanonicalCountry() 286 ZoneMeta::getSingleCountry(const UnicodeString &tzid, UnicodeString &country) { in getSingleCountry() argument 288 const UChar *region = TimeZone::getRegion(tzid); in getSingleCountry() 405 ZoneMeta::getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) { in getMetazoneID() argument [all …]
|
D | zstrfmt.cpp | 742 char tzid[ZID_KEY_MAX+1]; in addSingleZone() local 744 utzid.extract(0, utzid.length(), tzid, ZID_KEY_MAX, US_INV); in addSingleZone() 823 if (uprv_strlen(tzid) > 4 && uprv_strncmp(tzid, "Etc/", 4) == 0) { in addSingleZone() 1125 const char *tzid; in loadFull() local 1126 while ((tzid = tzids->next(NULL, status))) { in loadFull() 1131 UnicodeString utzid(tzid, -1, US_INV); in loadFull() 1207 const UChar *tzid; in createZoneStringsArray() local 1208 while ((tzid = tzids->unext(NULL, status))) { in createZoneStringsArray() 1213 UnicodeString utzid(tzid); in createZoneStringsArray() 1215 TimeZone::getCanonicalID(UnicodeString(tzid), canonicalID, status); in createZoneStringsArray() [all …]
|
D | vtzone.cpp | 359 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 360 zonename = tzid; in getDefaultTZName() 1352 UnicodeString tzid; in parse() local 1409 tzid = value; in parse() 1423 if (tzid.length() == 0) { in parse() 1495 getDefaultTZName(tzid, dst, zonename); in parse() 1580 getDefaultTZName(tzid, FALSE, zonename); in parse() 1589 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() 1695 setID(tzid); in parse() 1773 UnicodeString tzid; in write() local [all …]
|
D | simpletz.cpp | 1072 UnicodeString tzid; in initTransitionRules() local 1073 getID(tzid); in initTransitionRules() 1106 dstRule = new AnnualTimeZoneRule(tzid+DST_STR, getRawOffset(), getDSTSavings(), in initTransitionRules() 1144 stdRule = new AnnualTimeZoneRule(tzid+STD_STR, getRawOffset(), 0, in initTransitionRules() 1159 … initialRule = new InitialTimeZoneRule(tzid+DST_STR, getRawOffset(), dstRule->getDSTSavings()); in initTransitionRules() 1162 initialRule = new InitialTimeZoneRule(tzid+STD_STR, getRawOffset(), 0); in initTransitionRules() 1174 initialRule = new InitialTimeZoneRule(tzid, getRawOffset(), 0); in initTransitionRules()
|
D | olsontz.cpp | 683 UnicodeString tzid; in initTransitionRules() local 684 getID(tzid); in initTransitionRules() 686 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 687 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 821 finalZone->getID(tzid); in initTransitionRules() 822 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
/external/icu4c/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 | 216 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 221 int32_t len = tzid.length(); in getCanonicalCLDRID() 255 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 272 const UChar* idChars = tzid.getBuffer(); in getCanonicalCLDRID() 292 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 309 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 351 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 374 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status… in getCanonicalCLDRID() argument 375 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() 397 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /… in getCanonicalCountry() argument [all …]
|
D | vtzone.cpp | 358 static void getDefaultTZName(const UnicodeString tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 359 zonename = tzid; in getDefaultTZName() 1357 UnicodeString tzid; in parse() local 1414 tzid = value; in parse() 1428 if (tzid.length() == 0) { in parse() 1500 getDefaultTZName(tzid, dst, zonename); in parse() 1585 getDefaultTZName(tzid, FALSE, zonename); in parse() 1594 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() 1700 setID(tzid); in parse() 1778 UnicodeString tzid; in write() local [all …]
|
D | olsontz.cpp | 120 const UnicodeString& tzid, in OlsonTimeZone() argument 122 BasicTimeZone(tzid), finalZone(NULL), transitionRulesInitialized(FALSE) in OlsonTimeZone() 255 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 715 UnicodeString tzid; in initTransitionRules() local 716 getID(tzid); in initTransitionRules() 718 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 719 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 853 finalZone->getID(tzid); in initTransitionRules() 854 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
D | simpletz.cpp | 1095 UnicodeString tzid; in initTransitionRules() local 1096 getID(tzid); in initTransitionRules() 1129 … dstRule = new AnnualTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), getDSTSavings(), in initTransitionRules() 1167 stdRule = new AnnualTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0, in initTransitionRules() 1182 …initialRule = new InitialTimeZoneRule(tzid+UnicodeString(DST_STR), getRawOffset(), dstRule->getDST… in initTransitionRules() 1185 initialRule = new InitialTimeZoneRule(tzid+UnicodeString(STD_STR), getRawOffset(), 0); in initTransitionRules() 1197 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 | 125 const UnicodeString& tzid,
|
/external/icu4c/test/intltest/ |
D | tzfmttst.cpp | 173 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 174 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 175 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 209 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 221 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip() 224 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 230 … logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 235 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 243 if (outtzid != *tzid) { in TestTimeZoneRoundTrip() 244 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 | 332 UnicodeString tzid("TestZone"); in TestGenericAPI() local 335 SimpleTimeZone *zone = new SimpleTimeZone(tzoffset, tzid); in TestGenericAPI() 394 if (z->getID(str) != tzid || in TestGenericAPI() 2452 const char* tzid; member 2494 for (int32_t i = 0; RPDATA[i].tzid != NULL; i++) { in TestRepeatedWallTime() 2496 TimeZone *tz = TimeZone::createTimeZone(RPDATA[i].tzid); in TestRepeatedWallTime() 2506 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2509 …LLTIME_LAST ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() 2522 + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "]"); in TestRepeatedWallTime() 2525 …: (default) ") + RPDATA[i].in.toString(buf, sizeof(buf)) + "[" + RPDATA[i].tzid + "] is parsed as " in TestRepeatedWallTime() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | tzfmttst.cpp | 126 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 127 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 128 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 162 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 176 TimeZone::getCanonicalID(*tzid, canonical, status); in TestTimeZoneRoundTrip() 179 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 186 logln("Canonical round trip failed (as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 191 errln("Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 216 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 224 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() [all …]
|
D | tzrulets.cpp | 614 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 615 if (tzid == NULL) { in TestOlsonTransition() 622 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 649 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 650 if (tzid == NULL) { in TestRBTZTransition() 657 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 664 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 666 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 668 … errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 673 …UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() [all …]
|
D | tztest.cpp | 1781 const UnicodeString *tzid = s->snext(ec); in TestCanonicalID() local 1782 int32_t nEquiv = TimeZone::countEquivalentIDs(*tzid); in TestCanonicalID() 1792 UnicodeString tmp = TimeZone::getEquivalentID(*tzid, j); in TestCanonicalID() 1822 if (*tzid == UnicodeString(excluded2[k])) { in TestCanonicalID()
|
/external/icu4c/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/icu4c/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/icu4c/common/ |
D | putil.cpp | 993 const char *tzid = NULL; in uprv_tzname() local 995 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 997 if (tzid != NULL) { in uprv_tzname() 998 return tzid; in uprv_tzname() 1013 tzid = getenv("TZ"); in uprv_tzname() 1014 if (tzid != NULL && isValidOlsonID(tzid) in uprv_tzname() 1017 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1021 skipZoneIDPrefix(&tzid); in uprv_tzname() 1022 return tzid; in uprv_tzname() 1108 tzid = remapShortTimeZone(U_TZNAME[0], U_TZNAME[1], daylightType, uprv_timezone()); in uprv_tzname() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | putil.c | 972 const char *tzid = NULL; in uprv_tzname() local 974 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 976 if (tzid != NULL) { in uprv_tzname() 977 return tzid; in uprv_tzname() 992 tzid = getenv("TZ"); in uprv_tzname() 993 if (tzid != NULL && isValidOlsonID(tzid)) in uprv_tzname() 996 skipZoneIDPrefix(&tzid); in uprv_tzname() 997 return tzid; in uprv_tzname() 1077 tzid = remapShortTimeZone(U_TZNAME[0], U_TZNAME[1], daylightType, uprv_timezone()); in uprv_tzname() 1078 if (tzid != NULL) { in uprv_tzname() [all …]
|