Lines Matching refs:size_t
197 void *LZ4_malloc(size_t s);
198 void *LZ4_calloc(size_t n, size_t s);
276 static int LZ4_isAligned(const void *ptr, size_t alignment) in LZ4_isAligned()
278 return ((size_t)ptr & (alignment - 1)) == 0; in LZ4_isAligned()
302 typedef size_t uptrval; /* generally true, except OpenVMS-64 */
308 typedef size_t reg_t; /* 32-bits in x32 mode */
467 LZ4_memcpy_using_offset_base(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base()
515 LZ4_memcpy_using_offset(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset()
908 const void *dictStart, size_t dictSize);
1426 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic_validated()
1438 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic_validated()
1577 size_t lastRun = (size_t)(iend - anchor); in LZ4_compress_generic_validated()
1585 lastRun = (size_t)(olimit - op) - 1 /*token*/; in LZ4_compress_generic_validated()
1597 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic_validated()
1851 static size_t LZ4_stream_t_alignment(void) in LZ4_stream_t_alignment()
1865 LZ4_stream_t *LZ4_initStream(void *buffer, size_t size) in LZ4_initStream()
2228 const size_t dictSize /* note : = 0 if noDict */ in LZ4_decompress_generic()
2254 size_t offset; in LZ4_decompress_generic()
2256 size_t length; in LZ4_decompress_generic()
2438 length = MIN(length, (size_t)(oend - op)); in LZ4_decompress_generic()
2446 if (length <= (size_t)(lowPrefix - match)) in LZ4_decompress_generic()
2455 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic()
2456 size_t const restSize = length - copySize; in LZ4_decompress_generic()
2459 if (restSize > (size_t)(op - lowPrefix)) in LZ4_decompress_generic()
2593 length = (size_t)(iend - ip); in LZ4_decompress_generic()
2603 length = (size_t)(oend - op); in LZ4_decompress_generic()
2677 length = MIN(length, (size_t)(oend - op)); in LZ4_decompress_generic()
2682 if (length <= (size_t)(lowPrefix - match)) in LZ4_decompress_generic()
2691 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic()
2692 size_t const restSize = length - copySize; in LZ4_decompress_generic()
2695 if (restSize > (size_t)(op - lowPrefix)) in LZ4_decompress_generic()
2719 size_t const mlen = MIN(length, (size_t)(oend - op)); in LZ4_decompress_generic()
2853 size_t prefixSize) in LZ4_decompress_safe_withSmallPrefix()
2863 const void *dictStart, size_t dictSize) in LZ4_decompress_safe_forceExtDict()
2872 const void *dictStart, size_t dictSize) in LZ4_decompress_fast_extDict()
2885 size_t prefixSize, const void *dictStart, size_t dictSize) in LZ4_decompress_safe_doubleDict()
2894 size_t prefixSize, const void *dictStart, size_t dictSize) in LZ4_decompress_fast_doubleDict()
2929 lz4sd->prefixSize = (size_t)dictSize; in LZ4_setStreamDecode()
2978 lz4sd->prefixSize = (size_t)result; in LZ4_decompress_safe_continue()
2994 lz4sd->prefixSize += (size_t)result; in LZ4_decompress_safe_continue()
3006 lz4sd->prefixSize = (size_t)result; in LZ4_decompress_safe_continue()
3026 lz4sd->prefixSize = (size_t)originalSize; in LZ4_decompress_fast_continue()
3038 lz4sd->prefixSize += (size_t)originalSize; in LZ4_decompress_fast_continue()
3049 lz4sd->prefixSize = (size_t)originalSize; in LZ4_decompress_fast_continue()
3074 …LZ4_decompress_safe_withSmallPrefix(source, dest, compressedSize, maxOutputSize, (size_t)dictSize); in LZ4_decompress_safe_usingDict()
3077 …mpress_safe_forceExtDict(source, dest, compressedSize, maxOutputSize, dictStart, (size_t)dictSize); in LZ4_decompress_safe_usingDict()
3085 return LZ4_decompress_fast_extDict(source, dest, originalSize, dictStart, (size_t)dictSize); in LZ4_decompress_fast_usingDict()