Lines Matching refs:buf1
77 char buf1[3]; in do_test_without_offset() local
82 { buf1, sizeof (buf1) }, in do_test_without_offset()
86 sizeof (buf1) + sizeof (buf2)); in do_test_without_offset()
87 TEST_COMPARE (memcmp ("2ab", buf1, sizeof (buf1)), 0); in do_test_without_offset()
101 char buf1[32]; in do_test_with_offset() local
104 memset (buf1, 0xf0, sizeof buf1); in do_test_with_offset()
109 iov[0].iov_base = buf1; in do_test_with_offset()
110 iov[0].iov_len = sizeof buf1; 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()
144 if (memcmp (buf1, buf3, sizeof buf1) != 0) in do_test_with_offset()
156 if (memcmp (buf1, buf3, sizeof buf1) != 0) in do_test_with_offset()