/third_party/icu/icu4c/source/common/ |
D | unisetspan.cpp | 197 makeSpanLengthByte(int32_t spanLength) { in makeSpanLengthByte() argument 199 return spanLength<0xfe ? (uint8_t)spanLength : (uint8_t)0xfe; in makeSpanLengthByte() 228 int32_t i, spanLength; in UnicodeSetStringSpan() local 238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan() 317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 318 if(spanLength<length16 && length16>0) { // Relevant string. in UnicodeSetStringSpan() 322 spanLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 325 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 326 spanBackLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() [all …]
|
D | filterednormalizer2.cpp | 67 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() local 69 if(spanLength!=0) { in normalize() 70 dest.append(src, prevSpanLimit, spanLength); in normalize() 74 if(spanLength!=0) { in normalize() 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() local 111 if (spanLength != 0) { in normalizeUTF8() 113 edits->addUnchanged(spanLength); in normalizeUTF8() 116 sink.Append(src, spanLength); in normalizeUTF8() 121 if (spanLength != 0) { in normalizeUTF8() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8() [all …]
|
D | edits.cpp | 656 int32_t spanStart, spanLength; in findIndex() local 659 spanLength = oldLength_; in findIndex() 662 spanLength = newLength_; in findIndex() 679 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 683 int32_t len = num * spanLength; in findIndex() 685 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 704 } else if (i < (spanStart + spanLength)) { in findIndex() 711 spanLength = oldLength_; in findIndex() 714 spanLength = newLength_; in findIndex() 716 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | unisetspan.cpp | 197 makeSpanLengthByte(int32_t spanLength) { in makeSpanLengthByte() argument 199 return spanLength<0xfe ? (uint8_t)spanLength : (uint8_t)0xfe; in makeSpanLengthByte() 228 int32_t i, spanLength; in UnicodeSetStringSpan() local 238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan() 317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 318 if(spanLength<length16 && length16>0) { // Relevant string. in UnicodeSetStringSpan() 322 spanLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 325 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 326 spanBackLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() [all …]
|
D | filterednormalizer2.cpp | 67 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() local 69 if(spanLength!=0) { in normalize() 70 dest.append(src, prevSpanLimit, spanLength); in normalize() 74 if(spanLength!=0) { in normalize() 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() local 111 if (spanLength != 0) { in normalizeUTF8() 113 edits->addUnchanged(spanLength); in normalizeUTF8() 116 sink.Append(src, spanLength); in normalizeUTF8() 121 if (spanLength != 0) { in normalizeUTF8() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8() [all …]
|
D | edits.cpp | 656 int32_t spanStart, spanLength; in findIndex() local 659 spanLength = oldLength_; in findIndex() 662 spanLength = newLength_; in findIndex() 679 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 683 int32_t len = num * spanLength; in findIndex() 685 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 704 } else if (i < (spanStart + spanLength)) { in findIndex() 711 spanLength = oldLength_; in findIndex() 714 spanLength = newLength_; in findIndex() 716 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | unisetspan.cpp | 197 makeSpanLengthByte(int32_t spanLength) { in makeSpanLengthByte() argument 199 return spanLength<0xfe ? (uint8_t)spanLength : (uint8_t)0xfe; in makeSpanLengthByte() 228 int32_t i, spanLength; in UnicodeSetStringSpan() local 238 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 239 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan() 317 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 318 if(spanLength<length16 && length16>0) { // Relevant string. in UnicodeSetStringSpan() 322 spanLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 325 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 326 spanBackLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() [all …]
|
D | filterednormalizer2.cpp | 67 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() local 69 if(spanLength!=0) { in normalize() 70 dest.append(src, prevSpanLimit, spanLength); in normalize() 74 if(spanLength!=0) { in normalize() 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() local 111 if (spanLength != 0) { in normalizeUTF8() 113 edits->addUnchanged(spanLength); in normalizeUTF8() 116 sink.Append(src, spanLength); in normalizeUTF8() 121 if (spanLength != 0) { in normalizeUTF8() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8() [all …]
|
D | edits.cpp | 656 int32_t spanStart, spanLength; in findIndex() local 659 spanLength = oldLength_; in findIndex() 662 spanLength = newLength_; in findIndex() 679 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 683 int32_t len = num * spanLength; in findIndex() 685 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 704 } else if (i < (spanStart + spanLength)) { in findIndex() 711 spanLength = oldLength_; in findIndex() 714 spanLength = newLength_; in findIndex() 716 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | unisetspan.cpp | 197 makeSpanLengthByte(int32_t spanLength) { in makeSpanLengthByte() argument 199 return spanLength<0xfe ? (uint8_t)spanLength : (uint8_t)0xfe; in makeSpanLengthByte() 228 int32_t i, spanLength; in UnicodeSetStringSpan() local 235 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 236 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan() 314 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 315 if(spanLength<length16) { // Relevant string. in UnicodeSetStringSpan() 319 spanLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 322 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 323 spanBackLengths[i]=makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() [all …]
|
D | filterednormalizer2.cpp | 67 int32_t spanLength=spanLimit-prevSpanLimit; in normalize() local 69 if(spanLength!=0) { in normalize() 70 dest.append(src, prevSpanLimit, spanLength); in normalize() 74 if(spanLength!=0) { in normalize() 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() local 111 if (spanLength != 0) { in normalizeUTF8() 113 edits->addUnchanged(spanLength); in normalizeUTF8() 116 sink.Append(src, spanLength); in normalizeUTF8() 121 if (spanLength != 0) { in normalizeUTF8() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8() [all …]
|
D | edits.cpp | 655 int32_t spanStart, spanLength; in findIndex() local 658 spanLength = oldLength_; in findIndex() 661 spanLength = newLength_; in findIndex() 678 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 682 int32_t len = num * spanLength; in findIndex() 684 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 703 } else if (i < (spanStart + spanLength)) { in findIndex() 710 spanLength = oldLength_; in findIndex() 713 spanLength = newLength_; in findIndex() 715 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | UnicodeSetStringSpan.java | 114 int i, spanLength; in UnicodeSetStringSpan() local 120 spanLength = spanSet.span(string, SpanCondition.CONTAINED); in UnicodeSetStringSpan() 121 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan() 164 spanLength = spanSet.span(string, SpanCondition.CONTAINED); in UnicodeSetStringSpan() 165 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan() 169 spanLengths[i] = makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 172 spanLength = length16 in UnicodeSetStringSpan() 174 spanLengths[spanBackLengthsOffset + i] = makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 399 int spanLength = spanLimit - start; in spanWithStrings() local 419 if (overlap > spanLength) { in spanWithStrings() [all …]
|
D | BMPSet.java | 226 int spanLength = i - start; in span() local 227 outCount.value = spanLength - numSupplementary; // number of code points in span()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UnicodeSetStringSpan.java | 110 int i, spanLength; in UnicodeSetStringSpan() local 122 spanLength = spanSet.span(string, SpanCondition.CONTAINED); in UnicodeSetStringSpan() 123 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan() 167 spanLength = spanSet.span(string, SpanCondition.CONTAINED); in UnicodeSetStringSpan() 168 if (spanLength < length16) { // Relevant string. in UnicodeSetStringSpan() 172 spanLengths[i] = makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 175 spanLength = length16 in UnicodeSetStringSpan() 177 spanLengths[spanBackLengthsOffset + i] = makeSpanLengthByte(spanLength); in UnicodeSetStringSpan() 402 int spanLength = spanLimit - start; in spanWithStrings() local 422 if (overlap > spanLength) { in spanWithStrings() [all …]
|
D | BMPSet.java | 224 int spanLength = i - start; in span() local 225 outCount.value = spanLength - numSupplementary; // number of code points in span()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | Normalizer2.java | 210 int spanLength=spanQuickCheckYes(src); in normalize() local 211 if(spanLength==src.length()) { in normalize() 214 if (spanLength != 0) { in normalize() 215 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 216 … return normalizeSecondAndAppend(sb, src.subSequence(spanLength, src.length())).toString(); in normalize()
|
D | Edits.java | 579 int spanStart, spanLength; in findIndex() local 582 spanLength = oldLength_; in findIndex() 585 spanLength = newLength_; in findIndex() 601 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 605 int len = num * spanLength; in findIndex() 607 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 626 } else if (i < (spanStart + spanLength)) { in findIndex() 633 spanLength = oldLength_; in findIndex() 636 spanLength = newLength_; in findIndex() 638 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
D | FilteredNormalizer2.java | 221 int spanLength=spanLimit-prevSpanLimit; in normalize() local 223 if(spanLength!=0) { in normalize() 228 if(spanLength!=0) { in normalize()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer2.java | 222 int spanLength=spanQuickCheckYes(src); in normalize() local 223 if(spanLength==src.length()) { in normalize() 226 if (spanLength != 0) { in normalize() 227 StringBuilder sb=new StringBuilder(src.length()).append(src, 0, spanLength); in normalize() 228 … return normalizeSecondAndAppend(sb, src.subSequence(spanLength, src.length())).toString(); in normalize()
|
D | Edits.java | 591 int spanStart, spanLength; in findIndex() local 594 spanLength = oldLength_; in findIndex() 597 spanLength = newLength_; in findIndex() 613 spanLength = findSource ? oldLength_ : newLength_; in findIndex() 617 int len = num * spanLength; in findIndex() 619 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex() 638 } else if (i < (spanStart + spanLength)) { in findIndex() 645 spanLength = oldLength_; in findIndex() 648 spanLength = newLength_; in findIndex() 650 if (i < (spanStart + spanLength)) { in findIndex() [all …]
|
D | FilteredNormalizer2.java | 235 int spanLength=spanLimit-prevSpanLimit; in normalize() local 237 if(spanLength!=0) { in normalize() 242 if(spanLength!=0) { in normalize()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 188 int spanLength = (targetWidth - x); in iterate() local 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate() 213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate() 221 for (int ndx = 0; ndx < spanLength; ndx++) in iterate() 227 x += spanLength; in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 188 int spanLength = (targetWidth - x); in iterate() local 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate() 213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate() 221 for (int ndx = 0; ndx < spanLength; ndx++) in iterate() 227 x += spanLength; in iterate()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 247 int spanLength = containsSpanUTF16(set, s.substring(matchLimit), in containsSpanUTF16() local 249 if ((matchLimit + spanLength) > maxSpanLimit) { in containsSpanUTF16() 250 maxSpanLimit = matchLimit + spanLength; in containsSpanUTF16()
|