Lines Matching refs:buf

95 #define write(fd,buf,len) send((fd),(buf),(int)(len),0)  argument
96 #define read(fd,buf,len) recv((fd),(buf),(int)(len),0) argument
109 char buf[256]; in simple_read_cb() local
112 len = read(fd, buf, sizeof(buf)); in simple_read_cb()
128 char buf[256]; in basic_read_cb() local
132 len = read(fd, buf, sizeof(buf)); in basic_read_cb()
246 char buf[128]; in combined_read_cb() local
249 len = read(fd, buf, sizeof(buf)); in combined_read_cb()
264 char buf[128]; in combined_write_cb() local
267 len = sizeof(buf); in combined_write_cb()
271 memset(buf, 'q', len); in combined_write_cb()
273 len = write(fd, buf, len); in combined_write_cb()
399 char buf[1024]; in test_simpleclose_rw() local
400 memset(buf, 99, sizeof(buf)); in test_simpleclose_rw()
417 int r = write(pair2[1], buf, sizeof(buf)); in test_simpleclose_rw()
882 char buf[256]; in simple_child_read_cb() local
885 len = read(fd, buf, sizeof(buf)); in simple_child_read_cb()
1835 char buf[] = "x"; in write_a_byte_cb() local
1836 if (write(fd, buf, 1) == 1) in write_a_byte_cb()
1842 char buf[128]; in read_and_drain_cb() local
1845 while ((n = read(fd, buf, sizeof(buf))) > 0) in read_and_drain_cb()
2145 char buf[256]; in re_add_read_cb() local
2151 n_read = read(fd, buf, sizeof(buf)); in re_add_read_cb()
2379 char buf[256]; in read_once_cb() local
2382 len = read(fd, buf, sizeof(buf)); in read_once_cb()
2678 methodname_to_envvar(const char *mname, char *buf, size_t buflen) in methodname_to_envvar() argument
2681 evutil_snprintf(buf, buflen, "EVENT_NO%s", mname); in methodname_to_envvar()
2682 for (cp = buf; *cp; ++cp) { in methodname_to_envvar()