Lines Matching refs:p
104 const uint8_t *p = (const uint8_t *)input; in xxh32() local
105 const uint8_t *b_end = p + len; in xxh32()
116 v1 = xxh32_round(v1, get_unaligned_le32(p)); in xxh32()
117 p += 4; in xxh32()
118 v2 = xxh32_round(v2, get_unaligned_le32(p)); in xxh32()
119 p += 4; in xxh32()
120 v3 = xxh32_round(v3, get_unaligned_le32(p)); in xxh32()
121 p += 4; in xxh32()
122 v4 = xxh32_round(v4, get_unaligned_le32(p)); in xxh32()
123 p += 4; in xxh32()
124 } while (p <= limit); in xxh32()
134 while (p + 4 <= b_end) { in xxh32()
135 h32 += get_unaligned_le32(p) * PRIME32_3; in xxh32()
137 p += 4; in xxh32()
140 while (p < b_end) { in xxh32()
141 h32 += (*p) * PRIME32_5; in xxh32()
143 p++; in xxh32()
174 const uint8_t *p = (const uint8_t *)input; in xxh64() local
175 const uint8_t *const b_end = p + len; in xxh64()
186 v1 = xxh64_round(v1, get_unaligned_le64(p)); in xxh64()
187 p += 8; in xxh64()
188 v2 = xxh64_round(v2, get_unaligned_le64(p)); in xxh64()
189 p += 8; in xxh64()
190 v3 = xxh64_round(v3, get_unaligned_le64(p)); in xxh64()
191 p += 8; in xxh64()
192 v4 = xxh64_round(v4, get_unaligned_le64(p)); in xxh64()
193 p += 8; in xxh64()
194 } while (p <= limit); in xxh64()
209 while (p + 8 <= b_end) { in xxh64()
210 const uint64_t k1 = xxh64_round(0, get_unaligned_le64(p)); in xxh64()
214 p += 8; in xxh64()
217 if (p + 4 <= b_end) { in xxh64()
218 h64 ^= (uint64_t)(get_unaligned_le32(p)) * PRIME64_1; in xxh64()
220 p += 4; in xxh64()
223 while (p < b_end) { in xxh64()
224 h64 ^= (*p) * PRIME64_5; in xxh64()
226 p++; in xxh64()
272 const uint8_t *p = (const uint8_t *)input; in xxh64_update() local
273 const uint8_t *const b_end = p + len; in xxh64_update()
300 p += 32 - state->memsize; in xxh64_update()
304 if (p + 32 <= b_end) { in xxh64_update()
312 v1 = xxh64_round(v1, get_unaligned_le64(p)); in xxh64_update()
313 p += 8; in xxh64_update()
314 v2 = xxh64_round(v2, get_unaligned_le64(p)); in xxh64_update()
315 p += 8; in xxh64_update()
316 v3 = xxh64_round(v3, get_unaligned_le64(p)); in xxh64_update()
317 p += 8; in xxh64_update()
318 v4 = xxh64_round(v4, get_unaligned_le64(p)); in xxh64_update()
319 p += 8; in xxh64_update()
320 } while (p <= limit); in xxh64_update()
328 if (p < b_end) { in xxh64_update()
329 memcpy(state->mem64, p, (size_t)(b_end-p)); in xxh64_update()
330 state->memsize = (uint32_t)(b_end - p); in xxh64_update()
339 const uint8_t *p = (const uint8_t *)state->mem64; in xxh64_digest() local
362 while (p + 8 <= b_end) { in xxh64_digest()
363 const uint64_t k1 = xxh64_round(0, get_unaligned_le64(p)); in xxh64_digest()
367 p += 8; in xxh64_digest()
370 if (p + 4 <= b_end) { in xxh64_digest()
371 h64 ^= (uint64_t)(get_unaligned_le32(p)) * PRIME64_1; in xxh64_digest()
373 p += 4; in xxh64_digest()
376 while (p < b_end) { in xxh64_digest()
377 h64 ^= (*p) * PRIME64_5; in xxh64_digest()
379 p++; in xxh64_digest()