Lines Matching refs:memPtr
211 static U16 LZ4_read16(const void* memPtr) { return *(const U16*) memPtr; } in LZ4_read16() argument
212 static U32 LZ4_read32(const void* memPtr) { return *(const U32*) memPtr; } in LZ4_read32() argument
213 static reg_t LZ4_read_ARCH(const void* memPtr) { return *(const reg_t*) memPtr; } in LZ4_read_ARCH() argument
215 static void LZ4_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in LZ4_write16() argument
216 static void LZ4_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in LZ4_write32() argument
228 static void LZ4_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in LZ4_write16() argument
229 static void LZ4_write32(void* memPtr, U32 value) { ((unalign*)memPtr)->u32 = value; } in LZ4_write32() argument
233 static U16 LZ4_read16(const void* memPtr) in LZ4_read16() argument
235 U16 val; memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read16()
238 static U32 LZ4_read32(const void* memPtr) in LZ4_read32() argument
240 U32 val; memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read32()
243 static reg_t LZ4_read_ARCH(const void* memPtr) in LZ4_read_ARCH() argument
245 reg_t val; memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read_ARCH()
248 static void LZ4_write16(void* memPtr, U16 value) in LZ4_write16() argument
250 memcpy(memPtr, &value, sizeof(value)); in LZ4_write16()
253 static void LZ4_write32(void* memPtr, U32 value) in LZ4_write32() argument
255 memcpy(memPtr, &value, sizeof(value)); in LZ4_write32()
261 static U16 LZ4_readLE16(const void* memPtr) in LZ4_readLE16() argument
264 return LZ4_read16(memPtr); in LZ4_readLE16()
266 const BYTE* p = (const BYTE*)memPtr; in LZ4_readLE16()
271 static void LZ4_writeLE16(void* memPtr, U16 value) in LZ4_writeLE16() argument
274 LZ4_write16(memPtr, value); in LZ4_writeLE16()
276 BYTE* p = (BYTE*)memPtr; in LZ4_writeLE16()