Home
last modified time | relevance | path

Searched refs:ARG_NUM_LIMIT (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimplePatternFormatter.java52 private static final int ARG_NUM_LIMIT = 0x100; field in SimplePatternFormatter
62 private static final int MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
143 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
161 if (argNumber >= ARG_NUM_LIMIT) { in compileToStringMinMaxPlaceholders()
190 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
332 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
341 i += n - ARG_NUM_LIMIT; in formatAndReplace()
381 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoPlaceholders()
406 if (n < ARG_NUM_LIMIT) { in format()
430 int limit = i + (n - ARG_NUM_LIMIT); in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimplePatternFormatter.java50 private static final int ARG_NUM_LIMIT = 0x100; field in SimplePatternFormatter
60 private static final int MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
141 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
159 if (argNumber >= ARG_NUM_LIMIT) { in compileToStringMinMaxPlaceholders()
188 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
330 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
339 i += n - ARG_NUM_LIMIT; in formatAndReplace()
379 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoPlaceholders()
404 if (n < ARG_NUM_LIMIT) { in format()
428 int limit = i + (n - ARG_NUM_LIMIT); in format()
/external/icu/icu4c/source/common/
Dsimplepatternformatter.cpp24 const int32_t ARG_NUM_LIMIT = 0x100; variable
34 const int32_t MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
100 (UChar)(ARG_NUM_LIMIT + textLength)); in compileMinMaxPlaceholders()
118 if (argNumber >= ARG_NUM_LIMIT) { in compileMinMaxPlaceholders()
146 (UChar)(ARG_NUM_LIMIT + textLength)); in compileMinMaxPlaceholders()
226 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
235 i += n - ARG_NUM_LIMIT; in formatAndReplace()
253 int32_t segmentLength = compiledPattern[i++] - ARG_NUM_LIMIT; in getTextWithNoPlaceholders()
276 if (n < ARG_NUM_LIMIT) { in format()
305 int32_t length = n - ARG_NUM_LIMIT; in format()