Lines Matching refs:data_to_write
174 char data_to_write[] = "test"; in TEST() local
178 int bytes_written = file.Write(0, data_to_write, 0); in TEST()
186 bytes_written = file.Write(0, data_to_write, kTestDataSize); in TEST()
199 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); in TEST()
209 EXPECT_EQ(data_to_write[i], data_read_1[i]); in TEST()
215 EXPECT_EQ(data_to_write[i], data_read_1[i]); in TEST()
221 data_to_write, kPartialWriteLength); in TEST()
234 EXPECT_EQ(data_to_write[i], data_read_2[i]); in TEST()
238 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); in TEST()
267 char data_to_write[] = "test"; in TEST() local
271 int bytes_written = file.Write(0, data_to_write, 0); in TEST()
279 bytes_written = file.Write(0, data_to_write, kTestDataSize); in TEST()
306 EXPECT_EQ(data_to_write[i], data_read_1[i]); in TEST()
323 char data_to_write[] = "test"; in TEST() local
325 int bytes_written = file.Write(0, data_to_write, kTestDataSize); in TEST()
341 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST()
356 EXPECT_EQ(data_to_write[i], data_read[i]); in TEST()