Home
last modified time | relevance | path

Searched refs:srcIndex (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/icu/source/common/
Ducasemap.cpp218 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 …]
Dedits.cpp404 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 …]
Dustrcase.cpp218 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 …]
Ducnv_ext.cpp240 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 …]
Ducnv_ext.h357 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/node/deps/icu-small/source/common/
Ducasemap.cpp217 int32_t srcIndex = srcStart; in toLower() local
223 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower()
227 uint8_t lead = src[srcIndex++]; in toLower()
231 cpStart = srcIndex - 1; in toLower()
236 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower()
243 prev = srcIndex; in toLower()
247 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower()
248 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower()
250 ++srcIndex; in toLower()
254 cpStart = srcIndex - 2; in toLower()
[all …]
Dedits.cpp404 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 …]
Dustrcase.cpp224 int32_t srcIndex = srcStart; in toLower() local
228 while (srcIndex < srcLimit) { in toLower()
229 lead = src[srcIndex]; in toLower()
234 ++srcIndex; in toLower()
242 ++srcIndex; in toLower()
249 src + prev, srcIndex - 1 - prev, options, edits); in toLower()
260 prev = srcIndex; in toLower()
262 if (srcIndex >= srcLimit) { in toLower()
266 int32_t cpStart = srcIndex++; in toLower()
269 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower()
[all …]
Ducnv_ext.cpp240 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 …]
Ducnv_ext.h357 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/icu/icu4c/source/common/
Ducasemap.cpp217 int32_t srcIndex = srcStart; in toLower() local
223 if (U_FAILURE(errorCode) || srcIndex >= srcLimit) { in toLower()
227 uint8_t lead = src[srcIndex++]; in toLower()
231 cpStart = srcIndex - 1; in toLower()
236 ByteSinkUtil::appendUnchanged(src + prev, srcIndex - 1 - prev, in toLower()
243 prev = srcIndex; in toLower()
247 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower()
248 (t = src[srcIndex] - 0x80) <= 0x3f) { in toLower()
250 ++srcIndex; in toLower()
254 cpStart = srcIndex - 2; in toLower()
[all …]
Dedits.cpp404 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 …]
Dustrcase.cpp224 int32_t srcIndex = srcStart; in toLower() local
228 while (srcIndex < srcLimit) { in toLower()
229 lead = src[srcIndex]; in toLower()
234 ++srcIndex; in toLower()
242 ++srcIndex; in toLower()
249 src + prev, srcIndex - 1 - prev, options, edits); in toLower()
260 prev = srcIndex; in toLower()
262 if (srcIndex >= srcLimit) { in toLower()
266 int32_t cpStart = srcIndex++; in toLower()
269 if (U16_IS_LEAD(lead) && srcIndex < srcLimit && U16_IS_TRAIL(trail = src[srcIndex])) { in toLower()
[all …]
Ducnv_ext.cpp240 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 …]
Ducnv_ext.h357 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java288 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/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java279 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/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DCaseMapImpl.java447 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/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java453 int srcIndex = srcStart; in internalToLower() local
459 if (srcIndex >= srcLimit) { in internalToLower()
462 lead = src.charAt(srcIndex); in internalToLower()
467 ++srcIndex; in internalToLower()
475 ++srcIndex; in internalToLower()
482 appendUnchanged(src, prev, srcIndex - 1 - prev, dest, options, edits); in internalToLower()
487 prev = srcIndex; in internalToLower()
490 int cpStart = srcIndex++; in internalToLower()
493 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
494 Character.isLowSurrogate(trail = src.charAt(srcIndex))) { in internalToLower()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterCaseTest.java836 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/
Dtestutil.cpp90 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 …]
Dstrcase.cpp1752 for (int32_t srcIndex=0; srcIndex<inputLength; srcIndex++) { in TestCaseMapEditsIteratorDocs() local
1753 fineIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1754 fineChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1755 coarseIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1756 coarseChangesIterator.findSourceIndex(srcIndex, status); in TestCaseMapEditsIteratorDocs()
1758 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
1759 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs()
1761 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
1762 expectedDestFineEditIndices[srcIndex], in TestCaseMapEditsIteratorDocs()
1764 assertEquals(UnicodeString("Source index: ") + srcIndex, in TestCaseMapEditsIteratorDocs()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java919 int srcIndex = srcLength; in srcIndexFromDest() local
924 int prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
931 return srcIndex; in srcIndexFromDest()
937 srcIndex = prevSrcIndex; in srcIndexFromDest()
941 return srcIndex; in srcIndexFromDest()
946 int srcIndex = srcLength; in destIndexFromSrc() local
949 while (index < srcIndex && i > 0) { in destIndexFromSrc()
951 int prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
964 srcIndex = prevSrcIndex; in destIndexFromSrc()
1066 int srcIndex = 0; in checkEditsIter() local
[all …]
/third_party/node/deps/v8/src/objects/
Djs-array.tq147 elements: FixedArray, dstIndex: intptr, srcIndex: intptr,
150 ElementsKind::HOLEY_SMI_ELEMENTS, elements, dstIndex, srcIndex, count);
153 elements: FixedArray, dstIndex: intptr, srcIndex: intptr,
156 ElementsKind::HOLEY_ELEMENTS, elements, dstIndex, srcIndex, count);
159 elements: FixedDoubleArray, dstIndex: intptr, srcIndex: intptr,
162 ElementsKind::HOLEY_DOUBLE_ELEMENTS, elements, dstIndex, srcIndex, count);
170 srcIndex: intptr, count: intptr): void {
173 srcIndex, count);
177 srcElements: FixedDoubleArray, srcIndex: intptr, count: intptr): void {
180 srcIndex, count);
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java242 static void copyMemory(byte[] src, long srcIndex, long targetOffset, long length) { in copyMemory() argument
243 MEMORY_ACCESSOR.copyMemory(src, srcIndex, targetOffset, length); in copyMemory()
250 static void copyMemory(byte[] src, long srcIndex, byte[] target, long targetIndex, long length) { in copyMemory() argument
251 System.arraycopy(src, (int) srcIndex, target, (int) targetIndex, (int) length); in copyMemory()
613 public abstract void copyMemory(byte[] src, long srcIndex, long targetOffset, long length); in copyMemory() argument
698 public void copyMemory(byte[] src, long srcIndex, long targetOffset, long length) { in copyMemory() argument
699 unsafe.copyMemory(src, BYTE_ARRAY_BASE_OFFSET + srcIndex, null, targetOffset, length); in copyMemory()
806 public void copyMemory(byte[] src, long srcIndex, long targetOffset, long length) { in copyMemory() argument
926 public void copyMemory(byte[] src, long srcIndex, long targetOffset, long length) { in copyMemory() argument

123