/third_party/icu/icu4c/source/common/ |
D | ustrcase.cpp | 49 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument 52 if (destIndex > destCapacity) { in checkOverflowAndEditsError() 58 return destIndex; in checkOverflowAndEditsError() 63 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 76 return destIndex; in appendResult() 79 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult() 80 dest[destIndex++]=(UChar)c; in appendResult() 81 return destIndex; in appendResult() 88 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult() 89 dest[destIndex++]=(UChar)result; in appendResult() [all …]
|
D | edits.cpp | 404 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 …]
|
D | usprep.cpp | 515 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/ |
D | ustrcase.cpp | 49 int32_t checkOverflowAndEditsError(int32_t destIndex, int32_t destCapacity, in checkOverflowAndEditsError() argument 52 if (destIndex > destCapacity) { in checkOverflowAndEditsError() 58 return destIndex; in checkOverflowAndEditsError() 63 appendResult(char16_t *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 76 return destIndex; in appendResult() 79 if(destIndex<destCapacity && c<=0xffff) { // BMP slightly-fastpath in appendResult() 80 dest[destIndex++]=(char16_t)c; in appendResult() 81 return destIndex; in appendResult() 88 } else if(destIndex<destCapacity && result<=0xffff) { // BMP slightly-fastpath in appendResult() 89 dest[destIndex++]=(char16_t)result; in appendResult() [all …]
|
D | edits.cpp | 404 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 …]
|
D | usprep.cpp | 515 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] = (char16_t)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/ |
D | ustrcase.cpp | 43 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 …]
|
D | edits.cpp | 404 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 …]
|
D | usprep.cpp | 515 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Edits.java | 288 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/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | Edits.java | 279 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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 837 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/icu4c/source/test/intltest/ |
D | testutil.cpp | 91 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 …]
|
D | strcase.cpp | 1784 for (int32_t destIndex=0; destIndex<inputLength; destIndex++) { in TestCaseMapEditsIteratorDocs() local 1785 fineIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs() 1786 fineChangesIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs() 1787 coarseIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs() 1788 coarseChangesIterator.findDestinationIndex(destIndex, status); in TestCaseMapEditsIteratorDocs() 1790 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs() 1791 expectedSrcFineEditIndices[destIndex], in TestCaseMapEditsIteratorDocs() 1793 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs() 1794 expectedSrcFineEditIndices[destIndex], in TestCaseMapEditsIteratorDocs() 1796 assertEquals(UnicodeString("Destination index: ") + destIndex, in TestCaseMapEditsIteratorDocs() [all …]
|
D | utxttest.cpp | 312 int destIndex = 0; // Code point index of the destination for a copy/move test. in TestCMR() local 351 case 1: destIndex = 0; break; in TestCMR() 352 case 2: destIndex = 1; break; in TestCMR() 353 case 3: destIndex = srcIndex - 1; break; in TestCMR() 354 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR() 355 case 5: destIndex = cpCount-1; break; in TestCMR() 356 case 6: destIndex = cpCount; break; in TestCMR() 358 if (destIndex<0 || destIndex>cpCount) { in TestCMR() 365 nativeDest = nativeMap[destIndex].nativeIdx; in TestCMR() 369 u16Dest = u16Map[destIndex].nativeIdx; in TestCMR()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 920 int destIndex = destLength; in srcIndexFromDest() local 922 while (index < destIndex && i > 0) { in srcIndexFromDest() 925 int prevDestIndex = destIndex - expected[i].newLength; in srcIndexFromDest() 938 destIndex = prevDestIndex; in srcIndexFromDest() 947 int destIndex = destLength; in destIndexFromSrc() local 952 int prevDestIndex = destIndex - expected[i].newLength; in destIndexFromSrc() 958 return destIndex; in destIndexFromSrc() 965 destIndex = prevDestIndex; in destIndexFromSrc() 968 return destIndex; in destIndexFromSrc() 1067 int destIndex = 0; in checkEditsIter() local [all …]
|
/third_party/icu/icu4c/source/common/unicode/ |
D | edits.h | 212 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/ |
D | edits.h | 212 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/skia/third_party/externals/icu/source/common/unicode/ |
D | edits.h | 212 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/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | TextureStorage9.h | 104 const gl::ImageIndex &destIndex) override; 138 const gl::ImageIndex &destIndex) override; 175 const gl::ImageIndex &destIndex) override;
|
D | TextureStorage9.cpp | 232 const gl::ImageIndex &destIndex) in generateMipmap() argument 240 getSurfaceLevel(context, gl::TextureTarget::_2D, destIndex.getLevelIndex(), true, &lower)); in generateMipmap() 515 const gl::ImageIndex &destIndex) in generateMipmap() argument 523 getSurfaceLevel(context, destIndex.getTarget(), destIndex.getLevelIndex(), true, &lower)); in generateMipmap()
|
/third_party/gstreamer/gstplugins_bad/ext/onnx/ |
D | gstonnxclient.cpp | 331 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()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestStringPrep.java | 113 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep() local 114 if(destIndex < 0){ in TestNFS4MixedPrep()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | TestStringPrep.java | 116 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep() local 117 if(destIndex < 0){ in TestNFS4MixedPrep()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 531 gl::ImageIndex destIndex = getImageIndex(mip, layer); in generateMipmapUsingImages() local 536 ANGLE_TRY(mTexStorage->generateMipmap(context, sourceIndex, destIndex)); in generateMipmapUsingImages() 542 mRenderer->generateMipmap(context, getImage(destIndex), getImage(sourceIndex))); in generateMipmapUsingImages() 2664 gl::ImageIndex destIndex = gl::ImageIndex::Make3D(static_cast<GLint>(index.getLevelIndex())); in copyTexture() local 2666 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) in copyTexture() 2685 ANGLE_TRY(getImageAndSyncFromStorage(context, destIndex, &destImage)); in copyTexture() 2694 ANGLE_TRY(commitRegion(context, destIndex, destRegion)); in copyTexture() 2711 gl::ImageIndex destIndex = gl::ImageIndex::Make3D(static_cast<GLint>(index.getLevelIndex())); in copySubTexture() local 2713 if (!isSRGB(index.getLevelIndex()) && canCreateRenderTargetForImage(destIndex)) in copySubTexture() 2735 ANGLE_TRY(getImageAndSyncFromStorage(context, destIndex, &destImage)); in copySubTexture() [all …]
|