/third_party/icu/icu4c/source/common/ |
D | ucasemap.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower() 228 uint8_t lead = src[srcIndex++]; in toLower() 232 cpStart = srcIndex - 1; in toLower() 237 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower() 244 prev = srcIndex; in toLower() 248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 249 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower() 251 ++srcIndex; in toLower() 255 cpStart = srcIndex - 2; in toLower() [all …]
|
D | edits.cpp | 404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator() 426 srcIndex += oldLength_; in updateNextIndexes() 434 srcIndex -= oldLength_; in updatePreviousIndexes() 658 spanStart = srcIndex; in findIndex() 671 spanStart = findSource ? srcIndex : destIndex; in findIndex() 687 srcIndex -= n * oldLength_; in findIndex() 694 srcIndex -= num * oldLength_; in findIndex() 703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 710 spanStart = srcIndex; in findIndex() 726 srcIndex += n * oldLength_; in findIndex() [all …]
|
D | ustrcase.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 222 while (srcIndex < srcLimit) { in toLower() 223 lead = src[srcIndex]; in toLower() 228 ++srcIndex; in toLower() 236 ++srcIndex; in toLower() 243 src + prev, srcIndex - 1 - prev, options, edits); in toLower() 254 prev = srcIndex; in toLower() 256 if (srcIndex >= srcLimit) { in toLower() 260 int32_t cpStart = srcIndex++; in toLower() 263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower() [all …]
|
D | ucnv_ext.cpp | 240 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument 248 offsets, srcIndex, in ucnv_extWriteToU() 258 offsets, srcIndex, in ucnv_extWriteToU() 283 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument 303 offsets, srcIndex, in ucnv_extInitialMatchToU() 372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument 398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU() 675 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument 742 offsets, srcIndex, in ucnv_extWriteFromU() 754 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument [all …]
|
D | ucnv_ext.h | 357 int32_t **offsets, int32_t srcIndex, 368 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, 377 int32_t **offsets, int32_t srcIndex, 388 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex,
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ucasemap.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower() 228 uint8_t lead = src[srcIndex++]; in toLower() 232 cpStart = srcIndex - 1; in toLower() 237 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower() 244 prev = srcIndex; in toLower() 248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 249 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower() 251 ++srcIndex; in toLower() 255 cpStart = srcIndex - 2; in toLower() [all …]
|
D | edits.cpp | 403 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator() 425 srcIndex += oldLength_; in updateNextIndexes() 433 srcIndex -= oldLength_; in updatePreviousIndexes() 657 spanStart = srcIndex; in findIndex() 670 spanStart = findSource ? srcIndex : destIndex; in findIndex() 686 srcIndex -= n * oldLength_; in findIndex() 693 srcIndex -= num * oldLength_; in findIndex() 702 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 709 spanStart = srcIndex; in findIndex() 725 srcIndex += n * oldLength_; in findIndex() [all …]
|
D | ustrcase.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 222 while (srcIndex < srcLimit) { in toLower() 223 lead = src[srcIndex]; in toLower() 228 ++srcIndex; in toLower() 236 ++srcIndex; in toLower() 243 src + prev, srcIndex - 1 - prev, options, edits); in toLower() 254 prev = srcIndex; in toLower() 256 if (srcIndex >= srcLimit) { in toLower() 260 int32_t cpStart = srcIndex++; in toLower() 263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower() [all …]
|
D | ucnv_ext.cpp | 240 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument 248 offsets, srcIndex, in ucnv_extWriteToU() 258 offsets, srcIndex, in ucnv_extWriteToU() 283 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument 303 offsets, srcIndex, in ucnv_extInitialMatchToU() 372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument 398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU() 675 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument 742 offsets, srcIndex, in ucnv_extWriteFromU() 754 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucasemap.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower() 228 uint8_t lead = src[srcIndex++]; in toLower() 232 cpStart = srcIndex - 1; in toLower() 237 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower() 244 prev = srcIndex; in toLower() 248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 249 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower() 251 ++srcIndex; in toLower() 255 cpStart = srcIndex - 2; in toLower() [all …]
|
D | edits.cpp | 404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator() 426 srcIndex += oldLength_; in updateNextIndexes() 434 srcIndex -= oldLength_; in updatePreviousIndexes() 658 spanStart = srcIndex; in findIndex() 671 spanStart = findSource ? srcIndex : destIndex; in findIndex() 687 srcIndex -= n * oldLength_; in findIndex() 694 srcIndex -= num * oldLength_; in findIndex() 703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 710 spanStart = srcIndex; in findIndex() 726 srcIndex += n * oldLength_; in findIndex() [all …]
|
D | ustrcase.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 222 while (srcIndex < srcLimit) { in toLower() 223 lead = src[srcIndex]; in toLower() 228 ++srcIndex; in toLower() 236 ++srcIndex; in toLower() 243 src + prev, srcIndex - 1 - prev, options, edits); in toLower() 254 prev = srcIndex; in toLower() 256 if (srcIndex >= srcLimit) { in toLower() 260 int32_t cpStart = srcIndex++; in toLower() 263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower() [all …]
|
D | ucnv_ext.cpp | 240 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument 248 offsets, srcIndex, in ucnv_extWriteToU() 258 offsets, srcIndex, in ucnv_extWriteToU() 283 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument 303 offsets, srcIndex, in ucnv_extInitialMatchToU() 372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument 398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU() 675 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument 742 offsets, srcIndex, in ucnv_extWriteFromU() 754 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | ucasemap.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 224 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower() 228 uint8_t lead = src[srcIndex++]; in toLower() 232 cpStart = srcIndex - 1; in toLower() 237 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower() 244 prev = srcIndex; in toLower() 248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 249 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower() 251 ++srcIndex; in toLower() 255 cpStart = srcIndex - 2; in toLower() [all …]
|
D | edits.cpp | 404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator() 426 srcIndex += oldLength_; in updateNextIndexes() 434 srcIndex -= oldLength_; in updatePreviousIndexes() 658 spanStart = srcIndex; in findIndex() 671 spanStart = findSource ? srcIndex : destIndex; in findIndex() 687 srcIndex -= n * oldLength_; in findIndex() 694 srcIndex -= num * oldLength_; in findIndex() 703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 710 spanStart = srcIndex; in findIndex() 726 srcIndex += n * oldLength_; in findIndex() [all …]
|
D | ustrcase.cpp | 218 int32_t srcIndex = srcStart; in toLower() local 222 while (srcIndex < srcLimit) { in toLower() 223 lead = src[srcIndex]; in toLower() 228 ++srcIndex; in toLower() 236 ++srcIndex; in toLower() 243 src + prev, srcIndex - 1 - prev, options, edits); in toLower() 254 prev = srcIndex; in toLower() 256 if (srcIndex >= srcLimit) { in toLower() 260 int32_t cpStart = srcIndex++; in toLower() 263 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower() [all …]
|
D | ucnv_ext.cpp | 240 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteToU() argument 248 offsets, srcIndex, in ucnv_extWriteToU() 258 offsets, srcIndex, in ucnv_extWriteToU() 283 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchToU() argument 303 offsets, srcIndex, in ucnv_extInitialMatchToU() 372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument 398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU() 675 int32_t **offsets, int32_t srcIndex, in ucnv_extWriteFromU() argument 742 offsets, srcIndex, in ucnv_extWriteFromU() 754 int32_t **offsets, int32_t srcIndex, in ucnv_extInitialMatchFromU() argument [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | Edits.java | 279 private int srcIndex, replIndex, destIndex; field in Edits.Iterator 308 srcIndex += oldLength_; in updateNextIndexes() 316 srcIndex -= oldLength_; in updatePreviousIndexes() 581 spanStart = srcIndex; in findIndex() 593 spanStart = findSource ? srcIndex : destIndex; in findIndex() 609 srcIndex -= n * oldLength_; in findIndex() 616 srcIndex -= num * oldLength_; in findIndex() 625 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 632 spanStart = srcIndex; in findIndex() 648 srcIndex += n * oldLength_; in findIndex() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Edits.java | 288 private int srcIndex, replIndex, destIndex; field in Edits.Iterator 317 srcIndex += oldLength_; in updateNextIndexes() 325 srcIndex -= oldLength_; in updatePreviousIndexes() 593 spanStart = srcIndex; in findIndex() 605 spanStart = findSource ? srcIndex : destIndex; in findIndex() 621 srcIndex -= n * oldLength_; in findIndex() 628 srcIndex -= num * oldLength_; in findIndex() 637 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex() 644 spanStart = srcIndex; in findIndex() 660 srcIndex += n * oldLength_; in findIndex() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CaseMapImpl.java | 442 int srcIndex = srcStart; in internalToLower() local 448 if (srcIndex >= srcLimit) { in internalToLower() 451 lead = src.charAt(srcIndex); in internalToLower() 456 ++srcIndex; in internalToLower() 464 ++srcIndex; in internalToLower() 471 appendUnchanged(src, prev, srcIndex - 1 - prev, dest, options, edits); in internalToLower() 476 prev = srcIndex; in internalToLower() 479 int cpStart = srcIndex++; in internalToLower() 482 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower() 483 Character.isLowSurrogate(trail = src.charAt(srcIndex))) { in internalToLower() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | CaseMapImpl.java | 447 int srcIndex = srcStart; in internalToLower() local 453 if (srcIndex >= srcLimit) { in internalToLower() 456 lead = src.charAt(srcIndex); in internalToLower() 461 ++srcIndex; in internalToLower() 469 ++srcIndex; in internalToLower() 476 appendUnchanged(src, prev, srcIndex - 1 - prev, dest, options, edits); in internalToLower() 481 prev = srcIndex; in internalToLower() 484 int cpStart = srcIndex++; in internalToLower() 487 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower() 488 Character.isLowSurrogate(trail = src.charAt(srcIndex))) { in internalToLower() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 853 int srcIndex = srcLength; in srcIndexFromDest() local 858 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest() 865 return srcIndex; in srcIndexFromDest() 871 srcIndex = prevSrcIndex; in srcIndexFromDest() 875 return srcIndex; in srcIndexFromDest() 880 int srcIndex = srcLength; in destIndexFromSrc() local 883 while (index < srcIndex && i > 0) { in destIndexFromSrc() 885 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc() 898 srcIndex = prevSrcIndex; in destIndexFromSrc() 1000 int srcIndex = 0; in checkEditsIter() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 836 int srcIndex = srcLength; in srcIndexFromDest() local 841 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest() 848 return srcIndex; in srcIndexFromDest() 854 srcIndex = prevSrcIndex; in srcIndexFromDest() 858 return srcIndex; in srcIndexFromDest() 863 int srcIndex = srcLength; in destIndexFromSrc() local 866 while (index < srcIndex && i > 0) { in destIndexFromSrc() 868 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc() 881 srcIndex = prevSrcIndex; in destIndexFromSrc() 983 int srcIndex = 0; in checkEditsIter() local [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | testutil.cpp | 90 int32_t srcIndex = srcLength; in srcIndexFromDest() local 95 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest() 102 return srcIndex; in srcIndexFromDest() 108 srcIndex = prevSrcIndex; in srcIndexFromDest() 112 return srcIndex; in srcIndexFromDest() 117 int32_t srcIndex = srcLength; in destIndexFromSrc() local 120 while (index < srcIndex && i > 0) { in destIndexFromSrc() 122 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc() 135 srcIndex = prevSrcIndex; in destIndexFromSrc() 250 int32_t srcIndex = 0; in checkEditsIter() local [all …]
|
D | strcase.cpp | 1649 for (int32_t srcIndex=0; srcIndex<inputLength; srcIndex++) { in TestCaseMapEditsIteratorDocs() local 1650 fineIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs() 1651 fineChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs() 1652 coarseIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs() 1653 coarseChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs() 1655 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs() 1656 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs() 1658 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs() 1659 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs() 1661 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs() [all …]
|