Lines Matching full:bytes_written
41 int bytes_written;
43 bytes_written = base::WritePlatformFile(
47 if ((bytes_written == 0) && (size == 0))
50 if ((bytes_written <= 0) || (bytes_written > size - total_bytes_written))
53 total_bytes_written += bytes_written;
146 int bytes_written = WriteFully(file, 0, data_to_write, 0);
147 EXPECT_EQ(0, bytes_written);
150 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize);
151 EXPECT_EQ(kTestDataSize, bytes_written);
178 bytes_written = WriteFully(file, kOffsetBeyondEndOfFile,
180 EXPECT_EQ(kPartialWriteLength, bytes_written);
217 int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize);
218 EXPECT_EQ(kTestDataSize, bytes_written);
281 int bytes_written = WriteFully(file, 0, data, kTestDataSize);
282 EXPECT_EQ(kTestDataSize, bytes_written);