Lines Matching defs:chunk
3132 int chunk; /* number of byte curreent processed from buf */
3139 chunk = len;
3140 if (chunk > 4 * MINLEN)
3141 chunk = 4 * MINLEN;
3153 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3157 if ((out->buffer->use < MINLEN) && (chunk == len))
3171 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3176 buf += chunk;
3177 len -= chunk;
3297 int chunk; /* number of byte currently processed from str */
3316 chunk = (out->buffer->size - out->buffer->use) - 1;
3329 &chunk, str, &cons);
3330 if ((ret < 0) || (chunk == 0)) /* chunk==0 => nothing done */
3332 out->buffer->use += chunk;
3350 &chunk, str, &cons);
3351 if ((ret < 0) || (chunk == 0)) /* chunk==0 => nothing done */
3353 out->buffer->use += chunk;