Lines Matching refs:nbchars
2922 int nbchars = 0;
2944 nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw);
2945 if (nbchars < 0) {
2952 nbchars = len;
2953 ret = xmlBufferAdd(in->buffer, (xmlChar *) buf, nbchars);
2960 nbchars, in->buffer->use, in->buffer->size);
2962 return(nbchars);
2997 int nbchars = 0;
3055 nbchars = xmlCharEncInFunc(in->encoder, in->buffer, in->raw);
3056 if (nbchars < 0) {
3063 nbchars = len;
3064 in->buffer->use += nbchars;
3065 buffer[nbchars] = 0;
3070 nbchars, in->buffer->use, in->buffer->size);
3072 return(nbchars);
3116 int nbchars = 0; /* number of chars to output to I/O */
3156 nbchars = out->conv->use;
3161 nbchars = out->buffer->use;
3166 if ((nbchars < MINLEN) && (len <= 0))
3175 (const char *)out->conv->content, nbchars);
3180 (const char *)out->buffer->content, nbchars);
3191 written += nbchars;
3280 int nbchars = 0; /* number of chars to output to I/O */
3334 nbchars = out->conv->use;
3342 nbchars = out->buffer->use;
3347 if ((nbchars < MINLEN) && (len <= 0))
3356 (const char *)out->conv->content, nbchars);
3361 (const char *)out->buffer->content, nbchars);
3374 written += nbchars;
3422 int nbchars = 0, ret = 0;
3432 nbchars = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer);
3433 if (nbchars < 0) {