Home
last modified time | relevance | path

Searched refs:rightIndex (Results 1 - 25 of 57) sorted by relevance

123

/third_party/icu/icu4c/source/i18n/
H A Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
164 if(rightIndex == rightLength) { in compareUTF16()
168 UChar32 c = right[rightIndex++]; in compareUTF16()
188 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
245 if(rightIndex == rightLength) { in compareUTF16()
249 UChar32 c = right[rightIndex++]; in compareUTF16()
264 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
309 if(rightIndex in compareUTF16()
459 int32_t leftIndex = 0, rightIndex = 0; compareUTF8() local
[all...]
H A Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply()
68 rightIndex == string.length()); // fix the previous line to remove this assertion in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
85 length += mod1.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
62 padAndApply(const Modifier &mod1, const Modifier &mod2, FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, UErrorCode &status) const padAndApply() argument
H A Dcollationcompare.cpp115 int32_t rightIndex = 0; in compareUpToQuaternary() local
124 rightSecondary = ((uint32_t)right.getCE(rightIndex++)) >> 16; in compareUpToQuaternary()
155 int32_t rightIndex = rightLimit; in compareUpToQuaternary() local
163 while(rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
164 rightSecondary = ((uint32_t)right.getCE(--rightIndex)) >> 16; in compareUpToQuaternary()
188 int32_t rightIndex = 0; in compareUpToQuaternary() local
206 ce = right.getCE(rightIndex++); in compareUpToQuaternary()
232 rightCase = (uint32_t)right.getCE(rightIndex++); in compareUpToQuaternary()
255 int32_t rightIndex = 0; in compareUpToQuaternary() local
269 rightLower32 = (uint32_t)right.getCE(rightIndex in compareUpToQuaternary()
[all...]
H A Dnumber_modifiers.cpp72 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
74 // Insert the suffix first since inserting the prefix will change the rightIndex in apply()
75 int length = output.insert(rightIndex, fSuffix, fField, status); in apply()
157 int32_t SimpleModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
159 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply()
287 int32_t ConstantMultiFieldModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
293 rightIndex + length, in apply()
297 length += output.insert(rightIndex + length, fSuffix, status); in apply()
377 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
381 if (rightIndex in apply()
[all...]
H A Dnumber_modifiers.h31 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
67 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
160 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
197 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
237 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
241 (void)rightIndex; variable
/third_party/node/deps/icu-small/source/i18n/
H A Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
164 if(rightIndex == rightLength) { in compareUTF16()
168 UChar32 c = right[rightIndex++]; in compareUTF16()
188 rightPair = nextPair(table, c, rightPair, right, nullptr, rightIndex, rightLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
245 if(rightIndex == rightLength) { in compareUTF16()
249 UChar32 c = right[rightIndex++]; in compareUTF16()
264 rightPair = nextPair(table, c, rightPair, right, nullptr, rightIndex, rightLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
309 if(rightIndex in compareUTF16()
459 int32_t leftIndex = 0, rightIndex = 0; compareUTF8() local
[all...]
H A Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply()
68 rightIndex == string.length()); // fix the previous line to remove this assertion in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
85 length += mod1.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
62 padAndApply(const Modifier &mod1, const Modifier &mod2, FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, UErrorCode &status) const padAndApply() argument
H A Dcollationcompare.cpp115 int32_t rightIndex = 0; in compareUpToQuaternary() local
124 rightSecondary = ((uint32_t)right.getCE(rightIndex++)) >> 16; in compareUpToQuaternary()
155 int32_t rightIndex = rightLimit; in compareUpToQuaternary() local
163 while(rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
164 rightSecondary = ((uint32_t)right.getCE(--rightIndex)) >> 16; in compareUpToQuaternary()
188 int32_t rightIndex = 0; in compareUpToQuaternary() local
206 ce = right.getCE(rightIndex++); in compareUpToQuaternary()
232 rightCase = (uint32_t)right.getCE(rightIndex++); in compareUpToQuaternary()
255 int32_t rightIndex = 0; in compareUpToQuaternary() local
269 rightLower32 = (uint32_t)right.getCE(rightIndex in compareUpToQuaternary()
[all...]
H A Dnumber_modifiers.cpp81 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
83 // Insert the suffix first since inserting the prefix will change the rightIndex in apply()
84 int length = output.insert(rightIndex, fSuffix, fField, status); in apply()
166 int32_t SimpleModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
168 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply()
296 int32_t ConstantMultiFieldModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
302 rightIndex + length, in apply()
306 length += output.insert(rightIndex + length, fSuffix, status); in apply()
386 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
390 if (rightIndex in apply()
[all...]
H A Dnumber_modifiers.h31 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
67 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
160 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
197 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
237 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
241 (void)rightIndex; variable
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
164 if(rightIndex == rightLength) { in compareUTF16()
168 UChar32 c = right[rightIndex++]; in compareUTF16()
188 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
245 if(rightIndex == rightLength) { in compareUTF16()
249 UChar32 c = right[rightIndex++]; in compareUTF16()
264 rightPair = nextPair(table, c, rightPair, right, NULL, rightIndex, rightLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
309 if(rightIndex in compareUTF16()
459 int32_t leftIndex = 0, rightIndex = 0; compareUTF8() local
[all...]
H A Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply()
68 rightIndex == string.length()); // fix the previous line to remove this assertion in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
85 length += mod1.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
86 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
62 padAndApply(const Modifier &mod1, const Modifier &mod2, FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, UErrorCode &status) const padAndApply() argument
H A Dcollationcompare.cpp115 int32_t rightIndex = 0; in compareUpToQuaternary() local
124 rightSecondary = ((uint32_t)right.getCE(rightIndex++)) >> 16; in compareUpToQuaternary()
155 int32_t rightIndex = rightLimit; in compareUpToQuaternary() local
163 while(rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
164 rightSecondary = ((uint32_t)right.getCE(--rightIndex)) >> 16; in compareUpToQuaternary()
188 int32_t rightIndex = 0; in compareUpToQuaternary() local
206 ce = right.getCE(rightIndex++); in compareUpToQuaternary()
232 rightCase = (uint32_t)right.getCE(rightIndex++); in compareUpToQuaternary()
255 int32_t rightIndex = 0; in compareUpToQuaternary() local
269 rightLower32 = (uint32_t)right.getCE(rightIndex in compareUpToQuaternary()
[all...]
H A Dnumber_modifiers.cpp72 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
74 // Insert the suffix first since inserting the prefix will change the rightIndex in apply()
75 int length = output.insert(rightIndex, fSuffix, fField, status); in apply()
157 int32_t SimpleModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
159 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply()
287 int32_t ConstantMultiFieldModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
293 rightIndex + length, in apply()
297 length += output.insert(rightIndex + length, fSuffix, status); in apply()
377 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
381 if (rightIndex in apply()
[all...]
H A Dnumber_modifiers.h31 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
67 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
160 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
197 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
237 int32_t apply(FormattedStringBuilder &output, int32_t leftIndex, int32_t rightIndex,
241 (void)rightIndex; variable
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationCompare.java101 int rightIndex = 0; in compareUpToQuaternary()
110 rightSecondary = ((int) right.getCE(rightIndex++)) >>> 16; in compareUpToQuaternary()
141 int rightIndex = rightLimit; in compareUpToQuaternary()
149 while (rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
150 rightSecondary = ((int) right.getCE(--rightIndex)) >>> 16; in compareUpToQuaternary()
178 int rightIndex = 0; in compareUpToQuaternary()
196 ce = right.getCE(rightIndex++); in compareUpToQuaternary()
222 rightCase = (int) right.getCE(rightIndex++); in compareUpToQuaternary()
249 int rightIndex = 0; in compareUpToQuaternary()
262 rightLower32 = (int) right.getCE(rightIndex in compareUpToQuaternary()
[all...]
H A DCollationFastLatin.java296 int leftIndex = startIndex, rightIndex = startIndex; in compareUTF16()
342 if(rightIndex == right.length()) { in compareUTF16()
346 int c = right.charAt(rightIndex++); in compareUTF16()
366 long pairAndInc = nextPair(table, c, rightPair, right, rightIndex); in compareUTF16()
368 ++rightIndex; in compareUTF16()
399 leftIndex = rightIndex = startIndex; in compareUTF16()
432 if(rightIndex == right.length()) { in compareUTF16()
436 int c = right.charAt(rightIndex++); in compareUTF16()
451 long pairAndInc = nextPair(table, c, rightPair, right, rightIndex); in compareUTF16()
453 ++rightIndex; in compareUTF16()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DCollationCompare.java105 int rightIndex = 0; in compareUpToQuaternary()
114 rightSecondary = ((int) right.getCE(rightIndex++)) >>> 16; in compareUpToQuaternary()
145 int rightIndex = rightLimit; in compareUpToQuaternary()
153 while (rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
154 rightSecondary = ((int) right.getCE(--rightIndex)) >>> 16; in compareUpToQuaternary()
182 int rightIndex = 0; in compareUpToQuaternary()
200 ce = right.getCE(rightIndex++); in compareUpToQuaternary()
226 rightCase = (int) right.getCE(rightIndex++); in compareUpToQuaternary()
253 int rightIndex = 0; in compareUpToQuaternary()
266 rightLower32 = (int) right.getCE(rightIndex in compareUpToQuaternary()
[all...]
H A DCollationFastLatin.java300 int leftIndex = startIndex, rightIndex = startIndex; in compareUTF16()
346 if(rightIndex == right.length()) { in compareUTF16()
350 int c = right.charAt(rightIndex++); in compareUTF16()
370 long pairAndInc = nextPair(table, c, rightPair, right, rightIndex); in compareUTF16()
372 ++rightIndex; in compareUTF16()
403 leftIndex = rightIndex = startIndex; in compareUTF16()
436 if(rightIndex == right.length()) { in compareUTF16()
440 int c = right.charAt(rightIndex++); in compareUTF16()
455 long pairAndInc = nextPair(table, c, rightPair, right, rightIndex); in compareUTF16()
457 ++rightIndex; in compareUTF16()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DPadder.java86 int rightIndex) { in padAndApply()
89 assert leftIndex == 0 && rightIndex == string.length(); // fix the previous line to remove this in padAndApply()
95 length += mod1.apply(string, leftIndex, rightIndex); in padAndApply()
96 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
103 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
105 length += mod1.apply(string, leftIndex, rightIndex + length); in padAndApply()
106 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
110 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
81 padAndApply( Modifier mod1, Modifier mod2, FormattedStringBuilder string, int leftIndex, int rightIndex) padAndApply() argument
H A DCurrencySpacingEnabledModifier.java75 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
78 if (rightIndex - leftIndex > 0 in apply()
84 if (rightIndex - leftIndex > 0 in apply()
86 && beforeSuffixUnicodeSet.contains(output.codePointBefore(rightIndex))) { in apply()
88 length += output.insert(rightIndex + length, beforeSuffixInsert, null); in apply()
92 length += super.apply(output, leftIndex, rightIndex + length); in apply()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
H A DPadder.java93 int rightIndex) { in padAndApply()
96 assert leftIndex == 0 && rightIndex == string.length(); // fix the previous line to remove this in padAndApply()
102 length += mod1.apply(string, leftIndex, rightIndex); in padAndApply()
103 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
110 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
112 length += mod1.apply(string, leftIndex, rightIndex + length); in padAndApply()
113 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
117 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
88 padAndApply( Modifier mod1, Modifier mod2, FormattedStringBuilder string, int leftIndex, int rightIndex) padAndApply() argument
H A DCurrencySpacingEnabledModifier.java77 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
80 if (rightIndex - leftIndex > 0 in apply()
86 if (rightIndex - leftIndex > 0 in apply()
88 && beforeSuffixUnicodeSet.contains(output.codePointBefore(rightIndex))) { in apply()
90 length += output.insert(rightIndex + length, beforeSuffixInsert, null); in apply()
94 length += super.apply(output, leftIndex, rightIndex + length); in apply()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DScientificNotation.java265 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
266 return doApply(exponent, output, rightIndex); in apply()
269 private int doApply(int exponent, FormattedStringBuilder output, int rightIndex) { in doApply() argument
271 int i = rightIndex; in doApply()
286 return i - rightIndex; in doApply()
300 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
301 return handler.doApply(exponent, output, rightIndex); in apply()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DScientificNotation.java264 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
265 return doApply(exponent, output, rightIndex); in apply()
268 private int doApply(int exponent, FormattedStringBuilder output, int rightIndex) { in doApply() argument
270 int i = rightIndex; in doApply()
285 return i - rightIndex; in doApply()
299 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
300 return handler.doApply(exponent, output, rightIndex); in apply()

Completed in 19 milliseconds

123