Lines Matching refs:chunk
3375 int chunk; /* number of byte curreent processed from buf */
3382 chunk = len;
3383 if (chunk > 4 * MINLEN)
3384 chunk = 4 * MINLEN;
3396 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3400 if ((out->buffer->use < MINLEN) && (chunk == len))
3414 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3419 buf += chunk;
3420 len -= chunk;
3540 int chunk; /* number of byte currently processed from str */
3559 chunk = (out->buffer->size - out->buffer->use) - 1;
3565 if (chunk < 40) {
3583 &chunk, str, &cons);
3584 if ((ret < 0) || (chunk == 0)) /* chunk==0 => nothing done */
3586 out->buffer->use += chunk;
3604 &chunk, str, &cons);
3605 if ((ret < 0) || (chunk == 0)) /* chunk==0 => nothing done */
3607 out->buffer->use += chunk;