Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java1156 int selectorIndex=index; in parsePluralOrSelectStyle() local
1157 if(argType.hasPluralStyle() && msg.charAt(selectorIndex)=='=') { in parsePluralOrSelectStyle()
1160 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1169 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1171 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
1172 parseDouble(selectorIndex+1, index, false); // adds ARG_INT or ARG_DOUBLE in parsePluralOrSelectStyle()
1175 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1184 msg.regionMatches(selectorIndex, "offset:", 0, 7) in parsePluralOrSelectStyle()
1210 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1212 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
[all …]
DMessageFormat.java1849 int selectorIndex=pattern.getPatternIndex(partIndex++); in findChoiceSubMessage() local
1850 char boundaryChar=pattern.getPatternString().charAt(selectorIndex); in findChoiceSubMessage()
/external/messageformat/java/com/ibm/icu/text/
DMessagePattern.java1226 int selectorIndex=index; in parsePluralOrSelectStyle() local
1227 if(argType.hasPluralStyle() && msg.charAt(selectorIndex)=='=') { in parsePluralOrSelectStyle()
1230 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1239 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1241 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
1242 parseDouble(selectorIndex+1, index, false); // adds ARG_INT or ARG_DOUBLE in parsePluralOrSelectStyle()
1245 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1254 msg.regionMatches(selectorIndex, "offset:", 0, 7) in parsePluralOrSelectStyle()
1280 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1282 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java1227 int selectorIndex=index; in parsePluralOrSelectStyle() local
1228 if(argType.hasPluralStyle() && msg.charAt(selectorIndex)=='=') { in parsePluralOrSelectStyle()
1231 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1240 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1242 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
1243 parseDouble(selectorIndex+1, index, false); // adds ARG_INT or ARG_DOUBLE in parsePluralOrSelectStyle()
1246 int length=index-selectorIndex; in parsePluralOrSelectStyle()
1255 msg.regionMatches(selectorIndex, "offset:", 0, 7) in parsePluralOrSelectStyle()
1281 "Argument selector too long: "+prefix(selectorIndex)); in parsePluralOrSelectStyle()
1283 addPart(Part.Type.ARG_SELECTOR, selectorIndex, length, 0); in parsePluralOrSelectStyle()
[all …]
DMessageFormat.java1893 int selectorIndex=pattern.getPatternIndex(partIndex++); in findChoiceSubMessage() local
1894 char boundaryChar=pattern.getPatternString().charAt(selectorIndex); in findChoiceSubMessage()
/external/icu/icu4c/source/common/
Dmessagepattern.cpp796 int32_t selectorIndex=index; in parsePluralOrSelectStyle() local
797 if(UMSGPAT_ARG_TYPE_HAS_PLURAL_STYLE(argType) && msg.charAt(selectorIndex)==u_equal) { in parsePluralOrSelectStyle()
800 int32_t length=index-selectorIndex; in parsePluralOrSelectStyle()
807 setParseError(parseError, selectorIndex); // Argument selector too long. in parsePluralOrSelectStyle()
811 addPart(UMSGPAT_PART_TYPE_ARG_SELECTOR, selectorIndex, length, 0, errorCode); in parsePluralOrSelectStyle()
812 parseDouble(selectorIndex+1, index, FALSE, in parsePluralOrSelectStyle()
816 int32_t length=index-selectorIndex; in parsePluralOrSelectStyle()
824 0==msg.compare(selectorIndex, 7, kOffsetColon, 0, 7) in parsePluralOrSelectStyle()
856 setParseError(parseError, selectorIndex); // Argument selector too long. in parsePluralOrSelectStyle()
860 addPart(UMSGPAT_PART_TYPE_ARG_SELECTOR, selectorIndex, length, 0, errorCode); in parsePluralOrSelectStyle()
[all …]
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp450 int32_t selectorIndex = pattern.getPatternIndex(partIndex++); in findSubMessage() local
451 UChar boundaryChar = pattern.getPatternString().charAt(selectorIndex); in findSubMessage()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java1807 int selectorIndex=pattern.getPatternIndex(partIndex++); in findChoiceSubMessage() local
1808 char boundaryChar=pattern.getPatternString().charAt(selectorIndex); in findChoiceSubMessage()