Home
last modified time | relevance | path

Searched refs:patPos (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Dlocdispnames.cpp584 int32_t patPos=0; /* position in the pattern, used for non-substitution portions */ in uloc_getDisplayName() local
594 while (patPos < sub0Pos) { in uloc_getDisplayName()
595 *p++ = pattern[patPos++]; in uloc_getDisplayName()
598 patPos=sub0Pos; in uloc_getDisplayName()
727 patPos+=subLen; in uloc_getDisplayName()
728 padLen=(subi==0 ? sub1Pos : patLen)-patPos; in uloc_getDisplayName()
732 *p++=pattern[patPos++]; in uloc_getDisplayName()
735 patPos+=padLen; in uloc_getDisplayName()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java551 for (int patPos = 0; patPos < skeleton.length(); patPos++) { in getBestPattern()
552 char patChr = skeleton.charAt(patPos); in getBestPattern()
557 skeletonCopy.setCharAt(patPos, defaultHourFormatChar); in getBestPattern()
560 skeletonCopy.setCharAt(patPos, preferred.charAt(0)); in getBestPattern()
568 skeletonCopy.setCharAt(patPos, 'H'); in getBestPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java554 for (int patPos = 0; patPos < skeleton.length(); patPos++) { in getBestPattern()
555 char patChr = skeleton.charAt(patPos); in getBestPattern()
560 skeletonCopy.setCharAt(patPos, defaultHourFormatChar); in getBestPattern()
563 skeletonCopy.setCharAt(patPos, preferred.charAt(0)); in getBestPattern()
571 skeletonCopy.setCharAt(patPos, 'H'); in getBestPattern()
/external/icu/icu4c/source/i18n/
Ddtptngen.cpp967 int32_t patPos, patLen = patternFormCopy.length(); in getBestPattern() local
969 for (patPos = 0; patPos < patLen; patPos++) { in getBestPattern()
970 UChar patChr = patternFormCopy.charAt(patPos); in getBestPattern()
975 patternFormCopy.setCharAt(patPos, fDefaultHourFormatChar); in getBestPattern()
986 patternFormCopy.setCharAt(patPos, CAP_H); in getBestPattern()
988 patternFormCopy.setCharAt(patPos, LOW_H); in getBestPattern()
999 patternFormCopy.setCharAt(patPos, CAP_H); in getBestPattern()