Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java39 private static final int ARG_NUM_LIMIT = 0x100; field in SimpleFormatterImpl
40 private static final char LEN1_CHAR = (char)(ARG_NUM_LIMIT + 1);
41 private static final char LEN2_CHAR = (char)(ARG_NUM_LIMIT + 2);
42 private static final char LEN3_CHAR = (char)(ARG_NUM_LIMIT + 3);
52 private static final int MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_ARGUMENT_CHAR - ARG_NUM_LIMIT;
118 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
136 if (argNumber >= ARG_NUM_LIMIT) { in compileToStringMinMaxArguments()
165 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
273 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
282 i += n - ARG_NUM_LIMIT; in formatAndReplace()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DSimpleFormatterImpl.java41 private static final int ARG_NUM_LIMIT = 0x100; field in SimpleFormatterImpl
42 private static final char LEN1_CHAR = (char)(ARG_NUM_LIMIT + 1);
43 private static final char LEN2_CHAR = (char)(ARG_NUM_LIMIT + 2);
44 private static final char LEN3_CHAR = (char)(ARG_NUM_LIMIT + 3);
54 private static final int MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_ARGUMENT_CHAR - ARG_NUM_LIMIT;
120 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
138 if (argNumber >= ARG_NUM_LIMIT) { in compileToStringMinMaxArguments()
167 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
275 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
284 i += n - ARG_NUM_LIMIT; in formatAndReplace()
[all …]
/third_party/icu/icu4c/source/common/
Dsimpleformatter.cpp26 const int32_t ARG_NUM_LIMIT = 0x100; variable
36 const int32_t MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
101 (UChar)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
119 if (argNumber >= ARG_NUM_LIMIT) { in applyPatternMinMaxArguments()
147 (UChar)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
227 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
236 i += n - ARG_NUM_LIMIT; in formatAndReplace()
261 if (n > ARG_NUM_LIMIT) { in getTextWithNoArguments()
262 n -= ARG_NUM_LIMIT; in getTextWithNoArguments()
288 if (n < ARG_NUM_LIMIT) { in format()
[all …]
/third_party/node/deps/icu-small/source/common/
Dsimpleformatter.cpp26 const int32_t ARG_NUM_LIMIT = 0x100; variable
36 const int32_t MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
101 (char16_t)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
119 if (argNumber >= ARG_NUM_LIMIT) { in applyPatternMinMaxArguments()
147 (char16_t)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
227 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
236 i += n - ARG_NUM_LIMIT; in formatAndReplace()
261 if (n > ARG_NUM_LIMIT) { in getTextWithNoArguments()
262 n -= ARG_NUM_LIMIT; in getTextWithNoArguments()
288 if (n < ARG_NUM_LIMIT) { in format()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dsimpleformatter.cpp26 const int32_t ARG_NUM_LIMIT = 0x100; variable
36 const int32_t MAX_SEGMENT_LENGTH = SEGMENT_LENGTH_PLACEHOLDER_CHAR - ARG_NUM_LIMIT;
101 (UChar)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
119 if (argNumber >= ARG_NUM_LIMIT) { in applyPatternMinMaxArguments()
147 (UChar)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
227 if (n < ARG_NUM_LIMIT) { in formatAndReplace()
236 i += n - ARG_NUM_LIMIT; in formatAndReplace()
261 if (n > ARG_NUM_LIMIT) { in getTextWithNoArguments()
262 n -= ARG_NUM_LIMIT; in getTextWithNoArguments()
288 if (n < ARG_NUM_LIMIT) { in format()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DSimpleModifier.java27 private static final int ARG_NUM_LIMIT = 0x100; field in SimpleModifier
109 if (prefixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
113 prefixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
122 if (infixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
126 infixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
138 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DSimpleModifier.java25 private static final int ARG_NUM_LIMIT = 0x100; field in SimpleModifier
107 if (prefixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
111 prefixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
120 if (infixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
124 infixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
136 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_modifiers.cpp20 const int32_t ARG_NUM_LIMIT = 0x100; variable
127 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
136 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
145 fSuffixLength = fCompiledPattern.charAt(fSuffixOffset) - ARG_NUM_LIMIT; in SimpleModifier()
245 if (prefixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
249 prefixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
258 if (infixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
262 infixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
274 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
/third_party/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp20 const int32_t ARG_NUM_LIMIT = 0x100; variable
127 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
136 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
145 fSuffixLength = fCompiledPattern.charAt(fSuffixOffset) - ARG_NUM_LIMIT; in SimpleModifier()
245 if (prefixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
249 prefixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
258 if (infixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
262 infixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
274 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_modifiers.cpp20 const int32_t ARG_NUM_LIMIT = 0x100; variable
136 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
145 fPrefixLength = fCompiledPattern.charAt(1) - ARG_NUM_LIMIT; in SimpleModifier()
154 fSuffixLength = fCompiledPattern.charAt(fSuffixOffset) - ARG_NUM_LIMIT; in SimpleModifier()
254 if (prefixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
258 prefixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
267 if (infixLength < ARG_NUM_LIMIT) { in formatTwoArgPattern()
271 infixLength -= ARG_NUM_LIMIT; in formatTwoArgPattern()
283 suffixLength = compiledPattern.charAt(offset) - ARG_NUM_LIMIT; in formatTwoArgPattern()