Lines Matching refs:CHUNK_SIZE
44 #define CHUNK_SIZE (64)
48 byte buf [CHUNK_SIZE]; /* buffer of 16-dword's */
134 memset (ctx->buf, '\0', CHUNK_SIZE);
171 if (ctx->byteCount == CHUNK_SIZE) {
172 CountLength (ctx, CHUNK_SIZE);
175 Trf_FlipRegisterLong (ctx->buf, CHUNK_SIZE);
210 if ((ctx->byteCount + bufLen) < CHUNK_SIZE) {
225 int k = CHUNK_SIZE - ctx->byteCount;
227 if (k < CHUNK_SIZE) {
230 CountLength (ctx, CHUNK_SIZE);
233 Trf_FlipRegisterLong (ctx->buf, CHUNK_SIZE);
239 } /* k == CHUNK_SIZE => internal buffer was empty, so skip it entirely */
241 while (bufLen >= CHUNK_SIZE) {
242 CountLength (ctx, CHUNK_SIZE);
245 Trf_FlipRegisterLong (buffer, CHUNK_SIZE);
249 Trf_FlipRegisterLong (buffer, CHUNK_SIZE);
252 buffer += CHUNK_SIZE;
253 bufLen -= CHUNK_SIZE;