Home
last modified time | relevance | path

Searched defs:memPtr (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/zstd/lib/common/
H A Dmem.h182 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
183 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
184 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
185 MEM_STATIC size_t MEM_readST(const void* memPtr) { return *(const size_t*) memPtr; } in MEM_readST()
187 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
188 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in MEM_write32()
189 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { *(U64*)memPtr = value; } in MEM_write64()
214 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign16*)memPtr)->v = value; } in MEM_write16()
215 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { ((unalign32*)memPtr)->v = value; } in MEM_write32()
216 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { ((unalign64*)memPtr)->v = value; } in MEM_write64()
[all …]
H A Dxxhash.h1638 static xxh_u32 XXH_read32(const void* memPtr) { return *(const xxh_u32*) memPtr; } in XXH_read32()
1663 static xxh_u32 XXH_read32(const void* memPtr) in XXH_read32()
1806 XXH_FORCE_INLINE xxh_u32 XXH_readLE32(const void* memPtr) in XXH_readLE32()
1815 XXH_FORCE_INLINE xxh_u32 XXH_readBE32(const void* memPtr) in XXH_readBE32()
2276 static xxh_u64 XXH_read64(const void* memPtr) in XXH_read64()
2304 static xxh_u64 XXH_read64(const void* memPtr) in XXH_read64()
2335 XXH_FORCE_INLINE xxh_u64 XXH_readLE64(const void* memPtr) in XXH_readLE64()
2348 XXH_FORCE_INLINE xxh_u64 XXH_readBE64(const void* memPtr) in XXH_readBE64()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dmem.h193 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
194 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
195 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
196 MEM_STATIC size_t MEM_readST(const void* memPtr) { return *(const size_t*) memPtr; } in MEM_readST()
198 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
199 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in MEM_write32()
200 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { *(U64*)memPtr = value; } in MEM_write64()
225 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign16*)memPtr)->v = value; } in MEM_write16()
226 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { ((unalign32*)memPtr)->v = value; } in MEM_write32()
227 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { ((unalign64*)memPtr)->v = value; } in MEM_write64()
[all …]
H A Dxxhash.c145 static U32 XXH_read32(const void* memPtr) { return *(const U32*) memPtr; } in XXH_read32()
146 static U64 XXH_read64(const void* memPtr) { return *(const U64*) memPtr; } in XXH_read64()
163 static U32 XXH_read32(const void* memPtr) in XXH_read32()
170 static U64 XXH_read64(const void* memPtr) in XXH_read64()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c313 static U16 LZ4_read16(const void* memPtr) { return *(const U16*) memPtr; } in LZ4_read16()
315 static void LZ4_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in LZ4_write16()
316 static void LZ4_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in LZ4_write32()
326 static void LZ4_write32(void* memPtr, U32 value) { ((unalign*)memPtr)->u32 = value; } in LZ4_write32()
330 static U16 LZ4_read16(const void* memPtr) in LZ4_read16()
335 static void LZ4_write32(void* memPtr, U32 value) in LZ4_write32()
342 static U16 LZ4_readLE16(const void* memPtr) in LZ4_readLE16()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v05.c141 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
142 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
143 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
145 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
146 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in MEM_write32()
147 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { *(U64*)memPtr = value; } in MEM_write64()
159 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
160 MEM_STATIC void MEM_write32(void* memPtr, U32 value) { ((unalign*)memPtr)->u32 = value; } in MEM_write32()
161 MEM_STATIC void MEM_write64(void* memPtr, U64 value) { ((unalign*)memPtr)->u64 = value; } in MEM_write64()
168 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
[all …]
H A Dzstd_v01.c226 static U16 FSE_read16(const void* memPtr) { return *(const U16*) memPtr; } in FSE_read16()
227 static U32 FSE_read32(const void* memPtr) { return *(const U32*) memPtr; } in FSE_read32()
228 static U64 FSE_read64(const void* memPtr) { return *(const U64*) memPtr; } in FSE_read64()
242 static U16 FSE_read16(const void* memPtr) in FSE_read16()
247 static U32 FSE_read32(const void* memPtr) in FSE_read32()
252 static U64 FSE_read64(const void* memPtr) in FSE_read64()
259 static U16 FSE_readLE16(const void* memPtr) in FSE_readLE16()
270 static U32 FSE_readLE32(const void* memPtr) in FSE_readLE32()
282 static U64 FSE_readLE64(const void* memPtr) in FSE_readLE64()
294 static size_t FSE_readLEST(const void* memPtr) in FSE_readLEST()
[all …]
H A Dzstd_v03.c151 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
152 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
153 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
155 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
167 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
174 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
179 MEM_STATIC U32 MEM_read32(const void* memPtr) in MEM_read32()
184 MEM_STATIC U64 MEM_read64(const void* memPtr) in MEM_read64()
189 MEM_STATIC void MEM_write16(void* memPtr, U16 value) in MEM_write16()
198 MEM_STATIC U16 MEM_readLE16(const void* memPtr) in MEM_readLE16()
[all …]
H A Dzstd_v02.c150 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
151 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
152 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
154 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
166 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
173 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
178 MEM_STATIC U32 MEM_read32(const void* memPtr) in MEM_read32()
183 MEM_STATIC U64 MEM_read64(const void* memPtr) in MEM_read64()
188 MEM_STATIC void MEM_write16(void* memPtr, U16 value) in MEM_write16()
196 MEM_STATIC U16 MEM_readLE16(const void* memPtr) in MEM_readLE16()
[all …]
H A Dzstd_v04.c122 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
123 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
124 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
126 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
138 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
145 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
150 MEM_STATIC U32 MEM_read32(const void* memPtr) in MEM_read32()
155 MEM_STATIC U64 MEM_read64(const void* memPtr) in MEM_read64()
160 MEM_STATIC void MEM_write16(void* memPtr, U16 value) in MEM_write16()
168 MEM_STATIC U16 MEM_readLE16(const void* memPtr) in MEM_readLE16()
[all …]
H A Dzstd_v06.c143 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
144 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
145 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
147 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
159 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
166 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
171 MEM_STATIC U32 MEM_read32(const void* memPtr) in MEM_read32()
176 MEM_STATIC U64 MEM_read64(const void* memPtr) in MEM_read64()
181 MEM_STATIC void MEM_write16(void* memPtr, U16 value) in MEM_write16()
224 MEM_STATIC U16 MEM_readLE16(const void* memPtr) in MEM_readLE16()
[all …]
H A Dzstd_v07.c303 MEM_STATIC U16 MEM_read16(const void* memPtr) { return *(const U16*) memPtr; } in MEM_read16()
304 MEM_STATIC U32 MEM_read32(const void* memPtr) { return *(const U32*) memPtr; } in MEM_read32()
305 MEM_STATIC U64 MEM_read64(const void* memPtr) { return *(const U64*) memPtr; } in MEM_read64()
307 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in MEM_write16()
319 MEM_STATIC void MEM_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in MEM_write16()
326 MEM_STATIC U16 MEM_read16(const void* memPtr) in MEM_read16()
331 MEM_STATIC U32 MEM_read32(const void* memPtr) in MEM_read32()
336 MEM_STATIC U64 MEM_read64(const void* memPtr) in MEM_read64()
341 MEM_STATIC void MEM_write16(void* memPtr, U16 value) in MEM_write16()
383 MEM_STATIC U16 MEM_readLE16(const void* memPtr) in MEM_readLE16()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c325 MEM_STATIC U32 ZSTD_readMINMATCH(const void* memPtr, U32 length) in ZSTD_readMINMATCH()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c366 MEM_STATIC U32 ZSTD_readMINMATCH(const void* memPtr, U32 length) in ZSTD_readMINMATCH()