Home
last modified time | relevance | path

Searched refs:leftIndex (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
133 if(leftIndex == leftLength) { in compareUTF16()
137 UChar32 c = left[leftIndex++]; in compareUTF16()
157 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
220 if(leftIndex == leftLength) { in compareUTF16()
224 UChar32 c = left[leftIndex++]; in compareUTF16()
239 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
296 if(leftIndex == leftLength) { in compareUTF16()
[all …]
Dcollationcompare.cpp114 int32_t leftIndex = 0; in compareUpToQuaternary() local
119 leftSecondary = ((uint32_t)left.getCE(leftIndex++)) >> 16; in compareUpToQuaternary()
154 int32_t leftIndex = leftLimit; in compareUpToQuaternary() local
158 while(leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
159 leftSecondary = ((uint32_t)left.getCE(--leftIndex)) >> 16; in compareUpToQuaternary()
187 int32_t leftIndex = 0; in compareUpToQuaternary() local
199 ce = left.getCE(leftIndex++); in compareUpToQuaternary()
226 leftCase = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
254 int32_t leftIndex = 0; in compareUpToQuaternary() local
260 leftLower32 = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
[all …]
Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply() argument
67 U_ASSERT(leftIndex == 0 && in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, 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()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
Dnumber_modifiers.cpp72 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
76 length += output.insert(leftIndex, fPrefix, 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 rightI… in apply() argument
289 int32_t length = output.insert(leftIndex, fPrefix, status); in apply()
292 leftIndex + length, in apply()
377 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int ri… in apply() argument
381 if (rightIndex - leftIndex > 0 && !fAfterPrefixUnicodeSet.isBogus() && in apply()
382 fAfterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
133 if(leftIndex == leftLength) { in compareUTF16()
137 UChar32 c = left[leftIndex++]; in compareUTF16()
157 leftPair = nextPair(table, c, leftPair, left, nullptr, leftIndex, leftLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
220 if(leftIndex == leftLength) { in compareUTF16()
224 UChar32 c = left[leftIndex++]; in compareUTF16()
239 leftPair = nextPair(table, c, leftPair, left, nullptr, leftIndex, leftLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
296 if(leftIndex == leftLength) { in compareUTF16()
[all …]
Dcollationcompare.cpp114 int32_t leftIndex = 0; in compareUpToQuaternary() local
119 leftSecondary = ((uint32_t)left.getCE(leftIndex++)) >> 16; in compareUpToQuaternary()
154 int32_t leftIndex = leftLimit; in compareUpToQuaternary() local
158 while(leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
159 leftSecondary = ((uint32_t)left.getCE(--leftIndex)) >> 16; in compareUpToQuaternary()
187 int32_t leftIndex = 0; in compareUpToQuaternary() local
199 ce = left.getCE(leftIndex++); in compareUpToQuaternary()
226 leftCase = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
254 int32_t leftIndex = 0; in compareUpToQuaternary() local
260 leftLower32 = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
[all …]
Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply() argument
67 U_ASSERT(leftIndex == 0 && in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, 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()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
Dnumber_modifiers.cpp81 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
85 length += output.insert(leftIndex, fPrefix, 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 rightI… in apply() argument
298 int32_t length = output.insert(leftIndex, fPrefix, status); in apply()
301 leftIndex + length, in apply()
386 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int ri… in apply() argument
390 if (rightIndex - leftIndex > 0 && !fAfterPrefixUnicodeSet.isBogus() && in apply()
391 fAfterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp123 int32_t leftIndex = 0, rightIndex = 0; in compareUTF16() local
133 if(leftIndex == leftLength) { in compareUTF16()
137 UChar32 c = left[leftIndex++]; in compareUTF16()
157 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
216 leftIndex = rightIndex = 0; in compareUTF16()
220 if(leftIndex == leftLength) { in compareUTF16()
224 UChar32 c = left[leftIndex++]; in compareUTF16()
239 leftPair = nextPair(table, c, leftPair, left, NULL, leftIndex, leftLength); in compareUTF16()
292 leftIndex = rightIndex = 0; in compareUTF16()
296 if(leftIndex == leftLength) { in compareUTF16()
[all …]
Dcollationcompare.cpp114 int32_t leftIndex = 0; in compareUpToQuaternary() local
119 leftSecondary = ((uint32_t)left.getCE(leftIndex++)) >> 16; in compareUpToQuaternary()
154 int32_t leftIndex = leftLimit; in compareUpToQuaternary() local
158 while(leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
159 leftSecondary = ((uint32_t)left.getCE(--leftIndex)) >> 16; in compareUpToQuaternary()
187 int32_t leftIndex = 0; in compareUpToQuaternary() local
199 ce = left.getCE(leftIndex++); in compareUpToQuaternary()
226 leftCase = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
254 int32_t leftIndex = 0; in compareUpToQuaternary() local
260 leftLower32 = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
[all …]
Dnumber_padding.cpp63 FormattedStringBuilder &string, int32_t leftIndex, int32_t rightIndex, in padAndApply() argument
67 U_ASSERT(leftIndex == 0 && in padAndApply()
73 length += mod1.apply(string, leftIndex, rightIndex, status); in padAndApply()
74 length += mod2.apply(string, leftIndex, rightIndex + length, status); in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, 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()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
Dnumber_modifiers.cpp72 int32_t ConstantAffixModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply() argument
76 length += output.insert(leftIndex, fPrefix, 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 rightI… in apply() argument
289 int32_t length = output.insert(leftIndex, fPrefix, status); in apply()
292 leftIndex + length, in apply()
377 int32_t CurrencySpacingEnabledModifier::apply(FormattedStringBuilder &output, int leftIndex, int ri… in apply() argument
381 if (rightIndex - leftIndex > 0 && !fAfterPrefixUnicodeSet.isBogus() && in apply()
382 fAfterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java296 int leftIndex = startIndex, rightIndex = startIndex; in compareUTF16() local
306 if(leftIndex == left.length()) { in compareUTF16()
310 int c = left.charAt(leftIndex++); in compareUTF16()
330 long pairAndInc = nextPair(table, c, leftPair, left, leftIndex); in compareUTF16()
332 ++leftIndex; in compareUTF16()
399 leftIndex = rightIndex = startIndex; in compareUTF16()
403 if(leftIndex == left.length()) { in compareUTF16()
407 int c = left.charAt(leftIndex++); in compareUTF16()
422 long pairAndInc = nextPair(table, c, leftPair, left, leftIndex); in compareUTF16()
424 ++leftIndex; in compareUTF16()
[all …]
DCollationCompare.java100 int leftIndex = 0; in compareUpToQuaternary() local
105 leftSecondary = ((int) left.getCE(leftIndex++)) >>> 16; in compareUpToQuaternary()
140 int leftIndex = leftLimit; in compareUpToQuaternary() local
144 while (leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
145 leftSecondary = ((int) left.getCE(--leftIndex)) >>> 16; in compareUpToQuaternary()
177 int leftIndex = 0; in compareUpToQuaternary() local
189 ce = left.getCE(leftIndex++); in compareUpToQuaternary()
216 leftCase = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
248 int leftIndex = 0; in compareUpToQuaternary() local
254 leftLower32 = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationFastLatin.java300 int leftIndex = startIndex, rightIndex = startIndex; in compareUTF16() local
310 if(leftIndex == left.length()) { in compareUTF16()
314 int c = left.charAt(leftIndex++); in compareUTF16()
334 long pairAndInc = nextPair(table, c, leftPair, left, leftIndex); in compareUTF16()
336 ++leftIndex; in compareUTF16()
403 leftIndex = rightIndex = startIndex; in compareUTF16()
407 if(leftIndex == left.length()) { in compareUTF16()
411 int c = left.charAt(leftIndex++); in compareUTF16()
426 long pairAndInc = nextPair(table, c, leftPair, left, leftIndex); in compareUTF16()
428 ++leftIndex; in compareUTF16()
[all …]
DCollationCompare.java104 int leftIndex = 0; in compareUpToQuaternary() local
109 leftSecondary = ((int) left.getCE(leftIndex++)) >>> 16; in compareUpToQuaternary()
144 int leftIndex = leftLimit; in compareUpToQuaternary() local
148 while (leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
149 leftSecondary = ((int) left.getCE(--leftIndex)) >>> 16; in compareUpToQuaternary()
181 int leftIndex = 0; in compareUpToQuaternary() local
193 ce = left.getCE(leftIndex++); in compareUpToQuaternary()
220 leftCase = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
252 int leftIndex = 0; in compareUpToQuaternary() local
258 leftLower32 = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
[all …]
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/
D0.spvasm.expected.hlsl32 int leftIndex;
65 const int x_79 = tree[x_78_save].leftIndex;
67 tree[x_78_save].leftIndex = 1;
73 x_84 = tree[x_78_save].leftIndex;
131 const int x_112 = tree[x_111_save].leftIndex;
133 tree[x_111_save].leftIndex = 2;
139 x_117 = tree[x_111_save].leftIndex;
197 const int x_145 = tree[x_144_save].leftIndex;
199 tree[x_144_save].leftIndex = 3;
205 x_150 = tree[x_144_save].leftIndex;
[all …]
D0.wgsl.expected.hlsl113 int leftIndex;
146 const int x_79 = tree[x_78_save].leftIndex;
148 tree[x_78_save].leftIndex = 1;
154 x_84 = tree[x_78_save].leftIndex;
212 const int x_112 = tree[x_111_save].leftIndex;
214 tree[x_111_save].leftIndex = 2;
220 x_117 = tree[x_111_save].leftIndex;
278 const int x_145 = tree[x_144_save].leftIndex;
280 tree[x_144_save].leftIndex = 3;
286 x_150 = tree[x_144_save].leftIndex;
[all …]
D1.spvasm.expected.hlsl23 int leftIndex;
69 const int x_90 = tree[x_89_save].leftIndex;
79 tree[x_89_save].leftIndex = 1;
97 x_95 = tree[x_89_save].leftIndex;
189 const int x_162 = tree[x_161_save].leftIndex;
199 tree[x_161_save].leftIndex = 2;
217 x_167 = tree[x_161_save].leftIndex;
296 const int x_216 = tree[x_215_save].leftIndex;
306 tree[x_215_save].leftIndex = 3;
324 x_221 = tree[x_215_save].leftIndex;
[all …]
D1.wgsl.expected.hlsl77 int leftIndex;
123 const int x_90 = tree[x_89_save].leftIndex;
133 tree[x_89_save].leftIndex = 1;
151 x_95 = tree[x_89_save].leftIndex;
243 const int x_162 = tree[x_161_save].leftIndex;
253 tree[x_161_save].leftIndex = 2;
271 x_167 = tree[x_161_save].leftIndex;
350 const int x_216 = tree[x_215_save].leftIndex;
360 tree[x_215_save].leftIndex = 3;
378 x_221 = tree[x_215_save].leftIndex;
[all …]
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/
D1.spvasm.expected.hlsl32 int leftIndex;
65 const int x_83 = tree[x_82_save].leftIndex;
67 tree[x_82_save].leftIndex = 1;
73 x_88 = tree[x_82_save].leftIndex;
131 const int x_116 = tree[x_115_save].leftIndex;
133 tree[x_115_save].leftIndex = 2;
139 x_121 = tree[x_115_save].leftIndex;
197 const int x_149 = tree[x_148_save].leftIndex;
199 tree[x_148_save].leftIndex = 3;
205 x_154 = tree[x_148_save].leftIndex;
[all …]
D1.wgsl.expected.hlsl113 int leftIndex;
146 const int x_83 = tree[x_82_save].leftIndex;
148 tree[x_82_save].leftIndex = 1;
154 x_88 = tree[x_82_save].leftIndex;
212 const int x_116 = tree[x_115_save].leftIndex;
214 tree[x_115_save].leftIndex = 2;
220 x_121 = tree[x_115_save].leftIndex;
278 const int x_149 = tree[x_148_save].leftIndex;
280 tree[x_148_save].leftIndex = 3;
286 x_154 = tree[x_148_save].leftIndex;
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java85 int leftIndex, in padAndApply() argument
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()
101 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
105 length += mod1.apply(string, leftIndex, rightIndex + length); in padAndApply()
106 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
108 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPadder.java92 int leftIndex, in padAndApply() argument
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()
108 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
112 length += mod1.apply(string, leftIndex, rightIndex + length); in padAndApply()
113 length += mod2.apply(string, leftIndex, rightIndex + length); in padAndApply()
115 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
DCurrencySpacingEnabledModifier.java77 public int apply(FormattedStringBuilder output, int leftIndex, int rightIndex) { in apply() argument
80 if (rightIndex - leftIndex > 0 in apply()
82 && afterPrefixUnicodeSet.contains(output.codePointAt(leftIndex))) { in apply()
84 length += output.insert(leftIndex, afterPrefixInsert, null); in apply()
86 if (rightIndex - leftIndex > 0 in apply()
94 length += super.apply(output, leftIndex, rightIndex + length); in apply()

1234