Lines Matching refs:memsize
391 if (state->memsize + len < 16) { /* fill in tmp buffer */ in XXH32_update_endian()
392 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, len); in XXH32_update_endian()
393 state->memsize += (unsigned)len; in XXH32_update_endian()
397 if (state->memsize) { /* some data left from previous update */ in XXH32_update_endian()
398 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update_endian()
405 p += 16-state->memsize; in XXH32_update_endian()
406 state->memsize = 0; in XXH32_update_endian()
431 state->memsize = (unsigned)(bEnd-p); in XXH32_update_endian()
452 const BYTE* const bEnd = (const BYTE*)(state->mem32) + state->memsize; in XXH32_digest_endian()
759 if (state->memsize + len < 32) { /* fill in tmp buffer */ in XXH64_update_endian()
760 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, len); in XXH64_update_endian()
761 state->memsize += (U32)len; in XXH64_update_endian()
765 if (state->memsize) { /* tmp buffer is full */ in XXH64_update_endian()
766 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update_endian()
771 p += 32-state->memsize; in XXH64_update_endian()
772 state->memsize = 0; in XXH64_update_endian()
797 state->memsize = (unsigned)(bEnd-p); in XXH64_update_endian()
816 const BYTE* const bEnd = (const BYTE*)state->mem64 + state->memsize; in XXH64_digest_endian()