Searched refs:total_bytes_read (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dsymbolize.cc233 int total_bytes_read = 0;
238 int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read,
239 kSymbolBufferSize - total_bytes_read);
249 total_bytes_read += bytes_read;
254 if (total_bytes_read == 0 || symbol_buffer_[total_bytes_read - 1] != '\n')
260 for (int i = 0; i < total_bytes_read; i++) {
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsymbolize.cc238 int total_bytes_read = 0;
243 int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read,
244 kSymbolBufferSize - total_bytes_read);
254 total_bytes_read += bytes_read;
259 if (total_bytes_read == 0 || symbol_buffer_[total_bytes_read - 1] != '\n')
265 for (int i = 0; i < total_bytes_read; i++) {
/external/chromium_org/google_apis/gcm/base/
H A Dsocket_stream_unittest.cc105 int total_bytes_read = 0; local
115 total_bytes_read += size;
117 EXPECT_EQ(static_cast<const uint8*>(initial_buffer) + total_bytes_read,
122 } while (total_bytes_read < bytes);
124 if (total_bytes_read > bytes) {
125 socket_input_stream_->BackUp(total_bytes_read - bytes);
126 total_bytes_read = bytes;
130 total_bytes_read);
/external/chromium_org/net/base/
H A Dfile_stream_unittest.cc190 int total_bytes_read = 0; local
200 total_bytes_read += rv;
203 EXPECT_EQ(file_size, total_bytes_read);
252 int total_bytes_read = 0; local
263 total_bytes_read += rv;
266 EXPECT_EQ(file_size - kOffset, total_bytes_read);
410 int64 total_bytes_read = 0; local
421 total_bytes_read += rv;
424 EXPECT_EQ(file_size, total_bytes_read);
493 int total_bytes_read local
520 TestWriteReadCompletionCallback(FileStream* stream, int* total_bytes_written, int* total_bytes_read, std::string* data_read) argument
558 int total_bytes_written = 0, total_bytes_read = 0; local
637 int total_bytes_read = 0; local
863 int total_bytes_read = 0; local
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_file_stream_reader_unittest.cc46 size_t total_bytes_read = 0; local
47 while (total_bytes_read < size) {
49 new net::IOBufferWithSize(size - total_bytes_read));
57 total_bytes_read += rv;
H A Dlocal_file_stream_reader_unittest.cc37 size_t total_bytes_read = 0; local
38 while (total_bytes_read < size) {
40 new net::IOBufferWithSize(size - total_bytes_read));
48 total_bytes_read += rv;
/external/lldb/tools/debugserver/source/
H A DDNB.cpp1089 nub_size_t total_bytes_read = 0; local
1156 return total_bytes_read;
1169 return total_bytes_read;
1179 return total_bytes_read;
1198 return total_bytes_read;
1207 return total_bytes_read;
1431 total_bytes_read += mem_string_len;
1435 return total_bytes_read;
1449 total_bytes_read += bytes_read;
1512 return total_bytes_read;
[all...]
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachVMMemory.cpp554 nub_size_t total_bytes_read = 0;
557 while (total_bytes_read < data_count)
559 mach_vm_size_t curr_size = MaxBytesLeftInPage(task, curr_addr, data_count - total_bytes_read);
576 total_bytes_read += curr_bytes_read;
585 return total_bytes_read;
/external/chromium_org/net/socket/
H A Dssl_client_socket_openssl.cc1326 int total_bytes_read = 0;
1328 rv = SSL_read(ssl_, user_read_buf_->data() + total_bytes_read,
1329 user_read_buf_len_ - total_bytes_read);
1331 total_bytes_read += rv;
1332 } while (total_bytes_read < user_read_buf_len_ && rv > 0);
1334 if (total_bytes_read == user_read_buf_len_) {
1335 rv = total_bytes_read;
1348 if (total_bytes_read > 0) {
1350 rv = total_bytes_read;
H A Dssl_client_socket_nss.cc1899 int total_bytes_read = 0; local
1901 rv = PR_Read(nss_fd_, user_read_buf_->data() + total_bytes_read,
1902 user_read_buf_len_ - total_bytes_read);
1904 total_bytes_read += rv;
1905 } while (total_bytes_read < user_read_buf_len_ && rv > 0);
1910 if (total_bytes_read == user_read_buf_len_) {
1913 rv = total_bytes_read;
1926 if (total_bytes_read > 0) {
1928 rv = total_bytes_read;
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_cache.cc46 : buffer(buff), blob_data(blob), total_bytes_read(0) {}
50 int total_bytes_read; member in struct:content::__anon7392::ResponseReadContext
527 response_context->total_bytes_read += rv;
528 int total_bytes_read = response_context->total_bytes_read; local
544 total_bytes_read,
/external/chromium_org/mojo/system/
H A Dmessage_pipe_dispatcher_unittest.cc712 size_t total_bytes_read = 0; local
715 total_bytes_read += bytes_read[i];
721 EXPECT_EQ(total_bytes_written, total_bytes_read);
/external/lldb/source/Target/
H A DProcess.cpp2387 size_t total_bytes_read = 0;
2413 size_t aligned_start = total_bytes_read - total_bytes_read % type_width;
2414 for (size_t i = aligned_start; i + type_width <= total_bytes_read + bytes_read; i += type_width)
2421 total_bytes_read += bytes_read;
2432 return total_bytes_read;
/external/lldb/source/Core/
H A DValueObject.cpp1120 size_t total_bytes_read = 0; local
1171 total_bytes_read = bytes_read;
1200 total_bytes_read += bytes_read;
1255 return total_bytes_read;

Completed in 2571 milliseconds