Lines Matching defs:buf
38 static void stripcr(char *buf, size_t *len)
43 for (i = *len, curr = buf, writ = buf; i > 0; i--, curr++) {
58 char buf[4096];
105 if (!TEST_true(BIO_read_ex(file, buf, sizeof(buf), &readbytes))
107 || !TEST_size_t_lt(readbytes, sizeof(buf)))
117 stripcr(buf, &readbytes);
120 if (!TEST_mem_eq(memdata, slen, buf, readbytes))
131 static int pass_cb(char *buf, int size, int rwflag, void *u)
136 static int pass_cb_error(char *buf, int size, int rwflag, void *u)