/external/icu4c/test/cintltst/ |
D | cdtdptst.c | 230 UChar *pattern=NULL, *tzID=NULL; in TestCzechMonths459() local 253 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestCzechMonths459() 254 u_uastrcpy(tzID, "GMT"); in TestCzechMonths459() 255 cal=ucal_open(tzID, u_strlen(tzID), "cs", UCAL_GREGORIAN, &status); in TestCzechMonths459() 295 free(tzID); in TestCzechMonths459() 306 UChar *pattern, *tzID, *exp; in TestQuotePattern161() local 324 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestQuotePattern161() 325 u_uastrcpy(tzID, "PST"); in TestQuotePattern161() 329 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestQuotePattern161() 346 free(tzID); in TestQuotePattern161()
|
D | ccaltst.c | 86 UChar tzID[4]; in TestCalendar() local 241 u_uastrcpy(tzID, "PST"); in TestCalendar() 242 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar() 247 caldef2=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestCalendar() 251 u_strcpy(tzID, fgGMTID); in TestCalendar() 252 calfr=ucal_open(tzID, u_strlen(tzID), "fr_FR", UCAL_TRADITIONAL, &status); in TestCalendar() 256 calit=ucal_open(tzID, u_strlen(tzID), "it_IT", UCAL_TRADITIONAL, &status); in TestCalendar() 454 UChar tzID[4]; in TestGetSetDateAPI() local 464 u_strcpy(tzID, fgGMTID); in TestGetSetDateAPI() 466 caldef=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestGetSetDateAPI() [all …]
|
D | cdtrgtst.c | 208 UChar tzID[4]; in Test4059917() local 211 u_uastrcpy(tzID, "PST"); in Test4059917() 214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917() 227 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); in Test4059917() 280 UChar dateString[30], pattern[20], tzID[4]; in Test4060212() local 286 u_uastrcpy(tzID, "PST"); in Test4060212() 288 …formatter = udat_open(UDAT_IGNORE,UDAT_IGNORE,"en_US",tzID,-1,pattern, u_strlen(pattern), &status); in Test4060212() 293 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); in Test4060212() 301 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_GREGORIAN, &status); in Test4060212()
|
D | cmsgtst.c | 370 UChar *result, tzID[4], str[25]; in TestNewFormatAndParseAPI() local 389 u_uastrcpy(tzID, "PST"); in TestNewFormatAndParseAPI() 390 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestNewFormatAndParseAPI() 471 UChar *result, *tzID, *str; in TestSampleFormatAndParseWithError() local 490 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParseWithError() 491 u_uastrcpy(tzID, "PST"); in TestSampleFormatAndParseWithError() 492 cal=ucal_open(tzID, u_strlen(tzID), "en_US", UCAL_TRADITIONAL, &status); in TestSampleFormatAndParseWithError() 557 free(tzID); in TestSampleFormatAndParseWithError() 566 UChar *result, *tzID, *str; in TestSampleFormatAndParse() local 583 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParse() [all …]
|
/external/icu4c/test/intltest/ |
D | miscdtfm.cpp | 319 UnicodeString tzID = "Asia/Tokyo"; in test4117335() local 352 if (tzID == (zones[i][0])) { in test4117335()
|
/external/icu4c/i18n/ |
D | udat.cpp | 89 const UChar *tzID, in udat_open() argument 126 if(tzID != 0) { in udat_open() 127 …TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLengt… in udat_open()
|
D | smpdtfmt.cpp | 2807 UnicodeString tzID(gGmt); in subParse() local 2808 formatRFC822TZ(tzID, offset); in subParse() 2810 … TimeZone *customTZ = new SimpleTimeZone(offset, tzID); // faster than TimeZone::createTimeZone in subParse()
|
/external/icu4c/i18n/unicode/ |
D | udat.h | 537 const UChar *tzID,
|