Searched refs:bytes_in_buf (Results 1 – 1 of 1) sorted by relevance
50 static size_t bytes_in_buf = 0, buf_size = 0; variable339 bytes_in_buf = p - (unsigned char*) buf; in queue_script()343 return bytes_in_buf == 0; in helper_buf_empty()349 if (bytes_in_buf == 0) return; in helper_write()351 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1) { in helper_write()352 if (bytes_in_buf != (size_t) rc) memmove(buf, buf + rc, bytes_in_buf - rc); in helper_write()353 bytes_in_buf -= rc; in helper_write()356 bytes_in_buf = 0; in helper_write()