Lines Matching refs:ibuf_len
102 i = ctx->ibuf_len; in buffer_read()
109 ctx->ibuf_len -= i; in buffer_read()
152 ctx->ibuf_len = i; in buffer_read()
249 ctx->ibuf_len = 0; in buffer_ctrl()
257 if (ctx->ibuf_len > 0) in buffer_ctrl()
267 for (i = 0; i < ctx->ibuf_len; i++) { in buffer_ctrl()
281 ret = (long)ctx->ibuf_len; in buffer_ctrl()
299 ctx->ibuf_len = (int)num; in buffer_ctrl()
339 ctx->ibuf_len = 0; in buffer_ctrl()
396 if (num > ctx->ibuf_len) in buffer_ctrl()
397 num = ctx->ibuf_len; in buffer_ctrl()
431 if (ctx->ibuf_len > 0) { in buffer_gets()
434 for (i = 0; (i < ctx->ibuf_len) && (i < size); i++) { in buffer_gets()
444 ctx->ibuf_len -= i; in buffer_gets()
461 ctx->ibuf_len = i; in buffer_gets()