Home
last modified time | relevance | path

Searched refs:memPtr (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/common/
H A Dmem.h51 MEM_STATIC U16 MEM_read16(const void* memPtr);
52 MEM_STATIC U32 MEM_read32(const void* memPtr);
53 MEM_STATIC U64 MEM_read64(const void* memPtr);
54 MEM_STATIC size_t MEM_readST(const void* memPtr);
56 MEM_STATIC void MEM_write16(void* memPtr, U16 value);
57 MEM_STATIC void MEM_write32(void* memPtr, U32 value);
58 MEM_STATIC void MEM_write64(void* memPtr, U64 value);
61 MEM_STATIC U16 MEM_readLE16(const void* memPtr);
62 MEM_STATIC U32 MEM_readLE24(const void* memPtr);
63 MEM_STATIC U32 MEM_readLE32(const void* memPtr);
[all …]
/linux/lib/lz4/
H A Dlz4defs.h122 static FORCE_INLINE void LZ4_write16(void *memPtr, U16 value) in LZ4_write16() argument
124 put_unaligned(value, (U16 *)memPtr); in LZ4_write16()
127 static FORCE_INLINE void LZ4_write32(void *memPtr, U32 value) in LZ4_write32() argument
129 put_unaligned(value, (U32 *)memPtr); in LZ4_write32()
132 static FORCE_INLINE U16 LZ4_readLE16(const void *memPtr) in LZ4_readLE16() argument
134 return get_unaligned_le16(memPtr); in LZ4_readLE16()
137 static FORCE_INLINE void LZ4_writeLE16(void *memPtr, U16 value) in LZ4_writeLE16() argument
139 return put_unaligned_le16(value, memPtr); in LZ4_writeLE16()
/linux/lib/zstd/compress/
H A Dzstd_opt.c366 MEM_STATIC U32 ZSTD_readMINMATCH(const void* memPtr, U32 length) in ZSTD_readMINMATCH() argument
371 case 4 : return MEM_read32(memPtr); in ZSTD_readMINMATCH()
373 return MEM_read32(memPtr)<<8; in ZSTD_readMINMATCH()
375 return MEM_read32(memPtr)>>8; in ZSTD_readMINMATCH()