Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java138 for (int patidx = 0; patidx < PATTERNS.length; patidx++) { in TestTimeZoneRoundTrip()
139 logln(" pattern: " + PATTERNS[patidx]); in TestTimeZoneRoundTrip()
140 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
172 if (PATTERNS[patidx].equals("V")) { in TestTimeZoneRoundTrip()
181 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
187 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
192 } else if (PATTERNS[patidx].equals("VV")) { in TestTimeZoneRoundTrip()
196 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
200 … } else if (PATTERNS[patidx].equals("VVV") || PATTERNS[patidx].equals("VVVV")) { in TestTimeZoneRoundTrip()
214 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
DDateFormatTest.java3351 int patidx = 0; in TestFormatToCharacterIterator() local
3370 if (!DATEFORMAT_FIELDS[patidx].equals(attr)) { in TestFormatToCharacterIterator()
3372 "] is " + attr + " - Expected: " + DATEFORMAT_FIELDS[patidx]); in TestFormatToCharacterIterator()
3379 patidx++; in TestFormatToCharacterIterator()
/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/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()