Lines Matching refs:output_buffer
102 char output_buffer = 'A'; in test_pread_should_fail() local
103 ssize_t pread_result = pread(fd, &output_buffer, 1, 0); in test_pread_should_fail()
107 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail()
109 pread_result = pread(fd, &output_buffer, 1, 1); in test_pread_should_fail()
113 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail()
115 pread_result = pread(fd, &output_buffer, 0, 0); in test_pread_should_fail()
119 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail()
121 pread_result = pread(fd, &output_buffer, 0, 1); in test_pread_should_fail()
125 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail()
180 char output_buffer = 'A'; variable
181 ssize_t pread_result = pread(fd, &output_buffer, 1, 0);
183 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged");
185 pread_result = pread(fd, &output_buffer, 1, 1);
187 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged");
189 pread_result = pread(fd, &output_buffer, 0, 0);
191 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged");
193 pread_result = pread(fd, &output_buffer, 0, 1);
195 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged");