Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp1230 UChar prevCh = 0; in splitPatternInto2Part() local
1260 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
1262 UBool repeated = patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)]; in splitPatternInto2Part()
1264 patternRepeated[prevCh - PATTERN_CHAR_BASE] = TRUE; in splitPatternInto2Part()
1284 prevCh = ch; in splitPatternInto2Part()
1293 if ( patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)] == FALSE ) { in splitPatternInto2Part()
1455 UChar prevCh = 0; in adjustFieldWidth() local
1465 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1467 UChar skeletonChar = prevCh; in adjustFieldWidth()
1480 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
[all …]
Dsmpdtfmt.cpp978 UChar prevCh = 0; in _format() local
989 if (ch != prevCh && count > 0) { in _format()
990 … subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, status); in _format()
1006 prevCh = ch; in _format()
1017 … subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, status); in _format()
4002 UChar prevCh = 0; in isFieldUnitIgnored() local
4007 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4008 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
4023 prevCh = ch; in isFieldUnitIgnored()
4029 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java620 char prevCh = 0; in splitPatternInto2Part() local
640 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
642 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
644 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
664 prevCh = ch; in splitPatternInto2Part()
673 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java1740 char prevCh = 0; in adjustFieldWidth() local
1749 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1751 char skeletonChar = prevCh; in adjustFieldWidth()
1761 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
1780 prevCh = ch; in adjustFieldWidth()
1787 char skeletonChar = prevCh; in adjustFieldWidth()
1797 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java4123 char prevCh = 0; in isFieldUnitIgnored() local
4128 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4129 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
4142 prevCh = ch; in isFieldUnitIgnored()
4148 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java630 char prevCh = 0; in splitPatternInto2Part() local
650 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
652 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
654 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
674 prevCh = ch; in splitPatternInto2Part()
683 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java1752 char prevCh = 0; in adjustFieldWidth() local
1761 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1763 char skeletonChar = prevCh; in adjustFieldWidth()
1773 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
1792 prevCh = ch; in adjustFieldWidth()
1799 char skeletonChar = prevCh; in adjustFieldWidth()
1809 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java4154 char prevCh = 0; in isFieldUnitIgnored() local
4159 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
4160 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
4173 prevCh = ch; in isFieldUnitIgnored()
4179 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()