Home
last modified time | relevance | path

Searched refs:destIndex (Results 1 – 25 of 73) sorted by relevance

123

/third_party/icu/icu4c/source/common/
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
52 return destIndex; in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
70 return destIndex; in appendResult()
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
74 dest[destIndex++]=(UChar)c; in appendResult()
75 return destIndex; in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
83 dest[destIndex++]=(UChar)result; in appendResult()
[all …]
Dedits.cpp404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
430 destIndex += newLength_; in updateNextIndexes()
438 destIndex -= newLength_; in updatePreviousIndexes()
661 spanStart = destIndex; in findIndex()
671 spanStart = findSource ? srcIndex : destIndex; in findIndex()
689 destIndex -= n * newLength_; in findIndex()
696 destIndex -= num * newLength_; in findIndex()
703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
713 spanStart = destIndex; in findIndex()
728 destIndex += n * newLength_; in findIndex()
[all …]
Dusprep.cpp515 int32_t destIndex=0; in usprep_map() local
566 if(destIndex < destCapacity ){ in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
569 destIndex++; /* for pre-flighting */ in usprep_map()
583 if(destIndex < destCapacity ){ in usprep_map()
584 dest[destIndex] = (UChar)ch; in usprep_map()
586 destIndex++; in usprep_map()
588 if(destIndex+1 < destCapacity ){ in usprep_map()
589 dest[destIndex] = U16_LEAD(ch); in usprep_map()
590 dest[destIndex+1] = U16_TRAIL(ch); in usprep_map()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
52 return destIndex; in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
70 return destIndex; in appendResult()
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
74 dest[destIndex++]=(UChar)c; in appendResult()
75 return destIndex; in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
83 dest[destIndex++]=(UChar)result; in appendResult()
[all …]
Dedits.cpp404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
430 destIndex += newLength_; in updateNextIndexes()
438 destIndex -= newLength_; in updatePreviousIndexes()
661 spanStart = destIndex; in findIndex()
671 spanStart = findSource ? srcIndex : destIndex; in findIndex()
689 destIndex -= n * newLength_; in findIndex()
696 destIndex -= num * newLength_; in findIndex()
703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
713 spanStart = destIndex; in findIndex()
728 destIndex += n * newLength_; in findIndex()
[all …]
Dusprep.cpp515 int32_t destIndex=0; in usprep_map() local
566 if(destIndex < destCapacity ){ in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
569 destIndex++; /* for pre-flighting */ in usprep_map()
583 if(destIndex < destCapacity ){ in usprep_map()
584 dest[destIndex] = (UChar)ch; in usprep_map()
586 destIndex++; in usprep_map()
588 if(destIndex+1 < destCapacity ){ in usprep_map()
589 dest[destIndex] = U16_LEAD(ch); in usprep_map()
590 dest[destIndex+1] = U16_TRAIL(ch); in usprep_map()
[all …]
/third_party/node/deps/icu-small/source/common/
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
52 return destIndex; in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
70 return destIndex; in appendResult()
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
74 dest[destIndex++]=(UChar)c; in appendResult()
75 return destIndex; in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
83 dest[destIndex++]=(UChar)result; in appendResult()
[all …]
Dedits.cpp404 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
430 destIndex += newLength_; in updateNextIndexes()
438 destIndex -= newLength_; in updatePreviousIndexes()
661 spanStart = destIndex; in findIndex()
671 spanStart = findSource ? srcIndex : destIndex; in findIndex()
689 destIndex -= n * newLength_; in findIndex()
696 destIndex -= num * newLength_; in findIndex()
703 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
713 spanStart = destIndex; in findIndex()
728 destIndex += n * newLength_; in findIndex()
[all …]
Dusprep.cpp515 int32_t destIndex=0; in usprep_map() local
566 if(destIndex < destCapacity ){ in usprep_map()
567 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
569 destIndex++; /* for pre-flighting */ in usprep_map()
583 if(destIndex < destCapacity ){ in usprep_map()
584 dest[destIndex] = (UChar)ch; in usprep_map()
586 destIndex++; in usprep_map()
588 if(destIndex+1 < destCapacity ){ in usprep_map()
589 dest[destIndex] = U16_LEAD(ch); in usprep_map()
590 dest[destIndex+1] = U16_TRAIL(ch); in usprep_map()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dustrcase.cpp43 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument
46 if (destIndex > destCapacity) { in checkOverflowAndEditsError()
52 return destIndex; in checkOverflowAndEditsError()
57 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
70 return destIndex; in appendResult()
73 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult()
74 dest[destIndex++]=(UChar)c; in appendResult()
75 return destIndex; in appendResult()
82 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult()
83 dest[destIndex++]=(UChar)result; in appendResult()
[all …]
Dedits.cpp403 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
429 destIndex += newLength_; in updateNextIndexes()
437 destIndex -= newLength_; in updatePreviousIndexes()
660 spanStart = destIndex; in findIndex()
670 spanStart = findSource ? srcIndex : destIndex; in findIndex()
688 destIndex -= n * newLength_; in findIndex()
695 destIndex -= num * newLength_; in findIndex()
702 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
712 spanStart = destIndex; in findIndex()
727 destIndex += n * newLength_; in findIndex()
[all …]
Dusprep.cpp516 int32_t destIndex=0; in usprep_map() local
567 if(destIndex < destCapacity ){ in usprep_map()
568 dest[destIndex] = profile->mappingData[index+i]; in usprep_map()
570 destIndex++; /* for pre-flighting */ in usprep_map()
584 if(destIndex < destCapacity ){ in usprep_map()
585 dest[destIndex] = (UChar)ch; in usprep_map()
587 destIndex++; in usprep_map()
589 if(destIndex+1 < destCapacity ){ in usprep_map()
590 dest[destIndex] = U16_LEAD(ch); in usprep_map()
591 dest[destIndex+1] = U16_TRAIL(ch); in usprep_map()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java279 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
312 destIndex += newLength_; in updateNextIndexes()
320 destIndex -= newLength_; in updatePreviousIndexes()
584 spanStart = destIndex; in findIndex()
593 spanStart = findSource ? srcIndex : destIndex; in findIndex()
611 destIndex -= n * newLength_; in findIndex()
618 destIndex -= num * newLength_; in findIndex()
625 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
635 spanStart = destIndex; in findIndex()
650 destIndex += n * newLength_; in findIndex()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java288 private int srcIndex, replIndex, destIndex; field in Edits.Iterator
321 destIndex += newLength_; in updateNextIndexes()
329 destIndex -= newLength_; in updatePreviousIndexes()
596 spanStart = destIndex; in findIndex()
605 spanStart = findSource ? srcIndex : destIndex; in findIndex()
623 destIndex -= n * newLength_; in findIndex()
630 destIndex -= num * newLength_; in findIndex()
637 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findIndex()
647 spanStart = destIndex; in findIndex()
662 destIndex += n * newLength_; in findIndex()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtestutil.cpp91 int32_t destIndex = destLength; in srcIndexFromDest() local
93 while (index < destIndex && i > 0) { in srcIndexFromDest()
96 int32_t prevDestIndex = destIndex - expected[i].newLength; in srcIndexFromDest()
109 destIndex = prevDestIndex; in srcIndexFromDest()
118 int32_t destIndex = destLength; in destIndexFromSrc() local
123 int32_t prevDestIndex = destIndex - expected[i].newLength; in destIndexFromSrc()
129 return destIndex; in destIndexFromSrc()
136 destIndex = prevDestIndex; in destIndexFromSrc()
139 return destIndex; in destIndexFromSrc()
251 int32_t destIndex = 0; in checkEditsIter() local
[all …]
Dstrcase.cpp1681 for (int32_t destIndex=0; destIndex<inputLength; destIndex++) { in TestCaseMapEditsIteratorDocs() local
1682 fineIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs()
1683 fineChangesIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs()
1684 coarseIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs()
1685 coarseChangesIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs()
1687 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs()
1688 expectedSrcFineEditIndices[destIndex], in TestCaseMapEditsIteratorDocs()
1690 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs()
1691 expectedSrcFineEditIndices[destIndex], in TestCaseMapEditsIteratorDocs()
1693 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterCaseTest.java837 int destIndex = destLength; in srcIndexFromDest() local
839 while (index < destIndex && i > 0) { in srcIndexFromDest()
842 int prevDestIndex = destIndex - expected[i].newLength; in srcIndexFromDest()
855 destIndex = prevDestIndex; in srcIndexFromDest()
864 int destIndex = destLength; in destIndexFromSrc() local
869 int prevDestIndex = destIndex - expected[i].newLength; in destIndexFromSrc()
875 return destIndex; in destIndexFromSrc()
882 destIndex = prevDestIndex; in destIndexFromSrc()
885 return destIndex; in destIndexFromSrc()
984 int destIndex = 0; in checkEditsIter() local
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java854 int destIndex = destLength; in srcIndexFromDest() local
856 while (index < destIndex && i > 0) { in srcIndexFromDest()
859 int prevDestIndex = destIndex - expected[i].newLength; in srcIndexFromDest()
872 destIndex = prevDestIndex; in srcIndexFromDest()
881 int destIndex = destLength; in destIndexFromSrc() local
886 int prevDestIndex = destIndex - expected[i].newLength; in destIndexFromSrc()
892 return destIndex; in destIndexFromSrc()
899 destIndex = prevDestIndex; in destIndexFromSrc()
902 return destIndex; in destIndexFromSrc()
1001 int destIndex = 0; in checkEditsIter() local
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dedits.h212 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
392 int32_t destinationIndex() const { return destIndex; } in destinationIndex()
427 int32_t srcIndex, replIndex, destIndex; member
/third_party/node/deps/icu-small/source/common/unicode/
Dedits.h212 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
392 int32_t destinationIndex() const { return destIndex; } in destinationIndex()
427 int32_t srcIndex, replIndex, destIndex; member
/third_party/icu/icu4c/source/common/unicode/
Dedits.h212 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
392 int32_t destinationIndex() const { return destIndex; } in destinationIndex()
427 int32_t srcIndex, replIndex, destIndex; member
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dedits.h209 srcIndex(0), replIndex(0), destIndex(0) {} in Iterator()
389 int32_t destinationIndex() const { return destIndex; } in destinationIndex()
424 int32_t srcIndex, replIndex, destIndex; member
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.h98 const gl::ImageIndex &destIndex) override;
124 const gl::ImageIndex &destIndex) override;
154 const gl::ImageIndex &destIndex) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.h104 const gl::ImageIndex &destIndex) override;
138 const gl::ImageIndex &destIndex) override;
175 const gl::ImageIndex &destIndex) override;
/third_party/gstreamer/gstplugins_bad/ext/onnx/
Dgstonnxclient.cpp331 size_t destIndex = 0; in doRun() local
337 dest[destIndex++] = *srcPtr[k]; in doRun()
351 destPtr[k][destIndex] = *srcPtr[k]; in doRun()
354 destIndex++; in doRun()

123