/external/chromium_org/content/renderer/ |
mhtml_generator.cc | 55 size_t total_bytes_written = 0; local 56 while (total_bytes_written < mhtml.length()) { 58 std::min(mhtml.length() - total_bytes_written, chunk_size); 59 int bytes_written = base::WritePlatformFile(file_, total_bytes_written, 60 data + total_bytes_written, 64 total_bytes_written += bytes_written; 66 return total_bytes_written;
|
/external/chromium/net/base/ |
file_stream_unittest.cc | 330 int total_bytes_written = 0; local 332 while (total_bytes_written != kTestDataSize) { 333 rv = stream.Write(kTestData + total_bytes_written, 334 kTestDataSize - total_bytes_written, 341 total_bytes_written += rv; 345 EXPECT_EQ(file_size, total_bytes_written); 362 int total_bytes_written = 0; local 364 rv = stream.Write(kTestData + total_bytes_written, 365 kTestDataSize - total_bytes_written, 422 int total_bytes_written = 0 local 561 int total_bytes_written = 0; local 602 int total_bytes_written = 0; local 682 int total_bytes_written = 0, total_bytes_read = 0; local 751 int total_bytes_written = 0; local 807 int total_bytes_written = 0; local 853 int total_bytes_written = 0; local [all...] |
/external/chromium_org/net/base/ |
file_stream_unittest.cc | 495 int total_bytes_written = 0; local 500 while (total_bytes_written != kTestDataSize) { 509 total_bytes_written += rv; 513 EXPECT_EQ(file_size, total_bytes_written); 594 int total_bytes_written = 0; local 599 while (total_bytes_written != kTestDataSize) { 608 total_bytes_written += rv; 740 int total_bytes_written = 0; local 745 while (total_bytes_written != kTestDataSize) { 754 total_bytes_written += rv 789 int total_bytes_written = 0; local 879 int total_bytes_written = 0, total_bytes_read = 0; local 953 int total_bytes_written = 0; local 1013 int total_bytes_written = 0; local 1063 int total_bytes_written = 0; local [all...] |
/external/chromium/base/ |
platform_file_unittest.cc | 40 int total_bytes_written = 0; local 42 while (total_bytes_written < size) { 44 file, offset + total_bytes_written, &data[total_bytes_written], 45 size - total_bytes_written); 50 if ((bytes_written <= 0) || (bytes_written > size - total_bytes_written)) 53 total_bytes_written += bytes_written; 56 return total_bytes_written;
|
/external/chromium_org/google_apis/gcm/base/ |
socket_stream_unittest.cc | 136 uint64 total_bytes_written = 0; local 146 write_src.data() + total_bytes_written, 150 total_bytes_written += bytes_to_write; 151 } while (total_bytes_written < bytes); 159 return total_bytes_written;
|
/system/core/init/ |
init.c | 585 size_t total_bytes_written = 0; local 607 while (total_bytes_written < sizeof(buf)) { 609 read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); 623 total_bytes_written += chunk_size; 627 total_bytes_written);
|
/external/chromium_org/mojo/system/ |
message_pipe_dispatcher_unittest.cc | 564 size_t total_bytes_written = 0; local 567 total_bytes_written += bytes_written[i]; 579 EXPECT_EQ(total_bytes_written, total_bytes_read);
|