Home
last modified time | relevance | path

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

/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.java773 s.copyLength = COPY_LENGTH_OFFSET[copyCode] + copyExtra; in decompress()
843 + (s.copyLength > 4 ? 3 : s.copyLength - 2)] & 0xFF], s); in decompress()
882 if (s.copyLength > s.metaBlockLength) { in decompress()
891 int copyLength = s.copyLength - s.j; in decompress() local
892 int srcEnd = src + copyLength; in decompress()
893 int dstEnd = dst + copyLength; in decompress()
895 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) { in decompress()
896 for (int k = 0; k < copyLength; ++k) { in decompress()
902 s.j += copyLength; in decompress()
903 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/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/
DBsPatch.java280 final InputStream in, final OutputStream out, final byte[] buffer, int copyLength) in pipe() argument
282 while (copyLength > 0) { in pipe()
283 int maxCopy = Math.min(buffer.length, copyLength); in pipe()
286 copyLength -= maxCopy; in pipe()
/external/brotli/js/
Ddecode.js813 s.copyLength = COPY_LENGTH_OFFSET[copyCode] + copyExtra;
889 …oup2, s.hGroup2[s.distContextMap[s.distContextMapSlice + (s.copyLength > 4 ? 3 : s.copyLength - 2)…
922 if (s.copyLength > s.metaBlockLength) {
930 var /** !number */ copyLength = s.copyLength - s.j;
931 var /** !number */ srcEnd = src + copyLength;
932 var /** !number */ dstEnd = dst + copyLength;
934 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) {
935 for (var /** !number */ k = 0; k < copyLength; k += 4) {
944 s.j += copyLength;
945 s.metaBlockLength -= copyLength;
[all …]
/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.cpp2800 int32_t copyLength = uprv_min(length, resultCapacity); in ures_getFunctionalEquivalent() local
2801 if(copyLength>0) { in ures_getFunctionalEquivalent()
2802 uprv_strncpy(result, found, copyLength); in ures_getFunctionalEquivalent()