Lines Matching refs:BYTE
287 typedef uint8_t BYTE; typedef
297 typedef unsigned char BYTE; typedef
337 BYTE c[4]; in LZ4_isLittleEndian()
413 const BYTE *p = (const BYTE *)memPtr; in LZ4_readLE16()
426 BYTE *p = (BYTE *)memPtr; in LZ4_writeLE16()
427 p[0] = (BYTE)value; in LZ4_writeLE16()
428 p[1] = (BYTE)(value >> 8); in LZ4_writeLE16()
436 BYTE *d = (BYTE *)dstPtr; in LZ4_wildCopy8()
437 const BYTE *s = (const BYTE *)srcPtr; in LZ4_wildCopy8()
438 BYTE *const e = (BYTE *)dstEnd; in LZ4_wildCopy8()
467 LZ4_memcpy_using_offset_base(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base()
498 BYTE *d = (BYTE *)dstPtr; in LZ4_wildCopy32()
499 const BYTE *s = (const BYTE *)srcPtr; in LZ4_wildCopy32()
500 BYTE *const e = (BYTE *)dstEnd; in LZ4_wildCopy32()
515 LZ4_memcpy_using_offset(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset()
517 BYTE v[8]; in LZ4_memcpy_using_offset()
788 unsigned LZ4_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit) in LZ4_count()
790 const BYTE *const pStart = pIn; in LZ4_count()
959 const BYTE **hashTable = (const BYTE **)tableBase; in LZ4_clearHash()
1005 LZ4_FORCE_INLINE void LZ4_putPositionOnHash(const BYTE *p, U32 h, in LZ4_putPositionOnHash()
1007 const BYTE *srcBase) in LZ4_putPositionOnHash()
1018 const BYTE **hashTable = (const BYTE **)tableBase; in LZ4_putPositionOnHash()
1037 LZ4_FORCE_INLINE void LZ4_putPosition(const BYTE *p, void *tableBase, tableType_t tableType, const … in LZ4_putPosition()
1068 static const BYTE *LZ4_getPositionOnHash(U32 h, const void *tableBase, tableType_t tableType, const… in LZ4_getPositionOnHash()
1072 const BYTE *const *hashTable = (const BYTE *const *)tableBase; in LZ4_getPositionOnHash()
1086 LZ4_FORCE_INLINE const BYTE *
1087 LZ4_getPosition(const BYTE *p, in LZ4_getPosition()
1089 const BYTE *srcBase) in LZ4_getPosition()
1156 const BYTE *ip = (const BYTE *)source; in LZ4_compress_generic_validated()
1159 const BYTE *base = (const BYTE *)source - startIndex; in LZ4_compress_generic_validated()
1160 const BYTE *lowLimit; in LZ4_compress_generic_validated()
1163 const BYTE *const dictionary = in LZ4_compress_generic_validated()
1171 const BYTE *const dictEnd = dictionary ? dictionary + dictSize : dictionary; in LZ4_compress_generic_validated()
1172 const BYTE *anchor = (const BYTE *)source; in LZ4_compress_generic_validated()
1173 const BYTE *const iend = ip + inputSize; in LZ4_compress_generic_validated()
1174 const BYTE *const mflimitPlusOne = iend - MFLIMIT + 1; in LZ4_compress_generic_validated()
1175 const BYTE *const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic_validated()
1179 …const BYTE *dictBase = !dictionary ? NULL : (dictDirective == usingDictCtx) ? dictionary + dictSiz… in LZ4_compress_generic_validated()
1182 BYTE *op = (BYTE *)dest; in LZ4_compress_generic_validated()
1183 BYTE *const olimit = op + maxOutputSize; in LZ4_compress_generic_validated()
1204 lowLimit = (const BYTE *)source - (dictDirective == withPrefix64k ? dictSize : 0); in LZ4_compress_generic_validated()
1232 const BYTE *match; in LZ4_compress_generic_validated()
1233 BYTE *token; in LZ4_compress_generic_validated()
1234 const BYTE *filledIp; in LZ4_compress_generic_validated()
1239 const BYTE *forwardIp = ip; in LZ4_compress_generic_validated()
1262 const BYTE *forwardIp = ip; in LZ4_compress_generic_validated()
1294 lowLimit = (const BYTE *)source; in LZ4_compress_generic_validated()
1309 lowLimit = (const BYTE *)source; in LZ4_compress_generic_validated()
1370 *op++ = (BYTE)len; in LZ4_compress_generic_validated()
1373 *token = (BYTE)(litLength << ML_BITS); in LZ4_compress_generic_validated()
1379 … (int)(anchor - (const BYTE *)source), litLength, (int)(ip - (const BYTE *)source)); in LZ4_compress_generic_validated()
1402 …EBUGLOG(6, " with offset=%u (ext if > %i)", offset, (int)(ip - (const BYTE *)source)); in LZ4_compress_generic_validated()
1421 const BYTE *limit = ip + (dictEnd - match); in LZ4_compress_generic_validated()
1429 unsigned const more = LZ4_count(limit, (const BYTE *)source, matchlimit); in LZ4_compress_generic_validated()
1459 const BYTE *ptr; in LZ4_compress_generic_validated()
1486 *op++ = (BYTE)(matchCode % 255); in LZ4_compress_generic_validated()
1489 *token += (BYTE)(matchCode); in LZ4_compress_generic_validated()
1536 lowLimit = (const BYTE *)source; /* required for match length counter */ in LZ4_compress_generic_validated()
1549 lowLimit = (const BYTE *)source; /* required for match length counter */ in LZ4_compress_generic_validated()
1565 (int)(anchor - (const BYTE *)source), 0, (int)(ip - (const BYTE *)source)); in LZ4_compress_generic_validated()
1601 *op++ = (BYTE)accumulator; in LZ4_compress_generic_validated()
1605 *op++ = (BYTE)(lastRun << ML_BITS); in LZ4_compress_generic_validated()
1909 const BYTE *p = (const BYTE *)dictionary; in LZ4_loadDict()
1910 const BYTE *const dictEnd = p + dictSize; in LZ4_loadDict()
1911 const BYTE *base; in LZ4_loadDict()
1987 const BYTE *dictEnd = LZ4_dict->dictionary + LZ4_dict->dictSize; in LZ4_renormDictT()
2011 const BYTE *dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_fast_continue()
2023 && (dictEnd != (const BYTE *)source)) in LZ4_compress_fast_continue()
2027 streamPtr->dictionary = (const BYTE *)source; in LZ4_compress_fast_continue()
2028 dictEnd = (const BYTE *)source; in LZ4_compress_fast_continue()
2033 const BYTE *sourceEnd = (const BYTE *)source + inputSize; in LZ4_compress_fast_continue()
2046 if (dictEnd == (const BYTE *)source) in LZ4_compress_fast_continue()
2090 streamPtr->dictionary = (const BYTE *)source; in LZ4_compress_fast_continue()
2113 streamPtr->dictionary = (const BYTE *)source; in LZ4_compress_forceExtDict()
2129 const BYTE *const previousDictEnd = dict->dictionary + dict->dictSize; in LZ4_saveDict()
2145 dict->dictionary = (const BYTE *)safeBuffer; in LZ4_saveDict()
2184 read_variable_length(const BYTE **ip, const BYTE *lencheck, in read_variable_length()
2226 const BYTE *const lowPrefix, /* always <= dst, == dst when no prefix */ in LZ4_decompress_generic()
2227 const BYTE *const dictStart, /* only if dict==usingExtDict */ in LZ4_decompress_generic()
2237 const BYTE *ip = (const BYTE *)src; in LZ4_decompress_generic()
2238 const BYTE *const iend = ip + srcSize; in LZ4_decompress_generic()
2240 BYTE *op = (BYTE *)dst; in LZ4_decompress_generic()
2241 BYTE *const oend = op + outputSize; in LZ4_decompress_generic()
2242 BYTE *cpy; in LZ4_decompress_generic()
2244 const BYTE *const dictEnd = (dictStart == NULL) ? NULL : dictStart + dictSize; in LZ4_decompress_generic()
2250 const BYTE *const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
2251 const BYTE *const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
2253 const BYTE *match; in LZ4_decompress_generic()
2461 BYTE *const endOfMatch = op + restSize; in LZ4_decompress_generic()
2462 const BYTE *copyFrom = lowPrefix; in LZ4_decompress_generic()
2697 BYTE *const endOfMatch = op + restSize; in LZ4_decompress_generic()
2698 const BYTE *copyFrom = lowPrefix; in LZ4_decompress_generic()
2720 const BYTE *const matchEnd = match + mlen; in LZ4_decompress_generic()
2721 BYTE *const copyEnd = op + mlen; in LZ4_decompress_generic()
2761 BYTE *const oCopyLimit = oend - (WILDCOPYLENGTH - 1); in LZ4_decompress_generic()
2812 (BYTE *)dest, NULL, 0); in LZ4_decompress_safe()
2821 noDict, (BYTE *)dst, NULL, 0); in LZ4_decompress_safe_partial()
2829 (BYTE *)dest - 64 KB, NULL, 0); in LZ4_decompress_fast()
2840 (BYTE *)dest - 64 KB, NULL, 0); in LZ4_decompress_safe_withPrefix64k()
2857 (BYTE *)dest - prefixSize, NULL, 0); in LZ4_decompress_safe_withSmallPrefix()
2867 (BYTE *)dest, (const BYTE *)dictStart, dictSize); in LZ4_decompress_safe_forceExtDict()
2876 (BYTE *)dest, (const BYTE *)dictStart, dictSize); in LZ4_decompress_fast_extDict()
2889 (BYTE *)dest - prefixSize, (const BYTE *)dictStart, dictSize); in LZ4_decompress_safe_doubleDict()
2898 (BYTE *)dest - prefixSize, (const BYTE *)dictStart, dictSize); in LZ4_decompress_fast_doubleDict()
2930 lz4sd->prefixEnd = (const BYTE *)dictionary + dictSize; in LZ4_setStreamDecode()
2979 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue()
2981 else if (lz4sd->prefixEnd == (BYTE *)dest) in LZ4_decompress_safe_continue()
3007 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue()
3027 lz4sd->prefixEnd = (BYTE *)dest + originalSize; in LZ4_decompress_fast_continue()
3029 else if (lz4sd->prefixEnd == (BYTE *)dest) in LZ4_decompress_fast_continue()
3050 lz4sd->prefixEnd = (BYTE *)dest + originalSize; in LZ4_decompress_fast_continue()