Home
last modified time | relevance | path

Searched refs:copyLength (Results 1 – 12 of 12) sorted by relevance

/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/gdiff/
DGdiff.java105 int copyLength; in patch() local
115 copyLength = patchDataStream.readUnsignedShort(); in patch()
116 copyFromPatch(buffer, patchDataStream, output, copyLength, maxCopyLength); in patch()
119 copyLength = patchDataStream.readInt(); in patch()
120 copyFromPatch(buffer, patchDataStream, output, copyLength, maxCopyLength); in patch()
124 copyLength = patchDataStream.read(); in patch()
125 if (copyLength == -1) { in patch()
128 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
132 copyLength = patchDataStream.readUnsignedShort(); in patch()
133 copyFromOriginal(buffer, inputFile, output, copyOffset, copyLength, maxCopyLength); in patch()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_blockbuffer.cpp98 size_t copyLength = kAllocStep; in GetTextData() local
100 copyLength -= startInner; in GetTextData()
104 copyLength -= ((kAllocStep - 1) - endInner); in GetTextData()
108 copyLength * sizeof(wchar_t)); in GetTextData()
109 pointer += copyLength; in GetTextData()
/external/brotli/java/org/brotli/dec/
DDecode.java780 s.copyLength = COPY_LENGTH_OFFSET[copyCode] + copyExtra; in decompress()
848 + (s.copyLength > 4 ? 3 : s.copyLength - 2)] & 0xFF], s); in decompress()
886 if (s.copyLength > s.metaBlockLength) { in decompress()
895 int copyLength = s.copyLength - s.j; in decompress() local
896 int srcEnd = src + copyLength; in decompress()
897 int dstEnd = dst + copyLength; in decompress()
899 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) { in decompress()
900 for (int k = 0; k < copyLength; ++k) { in decompress()
906 s.j += copyLength; in decompress()
907 s.metaBlockLength -= copyLength; in decompress()
[all …]
DState.java65 int copyLength; field in State
/external/brotli/csharp/org/brotli/dec/
DDecode.cs725 …state.copyLength = Org.Brotli.Dec.Prefix.CopyLengthOffset[copyCode] + Org.Brotli.Dec.BitReader.Rea… in Decompress()
804 …s[state.distContextMap[state.distContextMapSlice + (state.copyLength > 4 ? 3 : state.copyLength - … in Decompress()
842 if (state.copyLength > state.metaBlockLength) in Decompress()
857 int copyLength = state.copyLength - state.j; in Decompress()
858 if ((src + copyLength < ringBufferMask) && (dst + copyLength < ringBufferMask)) in Decompress()
860 for (int k = 0; k < copyLength; ++k) in Decompress()
864 state.j += copyLength; in Decompress()
865 state.metaBlockLength -= copyLength; in Decompress()
866 state.pos += copyLength; in Decompress()
870 for (; state.j < state.copyLength; ) in Decompress()
[all …]
DState.cs86 internal int copyLength; field in Org.Brotli.Dec.State
/external/brotli/js/
Ddecode.js822 s.copyLength = COPY_LENGTH_OFFSET[copyCode] + copyExtra;
896 …oup2, s.hGroup2[s.distContextMap[s.distContextMapSlice + (s.copyLength > 4 ? 3 : s.copyLength - 2)…
928 if (s.copyLength > s.metaBlockLength) {
936 var /** !number */ copyLength = s.copyLength - s.j;
937 var /** !number */ srcEnd = src + copyLength;
938 var /** !number */ dstEnd = dst + copyLength;
940 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) {
941 for (var /** !number */ k = 0; k < copyLength; k += 4) {
950 s.j += copyLength;
951 s.metaBlockLength -= copyLength;
[all …]
Ddecode.min.js1copyLength=q[c]+h;e.j=0;e.runningState=6;case 6:if(e.trivialLiteralContext!=0){while(e.j<e.insertL…
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/
DBsPatch.java324 final InputStream in, final OutputStream out, final byte[] buffer, int copyLength) in pipe() argument
326 while (copyLength > 0) { in pipe()
327 int maxCopy = Math.min(buffer.length, copyLength); in pipe()
330 copyLength -= maxCopy; in pipe()
/external/icu/icu4c/source/i18n/
Duregex.cpp697 int32_t copyLength = fullLength; in uregex_group() local
698 if (copyLength < destCapacity) { in uregex_group()
699 dest[copyLength] = 0; in uregex_group()
700 } else if (copyLength == destCapacity) { in uregex_group()
703 copyLength = destCapacity; in uregex_group()
710 if (copyLength > 0) { in uregex_group()
711 u_memcpy(dest, &regexp->fText[startIx], copyLength); in uregex_group()
/external/icu/icu4c/source/common/
Dlocdispnames.cpp334 int32_t copyLength=uprv_min(length, destCapacity); in _getStringOrCopyKey() local
335 if(copyLength>0 && s != NULL) { in _getStringOrCopyKey()
336 u_memcpy(dest, s, copyLength); in _getStringOrCopyKey()
Duresbund.cpp2831 int32_t copyLength = uprv_min(length, resultCapacity); in ures_getFunctionalEquivalent() local
2832 if(copyLength>0) { in ures_getFunctionalEquivalent()
2833 uprv_strncpy(result, found, copyLength); in ures_getFunctionalEquivalent()