Searched refs:unalign (Results 1 – 3 of 3) sorted by relevance
222 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) unalign; typedef224 static U16 LZ4_read16(const void* ptr) { return ((const unalign*)ptr)->u16; } in LZ4_read16()225 static U32 LZ4_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in LZ4_read32()226 static reg_t LZ4_read_ARCH(const void* ptr) { return ((const unalign*)ptr)->uArch; } in LZ4_read_ARCH()228 static void LZ4_write16(void* memPtr, U16 value) { ((unalign*)memPtr)->u16 = value; } in LZ4_write16()229 static void LZ4_write32(void* memPtr, U32 value) { ((unalign*)memPtr)->u32 = value; } in LZ4_write32()
162 typedef union { U32 u32; } __attribute__((packed)) unalign; typedef163 static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in XXH_read32()
156 typedef union { U32 u32; } __attribute__((packed)) unalign; typedef157 static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in XXH_read32()