Home
last modified time | relevance | path

Searched refs:reg_t (Results 1 – 2 of 2) sorted by relevance

/lz4-3.4.0-2.7.6/lib/
Dlz4.c295 typedef U64 reg_t; /* 64-bits in x32 mode */ typedef
297 typedef size_t reg_t; /* 32-bits in x32 mode */ typedef
337 static reg_t LZ4_read_ARCH(const void* memPtr) { return *(const reg_t*) memPtr; } in LZ4_read_ARCH()
346 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) unalign;
350 static reg_t LZ4_read_ARCH(const void* ptr) { return ((const unalign*)ptr)->uArch; } in LZ4_read_ARCH()
367 static reg_t LZ4_read_ARCH(const void* memPtr) in LZ4_read_ARCH()
369 reg_t val; LZ4_memcpy(&val, memPtr, sizeof(val)); return val; in LZ4_read_ARCH()
513 static unsigned LZ4_NbCommonBytes (reg_t val) in LZ4_NbCommonBytes()
601 #define STEPSIZE sizeof(reg_t)
608 reg_t const diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn); in LZ4_count()
[all …]
Dlz4hc.c175 reg_t const pattern = (sizeof(pattern)==8) ? in LZ4HC_countPattern()
176 (reg_t)pattern32 + (((reg_t)pattern32) << (sizeof(pattern)*4)) : pattern32; in LZ4HC_countPattern()
179 reg_t const diff = LZ4_read_ARCH(ip) ^ pattern; in LZ4HC_countPattern()
186 reg_t patternByte = pattern; in LZ4HC_countPattern()