Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp1244 UChar prevCh = 0; in splitPatternInto2Part() local
1274 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
1276 UBool repeated = patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)]; in splitPatternInto2Part()
1278 patternRepeated[prevCh - PATTERN_CHAR_BASE] = TRUE; in splitPatternInto2Part()
1298 prevCh = ch; in splitPatternInto2Part()
1307 if ( patternRepeated[(int)(prevCh - PATTERN_CHAR_BASE)] == FALSE ) { in splitPatternInto2Part()
1459 UChar prevCh = 0; in adjustFieldWidth() local
1469 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1471 UChar skeletonChar = prevCh; in adjustFieldWidth()
1484 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
[all …]
Dsmpdtfmt.cpp1010 UChar prevCh = 0; in _format() local
1026 if (ch != prevCh && count > 0) { in _format()
1027 …subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, mutableNF… in _format()
1043 prevCh = ch; in _format()
1054 …subFormat(appendTo, prevCh, count, capitalizationContext, fieldNum++, handler, *workCal, mutableNF… in _format()
3615 UChar prevCh = 0; in isFieldUnitIgnored() local
3620 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
3621 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
3636 prevCh = ch; in isFieldUnitIgnored()
3642 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java529 char prevCh = 0; in splitPatternInto2Part() local
549 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
551 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
553 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
573 prevCh = ch; in splitPatternInto2Part()
582 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java1718 char prevCh = 0; in adjustFieldWidth() local
1727 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1729 char skeletonChar = prevCh; in adjustFieldWidth()
1739 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
1758 prevCh = ch; in adjustFieldWidth()
1765 char skeletonChar = prevCh; in adjustFieldWidth()
1775 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java3771 char prevCh = 0; in isFieldUnitIgnored() local
3776 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
3777 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
3790 prevCh = ch; in isFieldUnitIgnored()
3796 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java520 char prevCh = 0; in splitPatternInto2Part() local
540 if (ch != prevCh && count > 0) { in splitPatternInto2Part()
542 int repeated = patternRepeated[prevCh - PATTERN_CHAR_BASE]; in splitPatternInto2Part()
544 patternRepeated[prevCh - PATTERN_CHAR_BASE] = 1; in splitPatternInto2Part()
564 prevCh = ch; in splitPatternInto2Part()
573 if ( patternRepeated[prevCh - PATTERN_CHAR_BASE] == 0 ) { in splitPatternInto2Part()
DDateIntervalFormat.java1706 char prevCh = 0; in adjustFieldWidth() local
1715 if (ch != prevCh && count > 0) { in adjustFieldWidth()
1717 char skeletonChar = prevCh; in adjustFieldWidth()
1727 adjustedPtn.insert(i, prevCh); in adjustFieldWidth()
1746 prevCh = ch; in adjustFieldWidth()
1753 char skeletonChar = prevCh; in adjustFieldWidth()
1763 adjustedPtn.append(prevCh); in adjustFieldWidth()
DSimpleDateFormat.java3741 char prevCh = 0; in isFieldUnitIgnored() local
3746 if (ch != prevCh && count > 0) { in isFieldUnitIgnored()
3747 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()
3760 prevCh = ch; in isFieldUnitIgnored()
3766 level = getLevelFromChar(prevCh); in isFieldUnitIgnored()