Lines Matching refs:hval
167 fnv_32_buf(void *buf, size_t len, uint32_t hval, int alternate) in fnv_32_buf() argument
178 hval *= PHP_FNV_32_PRIME; in fnv_32_buf()
181 hval ^= (uint32_t)*bp++; in fnv_32_buf()
186 hval ^= (uint32_t)*bp++; in fnv_32_buf()
189 hval *= PHP_FNV_32_PRIME; in fnv_32_buf()
194 return hval; in fnv_32_buf()
210 fnv_64_buf(void *buf, size_t len, uint64_t hval, int alternate) in fnv_64_buf() argument
222 hval *= PHP_FNV_64_PRIME; in fnv_64_buf()
225 hval ^= (uint64_t)*bp++; in fnv_64_buf()
230 hval ^= (uint64_t)*bp++; in fnv_64_buf()
233 hval *= PHP_FNV_64_PRIME; in fnv_64_buf()
238 return hval; in fnv_64_buf()