Lines Matching refs:buf
101 static int write_fully(int s, char* buf, int len);
245 char buf[max_len];
256 RESTARTABLE(read(s, buf+off, left), n);
264 if (buf[off+i] == 0) {
271 if ((strlen(buf) != strlen(ver_str)) ||
272 (atoi(buf) != ATTACH_PROTOCOL_VER)) {
291 ArgumentIterator args(buf, (max_len)-left);
369 int LinuxAttachListener::write_fully(int s, char* buf, int len) {
371 int n = ::write(s, buf, len);
375 buf += n;