Home
last modified time | relevance | path

Searched refs:srcEnd (Results 1 – 14 of 14) sorted by relevance

/third_party/lz4/ossfuzz/
Dround_trip_frame_uncompressed_fuzzer.c23 const void *const srcEnd = (const char *) srcPtr + readSize; in decompress() local
26 while (srcPtr < srcEnd && ret != 0) { in decompress()
29 size_t srcSize = (const char *) srcEnd - (const char *) srcPtr; in decompress()
39 FUZZ_ASSERT(srcPtr <= srcEnd); in decompress()
/third_party/lz4/lib/
Dlz4frame.c938 const BYTE* const srcEnd = srcPtr + srcSize; in LZ4F_compressUpdateImpl() local
969 srcPtr = srcEnd; in LZ4F_compressUpdateImpl()
987 while ((size_t)(srcEnd - srcPtr) >= blockSize) { in LZ4F_compressUpdateImpl()
998 if ((cctxPtr->prefs.autoFlush) && (srcPtr < srcEnd)) { in LZ4F_compressUpdateImpl()
1002 srcPtr, (size_t)(srcEnd - srcPtr), in LZ4F_compressUpdateImpl()
1006 srcPtr = srcEnd; in LZ4F_compressUpdateImpl()
1034 if (srcPtr < srcEnd) { in LZ4F_compressUpdateImpl()
1036 size_t const sizeToCopy = (size_t)(srcEnd - srcPtr); in LZ4F_compressUpdateImpl()
1563 const BYTE* const srcEnd = srcStart + *srcSizePtr; in LZ4F_decompress() local
1592 if ((size_t)(srcEnd-srcPtr) >= maxFHSize) { /* enough to decode - shortcut */ in LZ4F_decompress()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dncnvtst.c734 const char* srcEnd; in TestRegressionUTF8() local
741 srcEnd = src8 + 3; in TestRegressionUTF8()
742 ucnv_toUnicode(conv8, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, false, &err); in TestRegressionUTF8()
743 if (srcBeg != srcEnd) { in TestRegressionUTF8()
747 srcEnd = src8 + 4; in TestRegressionUTF8()
748 ucnv_toUnicode(conv8, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, true, &err); in TestRegressionUTF8()
749 if (srcBeg != srcEnd) { in TestRegressionUTF8()
839 const char* srcEnd; in TestRegressionUTF32() local
846 srcEnd = srcBE + 5; in TestRegressionUTF32()
847 ucnv_toUnicode(convBE, &pivBeg, pivEnd, &srcBeg, srcEnd, 0, false, &err); in TestRegressionUTF32()
[all …]
/third_party/lz4/examples/
DframeCompress.c219 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal() local
229 while (srcPtr < srcEnd && ret != 0) { in decompress_file_internal()
232 size_t srcSize = (const char*)srcEnd - (const char*)srcPtr; in decompress_file_internal()
244 assert(srcPtr <= srcEnd); in decompress_file_internal()
250 if (srcPtr < srcEnd) { in decompress_file_internal()
/third_party/skia/src/core/
DSkLatticeIter.cpp80 int srcScalable, int srcStart, int srcEnd, float dstStart, float dstEnd, in set_points() argument
110 src[divCount + 1] = srcEnd; in set_points()
DSkMaskBlurFilter.cpp110 template <typename AlphaIter> void blur(const AlphaIter srcBegin, const AlphaIter srcEnd, in blur() argument
123 for (AlphaIter src = srcBegin; src < srcEnd; ++src, dst += dstStride) { in blur()
174 AlphaIter src = srcEnd; in blur()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java523 int srcEnd = strbuff.length(); in TestInsert() local
524 if (0 != srcEnd) { in TestInsert()
525 strbuff.getChars(0, srcEnd, array, 0); in TestInsert()
835 int srcEnd = strbuff.length(); in TestSetCharAt() local
836 if (0 != srcEnd) { in TestSetCharAt()
837 strbuff.getChars(0, srcEnd, array, 0); in TestSetCharAt()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUTF16Test.java517 int srcEnd = strbuff.length(); in TestInsert() local
518 if (0 != srcEnd) { in TestInsert()
519 strbuff.getChars(0, srcEnd, array, 0); in TestInsert()
829 int srcEnd = strbuff.length(); in TestSetCharAt() local
830 if (0 != srcEnd) { in TestSetCharAt()
831 strbuff.getChars(0, srcEnd, array, 0); in TestSetCharAt()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DDecode.java1253 int srcEnd = src + copyLength; in decompress() local
1255 if ((srcEnd < ringBufferMask) && (dstEnd < ringBufferMask)) { in decompress()
1256 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) { in decompress()
1264 Utils.copyBytesWithin(ringBuffer, dst, src, srcEnd); in decompress()
/third_party/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp125 srcEnd = srcRight - fBorder, in blur() local
146 if (int commonEnd = std::min(dstIdx, srcEnd); srcIdx < commonEnd) { in blur()
164 if (int commonEnd = std::min(dstEnd, srcEnd); dstIdx < commonEnd) { in blur()
/third_party/skia/third_party/externals/brotli/js/
Ddecode.js1121 var /** number */ srcEnd = src + copyLength;
1123 if ((srcEnd < ringBufferMask) && (dstEnd < ringBufferMask)) {
1124 if (copyLength < 12 || (srcEnd > dst && dstEnd > src)) {
1132 ringBuffer.copyWithin(dst, src, srcEnd);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DBigDecimal.java2942 int srcEnd = sb.length(); in layout() local
2943 if (0 != srcEnd) { in layout()
2944 sb.getChars(0, srcEnd, rec, 0); in layout()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java3017 int srcEnd = sb.length(); in layout() local
3018 if (0 != srcEnd) { in layout()
3019 sb.getChars(0, srcEnd, rec, 0); in layout()
/third_party/protobuf/objectivec/
DGPBUtilities.m1606 for (const char *srcEnd = src + srcLen; src < srcEnd; src++) {