Lines Matching refs:memPtr
345 static U16 LZ4_read16(const void *memPtr) { return *(const U16 *)memPtr; } in LZ4_read16() argument
346 static U32 LZ4_read32(const void *memPtr) { return *(const U32 *)memPtr; } in LZ4_read32() argument
347 static reg_t LZ4_read_ARCH(const void *memPtr) { return *(const reg_t *)memPtr; } in LZ4_read_ARCH() argument
349 static void LZ4_write16(void *memPtr, U16 value) { *(U16 *)memPtr = value; } in LZ4_write16() argument
350 static void LZ4_write32(void *memPtr, U32 value) { *(U32 *)memPtr = value; } in LZ4_write32() argument
367 static void LZ4_write16(void *memPtr, U16 value) { ((unalign *)memPtr)->u16 = value; } in LZ4_write16() argument
368 static void LZ4_write32(void *memPtr, U32 value) { ((unalign *)memPtr)->u32 = value; } in LZ4_write32() argument
372 static U16 LZ4_read16(const void *memPtr) in LZ4_read16() argument
375 LZ4_memcpy(&val, memPtr, sizeof(val)); in LZ4_read16()
379 static U32 LZ4_read32(const void *memPtr) in LZ4_read32() argument
382 LZ4_memcpy(&val, memPtr, sizeof(val)); in LZ4_read32()
386 static reg_t LZ4_read_ARCH(const void *memPtr) in LZ4_read_ARCH() argument
389 LZ4_memcpy(&val, memPtr, sizeof(val)); in LZ4_read_ARCH()
393 static void LZ4_write16(void *memPtr, U16 value) in LZ4_write16() argument
395 LZ4_memcpy(memPtr, &value, sizeof(value)); in LZ4_write16()
398 static void LZ4_write32(void *memPtr, U32 value) in LZ4_write32() argument
400 LZ4_memcpy(memPtr, &value, sizeof(value)); in LZ4_write32()
405 static U16 LZ4_readLE16(const void *memPtr) in LZ4_readLE16() argument
409 return LZ4_read16(memPtr); in LZ4_readLE16()
413 const BYTE *p = (const BYTE *)memPtr; in LZ4_readLE16()
418 static void LZ4_writeLE16(void *memPtr, U16 value) in LZ4_writeLE16() argument
422 LZ4_write16(memPtr, value); in LZ4_writeLE16()
426 BYTE *p = (BYTE *)memPtr; in LZ4_writeLE16()