Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dxxhash.c233 #ifndef XXH_CPU_LITTLE_ENDIAN
235 # define XXH_CPU_LITTLE_ENDIAN (*(const char*)(&g_one)) macro
259 return XXH_CPU_LITTLE_ENDIAN ? XXH_swap32(XXH_read32(ptr)) : XXH_read32(ptr); in XXH_readBE32()
277 return XXH_CPU_LITTLE_ENDIAN ? XXH_swap64(XXH_read64(ptr)) : XXH_read64(ptr); in XXH_readBE64()
397 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32()
509 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH64()
640 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32_update()
688 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32_digest()
759 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH64_update()
823 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH64_digest()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Dxxhash.c200 #ifndef XXH_CPU_LITTLE_ENDIAN /* It is possible to define XXH_CPU_LITTLE_ENDIAN externally, for e…
202 # define XXH_CPU_LITTLE_ENDIAN (*(const char*)(&one)) macro
302 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32()
436 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32_update()
491 XXH_endianess endian_detected = (XXH_endianess)XXH_CPU_LITTLE_ENDIAN; in XXH32_intermediateDigest()
/freebsd/sys/contrib/zstd/lib/common/
H A Dxxhash.h1691 #ifndef XXH_CPU_LITTLE_ENDIAN
1699 # define XXH_CPU_LITTLE_ENDIAN 1 macro
1702 # define XXH_CPU_LITTLE_ENDIAN 0 macro
1719 # define XXH_CPU_LITTLE_ENDIAN XXH_isLittleEndian() macro
1827 return XXH_CPU_LITTLE_ENDIAN ? XXH_read32(ptr) : XXH_swap32(XXH_read32(ptr)); in XXH_readLE32()
1832 return XXH_CPU_LITTLE_ENDIAN ? XXH_swap32(XXH_read32(ptr)) : XXH_read32(ptr); in XXH_readBE32()
1842 return XXH_CPU_LITTLE_ENDIAN ? *(const xxh_u32*)ptr : XXH_swap32(*(const xxh_u32*)ptr); in XXH_readLE32_align()
2240 if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash); in XXH32_canonicalFromHash()
2364 return XXH_CPU_LITTLE_ENDIAN ? XXH_read64(ptr) : XXH_swap64(XXH_read64(ptr)); in XXH_readLE64()
2369 return XXH_CPU_LITTLE_ENDIAN ? XXH_swap64(XXH_read64(ptr)) : XXH_read64(ptr); in XXH_readBE64()
[all …]