Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp169 for (int32_t patidx = 0; patidx < UPRV_LENGTHOF(PATTERNS); patidx++) { in TestTimeZoneRoundTrip() local
171 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
174 … PATTERNS[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()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java146 for (int patidx = 0; patidx < PATTERNS.length; patidx++) { in TestTimeZoneRoundTrip()
147 logln(" pattern: " + PATTERNS[patidx]); in TestTimeZoneRoundTrip()
148 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
180 if (PATTERNS[patidx].equals("V")) { in TestTimeZoneRoundTrip()
189 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
195 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
200 } else if (PATTERNS[patidx].equals("VV")) { in TestTimeZoneRoundTrip()
204 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
208 … } else if (PATTERNS[patidx].equals("VVV") || PATTERNS[patidx].equals("VVVV")) { in TestTimeZoneRoundTrip()
222 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
DDateFormatTest.java3427 int patidx = 0; in TestFormatToCharacterIterator() local
3446 if (!DATEFORMAT_FIELDS[patidx].equals(attr)) { in TestFormatToCharacterIterator()
3448 "] is " + attr + " - Expected: " + DATEFORMAT_FIELDS[patidx]); in TestFormatToCharacterIterator()
3455 patidx++; in TestFormatToCharacterIterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java147 for (int patidx = 0; patidx < PATTERNS.length; patidx++) { in TestTimeZoneRoundTrip()
148 logln(" pattern: " + PATTERNS[patidx]); in TestTimeZoneRoundTrip()
149 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
181 if (PATTERNS[patidx].equals("V")) { in TestTimeZoneRoundTrip()
190 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
196 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
201 } else if (PATTERNS[patidx].equals("VV")) { in TestTimeZoneRoundTrip()
205 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
209 … } else if (PATTERNS[patidx].equals("VVV") || PATTERNS[patidx].equals("VVVV")) { in TestTimeZoneRoundTrip()
223 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
DDateFormatTest.java3428 int patidx = 0; in TestFormatToCharacterIterator() local
3447 if (!DATEFORMAT_FIELDS[patidx].equals(attr)) { in TestFormatToCharacterIterator()
3449 "] is " + attr + " - Expected: " + DATEFORMAT_FIELDS[patidx]); in TestFormatToCharacterIterator()
3456 patidx++; in TestFormatToCharacterIterator()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h154 for (int32_t patidx = 0; patidx < NUM_PATTERNS; patidx++) { in call() local
155 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call()
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp1793 for (int32_t patidx = 0; PARSE_GMT_OFFSET_TYPES[patidx] >= 0; patidx++) { in parseOffsetFields() local
1794 int32_t gmtPatType = PARSE_GMT_OFFSET_TYPES[patidx]; in parseOffsetFields()
1815 for (int32_t patidx = 0; PARSE_GMT_OFFSET_TYPES[patidx] >= 0; patidx++) { in parseOffsetFields() local
1816 int32_t gmtPatType = PARSE_GMT_OFFSET_TYPES[patidx]; in parseOffsetFields()