Lines Matching refs:buf2
78 char buf2[2]; in do_test_without_offset() local
83 { buf2, sizeof (buf2) }, in do_test_without_offset()
86 sizeof (buf1) + sizeof (buf2)); in do_test_without_offset()
88 TEST_COMPARE (memcmp ("cx", buf2, sizeof (buf2)), 0); in do_test_without_offset()
102 char buf2[64]; in do_test_with_offset() local
105 memset (buf2, 0x0f, sizeof buf2); in do_test_with_offset()
111 iov[1].iov_base = buf2; in do_test_with_offset()
112 iov[1].iov_len = sizeof buf2; in do_test_with_offset()
117 if (ret != (sizeof buf1 + sizeof buf2)) in do_test_with_offset()
120 ret = PWRITEV (temp_fd, iov, 2, sizeof buf1 + sizeof buf2 + offset); in do_test_with_offset()
123 if (ret != (sizeof buf1 + sizeof buf2)) in do_test_with_offset()
146 if (memcmp (buf2, buf4, sizeof buf2) != 0) in do_test_with_offset()
158 if (memcmp (buf2, buf4, sizeof buf2) != 0) in do_test_with_offset()