Lines Matching refs:in_buffer_full
75 size_t in_buffer_full, out_buffer_full;
131 while ((f->stdin_readable && f->in_buffer_full <= 0) ||
132 (f->master_writable && f->in_buffer_full > 0) ||
136 if (f->stdin_readable && f->in_buffer_full < LINE_MAX) {
138 k = read(STDIN_FILENO, f->in_buffer + f->in_buffer_full, LINE_MAX - f->in_buffer_full);
163 if (look_for_escape(f, f->in_buffer + f->in_buffer_full, k))
166 f->in_buffer_full += (size_t) k;
170 if (f->master_writable && f->in_buffer_full > 0) {
172 k = write(f->master, f->in_buffer, f->in_buffer_full);
187 assert(f->in_buffer_full >= (size_t) k);
188 memmove(f->in_buffer, f->in_buffer + k, f->in_buffer_full - k);
189 f->in_buffer_full -= k;
257 (f->in_buffer_full <= 0 || f->master_hangup))