Home
last modified time | relevance | path

Searched refs:getArgumentLimit (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleFormatter.java85 public int getArgumentLimit() { in getArgumentLimit() method in SimpleFormatter
86 return SimpleFormatterImpl.getArgumentLimit(compiledPattern); in getArgumentLimit()
140 String[] values = new String[getArgumentLimit()]; in toString()
DListFormatter.java682 assert SimpleFormatterImpl.getArgumentLimit(compiledPattern) == 2; in append()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleFormatter.java87 public int getArgumentLimit() { in getArgumentLimit() method in SimpleFormatter
88 return SimpleFormatterImpl.getArgumentLimit(compiledPattern); in getArgumentLimit()
147 String[] values = new String[getArgumentLimit()]; in toString()
DListFormatter.java708 assert SimpleFormatterImpl.getArgumentLimit(compiledPattern) == 2; in append()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java186 public static int getArgumentLimit(String compiledPattern) { in getArgumentLimit() method in SimpleFormatterImpl
236 if (valuesLength < getArgumentLimit(compiledPattern)) { in formatAndAppend()
261 if (valuesLength < getArgumentLimit(compiledPattern)) { in formatAndReplace()
272 if (getArgumentLimit(compiledPattern) > 0) { in formatAndReplace()
301 int capacity = compiledPattern.length() - 1 - getArgumentLimit(compiledPattern); in getTextWithNoArguments()
377 int argLimit = getArgumentLimit(compiledPattern); in formatPrefixSuffix()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java184 public static int getArgumentLimit(String compiledPattern) { in getArgumentLimit() method in SimpleFormatterImpl
234 if (valuesLength < getArgumentLimit(compiledPattern)) { in formatAndAppend()
259 if (valuesLength < getArgumentLimit(compiledPattern)) { in formatAndReplace()
270 if (getArgumentLimit(compiledPattern) > 0) { in formatAndReplace()
299 int capacity = compiledPattern.length() - 1 - getArgumentLimit(compiledPattern); in getTextWithNoArguments()
375 int argLimit = getArgumentLimit(compiledPattern); in formatPrefixSuffix()
/external/icu/icu4c/source/common/unicode/
Dsimpleformatter.h157 int32_t getArgumentLimit() const { in getArgumentLimit() function
158 return getArgumentLimit(compiledPattern.getBuffer(), compiledPattern.length()); in getArgumentLimit()
315 static inline int32_t getArgumentLimit(const char16_t *compiledPattern, in getArgumentLimit() function
/external/icu/libicu/cts_headers/unicode/
Dsimpleformatter.h157 int32_t getArgumentLimit() const { in getArgumentLimit() function
158 return getArgumentLimit(compiledPattern.getBuffer(), compiledPattern.length()); in getArgumentLimit()
315 static inline int32_t getArgumentLimit(const char16_t *compiledPattern, in getArgumentLimit() function
/external/icu/icu4c/source/test/intltest/
Dsimpleformattertest.cpp70 assertEquals("getArgumentLimit", 0, fmt.getArgumentLimit()); in TestNoArguments()
106 assertEquals("getArgumentLimit", 1, fmt.getArgumentLimit()); in TestOneArgument()
138 assertEquals("{20} count", 21, fmt.getArgumentLimit()); in TestBigArgument()
158 assertEquals("getArgumentLimit", 6, fmt.getArgumentLimit()); in TestManyArguments()
224 assertEquals("getArgumentLimit", 1, r.getArgumentLimit()); in TestManyArguments()
231 assertEquals("getArgumentLimit", 2, r.getArgumentLimit()); in TestManyArguments()
238 assertEquals("getArgumentLimit", 3, r.getArgumentLimit()); in TestManyArguments()
/external/icu/icu4c/source/common/
Dsimpleformatter.cpp190 valuesLength < getArgumentLimit()) { in formatAndAppend()
212 if (valuesLength < getArgumentLimit(cp, cpLength)) { in formatAndReplace()
224 if (getArgumentLimit(cp, cpLength) > 0) { in formatAndReplace()
257 getArgumentLimit(compiledPattern, compiledPatternLength); in getTextWithNoArguments()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DSimpleFormatterTest.java38 fmt.getArgumentLimit()); in TestWithNoArguments()
94 assertEquals("{20} count", 21, fmt.getArgumentLimit()); in TestBigArgument()
142 fmt.getArgumentLimit()); in TestWithArguments()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DSimpleFormatterTest.java41 fmt.getArgumentLimit()); in TestWithNoArguments()
97 assertEquals("{20} count", 21, fmt.getArgumentLimit()); in TestBigArgument()
145 fmt.getArgumentLimit()); in TestWithArguments()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DSimpleModifier.java100 int argLimit = SimpleFormatterImpl.getArgumentLimit(compiledPattern); in formatTwoArgPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DSimpleModifier.java98 int argLimit = SimpleFormatterImpl.getArgumentLimit(compiledPattern); in formatTwoArgPattern()
/external/icu/icu4c/source/i18n/
Dnumrange_impl.cpp59 return fData.rangePattern.getArgumentLimit() != 0; in hasRangeData()
63 return fData.approximatelyPattern.getArgumentLimit() != 0; in hasApproxData()
Dnumber_modifiers.cpp123 int32_t argLimit = SimpleFormatter::getArgumentLimit( in SimpleModifier()
234 int32_t argLimit = SimpleFormatter::getArgumentLimit( in formatTwoArgPattern()
Dlistformatter.cpp583 if (pattern.getArgumentLimit() != 2) { in append()
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j63.api3.gz
Dicu4j65.api3.gz
Dicu4j68.api3.gz

12