Home
last modified time | relevance | path

Searched refs:bytes_in_buf (Results 1 – 2 of 2) sorted by relevance

/external/dnsmasq/src/
Dhelper.c51 static size_t bytes_in_buf = 0, buf_size = 0; variable
397 bytes_in_buf = p - (unsigned char *)buf; in queue_script()
402 return bytes_in_buf == 0; in helper_buf_empty()
409 if (bytes_in_buf == 0) in helper_write()
412 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1) in helper_write()
414 if (bytes_in_buf != (size_t)rc) in helper_write()
415 memmove(buf, buf + rc, bytes_in_buf - rc); in helper_write()
416 bytes_in_buf -= rc; in helper_write()
422 bytes_in_buf = 0; in helper_write()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch377 return bytes_in_buf == 0;
388 if (bytes_in_buf == 0)
392 if ((rc = write(daemon->helperfd, buf, bytes_in_buf)) != -1)
400 bytes_in_buf = 0;