Home
last modified time | relevance | path

Searched refs:prevCh (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java627 char prevCh = 0; in splitPatternInto2Part() local
647 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
649 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
651 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
671 prevCh = ch; in splitPatternInto2Part()
680 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java2111 char prevCh = 0; in adjustFieldWidth() local
2118 if (ch != prevCh && count > 0) { in adjustFieldWidth()
2120 char skeletonChar = prevCh; in adjustFieldWidth()
2130 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
2149 prevCh = ch; in adjustFieldWidth()
2156 char skeletonChar = prevCh; in adjustFieldWidth()
2166 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java4185 char prevCh = 0; in isFieldUnitIgnored() local
4190 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4191 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
4204 prevCh = ch; in isFieldUnitIgnored()
4210 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java637 char prevCh = 0; in splitPatternInto2Part() local
657 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
659 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
661 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
681 prevCh = ch; in splitPatternInto2Part()
690 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java2139 char prevCh = 0; in adjustFieldWidth() local
2146 if (ch != prevCh && count > 0) { in adjustFieldWidth()
2148 char skeletonChar = prevCh; in adjustFieldWidth()
2158 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
2177 prevCh = ch; in adjustFieldWidth()
2184 char skeletonChar = prevCh; in adjustFieldWidth()
2194 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java4218 char prevCh = 0; in isFieldUnitIgnored() local
4223 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4224 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
4237 prevCh = ch; in isFieldUnitIgnored()
4243 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp1485 UChar prevCh = 0; in splitPatternInto2Part() local
1515 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
1517 UBool repeated = patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)]; in splitPatternInto2Part()
1519 patternRepeated[prevCh - PATTERN_CHAR_BASE] = TRUE; in splitPatternInto2Part()
1539 prevCh = ch; in splitPatternInto2Part()
1548 if ( patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)] == FALSE ) { in splitPatternInto2Part()
1730 UChar prevCh = 0; in adjustFieldWidth() local
1738 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1740 UChar skeletonChar = prevCh; in adjustFieldWidth()
1753 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
[all …]
Dsmpdtfmt.cpp1048 UChar prevCh = 0; in _format() local
1059 if (ch != prevCh && count > 0) { in _format()
1060 subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, in _format()
1061 prevCh, handler, *workCal, status); in _format()
1077 prevCh = ch; in _format()
1088 subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, in _format()
1089 prevCh, handler, *workCal, status); in _format()
4123 UChar prevCh = 0; in isFieldUnitIgnored() local
4128 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4129 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
[all …]