Home | History | Annotate | Download | only in libcutils

Lines Matching refs:buf

26 static int only_one_char(char *buf, int len, char c)
32 if (buf[i] != c) {
42 char buf[4096];
49 ret = read(fd, buf, sizeof(buf));
52 if (ret != sizeof(buf)) {
57 if (only_one_char(buf, sizeof(buf), 0)) {
62 if (only_one_char(buf, sizeof(buf), 0xff)) {