Lines Matching refs:memsize
390 if (state->memsize + len < 16) { /* fill in tmp buffer */ in XXH32_update_endian()
391 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, len); in XXH32_update_endian()
392 state->memsize += (unsigned)len; in XXH32_update_endian()
396 if (state->memsize) { /* some data left from previous update */ in XXH32_update_endian()
397 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update_endian()
404 p += 16-state->memsize; in XXH32_update_endian()
405 state->memsize = 0; in XXH32_update_endian()
430 state->memsize = (unsigned)(bEnd-p); in XXH32_update_endian()
451 const BYTE* const bEnd = (const BYTE*)(state->mem32) + state->memsize; in XXH32_digest_endian()
758 if (state->memsize + len < 32) { /* fill in tmp buffer */ in XXH64_update_endian()
759 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, len); in XXH64_update_endian()
760 state->memsize += (U32)len; in XXH64_update_endian()
764 if (state->memsize) { /* tmp buffer is full */ in XXH64_update_endian()
765 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update_endian()
770 p += 32-state->memsize; in XXH64_update_endian()
771 state->memsize = 0; in XXH64_update_endian()
796 state->memsize = (unsigned)(bEnd-p); in XXH64_update_endian()
815 const BYTE* const bEnd = (const BYTE*)state->mem64 + state->memsize; in XXH64_digest_endian()