Lines Matching refs:num_chars
221 int num = 0, num_chars, found_newline; in readbuffer_gets() local
238 for (num_chars = 0; in readbuffer_gets()
239 (num_chars < ctx->ibuf_len) && (num_chars < size); in readbuffer_gets()
240 num_chars++) { in readbuffer_gets()
241 *buf++ = p[num_chars]; in readbuffer_gets()
242 if (p[num_chars] == '\n') { in readbuffer_gets()
244 num_chars++; in readbuffer_gets()
248 num += num_chars; in readbuffer_gets()
249 size -= num_chars; in readbuffer_gets()
250 ctx->ibuf_len -= num_chars; in readbuffer_gets()
251 ctx->ibuf_off += num_chars; in readbuffer_gets()