Lines Matching defs:U32
41 * You can also enable this parameter if you know your input data will always be aligned (boundaries of 4, for U32).
105 typedef uint32_t U32;
111 typedef unsigned int U32;
116 static U32 XXH_read32(const void* memPtr)
118 U32 val32;
153 static U32 XXH_swap32 (U32 x)
189 FORCE_INLINE U32 XXH_readLE32_align(const void* ptr, XXH_endianess endian, XXH_alignment align)
194 return endian==XXH_littleEndian ? *(const U32*)ptr : XXH_swap32(*(const U32*)ptr);
197 FORCE_INLINE U32 XXH_readLE32(const void* ptr, XXH_endianess endian)
241 FORCE_INLINE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, XXH_alignment align)
245 U32 h32;
259 U32 v1 = seed + PRIME32_1 + PRIME32_2;
260 U32 v2 = seed + PRIME32_2;
261 U32 v3 = seed + 0;
262 U32 v4 = seed - PRIME32_1;
292 h32 += (U32) len;
494 U32 seed;
495 U32 v1;
496 U32 v2;
497 U32 v3;
498 U32 v4;
499 U32 mem32[4]; /* defined as U32 for alignment */
500 U32 memsize;
512 U32 memsize;
541 XXH_errorcode XXH32_reset(XXH32_state_t* state_in, U32 seed)
583 state->memsize += (U32)len;
591 const U32* p32 = state->mem32;
616 U32 v1 = state->v1;
617 U32 v2 = state->v2;
618 U32 v3 = state->v3;
619 U32 v4 = state->v4;
669 FORCE_INLINE U32 XXH32_digest_endian (const XXH32_state_t* state_in, XXH_endianess endian)
674 U32 h32;
685 h32 += (U32) state->total_len;
711 U32 XXH32_digest (const XXH32_state_t* state_in)
737 state->memsize += (U32)len;