Lines Matching refs:p

199 void LZ4_free(void *p);
202 #define FREEMEM(p) LZ4_free(p) argument
207 #define FREEMEM(p) kfree(p) argument
211 #define MEM_INIT(p, v, s) memset((p), (v), (s)) argument
413 const BYTE *p = (const BYTE *)memPtr; in LZ4_readLE16() local
414 return (U16)((U16)p[0] + (p[1] << 8)); in LZ4_readLE16()
426 BYTE *p = (BYTE *)memPtr; in LZ4_writeLE16() local
427 p[0] = (BYTE)value; in LZ4_writeLE16()
428 p[1] = (BYTE)(value >> 8); in LZ4_writeLE16()
940 LZ4_FORCE_INLINE U32 LZ4_hashPosition(const void *const p, tableType_t const tableType) in LZ4_hashPosition() argument
943 return LZ4_hash5(LZ4_read_ARCH(p), tableType); in LZ4_hashPosition()
944 return LZ4_hash4(LZ4_read32(p), tableType); in LZ4_hashPosition()
1005 LZ4_FORCE_INLINE void LZ4_putPositionOnHash(const BYTE *p, U32 h, in LZ4_putPositionOnHash() argument
1019 hashTable[h] = p; in LZ4_putPositionOnHash()
1025 hashTable[h] = (U32)(p - srcBase); in LZ4_putPositionOnHash()
1031 hashTable[h] = (U16)(p - srcBase); in LZ4_putPositionOnHash()
1037 LZ4_FORCE_INLINE void LZ4_putPosition(const BYTE *p, void *tableBase, tableType_t tableType, const … in LZ4_putPosition() argument
1039 U32 const h = LZ4_hashPosition(p, tableType); in LZ4_putPosition()
1040 LZ4_putPositionOnHash(p, h, tableBase, tableType, srcBase); in LZ4_putPosition()
1087 LZ4_getPosition(const BYTE *p, in LZ4_getPosition() argument
1091 U32 const h = LZ4_hashPosition(p, tableType); in LZ4_getPosition()
1909 const BYTE *p = (const BYTE *)dictionary; in LZ4_loadDict() local
1910 const BYTE *const dictEnd = p + dictSize; in LZ4_loadDict()
1934 if ((dictEnd - p) > 64 KB) in LZ4_loadDict()
1935 p = dictEnd - 64 KB; in LZ4_loadDict()
1937 dict->dictionary = p; in LZ4_loadDict()
1938 dict->dictSize = (U32)(dictEnd - p); in LZ4_loadDict()
1941 while (p <= dictEnd - HASH_UNIT) in LZ4_loadDict()
1943 LZ4_putPosition(p, dict->hashTable, tableType, base); in LZ4_loadDict()
1944 p += 3; in LZ4_loadDict()