/external/chromium_org/base/files/ |
file_unittest.cc | 113 char data_to_write[] = "test"; local 117 int bytes_written = file.Write(0, data_to_write, 0); 121 bytes_written = file.Write(0, data_to_write, kTestDataSize); 134 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 144 EXPECT_EQ(data_to_write[i], data_read_1[i]); 150 EXPECT_EQ(data_to_write[i], data_read_1[i]); 156 data_to_write, kPartialWriteLength); 169 EXPECT_EQ(data_to_write[i], data_read_2[i]); 173 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 183 char data_to_write[] = "test" local 234 char data_to_write[] = "test"; local [all...] |
/external/chromium/base/ |
platform_file_unittest.cc | 142 char data_to_write[] = "test"; local 146 int bytes_written = WriteFully(file, 0, data_to_write, 0); 150 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); 163 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 173 EXPECT_EQ(data_to_write[i], data_read_1[i]); 179 data_to_write, kPartialWriteLength); 192 EXPECT_EQ(data_to_write[i], data_read_2[i]); 196 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 215 char data_to_write[] = "test"; local 217 int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize) [all...] |
/external/chromium_org/base/ |
platform_file_unittest.cc | 157 char data_to_write[] = "test"; local 161 int bytes_written = WriteFully(file, 0, data_to_write, 0); 165 bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); 178 EXPECT_EQ(data_to_write[i + kPartialReadOffset], data_read_1[i]); 188 EXPECT_EQ(data_to_write[i], data_read_1[i]); 195 EXPECT_EQ(data_to_write[i], data_read_1[i]); 201 data_to_write, kPartialWriteLength); 214 EXPECT_EQ(data_to_write[i], data_read_2[i]); 218 EXPECT_EQ(data_to_write[i - kOffsetBeyondEndOfFile], data_read_2[i]); 235 char data_to_write[] = "test" local 290 char data_to_write[] = "test"; local [all...] |