Lines Matching refs:memsize
467 if (state->memsize + len < 16) { /* fill in tmp buffer */ in XXH32_update_endian()
468 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, len); in XXH32_update_endian()
469 state->memsize += (unsigned)len; in XXH32_update_endian()
473 if (state->memsize) { /* some data left from previous update */ in XXH32_update_endian()
474 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update_endian()
481 p += 16-state->memsize; in XXH32_update_endian()
482 state->memsize = 0; in XXH32_update_endian()
507 state->memsize = (unsigned)(bEnd-p); in XXH32_update_endian()
542 return XXH32_finalize(h32, state->mem32, state->memsize, endian, XXH_aligned); in XXH32_digest_endian()
926 if (state->memsize + len < 32) { /* fill in tmp buffer */ in XXH64_update_endian()
927 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, len); in XXH64_update_endian()
928 state->memsize += (U32)len; in XXH64_update_endian()
932 if (state->memsize) { /* tmp buffer is full */ in XXH64_update_endian()
933 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update_endian()
938 p += 32-state->memsize; in XXH64_update_endian()
939 state->memsize = 0; in XXH64_update_endian()
964 state->memsize = (unsigned)(bEnd-p); in XXH64_update_endian()