Lines Matching refs:temp
87 Byte temp[8];
88 Last byte of marker (e8/e9/[0f]8x) can be written to temp[] buffer.
94 Byte CBcj2Enc::temp[4];
375 Bcj2Enc_Encode() solves that look ahead problem by using p->temp[] buffer.
387 /* extra: number of bytes that were copied from (src) to (temp) buffer in this call */
390 So we will add input bytes from (src) stream to temp[] with step of 1 byte.
391 We don't add new bytes to temp[] before Bcj2Enc_Encode_2() call
395 the case with full temp[] buffer (p->tempPos == 4) is possible here.
401 that were copied to temp[] buffer in this call */
407 /* if there are some src data after the data copied to temp[],
408 then we use MODE_CONTINUE for temp data */
411 p->src = p->temp;
412 p->srcLim = p->temp + p->tempPos;
416 const unsigned num = (unsigned)(p->src - p->temp);
421 p->temp[i] = p->temp[(SizeT)i + num];
422 // tempPos : number of bytes in temp buffer
442 so encoder needs more data than in temp[] */
449 /* (extra >= tempPos) means that temp buffer contains
451 So now we can encode without temp buffer */
456 // we append one additional extra byte from (src) to temp[] buffer:
457 p->temp[tempPos] = *src;
478 - we copy non-processed bytes from (p->src) to temp[] buffer,
488 p->temp[i] = src[i];