Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducasemap.cpp122 appendResult(uint8_t *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
141 if(destIndex<destCapacity) { in appendResult()
146 U8_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
149 destIndex+=U8_LENGTH(c); in appendResult()
155 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, in appendResult()
158 destIndex+=destLength; in appendResult()
164 destIndex+=U8_LENGTH(c); in appendResult()
171 destIndex+=destLength; in appendResult()
174 return destIndex; in appendResult()
221 int32_t srcIndex, destIndex; in _caseMap() local
[all …]
Dustrcase.cpp39 appendResult(UChar *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument
57 if(destIndex<destCapacity) { in appendResult()
62 U16_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult()
65 destIndex+=U16_LENGTH(c); in appendResult()
69 if((destIndex+length)<=destCapacity) { in appendResult()
71 dest[destIndex++]=*s++; in appendResult()
76 destIndex+=length; in appendResult()
82 destIndex+=U16_LENGTH(c); in appendResult()
84 destIndex+=length; in appendResult()
87 return destIndex; in appendResult()
[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 …]
Dutext.cpp501 int64_t destIndex, in utext_copy() argument
512 ut->pFuncs->copy(ut, nativeStart, nativeLimit, destIndex, move, status); in utext_copy()
1943 int64_t destIndex, in repTextCopy() argument
1953 if (start>limit || (start<destIndex && destIndex<limit)) in repTextCopy()
1961 int32_t destIndex32 = pinIndex(destIndex, length); in repTextCopy()
2207 int64_t destIndex, in unistrTextCopy() argument
2218 int32_t destIndex32 = pinIndex(destIndex, length); in unistrTextCopy()
/external/guava/guava/src/com/google/common/escape/
DCharEscaper.java87 int destIndex = 0; in escapeSlow() local
106 int sizeNeeded = destIndex + charsSkipped + rlen; in escapeSlow()
109 dest = growBuffer(dest, destIndex, destSize); in escapeSlow()
114 s.getChars(lastEscape, index, dest, destIndex); in escapeSlow()
115 destIndex += charsSkipped; in escapeSlow()
120 System.arraycopy(r, 0, dest, destIndex, rlen); in escapeSlow()
121 destIndex += rlen; in escapeSlow()
129 int sizeNeeded = destIndex + charsLeft; in escapeSlow()
133 dest = growBuffer(dest, destIndex, sizeNeeded); in escapeSlow()
135 s.getChars(lastEscape, slen, dest, destIndex); in escapeSlow()
[all …]
DUnicodeEscaper.java181 int destIndex = 0; in escapeSlow() local
200 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow()
203 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
207 s.getChars(unescapedChunkStart, index, dest, destIndex); in escapeSlow()
208 destIndex += charsSkipped; in escapeSlow()
211 System.arraycopy(escaped, 0, dest, destIndex, escaped.length); in escapeSlow()
212 destIndex += escaped.length; in escapeSlow()
224 int endIndex = destIndex + charsSkipped; in escapeSlow()
226 dest = growBuffer(dest, destIndex, endIndex); in escapeSlow()
228 s.getChars(unescapedChunkStart, end, dest, destIndex); in escapeSlow()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
DUnicodeEscaper.java192 int destIndex = 0; in escapeSlow() local
207 int sizeNeeded = destIndex + charsSkipped + escaped.length; in escapeSlow()
210 dest = growBuffer(dest, destIndex, destLength); in escapeSlow()
214 s.getChars(unescapedChunkStart, index, dest, destIndex); in escapeSlow()
215 destIndex += charsSkipped; in escapeSlow()
218 System.arraycopy(escaped, 0, dest, destIndex, escaped.length); in escapeSlow()
219 destIndex += escaped.length; in escapeSlow()
231 int endIndex = destIndex + charsSkipped; in escapeSlow()
233 dest = growBuffer(dest, destIndex, endIndex); in escapeSlow()
235 s.getChars(unescapedChunkStart, end, dest, destIndex); in escapeSlow()
[all …]
/external/icu/icu4c/source/layout/
DGlyphIterator.cpp22 …srcIndex(-1), destIndex(-1), lookupFlags(theLookupFlags), featureMask(theFeatureMask), glyphGroup(… in GlyphIterator()
57 destIndex = that.destIndex; in GlyphIterator()
76 destIndex = that.destIndex; in GlyphIterator()
95 destIndex = that.destIndex; in GlyphIterator()
DGlyphIterator.h90 le_int32 destIndex; variable
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DHighRegisterPrefix.java142 private static SimpleInsn moveInsnFor(RegisterSpec src, int destIndex) { in moveInsnFor() argument
144 RegisterSpec.make(destIndex, src.getType()), in moveInsnFor()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLStringDefault.java146 int destIndex = dstBegin; in getChars() local
149 dst[destIndex++] = m_str.charAt(i); in getChars()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp309 int destIndex = 0; // Code point index of the destination for a copy/move test. in TestCMR() local
348 case 1: destIndex = 0; break; in TestCMR()
349 case 2: destIndex = 1; break; in TestCMR()
350 case 3: destIndex = srcIndex - 1; break; in TestCMR()
351 case 4: destIndex = srcIndex + srcLength + 1; break; in TestCMR()
352 case 5: destIndex = cpCount-1; break; in TestCMR()
353 case 6: destIndex = cpCount; break; in TestCMR()
355 if (destIndex<0 || destIndex>cpCount) { in TestCMR()
362 nativeDest = nativeMap[destIndex].nativeIdx; in TestCMR()
366 u16Dest = u16Map[destIndex].nativeIdx; in TestCMR()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestStringPrep.java108 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep() local
109 if(destIndex < 0){ in TestNFS4MixedPrep()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestStringPrep.java112 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep() local
113 if(destIndex < 0){ in TestNFS4MixedPrep()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPUtilsImpl.java672 int destIndex = XMPNodeUtils.lookupLanguageItem(destNode, in appendSubtree() local
678 if (destIndex != -1) in appendSubtree()
680 destNode.removeChild(destIndex); in appendSubtree()
687 else if (destIndex == -1) in appendSubtree()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp499 int32_t destIndex = 0; in outputData() local
508 stringLengths[destIndex++] = static_cast<uint16_t>(offset); in outputData()
509 stringLengths[destIndex++] = static_cast<uint16_t>(length); in outputData()
Dcollationdatabuilder.cpp984 int32_t destIndex = dest.addConditionalCE32( in copyCE32() local
986 ce32 = CollationDataBuilder::makeBuilderContextCE32(destIndex); in copyCE32()
989 ConditionalCE32 *prevDestCond = dest.getConditionalCE32(destIndex); in copyCE32()
990 destIndex = dest.addConditionalCE32( in copyCE32()
994 prevDestCond->next = destIndex; in copyCE32()
Duregex.cpp1770 int32_t *destIndex, // Index into dest buffer. Updated on return.
1776 int32_t di = *destIndex;
1793 *destIndex = di;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java755 int destIndex = dest.addConditionalCE32( in copyCE32() local
757 ce32 = CollationDataBuilder.makeBuilderContextCE32(destIndex); in copyCE32()
760 ConditionalCE32 prevDestCond = dest.getConditionalCE32(destIndex); in copyCE32()
761 destIndex = dest.addConditionalCE32( in copyCE32()
765 prevDestCond.next = destIndex; in copyCE32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java754 int destIndex = dest.addConditionalCE32( in copyCE32() local
756 ce32 = CollationDataBuilder.makeBuilderContextCE32(destIndex); in copyCE32()
759 ConditionalCE32 prevDestCond = dest.getConditionalCE32(destIndex); in copyCE32()
760 destIndex = dest.addConditionalCE32( in copyCE32()
764 prevDestCond.next = destIndex; in copyCE32()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java317 int destIndex = destY * destBytesPerLine + destX * bytesPerPixel; in rotateOptimized() local
319 System.arraycopy(srcData.data, srcIndex, newData, destIndex, bytesPerPixel); in rotateOptimized()
/external/lzma/CPP/Common/
DMyVector.h13 void MoveItems(unsigned destIndex, unsigned srcIndex) in MoveItems() argument
15 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * (size_t)sizeof(T)); in MoveItems()
/external/icu/icu4c/source/common/unicode/
Dutext.h889 int64_t destIndex,