• Home
  • Raw
  • Download

Lines Matching refs:PATTERNS

32 static const char* PATTERNS[] = {  variable
169 for (int32_t patidx = 0; patidx < UPRV_LENGTHOF(PATTERNS); patidx++) { in TestTimeZoneRoundTrip()
171 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
174PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip()
225 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip()
238 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
243 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
248 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip()
252 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
256 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip()
272 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
277 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
289 UBool isOffsetFormat = (*PATTERNS[patidx] == 'Z' in TestTimeZoneRoundTrip()
290 || *PATTERNS[patidx] == 'O' in TestTimeZoneRoundTrip()
291 || *PATTERNS[patidx] == 'X' in TestTimeZoneRoundTrip()
292 || *PATTERNS[patidx] == 'x'); in TestTimeZoneRoundTrip()
294 if (*PATTERNS[patidx] == 'X' || *PATTERNS[patidx] == 'x') { in TestTimeZoneRoundTrip()
295 minutesOffset = (uprv_strlen(PATTERNS[patidx]) <= 3); in TestTimeZoneRoundTrip()
318 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
326 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
393 UDate times[UPRV_LENGTHOF(PATTERNS)]; // Performance data, Elapsed time for each pattern.
409 patternIndex = UPRV_LENGTHOF(PATTERNS); in resetTestIteration()
415 if (patternIndex >= UPRV_LENGTHOF(PATTERNS) - 1) { in nextTest()
431 U_ASSERT(patIdx < UPRV_LENGTHOF(PATTERNS)); in addTime()
505 for (int32_t i = 0; i < UPRV_LENGTHOF(PATTERNS); i++) { in TestTimeRoundTrip()
506 logln(UnicodeString("") + gLocaleData->times[i] + "ms (" + PATTERNS[i] + ")"); in TestTimeRoundTrip()
559 pattern.append(" ").append(PATTERNS[patidx]); in RunTimeRoundTripTests()
571 UBool minutesOffset = contains(MINUTES_OFFSET, PATTERNS[patidx]); in RunTimeRoundTripTests()
579 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in RunTimeRoundTripTests()
587 } else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0) { in RunTimeRoundTripTests()
597 if (*tzid == "Pacific/Apia" && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in RunTimeRoundTripTests()
625 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) : in RunTimeRoundTripTests()
626 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]); in RunTimeRoundTripTests()
629 !contains(AMBIGUOUS_DST_DECESSION, PATTERNS[patidx]) : in RunTimeRoundTripTests()
630 !contains(AMBIGUOUS_NEGATIVE_SHIFT, PATTERNS[patidx]); in RunTimeRoundTripTests()
662 + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]); in RunTimeRoundTripTests()
672 … + ", locale=" + gLocaleData->locales[locidx].getName() + ", pattern=" + PATTERNS[patidx] in RunTimeRoundTripTests()
677 PATTERNS[patidx], testTimes[testidx])) { in RunTimeRoundTripTests()