Lines Matching defs:buf
31 char *buf, val;
38 buf = (char *)iov->iov_base;
39 val = *((char *)buf);
43 if (buf[i] != val) {
46 buf[idx] & 0xff);
49 buf[idx] & 0xff);
61 tst_resm(TINFO, "\t%" PRIx32 "x", buf[idx] & 0xff);
63 tst_resm(TINFO, "\t%d*%" PRIx32 "x", i - idx, buf[idx]);
71 void *buf;
75 for (buf = bits; size > 0; --size, ++buf) {
76 tst_resm(TINFO, "\t%td:\t", 8 * (buf - bits));
77 if ((buf - bits) % 16 == 0) {
78 assert(0 < (buf - bits));
79 tst_resm(TINFO, "\t%td:\t", 8 * (buf - bits));
81 tst_resm(TINFO, "\t%02" PRIx32 "x ", *((char *)buf) & 0xff);
100 void ft_dumpbuf(char *buf, int csize)
108 val = buf[0];
111 if (buf[i] != val) {
113 tst_resm(TINFO, "\t%x, ", buf[idx] & 0xff);
116 buf[idx] & 0xff);
127 tst_resm(TINFO, "\t%x", buf[idx] & 0xff);
129 tst_resm(TINFO, "\t%d*%x", i - idx, buf[idx]);