Home
last modified time | relevance | path

Searched refs:patidx (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp164 for (int32_t patidx = 0; patidx < NUM_PATTERNS; patidx++) { in TestTimeZoneRoundTrip() local
166 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
169 … PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip()
220 if (uprv_strcmp(PATTERNS[patidx], "V") == 0) { in TestTimeZoneRoundTrip()
233 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
238 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
243 } else if (uprv_strcmp(PATTERNS[patidx], "VV") == 0) { in TestTimeZoneRoundTrip()
247 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
251 …} else if (uprv_strcmp(PATTERNS[patidx], "VVV") == 0 || uprv_strcmp(PATTERNS[patidx], "VVVV") == 0… in TestTimeZoneRoundTrip()
267 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java145 for (int patidx = 0; patidx < PATTERNS.length; patidx++) { in TestTimeZoneRoundTrip()
146 logln(" pattern: " + PATTERNS[patidx]); in TestTimeZoneRoundTrip()
147 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
179 if (PATTERNS[patidx].equals("V")) { in TestTimeZoneRoundTrip()
188 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
194 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
199 } else if (PATTERNS[patidx].equals("VV")) { in TestTimeZoneRoundTrip()
203 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
207 … } else if (PATTERNS[patidx].equals("VVV") || PATTERNS[patidx].equals("VVVV")) { in TestTimeZoneRoundTrip()
221 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
DDateFormatTest.java3384 int patidx = 0; in TestFormatToCharacterIterator() local
3403 if (!DATEFORMAT_FIELDS[patidx].equals(attr)) { in TestFormatToCharacterIterator()
3405 "] is " + attr + " - Expected: " + DATEFORMAT_FIELDS[patidx]); in TestFormatToCharacterIterator()
3412 patidx++; in TestFormatToCharacterIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java141 for (int patidx = 0; patidx < PATTERNS.length; patidx++) { in TestTimeZoneRoundTrip()
142 logln(" pattern: " + PATTERNS[patidx]); in TestTimeZoneRoundTrip()
143 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
175 if (PATTERNS[patidx].equals("V")) { in TestTimeZoneRoundTrip()
184 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
190 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
195 } else if (PATTERNS[patidx].equals("VV")) { in TestTimeZoneRoundTrip()
199 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
203 … } else if (PATTERNS[patidx].equals("VVV") || PATTERNS[patidx].equals("VVVV")) { in TestTimeZoneRoundTrip()
217 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
DDateFormatTest.java3380 int patidx = 0; in TestFormatToCharacterIterator() local
3399 if (!DATEFORMAT_FIELDS[patidx].equals(attr)) { in TestFormatToCharacterIterator()
3401 "] is " + attr + " - Expected: " + DATEFORMAT_FIELDS[patidx]); in TestFormatToCharacterIterator()
3408 patidx++; in TestFormatToCharacterIterator()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h151 for (int32_t patidx = 0; patidx < NUM_PATTERNS; patidx++) { in call() local
152 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call()
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp1791 for (int32_t patidx = 0; PARSE_GMT_OFFSET_TYPES[patidx] >= 0; patidx++) { in parseOffsetFields() local
1792 int32_t gmtPatType = PARSE_GMT_OFFSET_TYPES[patidx]; in parseOffsetFields()
1813 for (int32_t patidx = 0; PARSE_GMT_OFFSET_TYPES[patidx] >= 0; patidx++) { in parseOffsetFields() local
1814 int32_t gmtPatType = PARSE_GMT_OFFSET_TYPES[patidx]; in parseOffsetFields()