Lines Matching refs:bufferedSize
1078 XXH32_hash_t bufferedSize; member
4684 size_t const initStart = offsetof(XXH3_state_t, bufferedSize); in XXH3_reset_internal()
4809 XXH_ASSERT(state->bufferedSize <= XXH3_INTERNALBUFFER_SIZE); in XXH3_update()
4812 if (state->bufferedSize + len <= XXH3_INTERNALBUFFER_SIZE) { in XXH3_update()
4813 XXH_memcpy(state->buffer + state->bufferedSize, input, len); in XXH3_update()
4814 state->bufferedSize += (XXH32_hash_t)len; in XXH3_update()
4826 if (state->bufferedSize) { in XXH3_update()
4827 size_t const loadSize = XXH3_INTERNALBUFFER_SIZE - state->bufferedSize; in XXH3_update()
4828 XXH_memcpy(state->buffer + state->bufferedSize, input, loadSize); in XXH3_update()
4835 state->bufferedSize = 0; in XXH3_update()
4888 XXH_ASSERT(state->bufferedSize == 0); in XXH3_update()
4890 state->bufferedSize = (XXH32_hash_t)(bEnd-input); in XXH3_update()
4919 if (state->bufferedSize >= XXH_STRIPE_LEN) { in XXH3_digest_long()
4920 size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN; in XXH3_digest_long()
4929 state->buffer + state->bufferedSize - XXH_STRIPE_LEN, in XXH3_digest_long()
4933 size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize; in XXH3_digest_long()
4934 XXH_ASSERT(state->bufferedSize > 0); /* there is always some input buffered */ in XXH3_digest_long()
4936 XXH_memcpy(lastStripe + catchupSize, state->buffer, state->bufferedSize); in XXH3_digest_long()