bytes_read 43 android_webview/browser/input_stream.h virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) = 0; bytes_read 239 android_webview/browser/net/android_stream_reader_url_request_job.cc int* bytes_read) { bytes_read 245 android_webview/browser/net/android_stream_reader_url_request_job.cc *bytes_read = 0; bytes_read 82 android_webview/browser/net/android_stream_reader_url_request_job.h int* bytes_read) OVERRIDE; bytes_read 109 android_webview/browser/net/android_stream_reader_url_request_job.h void OnReaderReadCompleted(int bytes_read); bytes_read 60 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE { bytes_read 61 android_webview/browser/net/aw_network_delegate.cc int bytes_read) { bytes_read 39 android_webview/browser/net/aw_network_delegate.h int bytes_read) OVERRIDE; bytes_read 47 android_webview/browser/net/input_stream_reader.cc int bytes_read = 0; bytes_read 48 android_webview/browser/net/input_stream_reader.cc if (!stream_->Read(dest, dest_size, &bytes_read)) bytes_read 51 android_webview/browser/net/input_stream_reader.cc return bytes_read; bytes_read 37 android_webview/browser/net/input_stream_reader_unittest.cc MOCK_METHOD3(Read, bool(net::IOBuffer* dest, int length, int* bytes_read)); bytes_read 76 android_webview/native/input_stream_impl.cc bool InputStreamImpl::Read(net::IOBuffer* dest, int length, int* bytes_read) { bytes_read 90 android_webview/native/input_stream_impl.cc *bytes_read = 0; bytes_read 128 android_webview/native/input_stream_impl.cc *bytes_read = length - remaining_length; bytes_read 37 android_webview/native/input_stream_impl.h virtual bool Read(net::IOBuffer* dest, int length, int* bytes_read) OVERRIDE; bytes_read 47 android_webview/native/input_stream_unittest.cc int* bytes_read) { bytes_read 56 android_webview/native/input_stream_unittest.cc EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read)); bytes_read 70 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 73 android_webview/native/input_stream_unittest.cc EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read)); bytes_read 74 android_webview/native/input_stream_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 79 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 80 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read); bytes_read 81 android_webview/native/input_stream_unittest.cc EXPECT_EQ(bytes_requested, bytes_read); bytes_read 86 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 87 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read); bytes_read 88 android_webview/native/input_stream_unittest.cc EXPECT_EQ(bytes_requested, bytes_read); bytes_read 93 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 94 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(buffer_size, buffer_size * 2, &bytes_read); bytes_read 95 android_webview/native/input_stream_unittest.cc EXPECT_EQ(buffer_size, bytes_read); bytes_read 100 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 102 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read); bytes_read 103 android_webview/native/input_stream_unittest.cc EXPECT_EQ(bytes_requested, bytes_read); bytes_read 111 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 112 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(bytes_requested + 32, bytes_requested, &bytes_read); bytes_read 113 android_webview/native/input_stream_unittest.cc EXPECT_EQ(bytes_requested, bytes_read); bytes_read 118 android_webview/native/input_stream_unittest.cc int bytes_read = 0; bytes_read 119 android_webview/native/input_stream_unittest.cc DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read); bytes_read 120 android_webview/native/input_stream_unittest.cc EXPECT_EQ(bytes_requested, bytes_read); bytes_read 30 base/async_socket_io_handler_posix.cc int bytes_read = HANDLE_EINTR(read(socket_, pending_buffer_, bytes_read 32 base/async_socket_io_handler_posix.cc DCHECK_GE(bytes_read, 0); bytes_read 35 base/async_socket_io_handler_posix.cc read_complete_.Run(bytes_read > 0 ? bytes_read : 0); bytes_read 52 base/async_socket_io_handler_posix.cc int bytes_read = HANDLE_EINTR(read(socket_, buffer, buffer_len)); bytes_read 53 base/async_socket_io_handler_posix.cc if (bytes_read < 0) { bytes_read 62 base/async_socket_io_handler_posix.cc read_complete_.Run(bytes_read); bytes_read 45 base/async_socket_io_handler_unittest.cc void OnRead(int bytes_read) { bytes_read 47 base/async_socket_io_handler_unittest.cc EXPECT_GT(bytes_read, 0); bytes_read 49 base/async_socket_io_handler_unittest.cc EXPECT_GE(bytes_read, 0); bytes_read 47 base/async_socket_io_handler_win.cc DWORD bytes_read = 0; bytes_read 48 base/async_socket_io_handler_win.cc BOOL ok = ::ReadFile(socket_, buffer, buffer_len, &bytes_read, bytes_read 64 base/debug/proc_maps_linux.cc ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); bytes_read 65 base/debug/proc_maps_linux.cc if (bytes_read < 0) { bytes_read 72 base/debug/proc_maps_linux.cc proc_maps->resize(pos + bytes_read); bytes_read 74 base/debug/proc_maps_linux.cc if (bytes_read == 0) bytes_read 375 base/file_util_posix.cc ssize_t bytes_read = bytes_read 377 base/file_util_posix.cc if (bytes_read <= 0) bytes_read 379 base/file_util_posix.cc total_read += bytes_read; bytes_read 660 base/file_util_posix.cc ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); bytes_read 663 base/file_util_posix.cc return bytes_read; bytes_read 867 base/file_util_posix.cc ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); bytes_read 868 base/file_util_posix.cc if (bytes_read < 0) { bytes_read 872 base/file_util_posix.cc if (bytes_read == 0) bytes_read 880 base/file_util_posix.cc bytes_read - bytes_written_per_read)); bytes_read 886 base/file_util_posix.cc } while (bytes_written_per_read < bytes_read); bytes_read 194 base/files/file_path_watcher_linux.cc ssize_t bytes_read = HANDLE_EINTR(read(inotify_fd, &buffer[0], bytes_read 197 base/files/file_path_watcher_linux.cc if (bytes_read < 0) { bytes_read 203 base/files/file_path_watcher_linux.cc while (i < bytes_read) { bytes_read 206 base/files/file_path_watcher_linux.cc DCHECK(i + event_size <= static_cast<size_t>(bytes_read)); bytes_read 295 base/files/file_posix.cc int bytes_read = 0; bytes_read 298 base/files/file_posix.cc rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, bytes_read 299 base/files/file_posix.cc size - bytes_read, offset + bytes_read)); bytes_read 303 base/files/file_posix.cc bytes_read += rv; bytes_read 304 base/files/file_posix.cc } while (bytes_read < size); bytes_read 306 base/files/file_posix.cc return bytes_read ? bytes_read : rv; bytes_read 315 base/files/file_posix.cc int bytes_read = 0; bytes_read 318 base/files/file_posix.cc rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)); bytes_read 322 base/files/file_posix.cc bytes_read += rv; bytes_read 323 base/files/file_posix.cc } while (bytes_read < size); bytes_read 325 base/files/file_posix.cc return bytes_read ? bytes_read : rv; bytes_read 58 base/files/file_proxy.h int bytes_read)> ReadCallback; bytes_read 60 base/files/file_proxy_unittest.cc int bytes_read) { bytes_read 62 base/files/file_proxy_unittest.cc buffer_.resize(bytes_read); bytes_read 63 base/files/file_proxy_unittest.cc memcpy(&buffer_[0], data, bytes_read); bytes_read 168 base/files/file_unittest.cc int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); bytes_read 169 base/files/file_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 173 base/files/file_unittest.cc bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); bytes_read 174 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); bytes_read 175 base/files/file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 179 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_1, 0); bytes_read 180 base/files/file_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 183 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_1, kTestDataSize); bytes_read 184 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_read); bytes_read 185 base/files/file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 189 base/files/file_unittest.cc bytes_read = file.ReadNoBestEffort(0, data_read_1, kTestDataSize); bytes_read 190 base/files/file_unittest.cc EXPECT_LE(bytes_read, kTestDataSize); bytes_read 191 base/files/file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 208 base/files/file_unittest.cc bytes_read = file.Read(0, data_read_2, static_cast<int>(file_size)); bytes_read 209 base/files/file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 256 base/files/file_unittest.cc int bytes_read = file.Read(0, data_read_1, bytes_read 258 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize + kAppendDataSize, bytes_read); bytes_read 292 base/files/file_unittest.cc int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); bytes_read 293 base/files/file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 307 base/files/file_unittest.cc bytes_read = file.Read(0, data_read, kTestDataSize); bytes_read 308 base/files/file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 73 base/files/file_util_proxy_unittest.cc int bytes_read) { bytes_read 75 base/files/file_util_proxy_unittest.cc buffer_.resize(bytes_read); bytes_read 76 base/files/file_util_proxy_unittest.cc memcpy(&buffer_[0], data, bytes_read); bytes_read 146 base/files/file_win.cc DWORD bytes_read; bytes_read 147 base/files/file_win.cc if (::ReadFile(file_, data, size, &bytes_read, &overlapped)) bytes_read 148 base/files/file_win.cc return bytes_read; bytes_read 162 base/files/file_win.cc DWORD bytes_read; bytes_read 163 base/files/file_win.cc if (::ReadFile(file_, data, size, &bytes_read, NULL)) bytes_read 164 base/files/file_win.cc return bytes_read; bytes_read 242 base/platform_file_posix.cc int bytes_read = 0; bytes_read 245 base/platform_file_posix.cc rv = HANDLE_EINTR(pread(file, data + bytes_read, bytes_read 246 base/platform_file_posix.cc size - bytes_read, offset + bytes_read)); bytes_read 250 base/platform_file_posix.cc bytes_read += rv; bytes_read 251 base/platform_file_posix.cc } while (bytes_read < size); bytes_read 253 base/platform_file_posix.cc return bytes_read ? bytes_read : rv; bytes_read 261 base/platform_file_posix.cc int bytes_read = 0; bytes_read 264 base/platform_file_posix.cc rv = HANDLE_EINTR(read(file, data + bytes_read, size - bytes_read)); bytes_read 268 base/platform_file_posix.cc bytes_read += rv; bytes_read 269 base/platform_file_posix.cc } while (bytes_read < size); bytes_read 271 base/platform_file_posix.cc return bytes_read ? bytes_read : rv; bytes_read 170 base/platform_file_unittest.cc int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); bytes_read 171 base/platform_file_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 175 base/platform_file_unittest.cc bytes_read = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize); bytes_read 176 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); bytes_read 177 base/platform_file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 181 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_1, 0); bytes_read 182 base/platform_file_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 185 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_1, kTestDataSize); bytes_read 186 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_read); bytes_read 187 base/platform_file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 191 base/platform_file_unittest.cc bytes_read = ReadPlatformFileNoBestEffort(file, 0, data_read_1, bytes_read 193 base/platform_file_unittest.cc EXPECT_LE(bytes_read, kTestDataSize); bytes_read 194 base/platform_file_unittest.cc for (int i = 0; i < bytes_read; i++) bytes_read 211 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read_2, static_cast<int>(file_size)); bytes_read 212 base/platform_file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 264 base/platform_file_unittest.cc int bytes_read = ReadFully(file, 0, data_read_1, bytes_read 266 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize + kAppendDataSize, bytes_read); bytes_read 304 base/platform_file_unittest.cc int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); bytes_read 305 base/platform_file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 318 base/platform_file_unittest.cc bytes_read = ReadFully(file, 0, data_read, kTestDataSize); bytes_read 319 base/platform_file_unittest.cc EXPECT_EQ(file_size, bytes_read); bytes_read 161 base/platform_file_win.cc DWORD bytes_read; bytes_read 162 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0) bytes_read 163 base/platform_file_win.cc return bytes_read; bytes_read 175 base/platform_file_win.cc DWORD bytes_read; bytes_read 176 base/platform_file_win.cc if (::ReadFile(file, data, size, &bytes_read, NULL) != 0) bytes_read 177 base/platform_file_win.cc return bytes_read; bytes_read 576 base/process/launch_posix.cc ssize_t bytes_read = 1; // A lie to properly handle |max_output == 0| bytes_read 580 base/process/launch_posix.cc bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, bytes_read 582 base/process/launch_posix.cc if (bytes_read <= 0) bytes_read 584 base/process/launch_posix.cc output->append(buffer, bytes_read); bytes_read 585 base/process/launch_posix.cc output_buf_left -= static_cast<size_t>(bytes_read); bytes_read 595 base/process/launch_posix.cc if (!output_buf_left && bytes_read > 0) bytes_read 351 base/process/launch_win.cc DWORD bytes_read = 0; bytes_read 352 base/process/launch_win.cc BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); bytes_read 353 base/process/launch_win.cc if (!success || bytes_read == 0) bytes_read 355 base/process/launch_win.cc output->append(buffer, bytes_read); bytes_read 518 base/process/process_util_unittest.cc ssize_t bytes_read = bytes_read 520 base/process/process_util_unittest.cc CHECK_EQ(bytes_read, static_cast<ssize_t>(sizeof(num_open_files))); bytes_read 45 base/sync_socket_nacl.cc const ssize_t bytes_read = read(handle_, buffer, length); bytes_read 46 base/sync_socket_nacl.cc return bytes_read > 0 ? bytes_read : 0; bytes_read 159 base/test/test_file_util_win.cc DWORD bytes_read, bytes_written; bytes_read 161 base/test/test_file_util_win.cc bytes_read = 0; bytes_read 162 base/test/test_file_util_win.cc ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL); bytes_read 163 base/test/test_file_util_win.cc if (bytes_read == 0) bytes_read 166 base/test/test_file_util_win.cc if (bytes_read < kOneMB) { bytes_read 171 base/test/test_file_util_win.cc ZeroMemory(buffer + bytes_read, kOneMB - bytes_read); bytes_read 188 base/test/test_file_util_win.cc total_bytes += bytes_read; bytes_read 82 base/test/test_process_killer_win.cc SIZE_T bytes_read = 0; bytes_read 87 base/test/test_process_killer_win.cc &bytes_read)) { bytes_read 98 base/test/test_process_killer_win.cc SIZE_T bytes_read; bytes_read 104 base/test/test_process_killer_win.cc &bytes_read)) { bytes_read 117 base/test/test_process_killer_win.cc &bytes_read)) { bytes_read 503 base/third_party/xdg_mime/xdgmime.c int bytes_read; bytes_read 550 base/third_party/xdg_mime/xdgmime.c bytes_read = fread (data, 1, max_extent, file); bytes_read 558 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_magic_lookup_data (global_magic, data, bytes_read, NULL, bytes_read 567 base/third_party/xdg_mime/xdgmime.c return _xdg_binary_or_text_fallback(data, bytes_read); bytes_read 732 base/third_party/xdg_mime/xdgmimecache.c int bytes_read; bytes_read 778 base/third_party/xdg_mime/xdgmimecache.c bytes_read = fread (data, 1, max_extent, file); bytes_read 786 base/third_party/xdg_mime/xdgmimecache.c mime_type = cache_get_mime_type_for_data (data, bytes_read, NULL, bytes_read 790 base/third_party/xdg_mime/xdgmimecache.c mime_type = _xdg_binary_or_text_fallback(data, bytes_read); bytes_read 320 base/third_party/xdg_mime/xdgmimemagic.c int bytes_read; bytes_read 406 base/third_party/xdg_mime/xdgmimemagic.c bytes_read = fread (matchlet->value, 1, matchlet->value_length, magic_file); bytes_read 407 base/third_party/xdg_mime/xdgmimemagic.c if (bytes_read != matchlet->value_length) bytes_read 426 base/third_party/xdg_mime/xdgmimemagic.c bytes_read = fread (matchlet->mask, 1, matchlet->value_length, magic_file); bytes_read 427 base/third_party/xdg_mime/xdgmimemagic.c if (bytes_read != matchlet->value_length) bytes_read 60 chrome/app/image_pre_reader_win.cc DWORD bytes_read = 0; bytes_read 65 chrome/app/image_pre_reader_win.cc &bytes_read, bytes_read 67 chrome/app/image_pre_reader_win.cc bytes_read == bytes_to_read; bytes_read 207 chrome/browser/chrome_browser_main_posix.cc size_t bytes_read = 0; bytes_read 212 chrome/browser/chrome_browser_main_posix.cc reinterpret_cast<char*>(&signal) + bytes_read, bytes_read 213 chrome/browser/chrome_browser_main_posix.cc sizeof(signal) - bytes_read)); bytes_read 223 chrome/browser/chrome_browser_main_posix.cc bytes_read += ret; bytes_read 224 chrome/browser/chrome_browser_main_posix.cc } while (bytes_read < sizeof(signal)); bytes_read 146 chrome/browser/chromeos/drive/drive_url_request_job.cc net::IOBuffer* buf, int buf_size, int* bytes_read) { bytes_read 167 chrome/browser/chromeos/drive/drive_url_request_job.cc *bytes_read = result; bytes_read 63 chrome/browser/chromeos/drive/drive_url_request_job.h net::IOBuffer* buf, int buf_size, int* bytes_read) OVERRIDE; bytes_read 21 chrome/browser/crash_upload_list_win.cc DWORD bytes_read; bytes_read 29 chrome/browser/crash_upload_list_win.cc &bytes_read, bytes_read 35 chrome/browser/crash_upload_list_win.cc while (record_offset < bytes_read) { bytes_read 36 chrome/browser/crash_upload_list_win.cc DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read); bytes_read 38 chrome/browser/crash_upload_list_win.cc DCHECK(record_offset + record->Length <= bytes_read); bytes_read 379 chrome/browser/devtools/devtools_file_system_indexer.cc int bytes_read) { bytes_read 385 chrome/browser/devtools/devtools_file_system_indexer.cc if (!bytes_read || bytes_read < 3) { bytes_read 390 chrome/browser/devtools/devtools_file_system_indexer.cc size_t size = static_cast<size_t>(bytes_read); bytes_read 409 chrome/browser/devtools/devtools_file_system_indexer.cc current_file_offset_ += bytes_read - 2; bytes_read 61 chrome/browser/devtools/devtools_file_system_indexer.h int bytes_read); bytes_read 300 chrome/browser/extensions/api/dial/dial_service.cc void DialServiceImpl::DialSocket::HandleResponse(int bytes_read) { bytes_read 302 chrome/browser/extensions/api/dial/dial_service.cc DCHECK_GT(bytes_read, 0); bytes_read 303 chrome/browser/extensions/api/dial/dial_service.cc if (bytes_read > kDialRecvBufferSize) { bytes_read 304 chrome/browser/extensions/api/dial/dial_service.cc DLOG(ERROR) << bytes_read << " > " << kDialRecvBufferSize << "!?"; bytes_read 307 chrome/browser/extensions/api/dial/dial_service.cc VLOG(2) << "Read " << bytes_read << " bytes from " bytes_read 310 chrome/browser/extensions/api/dial/dial_service.cc std::string response(recv_buffer_->data(), bytes_read); bytes_read 162 chrome/browser/extensions/api/dial/dial_service.h void HandleResponse(int bytes_read); bytes_read 56 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::ReadCompleted(int bytes_read, bytes_read 60 chrome/browser/extensions/api/serial/serial_io_handler.cc read_complete_.Run(std::string(pending_read_buffer_->data(), bytes_read), bytes_read 105 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::QueueReadCompleted(int bytes_read, bytes_read 109 chrome/browser/extensions/api/serial/serial_io_handler.cc bytes_read, error)); bytes_read 97 chrome/browser/extensions/api/serial/serial_io_handler.h void ReadCompleted(int bytes_read, api::serial::ReceiveError error); bytes_read 107 chrome/browser/extensions/api/serial/serial_io_handler.h void QueueReadCompleted(int bytes_read, api::serial::ReceiveError error); bytes_read 56 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc int bytes_read = HANDLE_EINTR(read(file(), bytes_read 59 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc if (bytes_read < 0) { bytes_read 65 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc } else if (bytes_read == 0) { bytes_read 68 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc ReadCompleted(bytes_read, api::serial::RECEIVE_ERROR_NONE); bytes_read 27 chrome/browser/extensions/api/socket/udp_socket_unittest.cc static void OnCompleted(int bytes_read, bytes_read 219 chrome/browser/extensions/extension_creator.cc int bytes_read = -1; bytes_read 220 chrome/browser/extensions/extension_creator.cc while ((bytes_read = fread(buffer.get(), 1, buffer_size, bytes_read 222 chrome/browser/extensions/extension_creator.cc if (!signature_creator->Update(buffer.get(), bytes_read)) { bytes_read 275 chrome/browser/extensions/extension_creator.cc size_t bytes_read = 0; bytes_read 277 chrome/browser/extensions/extension_creator.cc while ((bytes_read = fread(buffer.get(), 1, buffer_size, bytes_read 279 chrome/browser/extensions/extension_creator.cc if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) != bytes_read 280 chrome/browser/extensions/extension_creator.cc bytes_read) { bytes_read 49 chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h int bytes_read)> ReadBytesSuccessCallback; bytes_read 171 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc int bytes_read) { bytes_read 179 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc DCHECK_GE(bytes_read, 0); bytes_read 180 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc current_offset_ += bytes_read; bytes_read 181 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc callback.Run(bytes_read); bytes_read 49 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.h const base::File::Info& file_info, int bytes_read); bytes_read 493 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc const base::File::Info& file_info, int bytes_read) { bytes_read 496 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc success_callback.Run(file_info, bytes_read); bytes_read 170 chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h const base::File::Info& file_info, int bytes_read); bytes_read 372 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DWORD bytes_read = 0; bytes_read 375 chrome/browser/media_galleries/win/mtp_device_operations_util.cc optimal_transfer_size, &bytes_read); bytes_read 382 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK_GT(bytes_read, 0U); bytes_read 383 chrome/browser/media_galleries/win/mtp_device_operations_util.cc CHECK_LE(bytes_read, buffer.length()); bytes_read 386 chrome/browser/media_galleries/win/mtp_device_operations_util.cc std::min(bytes_read, bytes_read 148 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc net::URLRequest* request, int bytes_read) {} bytes_read 42 chrome/browser/net/chrome_fraudulent_certificate_reporter.h int bytes_read) OVERRIDE; bytes_read 574 chrome/browser/net/chrome_network_delegate.cc int bytes_read) { bytes_read 576 chrome/browser/net/chrome_network_delegate.cc "bytes_read", bytes_read); bytes_read 578 chrome/browser/net/chrome_network_delegate.cc request, bytes_read); bytes_read 584 chrome/browser/net/chrome_network_delegate.cc TaskManager::GetInstance()->model()->NotifyBytesRead(request, bytes_read); bytes_read 160 chrome/browser/net/chrome_network_delegate.h int bytes_read) OVERRIDE; bytes_read 317 chrome/browser/net/connection_tester.cc int bytes_read) OVERRIDE; bytes_read 353 chrome/browser/net/connection_tester.cc int bytes_read) { bytes_read 354 chrome/browser/net/connection_tester.cc if (bytes_read <= 0) { bytes_read 75 chrome/browser/net/http_pipelining_compatibility_client.cc int bytes_read) OVERRIDE; bytes_read 144 chrome/browser/net/http_pipelining_compatibility_client.cc void Request::OnReadCompleted(net::URLRequest* request, int bytes_read) { bytes_read 145 chrome/browser/net/http_pipelining_compatibility_client.cc if (bytes_read == 0) { bytes_read 147 chrome/browser/net/http_pipelining_compatibility_client.cc } else if (bytes_read < 0) { bytes_read 150 chrome/browser/net/http_pipelining_compatibility_client.cc response_.append(read_buffer_->data(), bytes_read); bytes_read 162 chrome/browser/net/http_pipelining_compatibility_client.cc int bytes_read = 0; bytes_read 164 chrome/browser/net/http_pipelining_compatibility_client.cc &bytes_read)) { bytes_read 165 chrome/browser/net/http_pipelining_compatibility_client.cc OnReadCompleted(url_request_.get(), bytes_read); bytes_read 103 chrome/browser/net/spdyproxy/proxy_advisor.cc void ProxyAdvisor::OnReadCompleted(net::URLRequest* request, int bytes_read) { bytes_read 46 chrome/browser/net/spdyproxy/proxy_advisor.h int bytes_read) OVERRIDE; bytes_read 544 chrome/browser/performance_monitor/performance_monitor.cc const int bytes_read) { bytes_read 548 chrome/browser/performance_monitor/performance_monitor.cc performance_data_for_io_thread_.network_bytes_read += bytes_read; bytes_read 132 chrome/browser/prerender/prerender_tracker_unittest.cc int bytes_read) OVERRIDE { bytes_read 185 chrome/browser/process_singleton_linux.cc size_t bytes_read = 0; bytes_read 187 chrome/browser/process_singleton_linux.cc ssize_t rv = HANDLE_EINTR(read(fd, buf + bytes_read, bufsize - bytes_read)); bytes_read 194 chrome/browser/process_singleton_linux.cc return bytes_read; bytes_read 198 chrome/browser/process_singleton_linux.cc return bytes_read; bytes_read 200 chrome/browser/process_singleton_linux.cc bytes_read += rv; bytes_read 202 chrome/browser/process_singleton_linux.cc } while (bytes_read < bufsize); bytes_read 204 chrome/browser/process_singleton_linux.cc return bytes_read; bytes_read 320 chrome/browser/task_manager/task_manager.h void NotifyBytesRead(const net::URLRequest& request, int bytes_read); bytes_read 53 chrome/installer/util/logging_installer.cc int bytes_read = old_log_file.Read(offset, bytes_read 56 chrome/installer/util/logging_installer.cc if (bytes_read > 0 && bytes_read 57 chrome/installer/util/logging_installer.cc (bytes_read == base::WriteFile(log_file, &old_log_data[0], bytes_read 58 chrome/installer/util/logging_installer.cc bytes_read) || bytes_read 127 chrome/test/security_tests/ipc_security_tests.cc DWORD bytes_read = 0; bytes_read 138 chrome/test/security_tests/ipc_security_tests.cc ::ReadFile(server_pipe, buffer, 1, &bytes_read, NULL); bytes_read 628 chrome/utility/chrome_content_utility_client.cc DWORD bytes_read = 0; bytes_read 629 chrome/utility/chrome_content_utility_client.cc if (!ReadFile(pdf_file, &buffer.front(), length, &bytes_read, NULL) || bytes_read 630 chrome/utility/chrome_content_utility_client.cc (bytes_read != length)) { bytes_read 143 chrome/utility/image_writer/image_writer.cc int bytes_read = image_file_.Read(bytes_processed_, buffer.get(), bytes_read 146 chrome/utility/image_writer/image_writer.cc if (bytes_read > 0) { bytes_read 152 chrome/utility/image_writer/image_writer.cc if (bytes_written < bytes_read) { bytes_read 157 chrome/utility/image_writer/image_writer.cc bytes_processed_ += bytes_read; bytes_read 161 chrome/utility/image_writer/image_writer.cc } else if (bytes_read == 0) { bytes_read 180 chrome/utility/image_writer/image_writer.cc int bytes_read = image_file_.Read(bytes_processed_, image_buffer.get(), bytes_read 183 chrome/utility/image_writer/image_writer.cc if (bytes_read > 0) { bytes_read 186 chrome/utility/image_writer/image_writer.cc kBurningBlockSize) < bytes_read) { bytes_read 193 chrome/utility/image_writer/image_writer.cc if (memcmp(image_buffer.get(), device_buffer.get(), bytes_read) != 0) { bytes_read 194 chrome/utility/image_writer/image_writer.cc LOG(ERROR) << "Write verification failed when comparing " << bytes_read bytes_read 200 chrome/utility/image_writer/image_writer.cc bytes_processed_ += bytes_read; bytes_read 204 chrome/utility/image_writer/image_writer.cc } else if (bytes_read == 0) { bytes_read 96 chrome/utility/media_galleries/iapps_xml_utils.cc int bytes_read = bytes_read 98 chrome/utility/media_galleries/iapps_xml_utils.cc if (bytes_read != file_info.size) bytes_read 254 chrome_elf/create_file/chrome_create_file_unittest.cc DWORD bytes_read; bytes_read 276 chrome_elf/create_file/chrome_create_file_unittest.cc ::ReadFile(file_handle, read_buffer, buffer_size, &bytes_read, NULL); bytes_read 277 chrome_elf/create_file/chrome_create_file_unittest.cc EXPECT_EQ(buffer_size, bytes_read); bytes_read 278 chrome_elf/create_file/chrome_create_file_unittest.cc EXPECT_EQ(0, memcmp(kTestData, read_buffer, bytes_read)); bytes_read 134 chromeos/accelerometer/accelerometer_reader.cc int bytes_read = base::ReadFile(base::FilePath(kAccelerometerDevicePath), bytes_read 136 chromeos/accelerometer/accelerometer_reader.cc if (bytes_read < static_cast<int>(kTriggerDataLength)) { bytes_read 137 chromeos/accelerometer/accelerometer_reader.cc LOG(ERROR) << "Read " << bytes_read << " byte(s), expected " bytes_read 97 chromeos/process_proxy/process_output_watcher.cc ssize_t bytes_read = HANDLE_EINTR(read(*fd, read_buffer_, read_buffer_size_)); bytes_read 98 chromeos/process_proxy/process_output_watcher.cc if (bytes_read < 0) bytes_read 101 chromeos/process_proxy/process_output_watcher.cc if (bytes_read > 0) { bytes_read 102 chromeos/process_proxy/process_output_watcher.cc on_read_callback_.Run(type, std::string(read_buffer_, bytes_read)); bytes_read 107 chromeos/process_proxy/process_output_watcher.cc if (bytes_read <= 0) { bytes_read 51 cloud_print/service/service_state.cc int bytes_read) OVERRIDE { bytes_read 47 cloud_print/virtual_driver/win/port_monitor/port_monitor.h BOOL WINAPI Monitor2ReadPort(HANDLE, BYTE*, DWORD, DWORD* bytes_read); bytes_read 39 cloud_print/virtual_driver/win/port_monitor/spooler_win.h BOOL (WINAPI *pfnReadPort)(HANDLE, BYTE*, DWORD, DWORD* bytes_read); bytes_read 89 components/nacl/loader/nacl_ipc_adapter_unittest.cc int bytes_read = BlockingReceive(buf, kBufSize); bytes_read 91 components/nacl/loader/nacl_ipc_adapter_unittest.cc static_cast<size_t>(bytes_read)); bytes_read 195 components/nacl/loader/nacl_ipc_adapter_unittest.cc int bytes_read = BlockingReceive(buf, bytes_requested); bytes_read 196 components/nacl/loader/nacl_ipc_adapter_unittest.cc ASSERT_EQ(bytes_requested, bytes_read); bytes_read 199 components/nacl/loader/nacl_ipc_adapter_unittest.cc bytes_read += BlockingReceive(&buf[bytes_requested], bytes_read 202 components/nacl/loader/nacl_ipc_adapter_unittest.cc static_cast<size_t>(bytes_read)); bytes_read 212 components/nacl/loader/nacl_ipc_adapter_unittest.cc bytes_read = BlockingReceive(buf, kBufSize); bytes_read 214 components/nacl/loader/nacl_ipc_adapter_unittest.cc static_cast<size_t>(bytes_read)); bytes_read 300 content/browser/download/download_resource_handler.cc bool DownloadResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 313 content/browser/download/download_resource_handler.cc double actual_bandwidth = (bytes_read)/seconds_since_last_read; bytes_read 319 content/browser/download/download_resource_handler.cc if (!bytes_read) bytes_read 321 content/browser/download/download_resource_handler.cc bytes_read_ += bytes_read; bytes_read 326 content/browser/download/download_resource_handler.cc if (!stream_writer_->Write(read_buffer_, bytes_read)) { bytes_read 80 content/browser/download/download_resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 96 content/browser/download/save_file_resource_handler.cc bool SaveFileResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 105 content/browser/download/save_file_resource_handler.cc save_manager_, save_id_, buffer, bytes_read)); bytes_read 61 content/browser/download/save_file_resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 76 content/browser/fileapi/blob_url_request_job_unittest.cc int bytes_read) OVERRIDE { bytes_read 77 content/browser/fileapi/blob_url_request_job_unittest.cc if (bytes_read > 0) bytes_read 78 content/browser/fileapi/blob_url_request_job_unittest.cc ReceiveData(request, bytes_read); bytes_read 92 content/browser/fileapi/blob_url_request_job_unittest.cc int bytes_read = 0; bytes_read 93 content/browser/fileapi/blob_url_request_job_unittest.cc if (!request->Read(received_data_.get(), kBufferSize, &bytes_read)) { bytes_read 100 content/browser/fileapi/blob_url_request_job_unittest.cc ReceiveData(request, bytes_read); bytes_read 103 content/browser/fileapi/blob_url_request_job_unittest.cc void ReceiveData(net::URLRequest* request, int bytes_read) { bytes_read 104 content/browser/fileapi/blob_url_request_job_unittest.cc if (bytes_read) { bytes_read 106 content/browser/fileapi/blob_url_request_job_unittest.cc static_cast<size_t>(bytes_read)); bytes_read 184 content/browser/fileapi/file_writer_delegate_unittest.cc int *bytes_read) OVERRIDE { bytes_read 193 content/browser/fileapi/file_writer_delegate_unittest.cc *bytes_read = buf_size; bytes_read 169 content/browser/fileapi/fileapi_message_filter_unittest.cc int bytes_read = 0; bytes_read 175 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); bytes_read 176 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 185 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); bytes_read 186 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 192 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read)); bytes_read 193 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 222 content/browser/fileapi/fileapi_message_filter_unittest.cc int bytes_read = 0; bytes_read 228 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); bytes_read 229 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData.size(), static_cast<size_t>(bytes_read)); bytes_read 230 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); bytes_read 233 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); bytes_read 234 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 269 content/browser/fileapi/fileapi_message_filter_unittest.cc int bytes_read = 0; bytes_read 275 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); bytes_read 276 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData.size(), static_cast<size_t>(bytes_read)); bytes_read 277 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(kFakeData, std::string(buffer->data(), bytes_read)); bytes_read 280 content/browser/fileapi/fileapi_message_filter_unittest.cc stream->ReadRawData(buffer.get(), kFakeData.size(), &bytes_read)); bytes_read 281 content/browser/fileapi/fileapi_message_filter_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 497 content/browser/gamepad/xbox_data_fetcher_mac.cc size_t bytes_read = reinterpret_cast<size_t>(arg0); bytes_read 508 content/browser/gamepad/xbox_data_fetcher_mac.cc controller->ProcessXbox360Packet(bytes_read); bytes_read 510 content/browser/gamepad/xbox_data_fetcher_mac.cc controller->ProcessXboxOnePacket(bytes_read); bytes_read 61 content/browser/loader/async_resource_handler.cc int CalcUsedPercentage(int bytes_read, int buffer_size) { bytes_read 62 content/browser/loader/async_resource_handler.cc double ratio = static_cast<double>(bytes_read) / buffer_size; bytes_read 262 content/browser/loader/async_resource_handler.cc bool AsyncResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 264 content/browser/loader/async_resource_handler.cc DCHECK_GE(bytes_read, 0); bytes_read 266 content/browser/loader/async_resource_handler.cc if (!bytes_read) bytes_read 273 content/browser/loader/async_resource_handler.cc buffer_->ShrinkLastAllocation(bytes_read); bytes_read 277 content/browser/loader/async_resource_handler.cc bytes_read, 0, kMaxAllocationSize, 100); bytes_read 280 content/browser/loader/async_resource_handler.cc CalcUsedPercentage(bytes_read, allocation_size_)); bytes_read 299 content/browser/loader/async_resource_handler.cc request_id, data_offset, bytes_read, encoded_data_length)); bytes_read 60 content/browser/loader/async_resource_handler.h int bytes_read, bytes_read 173 content/browser/loader/buffered_resource_handler.cc bool BufferedResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 176 content/browser/loader/buffered_resource_handler.cc return next_handler_->OnReadCompleted(request_id, bytes_read, defer); bytes_read 179 content/browser/loader/buffered_resource_handler.cc bytes_read_ += bytes_read; bytes_read 181 content/browser/loader/buffered_resource_handler.cc if (!DetermineMimeType() && (bytes_read > 0)) bytes_read 43 content/browser/loader/buffered_resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 83 content/browser/loader/certificate_resource_handler.cc int bytes_read, bytes_read 85 content/browser/loader/certificate_resource_handler.cc if (!bytes_read) bytes_read 90 content/browser/loader/certificate_resource_handler.cc content_length_ += bytes_read; bytes_read 97 content/browser/loader/certificate_resource_handler.cc buffer_.push_back(std::make_pair(buffer, bytes_read)); bytes_read 70 content/browser/loader/certificate_resource_handler.h int bytes_read, bytes_read 194 content/browser/loader/cross_site_resource_handler.cc int bytes_read, bytes_read 197 content/browser/loader/cross_site_resource_handler.cc return next_handler_->OnReadCompleted(request_id, bytes_read, defer); bytes_read 39 content/browser/loader/cross_site_resource_handler.h int bytes_read, bytes_read 234 content/browser/loader/detachable_resource_handler.cc bool DetachableResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 242 content/browser/loader/detachable_resource_handler.cc next_handler_->OnReadCompleted(request_id, bytes_read, &is_deferred_); bytes_read 70 content/browser/loader/detachable_resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 74 content/browser/loader/layered_resource_handler.cc bool LayeredResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 77 content/browser/loader/layered_resource_handler.cc return next_handler_->OnReadCompleted(request_id, bytes_read, defer); bytes_read 45 content/browser/loader/layered_resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 213 content/browser/loader/redirect_to_file_resource_handler.cc int bytes_read, bytes_read 219 content/browser/loader/redirect_to_file_resource_handler.cc int new_offset = buf_->offset() + bytes_read; bytes_read 226 content/browser/loader/redirect_to_file_resource_handler.cc if (buf_->capacity() == bytes_read) { bytes_read 71 content/browser/loader/redirect_to_file_resource_handler.h int bytes_read, bytes_read 101 content/browser/loader/resource_handler.h virtual bool OnReadCompleted(int request_id, int bytes_read, bytes_read 347 content/browser/loader/resource_loader.cc void ResourceLoader::OnReadCompleted(net::URLRequest* unused, int bytes_read) { bytes_read 350 content/browser/loader/resource_loader.cc << " bytes_read = " << bytes_read; bytes_read 353 content/browser/loader/resource_loader.cc if (bytes_read == -1 || !request_->status().is_success()) { bytes_read 358 content/browser/loader/resource_loader.cc CompleteRead(bytes_read); bytes_read 363 content/browser/loader/resource_loader.cc if (request_->status().is_success() && bytes_read > 0) { bytes_read 547 content/browser/loader/resource_loader.cc int bytes_read = 0; bytes_read 548 content/browser/loader/resource_loader.cc ReadMore(&bytes_read); bytes_read 554 content/browser/loader/resource_loader.cc if (!is_continuation || bytes_read <= 0) { bytes_read 555 content/browser/loader/resource_loader.cc OnReadCompleted(request_.get(), bytes_read); bytes_read 564 content/browser/loader/resource_loader.cc bytes_read)); bytes_read 583 content/browser/loader/resource_loader.cc void ResourceLoader::ReadMore(int* bytes_read) { bytes_read 600 content/browser/loader/resource_loader.cc request_->Read(buf.get(), buf_size, bytes_read); bytes_read 606 content/browser/loader/resource_loader.cc void ResourceLoader::CompleteRead(int bytes_read) { bytes_read 607 content/browser/loader/resource_loader.cc DCHECK(bytes_read >= 0); bytes_read 613 content/browser/loader/resource_loader.cc if (!handler_->OnReadCompleted(info->GetRequestID(), bytes_read, &defer)) { bytes_read 73 content/browser/loader/resource_loader.h int bytes_read) OVERRIDE; bytes_read 100 content/browser/loader/resource_loader.h void ReadMore(int* bytes_read); bytes_read 101 content/browser/loader/resource_loader.h void CompleteRead(int bytes_read); bytes_read 155 content/browser/loader/resource_loader_unittest.cc int bytes_read, bytes_read 81 content/browser/loader/stream_resource_handler.cc int bytes_read, bytes_read 83 content/browser/loader/stream_resource_handler.cc if (!bytes_read) bytes_read 93 content/browser/loader/stream_resource_handler.cc stream_->AddData(buffer, bytes_read); bytes_read 64 content/browser/loader/stream_resource_handler.h int bytes_read, bytes_read 123 content/browser/loader/sync_resource_handler.cc bool SyncResourceHandler::OnReadCompleted(int request_id, int bytes_read, bytes_read 125 content/browser/loader/sync_resource_handler.cc if (!bytes_read) bytes_read 127 content/browser/loader/sync_resource_handler.cc result_.data.append(read_buffer_->data(), bytes_read); bytes_read 57 content/browser/loader/sync_resource_handler.h int bytes_read, bytes_read 46 content/browser/net/view_http_cache_job_factory.cc int buf_size, int *bytes_read) OVERRIDE{ bytes_read 47 content/browser/net/view_http_cache_job_factory.cc return core_->ReadRawData(buf, buf_size, bytes_read); bytes_read 67 content/browser/net/view_http_cache_job_factory.cc bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read); bytes_read 167 content/browser/net/view_http_cache_job_factory.cc int* bytes_read) { bytes_read 168 content/browser/net/view_http_cache_job_factory.cc DCHECK(bytes_read); bytes_read 174 content/browser/net/view_http_cache_job_factory.cc *bytes_read = buf_size; bytes_read 96 content/browser/service_worker/service_worker_url_request_job.cc net::IOBuffer* buf, int buf_size, int *bytes_read) { bytes_read 102 content/browser/service_worker/service_worker_url_request_job.cc *bytes_read = 0; bytes_read 52 content/browser/service_worker/service_worker_url_request_job.h int *bytes_read) OVERRIDE; bytes_read 45 content/browser/service_worker/service_worker_url_request_job_unittest.cc int bytes_read) OVERRIDE { bytes_read 46 content/browser/service_worker/service_worker_url_request_job_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 52 content/browser/service_worker/service_worker_url_request_job_unittest.cc int bytes_read = 0; bytes_read 53 content/browser/service_worker/service_worker_url_request_job_unittest.cc request->Read(received_data_.get(), kBufferSize, &bytes_read); bytes_read 56 content/browser/service_worker/service_worker_url_request_job_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 126 content/browser/streams/stream.cc int* bytes_read) { bytes_read 128 content/browser/streams/stream.cc DCHECK(bytes_read); bytes_read 130 content/browser/streams/stream.cc *bytes_read = 0; bytes_read 159 content/browser/streams/stream.cc *bytes_read = to_read; bytes_read 79 content/browser/streams/stream.h StreamState ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read); bytes_read 52 content/browser/streams/stream_unittest.cc int bytes_read = 0; bytes_read 55 content/browser/streams/stream_unittest.cc stream->ReadRawData(buffer.get(), kBufferSize, &bytes_read); bytes_read 73 content/browser/streams/stream_unittest.cc buffer_->SetCapacity(old_capacity + bytes_read); bytes_read 75 content/browser/streams/stream_unittest.cc buffer->data(), bytes_read); bytes_read 50 content/browser/streams/stream_url_request_job.cc int bytes_read; bytes_read 52 content/browser/streams/stream_url_request_job.cc pending_buffer_.get(), pending_buffer_size_, &bytes_read)) { bytes_read 54 content/browser/streams/stream_url_request_job.cc DCHECK_GT(bytes_read, 0); bytes_read 59 content/browser/streams/stream_url_request_job.cc bytes_read = 0; bytes_read 76 content/browser/streams/stream_url_request_job.cc total_bytes_read_ += bytes_read; bytes_read 77 content/browser/streams/stream_url_request_job.cc NotifyReadComplete(bytes_read); bytes_read 96 content/browser/streams/stream_url_request_job.cc int* bytes_read) { bytes_read 101 content/browser/streams/stream_url_request_job.cc DCHECK(bytes_read); bytes_read 108 content/browser/streams/stream_url_request_job.cc *bytes_read = 0; bytes_read 113 content/browser/streams/stream_url_request_job.cc switch (stream_->ReadRawData(buf, to_read, bytes_read)) { bytes_read 116 content/browser/streams/stream_url_request_job.cc total_bytes_read_ += *bytes_read; bytes_read 34 content/browser/streams/stream_url_request_job.h int* bytes_read) OVERRIDE; bytes_read 114 content/browser/webui/url_data_manager_backend.cc int* bytes_read) OVERRIDE; bytes_read 176 content/browser/webui/url_data_manager_backend.cc void CompleteRead(net::IOBuffer* buf, int buf_size, int* bytes_read); bytes_read 312 content/browser/webui/url_data_manager_backend.cc int bytes_read; bytes_read 315 content/browser/webui/url_data_manager_backend.cc CompleteRead(pending_buf_.get(), pending_buf_size_, &bytes_read); bytes_read 317 content/browser/webui/url_data_manager_backend.cc NotifyReadComplete(bytes_read); bytes_read 327 content/browser/webui/url_data_manager_backend.cc int* bytes_read) { bytes_read 338 content/browser/webui/url_data_manager_backend.cc CompleteRead(buf, buf_size, bytes_read); bytes_read 343 content/browser/webui/url_data_manager_backend.cc int* bytes_read) { bytes_read 351 content/browser/webui/url_data_manager_backend.cc *bytes_read = buf_size; bytes_read 418 content/renderer/media/buffered_data_source.cc int bytes_read) { bytes_read 454 content/renderer/media/buffered_data_source.cc if (bytes_read > 0) { bytes_read 455 content/renderer/media/buffered_data_source.cc memcpy(read_op_->data(), intermediate_read_buffer_.get(), bytes_read); bytes_read 456 content/renderer/media/buffered_data_source.cc } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { bytes_read 468 content/renderer/media/buffered_data_source.cc ReadOperation::Run(read_op_.Pass(), bytes_read); bytes_read 130 content/renderer/media/buffered_data_source.h void ReadCallback(BufferedResourceLoader::Status status, int bytes_read); bytes_read 753 content/renderer/media/buffered_resource_loader.cc void BufferedResourceLoader::DoneRead(Status status, int bytes_read) { bytes_read 765 content/renderer/media/buffered_resource_loader.cc base::ResetAndReturn(&read_cb_).Run(status, bytes_read); bytes_read 243 content/renderer/media/buffered_resource_loader.h void DoneRead(Status status, int bytes_read); bytes_read 63 content/shell/browser/shell_network_delegate.cc int bytes_read) { bytes_read 41 content/shell/browser/shell_network_delegate.h int bytes_read) OVERRIDE; bytes_read 102 content/test/net/url_request_abort_on_end_job.cc int* bytes_read) { bytes_read 104 content/test/net/url_request_abort_on_end_job.cc *bytes_read = std::min(size_t(max_bytes), sizeof(kPageContent)); bytes_read 105 content/test/net/url_request_abort_on_end_job.cc std::memcpy(buf->data(), kPageContent, *bytes_read); bytes_read 112 content/test/net/url_request_abort_on_end_job.cc *bytes_read = -1; bytes_read 34 content/test/net/url_request_abort_on_end_job.h int* bytes_read) OVERRIDE; bytes_read 169 content/test/net/url_request_slow_download_job.cc int* bytes_read) { bytes_read 175 content/test/net/url_request_slow_download_job.cc *bytes_read = 0; bytes_read 181 content/test/net/url_request_slow_download_job.cc ReadStatus status = FillBufferHelper(buf, buf_size, bytes_read); bytes_read 196 content/test/net/url_request_slow_download_job.cc *bytes_read = 0; bytes_read 43 content/test/net/url_request_slow_download_job.h int *bytes_read) OVERRIDE; bytes_read 93 device/bluetooth/bluetooth_socket_chromeos.cc ssize_t bytes_read; bytes_read 97 device/bluetooth/bluetooth_socket_chromeos.cc bytes_read = bytes_read 99 device/bluetooth/bluetooth_socket_chromeos.cc if (bytes_read > 0) bytes_read 100 device/bluetooth/bluetooth_socket_chromeos.cc buffer->set_offset(buffer->offset() + bytes_read); bytes_read 101 device/bluetooth/bluetooth_socket_chromeos.cc } while (socket_type_ == RFCOMM && bytes_read > 0); bytes_read 108 device/bluetooth/bluetooth_socket_chromeos.cc if (bytes_read < 0) { bytes_read 119 device/bluetooth/bluetooth_socket_chromeos.cc if (bytes_read == 0 && socket_type_ == RFCOMM) { bytes_read 78 device/bluetooth/bluetooth_socket_win.cc int bytes_read; bytes_read 82 device/bluetooth/bluetooth_socket_win.cc bytes_read = recv(fd_, buffer->data(), buffer->RemainingCapacity(), 0); bytes_read 83 device/bluetooth/bluetooth_socket_win.cc if (bytes_read > 0) bytes_read 84 device/bluetooth/bluetooth_socket_win.cc buffer->set_offset(buffer->offset() + bytes_read); bytes_read 85 device/bluetooth/bluetooth_socket_win.cc } while (bytes_read > 0); bytes_read 88 device/bluetooth/bluetooth_socket_win.cc if (bytes_read < 0 && error_code != WSAEWOULDBLOCK) { bytes_read 97 device/hid/hid_connection_linux.cc int bytes_read = bytes_read 99 device/hid/hid_connection_linux.cc if (bytes_read < 0) { bytes_read 108 device/hid/hid_connection_linux.cc report.buffer = new net::IOBufferWithSize(bytes_read); bytes_read 109 device/hid/hid_connection_linux.cc memcpy(report.buffer->data(), buffer, bytes_read); bytes_read 385 extensions/browser/api/socket/socket_api.cc void SocketReadFunction::OnCompleted(int bytes_read, bytes_read 388 extensions/browser/api/socket/socket_api.cc result->SetInteger(kResultCodeKey, bytes_read); bytes_read 389 extensions/browser/api/socket/socket_api.cc if (bytes_read > 0) { bytes_read 392 extensions/browser/api/socket/socket_api.cc bytes_read)); bytes_read 460 extensions/browser/api/socket/socket_api.cc void SocketRecvFromFunction::OnCompleted(int bytes_read, bytes_read 465 extensions/browser/api/socket/socket_api.cc result->SetInteger(kResultCodeKey, bytes_read); bytes_read 466 extensions/browser/api/socket/socket_api.cc if (bytes_read > 0) { bytes_read 469 extensions/browser/api/socket/socket_api.cc bytes_read)); bytes_read 114 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc int bytes_read, bytes_read 122 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc if (bytes_read == 0) { bytes_read 123 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc bytes_read = net::ERR_CONNECTION_CLOSED; bytes_read 126 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc if (bytes_read > 0) { bytes_read 130 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc receive_info.data = std::string(io_buffer->data(), bytes_read); bytes_read 143 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc } else if (bytes_read == net::ERR_IO_PENDING) { bytes_read 151 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc receive_error_info.result_code = bytes_read; bytes_read 74 extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h int bytes_read, bytes_read 100 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc int bytes_read, bytes_read 110 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc if (bytes_read >= 0) { bytes_read 114 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc receive_info.data = std::string(io_buffer->data(), bytes_read); bytes_read 129 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc } else if (bytes_read == net::ERR_IO_PENDING) { bytes_read 137 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc receive_error_info.result_code = bytes_read; bytes_read 71 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h int bytes_read, bytes_read 326 google_apis/gcm/engine/connection_handler_impl.cc int bytes_read = prev_byte_count - input_stream_->ByteCount(); bytes_read 327 google_apis/gcm/engine/connection_handler_impl.cc DCHECK_EQ(bytes_read, 1); bytes_read 328 google_apis/gcm/engine/connection_handler_impl.cc input_stream_->BackUp(bytes_read); bytes_read 47 ipc/ipc_channel_nacl.cc int bytes_read = imc_recvmsg(pipe, &msg, 0); bytes_read 49 ipc/ipc_channel_nacl.cc if (bytes_read <= 0) { bytes_read 56 ipc/ipc_channel_nacl.cc DCHECK(bytes_read); bytes_read 58 ipc/ipc_channel_nacl.cc contents->data.resize(bytes_read); bytes_read 314 ipc/ipc_channel_nacl.cc int* bytes_read) { bytes_read 315 ipc/ipc_channel_nacl.cc *bytes_read = 0; bytes_read 320 ipc/ipc_channel_nacl.cc while (!read_queue_.empty() && *bytes_read < buffer_len) { bytes_read 322 ipc/ipc_channel_nacl.cc size_t bytes_to_read = buffer_len - *bytes_read; bytes_read 325 ipc/ipc_channel_nacl.cc std::copy(vec->begin(), vec->end(), buffer + *bytes_read); bytes_read 326 ipc/ipc_channel_nacl.cc *bytes_read += vec->size(); bytes_read 334 ipc/ipc_channel_nacl.cc buffer + *bytes_read); bytes_read 336 ipc/ipc_channel_nacl.cc *bytes_read += bytes_to_read; bytes_read 62 ipc/ipc_channel_nacl.h int* bytes_read) OVERRIDE; bytes_read 785 ipc/ipc_channel_posix.cc int* bytes_read) { bytes_read 801 ipc/ipc_channel_posix.cc *bytes_read = HANDLE_EINTR(read(pipe_, buffer, buffer_len)); bytes_read 807 ipc/ipc_channel_posix.cc *bytes_read = HANDLE_EINTR(recvmsg(pipe_, &msg, MSG_DONTWAIT)); bytes_read 809 ipc/ipc_channel_posix.cc if (*bytes_read < 0) { bytes_read 825 ipc/ipc_channel_posix.cc } else if (*bytes_read == 0) { bytes_read 829 ipc/ipc_channel_posix.cc DCHECK(*bytes_read); bytes_read 90 ipc/ipc_channel_posix.h int* bytes_read) OVERRIDE; bytes_read 23 ipc/ipc_channel_reader.cc int bytes_read = 0; bytes_read 25 ipc/ipc_channel_reader.cc &bytes_read); bytes_read 31 ipc/ipc_channel_reader.cc DCHECK(bytes_read > 0); bytes_read 32 ipc/ipc_channel_reader.cc if (!DispatchInputData(input_buf_, bytes_read)) bytes_read 37 ipc/ipc_channel_reader.cc bool ChannelReader::AsyncReadComplete(int bytes_read) { bytes_read 38 ipc/ipc_channel_reader.cc return DispatchInputData(input_buf_, bytes_read); bytes_read 43 ipc/ipc_channel_reader.h bool AsyncReadComplete(int bytes_read); bytes_read 70 ipc/ipc_channel_reader.h virtual ReadState ReadData(char* buffer, int buffer_len, int* bytes_read) = 0; bytes_read 123 ipc/ipc_channel_win.cc DWORD bytes_read = 0; bytes_read 125 ipc/ipc_channel_win.cc &bytes_read, &input_state_.context.overlapped); bytes_read 41 ipc/ipc_channel_win.h int* bytes_read) OVERRIDE; bytes_read 168 media/audio/audio_device_thread.cc size_t bytes_read = socket_.Receive(&pending_data, sizeof(pending_data)); bytes_read 169 media/audio/audio_device_thread.cc if (bytes_read != sizeof(pending_data)) { bytes_read 170 media/audio/audio_device_thread.cc DCHECK_EQ(bytes_read, 0U); bytes_read 69 media/base/seekable_buffer_unittest.cc int bytes_read = buffer_.Read(write_buffer_, read_size); bytes_read 70 media/base/seekable_buffer_unittest.cc EXPECT_GE(read_size, bytes_read); bytes_read 71 media/base/seekable_buffer_unittest.cc EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read)); bytes_read 72 media/base/seekable_buffer_unittest.cc read_position += bytes_read; bytes_read 181 media/base/seekable_buffer_unittest.cc int bytes_read = buffer_.Read(write_buffer_, read_size); bytes_read 182 media/base/seekable_buffer_unittest.cc EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read)); bytes_read 184 media/base/seekable_buffer_unittest.cc EXPECT_EQ(forward_bytes, bytes_read); bytes_read 186 media/base/seekable_buffer_unittest.cc EXPECT_EQ(read_size, bytes_read); bytes_read 187 media/base/seekable_buffer_unittest.cc read_position += bytes_read; bytes_read 274 media/base/seekable_buffer_unittest.cc int bytes_read = buffer_.Read(write_buffer_, read_size); bytes_read 275 media/base/seekable_buffer_unittest.cc EXPECT_GE(read_size, bytes_read); bytes_read 276 media/base/seekable_buffer_unittest.cc EXPECT_EQ(0, memcmp(write_buffer_, data_ + read_position, bytes_read)); bytes_read 277 media/base/seekable_buffer_unittest.cc read_position += bytes_read; bytes_read 58 media/base/yuv_convert_unittest.cc int bytes_read = base::ReadFile( bytes_read 60 media/base/yuv_convert_unittest.cc CHECK_EQ(bytes_read, expected_size); bytes_read 303 media/cdm/ppapi/cdm_file_io_impl.cc void CdmFileIOImpl::OnFileRead(int32_t bytes_read) { bytes_read 304 media/cdm/ppapi/cdm_file_io_impl.cc CDM_DLOG() << __FUNCTION__ << ": " << bytes_read; bytes_read 309 media/cdm/ppapi/cdm_file_io_impl.cc if (bytes_read < PP_OK) { bytes_read 315 media/cdm/ppapi/cdm_file_io_impl.cc PP_DCHECK(static_cast<size_t>(bytes_read) <= io_buffer_.size()); bytes_read 319 media/cdm/ppapi/cdm_file_io_impl.cc io_buffer_.begin() + bytes_read); bytes_read 320 media/cdm/ppapi/cdm_file_io_impl.cc io_offset_ += bytes_read; bytes_read 323 media/cdm/ppapi/cdm_file_io_impl.cc if (bytes_read > 0) { bytes_read 109 media/cdm/ppapi/cdm_file_io_impl.h void OnFileRead(int32_t bytes_read); bytes_read 67 media/formats/mpeg/adts_stream_parser.cc const int bytes_read = reader.bits_read() / 8; bytes_read 68 media/formats/mpeg/adts_stream_parser.cc if (sync != 0xfff || layer != 0 || frame_length < bytes_read || bytes_read 92 media/formats/mpeg/adts_stream_parser.cc return bytes_read; bytes_read 107 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int bytes_read = 0; bytes_read 110 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseFrame(data, data_size, &buffers); bytes_read 113 media/formats/mpeg/mpeg_audio_stream_parser_base.cc end_of_segment = bytes_read > 0; bytes_read 116 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseIcecastHeader(data, data_size); bytes_read 118 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseID3v1(data, data_size); bytes_read 120 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = ParseID3v2(data, data_size); bytes_read 122 media/formats/mpeg/mpeg_audio_stream_parser_base.cc bytes_read = FindNextValidStartCode(data, data_size); bytes_read 124 media/formats/mpeg/mpeg_audio_stream_parser_base.cc if (bytes_read > 0) { bytes_read 126 media/formats/mpeg/mpeg_audio_stream_parser_base.cc DVLOG(1) << "SKIPPING " << bytes_read << " bytes of garbage."; bytes_read 130 media/formats/mpeg/mpeg_audio_stream_parser_base.cc CHECK_LE(bytes_read, data_size); bytes_read 132 media/formats/mpeg/mpeg_audio_stream_parser_base.cc if (bytes_read < 0) { bytes_read 135 media/formats/mpeg/mpeg_audio_stream_parser_base.cc } else if (bytes_read == 0) { bytes_read 144 media/formats/mpeg/mpeg_audio_stream_parser_base.cc queue_.Pop(bytes_read); bytes_read 169 media/formats/mpeg/mpeg_audio_stream_parser_base.cc int bytes_read = ParseFrameHeader( bytes_read 172 media/formats/mpeg/mpeg_audio_stream_parser_base.cc if (bytes_read <= 0) bytes_read 173 media/formats/mpeg/mpeg_audio_stream_parser_base.cc return bytes_read; bytes_read 38 mojo/common/test/multiprocess_test_helper_unittest.cc size_t bytes_read = 0; bytes_read 39 mojo/common/test/multiprocess_test_helper_unittest.cc BlockingRead(handle, c, 1, &bytes_read); bytes_read 40 mojo/common/test/multiprocess_test_helper_unittest.cc return bytes_read == 1; bytes_read 30 mojo/common/test/test_utils.h size_t* bytes_read); bytes_read 39 mojo/common/test/test_utils.h size_t* bytes_read); bytes_read 40 mojo/common/test/test_utils_posix.cc size_t* bytes_read) { bytes_read 54 mojo/common/test/test_utils_posix.cc *bytes_read = result; bytes_read 61 mojo/common/test/test_utils_posix.cc size_t* bytes_read) { bytes_read 68 mojo/common/test/test_utils_posix.cc *bytes_read = 0; bytes_read 70 mojo/common/test/test_utils_posix.cc *bytes_read = result; bytes_read 37 mojo/common/test/test_utils_win.cc size_t* bytes_read) { bytes_read 50 mojo/common/test/test_utils_win.cc *bytes_read = bytes_read_dword; bytes_read 57 mojo/common/test/test_utils_win.cc size_t* bytes_read) { bytes_read 70 mojo/common/test/test_utils_win.cc *bytes_read = 0; bytes_read 75 mojo/common/test/test_utils_win.cc *bytes_read = bytes_read_dword; bytes_read 441 mojo/system/message_pipe_dispatcher_unittest.cc size_t* messages_read, size_t* bytes_read) bytes_read 445 mojo/system/message_pipe_dispatcher_unittest.cc bytes_read_(bytes_read) { bytes_read 534 mojo/system/message_pipe_dispatcher_unittest.cc size_t bytes_read[kNumReaders]; bytes_read 547 mojo/system/message_pipe_dispatcher_unittest.cc new ReaderThread(d_read, &messages_read[i], &bytes_read[i])); bytes_read 573 mojo/system/message_pipe_dispatcher_unittest.cc total_bytes_read += bytes_read[i]; bytes_read 576 mojo/system/message_pipe_dispatcher_unittest.cc EXPECT_GE(bytes_read[i], messages_read[i]) << "reader: " << i; bytes_read 209 mojo/system/raw_channel.cc void RawChannel::OnReadCompleted(bool result, size_t bytes_read) { bytes_read 231 mojo/system/raw_channel.cc read_buffer_->num_valid_bytes_ += bytes_read; bytes_read 302 mojo/system/raw_channel.cc bool schedule_for_later = did_dispatch_message || bytes_read < kReadSize; bytes_read 303 mojo/system/raw_channel.cc bytes_read = 0; bytes_read 304 mojo/system/raw_channel.cc io_result = schedule_for_later ? ScheduleRead() : Read(&bytes_read); bytes_read 175 mojo/system/raw_channel.h virtual IOResult Read(size_t* bytes_read) = 0; bytes_read 209 mojo/system/raw_channel.h void OnReadCompleted(bool result, size_t bytes_read); bytes_read 41 mojo/system/raw_channel_posix.cc virtual IOResult Read(size_t* bytes_read) OVERRIDE; bytes_read 99 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::Read(size_t* bytes_read) { bytes_read 110 mojo/system/raw_channel_posix.cc *bytes_read = static_cast<size_t>(read_result); bytes_read 274 mojo/system/raw_channel_posix.cc size_t bytes_read = 0; bytes_read 275 mojo/system/raw_channel_posix.cc IOResult result = Read(&bytes_read); bytes_read 277 mojo/system/raw_channel_posix.cc OnReadCompleted(result == IO_SUCCEEDED, bytes_read); bytes_read 129 mojo/system/raw_channel_win.cc void OnReadCompleted(DWORD bytes_read, DWORD error); bytes_read 158 mojo/system/raw_channel_win.cc virtual IOResult Read(size_t* bytes_read) OVERRIDE; bytes_read 279 mojo/system/raw_channel_win.cc void RawChannelWin::RawChannelIOHandler::OnReadCompleted(DWORD bytes_read, bytes_read 290 mojo/system/raw_channel_win.cc DCHECK_EQ(bytes_read, 0u); bytes_read 294 mojo/system/raw_channel_win.cc DCHECK_GT(bytes_read, 0u); bytes_read 295 mojo/system/raw_channel_win.cc owner_->OnReadCompleted(true, bytes_read); bytes_read 337 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::Read(size_t* bytes_read) { bytes_read 362 mojo/system/raw_channel_win.cc *bytes_read = bytes_read_dword; bytes_read 384 mojo/system/raw_channel_win.cc size_t bytes_read = 0; bytes_read 385 mojo/system/raw_channel_win.cc IOResult io_result = Read(&bytes_read); bytes_read 398 mojo/system/raw_channel_win.cc static_cast<DWORD>(bytes_read), bytes_read 235 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t bytes_read = 0; bytes_read 238 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_read = file.Read(offset, bytes_read 242 native_client_sdk/src/examples/api/file_io/file_io.cc if (bytes_read > 0) { bytes_read 243 native_client_sdk/src/examples/api/file_io/file_io.cc offset += bytes_read; bytes_read 244 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_to_read -= bytes_read; bytes_read 245 native_client_sdk/src/examples/api/file_io/file_io.cc } else if (bytes_read < 0) { bytes_read 247 native_client_sdk/src/examples/api/file_io/file_io.cc ShowErrorMessage("File read failed", bytes_read); bytes_read 297 native_client_sdk/src/examples/demo/nacl_io/handlers.c size_t bytes_read; bytes_read 315 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_read = fread(buffer, 1, data_len, file); bytes_read 316 native_client_sdk/src/examples/demo/nacl_io/handlers.c buffer[bytes_read] = 0; bytes_read 320 native_client_sdk/src/examples/demo/nacl_io/handlers.c "Read %d bytes, but ferror() returns true.", bytes_read); bytes_read 261 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 262 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc error = DownloadToTemp(&bytes_read); bytes_read 266 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc SetCachedSize(bytes_read); bytes_read 384 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 385 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc error = ReadEntireResponseToCache(loader, &bytes_read); bytes_read 389 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc SetCachedSize(bytes_read); bytes_read 489 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 490 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc error = ReadResponseToTemp(loader, bytes_to_read, &bytes_read); bytes_read 495 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read < bytes_to_read) { bytes_read 538 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 540 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc ReadResponseToBuffer(loader, buffer_.data(), kBytesToRead, &bytes_read); bytes_read 544 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc *out_bytes += bytes_read; bytes_read 546 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read < kBytesToRead) bytes_read 562 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 563 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc Error error = ReadResponseToBuffer(loader, buf, kBytesToRead, &bytes_read); bytes_read 567 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc *out_bytes += bytes_read; bytes_read 569 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read < kBytesToRead) { bytes_read 589 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read; bytes_read 591 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc loader, buffer_.data(), bytes_to_read, &bytes_read); bytes_read 595 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read == 0) bytes_read 598 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc bytes_left -= bytes_read; bytes_read 599 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc *out_bytes += bytes_read; bytes_read 617 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc int bytes_read = bytes_read 623 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read == 0) { bytes_read 630 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc if (bytes_read < 0) bytes_read 631 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc return PPErrorToErrno(bytes_read); bytes_read 633 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc assert(bytes_read <= bytes_to_read); bytes_read 634 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc bytes_to_read -= bytes_read; bytes_read 635 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc out_buffer += bytes_read; bytes_read 55 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Read(void* buf, size_t nbytes, int* bytes_read); bytes_read 145 native_client_sdk/src/libraries/nacl_io/node.cc int bytes_read; bytes_read 146 native_client_sdk/src/libraries/nacl_io/node.cc Error read_error = Read(data, new_addr, length, &bytes_read); bytes_read 370 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc int bytes_read = 0; bytes_read 372 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc 0, dev_urandom->Read(attrs, &buffer[0], kSampleBatchSize, &bytes_read)); bytes_read 373 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(kSampleBatchSize, bytes_read); bytes_read 375 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc for (int i = 0; i < bytes_read; ++i) { bytes_read 222 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc int bytes_read = 0; bytes_read 224 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 226 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(sizeof(buffer), bytes_read); bytes_read 242 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc int bytes_read = 0; bytes_read 243 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 245 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(sizeof(buffer), bytes_read); bytes_read 278 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc int bytes_read; bytes_read 281 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, root->GetDents(0, &entries[0], sizeof(entries), &bytes_read)); bytes_read 282 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(3 * sizeof(dirent), bytes_read); bytes_read 290 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc &bytes_read)); bytes_read 291 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(2 * sizeof(dirent), bytes_read); bytes_read 298 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, root->GetDents(0, &entries[0], sizeof(entries), &bytes_read)); bytes_read 299 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(4 * sizeof(dirent), bytes_read); bytes_read 256 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_read = 0; bytes_read 258 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 259 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(strlen(contents), bytes_read); bytes_read 264 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 265 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, bytes_read); bytes_read 269 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 270 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(strlen(contents) - 4, bytes_read); bytes_read 271 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; bytes_read 283 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(EISDIR, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 300 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_read = 1; // Set to a non-zero value. bytes_read 302 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(EACCES, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 303 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, bytes_read); bytes_read 314 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 315 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(9, bytes_read); bytes_read 316 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; bytes_read 321 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(EISDIR, node->Write(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 402 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_read = 0; bytes_read 406 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 407 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(4, bytes_read); bytes_read 408 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; bytes_read 413 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read)); bytes_read 414 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(8, bytes_read); bytes_read 415 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc buffer[bytes_read] = 0; bytes_read 440 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_read = 1; // Set to a non-zero value. bytes_read 444 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc node->GetDents(0, &dirents[0], sizeof(dirents), &bytes_read)); bytes_read 445 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, bytes_read); bytes_read 452 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc 0, root->GetDents(0, &dirents[0], sizeof(dirent) * 3 + 2, &bytes_read)); bytes_read 455 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc size_t num_dirents = bytes_read / sizeof(dirent); bytes_read 457 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read); bytes_read 476 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, root->GetDents(0, &dirents[0], sizeof(dirents), &bytes_read)); bytes_read 479 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc size_t num_dirents = bytes_read / sizeof(dirent); bytes_read 481 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read); bytes_read 65 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc int bytes_read; bytes_read 74 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_EQ(0, pipe_dev_->Read(attrs, buffer, 5, &bytes_read)); bytes_read 75 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(5, bytes_read); bytes_read 82 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc &bytes_read)); bytes_read 83 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(bytes_read, message.size() - 5); bytes_read 63 native_client_sdk/src/tests/nacl_io_test/tty_test.cc int bytes_read; bytes_read 75 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, dev_tty_->Read(attrs, buffer, 5, &bytes_read)); bytes_read 76 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(5, bytes_read); bytes_read 82 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, dev_tty_->Read(attrs, buffer + 5, 95, &bytes_read)); bytes_read 83 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(bytes_read, message.size() - 5); bytes_read 194 net/base/file_stream.cc int bytes_read = ReadSync(buf, to_read); bytes_read 195 net/base/file_stream.cc if (bytes_read <= 0) { bytes_read 197 net/base/file_stream.cc return bytes_read; bytes_read 202 net/base/file_stream.cc bytes_total += bytes_read; bytes_read 203 net/base/file_stream.cc buf += bytes_read; bytes_read 204 net/base/file_stream.cc to_read -= bytes_read; bytes_read 216 net/base/file_stream_context.h DWORD bytes_read, bytes_read 112 net/base/file_stream_context_win.cc DWORD bytes_read; bytes_read 114 net/base/file_stream_context_win.cc &bytes_read, &io_context_.overlapped)) { bytes_read 132 net/base/file_stream_context_win.cc DWORD bytes_read; bytes_read 133 net/base/file_stream_context_win.cc if (!ReadFile(file_.GetPlatformFile(), buf, buf_len, &bytes_read, NULL)) { bytes_read 144 net/base/file_stream_context_win.cc return bytes_read; bytes_read 228 net/base/file_stream_context_win.cc DWORD bytes_read, bytes_read 250 net/base/file_stream_context_win.cc result = bytes_read; bytes_read 251 net/base/file_stream_context_win.cc IncrementOffset(&io_context_.overlapped, bytes_read); bytes_read 264 net/base/network_change_notifier.cc void NotifyDataReceived(const URLRequest& request, int bytes_read) { bytes_read 277 net/base/network_change_notifier.cc bytes_read_since_last_connection_change_ += bytes_read; bytes_read 282 net/base/network_change_notifier.cc if (bytes_read > 10000 && bytes_read 285 net/base/network_change_notifier.cc int32 kbps = bytes_read * 8 / request_duration.InMilliseconds(); bytes_read 549 net/base/network_change_notifier.cc int bytes_read) { bytes_read 555 net/base/network_change_notifier.cc bytes_read); bytes_read 223 net/base/network_change_notifier.h static void NotifyDataReceived(const URLRequest& request, int bytes_read); bytes_read 61 net/base/network_delegate.cc int bytes_read) { bytes_read 63 net/base/network_delegate.cc OnRawBytesRead(request, bytes_read); bytes_read 175 net/base/network_delegate.cc int bytes_read) { bytes_read 77 net/base/network_delegate.h void NotifyRawBytesRead(const URLRequest& request, int bytes_read); bytes_read 165 net/base/network_delegate.h virtual void OnRawBytesRead(const URLRequest& request, int bytes_read); bytes_read 428 net/base/nss_memio.c void memio_PutReadResult(memio_Private *secret, int bytes_read) bytes_read 433 net/base/nss_memio.c if (bytes_read > 0) { bytes_read 434 net/base/nss_memio.c mb->tail += bytes_read; bytes_read 437 net/base/nss_memio.c } else if (bytes_read == 0) { bytes_read 441 net/base/nss_memio.c mb->last_err = bytes_read; bytes_read 79 net/base/nss_memio.h void memio_PutReadResult(memio_Private *secret, int bytes_read); bytes_read 49 net/base/upload_data_stream_unittest.cc const int bytes_read = bytes_read 51 net/base/upload_data_stream_unittest.cc data_read.append(buf->data(), bytes_read); bytes_read 164 net/base/upload_data_stream_unittest.cc int bytes_read = bytes_read 166 net/base/upload_data_stream_unittest.cc ASSERT_LE(0, bytes_read); // Not an error. bytes_read 239 net/base/upload_data_stream_unittest.cc int bytes_read = read_callback.WaitForResult(); bytes_read 240 net/base/upload_data_stream_unittest.cc ASSERT_LE(0, bytes_read); // Not an error. bytes_read 241 net/base/upload_data_stream_unittest.cc read_counter += bytes_read; bytes_read 357 net/base/upload_data_stream_unittest.cc const int bytes_read = bytes_read 359 net/base/upload_data_stream_unittest.cc ASSERT_LE(0, bytes_read); // Not an error. bytes_read 378 net/base/upload_data_stream_unittest.cc int bytes_read = bytes_read 380 net/base/upload_data_stream_unittest.cc ASSERT_LE(0, bytes_read); // Not an error. bytes_read 469 net/base/upload_data_stream_unittest.cc int bytes_read = stream.Read(buf.get(), kTestDataSize, CompletionCallback()); bytes_read 470 net/base/upload_data_stream_unittest.cc ASSERT_EQ(static_cast<int>(kTestDataSize), bytes_read); // Not an error. bytes_read 71 net/cronet/android/org_chromium_net_UrlRequest.cc int bytes_read = request->bytes_read(); bytes_read 72 net/cronet/android/org_chromium_net_UrlRequest.cc if (bytes_read != 0) { bytes_read 74 net/cronet/android/org_chromium_net_UrlRequest.cc jobject bytebuf = env->NewDirectByteBuffer(request->Data(), bytes_read); bytes_read 58 net/cronet/android/url_request_context_peer.cc int bytes_read) OVERRIDE {} bytes_read 205 net/cronet/android/url_request_peer.cc int bytes_read; bytes_read 207 net/cronet/android/url_request_peer.cc read_buffer_, read_buffer_->RemainingCapacity(), &bytes_read)) { bytes_read 208 net/cronet/android/url_request_peer.cc if (bytes_read == 0) { bytes_read 213 net/cronet/android/url_request_peer.cc VLOG(context_->logging_level()) << "Synchronously read: " << bytes_read bytes_read 215 net/cronet/android/url_request_peer.cc OnBytesRead(bytes_read); bytes_read 235 net/cronet/android/url_request_peer.cc void URLRequestPeer::OnReadCompleted(net::URLRequest* request, int bytes_read) { bytes_read 236 net/cronet/android/url_request_peer.cc VLOG(context_->logging_level()) << "Asynchronously read: " << bytes_read bytes_read 238 net/cronet/android/url_request_peer.cc if (bytes_read < 0) { bytes_read 241 net/cronet/android/url_request_peer.cc } else if (bytes_read == 0) { bytes_read 246 net/cronet/android/url_request_peer.cc OnBytesRead(bytes_read); bytes_read 250 net/cronet/android/url_request_peer.cc void URLRequestPeer::OnBytesRead(int bytes_read) { bytes_read 251 net/cronet/android/url_request_peer.cc read_buffer_->set_offset(read_buffer_->offset() + bytes_read); bytes_read 252 net/cronet/android/url_request_peer.cc bytes_read_ += bytes_read; bytes_read 253 net/cronet/android/url_request_peer.cc total_bytes_read_ += bytes_read; bytes_read 86 net/cronet/android/url_request_peer.h size_t bytes_read() const { return bytes_read_; } bytes_read 94 net/cronet/android/url_request_peer.h int bytes_read) OVERRIDE; bytes_read 129 net/cronet/android/url_request_peer.h void OnBytesRead(int bytes_read); bytes_read 290 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_read = bytes_read 292 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_read > 0) { bytes_read 296 net/disk_cache/simple/simple_synchronous_entry.cc bytes_read); bytes_read 298 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_read >= 0) { bytes_read 299 net/disk_cache/simple/simple_synchronous_entry.cc *out_result = bytes_read; bytes_read 1079 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_read = bytes_read 1081 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_read != stream_0_size) bytes_read 1327 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_read = sparse_file_.Read(range->file_offset + offset, buf, len); bytes_read 1328 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_read < len) { bytes_read 147 net/disk_cache/simple/simple_version_upgrade.cc int bytes_read = fake_index_file.Read(0, bytes_read 150 net/disk_cache/simple/simple_version_upgrade.cc if (bytes_read != sizeof(file_header) || bytes_read 167 net/dns/mdns_client_impl.cc int bytes_read) { bytes_read 169 net/dns/mdns_client_impl.cc DCHECK_GT(bytes_read, 0); bytes_read 170 net/dns/mdns_client_impl.cc delegate_->HandlePacket(response, bytes_read); bytes_read 197 net/dns/mdns_client_impl.cc int bytes_read) { bytes_read 204 net/dns/mdns_client_impl.cc if (!response->InitParseWithoutQuery(bytes_read)) { bytes_read 45 net/dns/mdns_client_impl.h virtual void HandlePacket(DnsResponse* response, int bytes_read) = 0; bytes_read 86 net/dns/mdns_client_impl.h int bytes_read); bytes_read 126 net/dns/mdns_client_impl.h virtual void HandlePacket(DnsResponse* response, int bytes_read) OVERRIDE; bytes_read 302 net/ocsp/nss_ocsp.cc int bytes_read = 0; bytes_read 307 net/ocsp/nss_ocsp.cc request_->Read(buffer_.get(), kRecvBufferSize, &bytes_read); bytes_read 309 net/ocsp/nss_ocsp.cc OnReadCompleted(request_, bytes_read); bytes_read 313 net/ocsp/nss_ocsp.cc int bytes_read) OVERRIDE { bytes_read 318 net/ocsp/nss_ocsp.cc if (!request_->status().is_success() || bytes_read <= 0) bytes_read 320 net/ocsp/nss_ocsp.cc data_.append(buffer_->data(), bytes_read); bytes_read 321 net/ocsp/nss_ocsp.cc } while (request_->Read(buffer_.get(), kRecvBufferSize, &bytes_read)); bytes_read 52 net/proxy/network_delegate_error_observer_unittest.cc int bytes_read) OVERRIDE {} bytes_read 140 net/proxy/proxy_script_fetcher_impl_unittest.cc int bytes_read) OVERRIDE {} bytes_read 220 net/quic/quic_data_stream_test.cc size_t bytes_read = stream_->Readv(&vec, 1); bytes_read 221 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers.length(), bytes_read); bytes_read 222 net/quic/quic_data_stream_test.cc EXPECT_EQ(headers, string(buffer, bytes_read)); bytes_read 224 net/quic/quic_data_stream_test.cc bytes_read = stream_->Readv(&vec, 1); bytes_read 225 net/quic/quic_data_stream_test.cc EXPECT_EQ(body.length(), bytes_read); bytes_read 226 net/quic/quic_data_stream_test.cc EXPECT_EQ(body, string(buffer, bytes_read)); bytes_read 248 net/quic/quic_data_stream_test.cc size_t bytes_read = stream_->Readv(&vec, 1); bytes_read 249 net/quic/quic_data_stream_test.cc ASSERT_EQ(1u, bytes_read); bytes_read 275 net/quic/quic_data_stream_test.cc size_t bytes_read = stream_->Readv(vec, 2); bytes_read 276 net/quic/quic_data_stream_test.cc ASSERT_EQ(2u, bytes_read) << i; bytes_read 181 net/quic/quic_http_stream.cc int bytes_read = 0; bytes_read 185 net/quic/quic_http_stream.cc memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy); bytes_read 197 net/quic/quic_http_stream.cc bytes_read += bytes_to_copy; bytes_read 199 net/quic/quic_http_stream.cc return bytes_read; bytes_read 460 net/quic/quic_stream_sequencer_test.cc int bytes_read = sequencer_->Readv(&iov, 1); bytes_read 461 net/quic/quic_stream_sequencer_test.cc EXPECT_EQ(3, bytes_read); bytes_read 231 net/socket/tcp_server_socket_unittest.cc size_t bytes_read = 0; bytes_read 232 net/socket/tcp_server_socket_unittest.cc while (bytes_read < message.size()) { bytes_read 234 net/socket/tcp_server_socket_unittest.cc new net::IOBufferWithSize(message.size() - bytes_read)); bytes_read 240 net/socket/tcp_server_socket_unittest.cc ASSERT_TRUE(bytes_read + read_result <= message.size()); bytes_read 241 net/socket/tcp_server_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); bytes_read 242 net/socket/tcp_server_socket_unittest.cc bytes_read += read_result; bytes_read 244 net/socket/tcp_socket_unittest.cc size_t bytes_read = 0; bytes_read 245 net/socket/tcp_socket_unittest.cc while (bytes_read < message.size()) { bytes_read 247 net/socket/tcp_socket_unittest.cc new IOBufferWithSize(message.size() - bytes_read)); bytes_read 253 net/socket/tcp_socket_unittest.cc ASSERT_TRUE(bytes_read + read_result <= message.size()); bytes_read 254 net/socket/tcp_socket_unittest.cc memmove(&buffer[bytes_read], read_buffer->data(), read_result); bytes_read 255 net/socket/tcp_socket_unittest.cc bytes_read += read_result; bytes_read 144 net/socket/transport_client_socket_unittest.cc uint32 bytes_read = 0; bytes_read 146 net/socket/transport_client_socket_unittest.cc while (bytes_read < bytes_to_read) { bytes_read 154 net/socket/transport_client_socket_unittest.cc bytes_read += rv; bytes_read 157 net/socket/transport_client_socket_unittest.cc return static_cast<int>(bytes_read); bytes_read 212 net/socket/transport_client_socket_unittest.cc uint32 bytes_read; bytes_read 229 net/socket/transport_client_socket_unittest.cc bytes_read = DrainClientSocket(buf.get(), 1, 1, &callback); bytes_read 230 net/socket/transport_client_socket_unittest.cc ASSERT_EQ(bytes_read, 1u); bytes_read 237 net/socket/transport_client_socket_unittest.cc bytes_read = DrainClientSocket( bytes_read 239 net/socket/transport_client_socket_unittest.cc ASSERT_EQ(bytes_read, arraysize(kServerReply) - 2); bytes_read 250 net/socket/transport_client_socket_unittest.cc bytes_read = DrainClientSocket(buf.get(), 1, 1, &callback); bytes_read 251 net/socket/transport_client_socket_unittest.cc ASSERT_EQ(bytes_read, 1u); bytes_read 257 net/socket/transport_client_socket_unittest.cc bytes_read = DrainClientSocket( bytes_read 259 net/socket/transport_client_socket_unittest.cc ASSERT_EQ(bytes_read, arraysize(kServerReply) - 2); bytes_read 285 net/socket/transport_client_socket_unittest.cc uint32 bytes_read = DrainClientSocket( bytes_read 287 net/socket/transport_client_socket_unittest.cc ASSERT_EQ(bytes_read, arraysize(kServerReply) - 1); bytes_read 310 net/socket/transport_client_socket_unittest.cc uint32 bytes_read = 0; bytes_read 311 net/socket/transport_client_socket_unittest.cc while (bytes_read < arraysize(kServerReply) - 1) { bytes_read 319 net/socket/transport_client_socket_unittest.cc bytes_read += rv; bytes_read 129 net/spdy/buffered_spdy_framer_unittest.cc size_t bytes_read = bytes_read 132 net/spdy/buffered_spdy_framer_unittest.cc buffered_spdy_framer_.ProcessInput(input_ptr, bytes_read); bytes_read 499 net/spdy/spdy_framer.cc size_t bytes_read = ProcessCommonHeader(data, len); bytes_read 500 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 501 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 519 net/spdy/spdy_framer.cc int bytes_read = ProcessControlFrameBeforeHeaderBlock(data, len); bytes_read 520 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 521 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 526 net/spdy/spdy_framer.cc int bytes_read = ProcessSettingsFramePayload(data, len); bytes_read 527 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 528 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 533 net/spdy/spdy_framer.cc int bytes_read = ProcessControlFrameHeaderBlock( bytes_read 535 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 536 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 541 net/spdy/spdy_framer.cc size_t bytes_read = ProcessRstStreamFramePayload(data, len); bytes_read 542 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 543 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 548 net/spdy/spdy_framer.cc size_t bytes_read = ProcessGoAwayFramePayload(data, len); bytes_read 549 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 550 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 555 net/spdy/spdy_framer.cc size_t bytes_read = ProcessControlFramePayload(data, len); bytes_read 556 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 557 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 562 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePaddingLength(data, len); bytes_read 563 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 564 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 569 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePadding(data, len); bytes_read 570 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 571 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 579 net/spdy/spdy_framer.cc size_t bytes_read = ProcessDataFramePayload(data, len); bytes_read 580 net/spdy/spdy_framer.cc len -= bytes_read; bytes_read 581 net/spdy/spdy_framer.cc data += bytes_read; bytes_read 1258 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, bytes_read 1260 net/spdy/spdy_framer.cc remaining_control_header_ -= bytes_read; bytes_read 1261 net/spdy/spdy_framer.cc remaining_data_length_ -= bytes_read; bytes_read 1663 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, bytes_read 1665 net/spdy/spdy_framer.cc remaining_data_length_ -= bytes_read; bytes_read 426 net/spdy/spdy_framer_test.cc size_t bytes_read = bytes_read 428 net/spdy/spdy_framer_test.cc size_t bytes_processed = framer_.ProcessInput(input_ptr, bytes_read); bytes_read 561 net/spdy/spdy_network_transaction_unittest.cc int bytes_read = 0; bytes_read 578 net/spdy/spdy_network_transaction_unittest.cc bytes_read += rv; bytes_read 580 net/spdy/spdy_network_transaction_unittest.cc return bytes_read; bytes_read 65 net/test/spawned_test_server/local_test_server_posix.cc ssize_t bytes_read = 0; bytes_read 67 net/test/spawned_test_server/local_test_server_posix.cc while (bytes_read < bytes_max) { bytes_read 77 net/test/spawned_test_server/local_test_server_posix.cc LOG(ERROR) << "poll() timed out; bytes_read=" << bytes_read; bytes_read 81 net/test/spawned_test_server/local_test_server_posix.cc << bytes_read; bytes_read 91 net/test/spawned_test_server/local_test_server_posix.cc ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read, bytes_read 92 net/test/spawned_test_server/local_test_server_posix.cc bytes_max - bytes_read)); bytes_read 95 net/test/spawned_test_server/local_test_server_posix.cc bytes_read += num_bytes; bytes_read 60 net/test/spawned_test_server/local_test_server_win.cc DWORD bytes_read = 0; bytes_read 61 net/test/spawned_test_server/local_test_server_win.cc while (bytes_read < bytes_max) { bytes_read 63 net/test/spawned_test_server/local_test_server_win.cc if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read, bytes_read 72 net/test/spawned_test_server/local_test_server_win.cc bytes_read += num_bytes; bytes_read 246 net/tools/dump_cache/upgrade_win.cc void DoGetKey(int bytes_read); bytes_read 253 net/tools/dump_cache/upgrade_win.cc void DoReadData(int bytes_read); bytes_read 282 net/tools/dump_cache/upgrade_win.cc int bytes_read = static_cast<int>(bytes_transfered); bytes_read 283 net/tools/dump_cache/upgrade_win.cc if (bytes_read < sizeof(Message) && state_ != MASTER_END && bytes_read 297 net/tools/dump_cache/upgrade_win.cc DoGetKey(bytes_read); bytes_read 306 net/tools/dump_cache/upgrade_win.cc DoReadData(bytes_read); bytes_read 377 net/tools/dump_cache/upgrade_win.cc void MasterSM::DoGetKey(int bytes_read) { bytes_read 491 net/tools/dump_cache/upgrade_win.cc void MasterSM::DoReadData(int bytes_read) { bytes_read 633 net/tools/dump_cache/upgrade_win.cc int bytes_read = static_cast<int>(bytes_transfered); bytes_read 634 net/tools/dump_cache/upgrade_win.cc if (bytes_read < sizeof(Message)) { bytes_read 110 net/tools/flip_server/ring_buffer.cc int bytes_read = 0; bytes_read 116 net/tools/flip_server/ring_buffer.cc memcpy(bytes + bytes_read, rptr, rsize); bytes_read 117 net/tools/flip_server/ring_buffer.cc bytes_read += rsize; bytes_read 122 net/tools/flip_server/ring_buffer.cc return bytes_read; bytes_read 422 net/tools/flip_server/sm_connection.cc ssize_t bytes_read = 0; bytes_read 424 net/tools/flip_server/sm_connection.cc bytes_read = SSL_read(ssl_, bytes, size); bytes_read 425 net/tools/flip_server/sm_connection.cc if (bytes_read < 0) { bytes_read 426 net/tools/flip_server/sm_connection.cc int err = SSL_get_error(ssl_, bytes_read); bytes_read 442 net/tools/flip_server/sm_connection.cc bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT); bytes_read 445 net/tools/flip_server/sm_connection.cc if (bytes_read == -1) { bytes_read 462 net/tools/flip_server/sm_connection.cc } else if (bytes_read > 0) { bytes_read 463 net/tools/flip_server/sm_connection.cc VLOG(2) << log_prefix_ << ACCEPTOR_CLIENT_IDENT << "read " << bytes_read bytes_read 474 net/tools/flip_server/sm_connection.cc read_buffer_.AdvanceWritablePtr(bytes_read); bytes_read 339 net/tools/quic/quic_client.cc int bytes_read = ReadPacket(buf, arraysize(buf), &server_address, &client_ip); bytes_read 341 net/tools/quic/quic_client.cc if (bytes_read < 0) { bytes_read 345 net/tools/quic/quic_client.cc QuicEncryptedPacket packet(buf, bytes_read, false); bytes_read 233 net/tools/quic/quic_server.cc int bytes_read = bytes_read 238 net/tools/quic/quic_server.cc if (bytes_read < 0) { bytes_read 242 net/tools/quic/quic_server.cc QuicEncryptedPacket packet(buf, bytes_read, false); bytes_read 108 net/tools/quic/quic_socket_utils.cc int bytes_read = recvmsg(fd, &hdr, 0); bytes_read 112 net/tools/quic/quic_socket_utils.cc if (bytes_read < 0 && errno != 0) { bytes_read 136 net/tools/quic/quic_socket_utils.cc return bytes_read; bytes_read 110 net/tools/quic/test_tools/quic_test_client.h virtual size_t bytes_read() const OVERRIDE; bytes_read 142 net/tools/quic/test_tools/simple_client.h virtual size_t bytes_read() const = 0; bytes_read 416 net/url_request/url_fetcher_core.cc int bytes_read) { bytes_read 429 net/url_request/url_fetcher_core.cc if (!request_->status().is_success() || bytes_read <= 0) bytes_read 432 net/url_request/url_fetcher_core.cc current_response_bytes_ += bytes_read; bytes_read 436 net/url_request/url_fetcher_core.cc WriteBuffer(new DrainableIOBuffer(buffer_.get(), bytes_read)); bytes_read 441 net/url_request/url_fetcher_core.cc } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); bytes_read 846 net/url_request/url_fetcher_core.cc int bytes_read = 0; bytes_read 849 net/url_request/url_fetcher_core.cc request_->Read(buffer_.get(), kBufferSize, &bytes_read); bytes_read 850 net/url_request/url_fetcher_core.cc OnReadCompleted(request_.get(), bytes_read); bytes_read 130 net/url_request/url_fetcher_core.h int bytes_read) OVERRIDE; bytes_read 800 net/url_request/url_request.cc bool URLRequest::Read(IOBuffer* dest, int dest_size, int* bytes_read) { bytes_read 802 net/url_request/url_request.cc DCHECK(bytes_read); bytes_read 803 net/url_request/url_request.cc *bytes_read = 0; bytes_read 826 net/url_request/url_request.cc bool rv = job_->Read(dest, dest_size, bytes_read); bytes_read 829 net/url_request/url_request.cc if (rv && *bytes_read <= 0 && status_.is_success()) bytes_read 1179 net/url_request/url_request.cc void URLRequest::NotifyReadCompleted(int bytes_read) { bytes_read 1181 net/url_request/url_request.cc if (bytes_read <= 0) bytes_read 1188 net/url_request/url_request.cc if (bytes_read > 0 && !was_cached()) bytes_read 1189 net/url_request/url_request.cc NetworkChangeNotifier::NotifyDataReceived(*this, bytes_read); bytes_read 1192 net/url_request/url_request.cc delegate_->OnReadCompleted(this, bytes_read); bytes_read 289 net/url_request/url_request.h virtual void OnReadCompleted(URLRequest* request, int bytes_read) = 0; bytes_read 627 net/url_request/url_request.h bool Read(IOBuffer* buf, int max_bytes, int* bytes_read); bytes_read 797 net/url_request/url_request.h void NotifyReadCompleted(int bytes_read); bytes_read 78 net/url_request/url_request_context_builder.cc int bytes_read) OVERRIDE {} bytes_read 69 net/url_request/url_request_file_dir_job.cc int* bytes_read) { bytes_read 70 net/url_request/url_request_file_dir_job.cc DCHECK(bytes_read); bytes_read 71 net/url_request/url_request_file_dir_job.cc *bytes_read = 0; bytes_read 76 net/url_request/url_request_file_dir_job.cc if (FillReadBuffer(buf->data(), buf_size, bytes_read)) bytes_read 151 net/url_request/url_request_file_dir_job.cc int bytes_read; bytes_read 153 net/url_request/url_request_file_dir_job.cc &bytes_read)) { bytes_read 160 net/url_request/url_request_file_dir_job.cc NotifyReadComplete(bytes_read); bytes_read 170 net/url_request/url_request_file_dir_job.cc int* bytes_read) { bytes_read 171 net/url_request/url_request_file_dir_job.cc DCHECK(bytes_read); bytes_read 173 net/url_request/url_request_file_dir_job.cc *bytes_read = 0; bytes_read 179 net/url_request/url_request_file_dir_job.cc *bytes_read = count; bytes_read 34 net/url_request/url_request_file_dir_job.h int* bytes_read) OVERRIDE; bytes_read 54 net/url_request/url_request_file_dir_job.h bool FillReadBuffer(char *buf, int buf_size, int *bytes_read); bytes_read 87 net/url_request/url_request_file_job.cc int *bytes_read) { bytes_read 89 net/url_request/url_request_file_job.cc DCHECK(bytes_read); bytes_read 98 net/url_request/url_request_file_job.cc *bytes_read = 0; bytes_read 107 net/url_request/url_request_file_job.cc *bytes_read = rv; bytes_read 43 net/url_request/url_request_file_job.h int* bytes_read) OVERRIDE; bytes_read 348 net/url_request/url_request_ftp_job.cc int *bytes_read) { bytes_read 350 net/url_request/url_request_ftp_job.cc DCHECK(bytes_read); bytes_read 365 net/url_request/url_request_ftp_job.cc *bytes_read = rv; bytes_read 76 net/url_request/url_request_ftp_job.h int *bytes_read) OVERRIDE; bytes_read 1226 net/url_request/url_request_http_job.cc int* bytes_read) { bytes_read 1228 net/url_request/url_request_http_job.cc DCHECK(bytes_read); bytes_read 1239 net/url_request/url_request_http_job.cc *bytes_read = rv; bytes_read 120 net/url_request/url_request_http_job.h int* bytes_read) OVERRIDE; bytes_read 68 net/url_request/url_request_job.cc bool URLRequestJob::Read(IOBuffer* buf, int buf_size, int *bytes_read) { bytes_read 73 net/url_request/url_request_job.cc DCHECK(bytes_read); bytes_read 77 net/url_request/url_request_job.cc *bytes_read = 0; bytes_read 81 net/url_request/url_request_job.cc rv = ReadRawDataHelper(buf, buf_size, bytes_read); bytes_read 88 net/url_request/url_request_job.cc if (ReadFilteredData(bytes_read)) { bytes_read 94 net/url_request/url_request_job.cc if (*bytes_read == 0) bytes_read 100 net/url_request/url_request_job.cc if (rv && *bytes_read == 0) bytes_read 396 net/url_request/url_request_job.cc void URLRequestJob::NotifyReadComplete(int bytes_read) { bytes_read 407 net/url_request/url_request_job.cc OnRawReadComplete(bytes_read); bytes_read 422 net/url_request/url_request_job.cc FilteredDataRead(bytes_read); bytes_read 432 net/url_request/url_request_job.cc request_->NotifyReadCompleted(bytes_read); bytes_read 436 net/url_request/url_request_job.cc << " pre bytes read = " << bytes_read bytes_read 530 net/url_request/url_request_job.cc int *bytes_read) { bytes_read 531 net/url_request/url_request_job.cc DCHECK(bytes_read); bytes_read 532 net/url_request/url_request_job.cc *bytes_read = 0; bytes_read 543 net/url_request/url_request_job.cc void URLRequestJob::FilteredDataRead(int bytes_read) { bytes_read 545 net/url_request/url_request_job.cc filter_->FlushStreamBuffer(bytes_read); bytes_read 548 net/url_request/url_request_job.cc bool URLRequestJob::ReadFilteredData(int* bytes_read) { bytes_read 558 net/url_request/url_request_job.cc *bytes_read = 0; bytes_read 592 net/url_request/url_request_job.cc return ReadFilteredData(bytes_read); bytes_read 598 net/url_request/url_request_job.cc *bytes_read = filtered_data_len; bytes_read 613 net/url_request/url_request_job.cc *bytes_read = filtered_data_len; bytes_read 619 net/url_request/url_request_job.cc rv = ReadFilteredData(bytes_read); bytes_read 626 net/url_request/url_request_job.cc *bytes_read = filtered_data_len; bytes_read 693 net/url_request/url_request_job.cc bool URLRequestJob::ReadRawDataForFilter(int* bytes_read) { bytes_read 696 net/url_request/url_request_job.cc DCHECK(bytes_read); bytes_read 699 net/url_request/url_request_job.cc *bytes_read = 0; bytes_read 707 net/url_request/url_request_job.cc rv = ReadRawDataHelper(stream_buffer, stream_buffer_size, bytes_read); bytes_read 713 net/url_request/url_request_job.cc int* bytes_read) { bytes_read 721 net/url_request/url_request_job.cc bool rv = ReadRawData(buf, buf_size, bytes_read); bytes_read 727 net/url_request/url_request_job.cc OnRawReadComplete(*bytes_read); bytes_read 738 net/url_request/url_request_job.cc void URLRequestJob::OnRawReadComplete(int bytes_read) { bytes_read 742 net/url_request/url_request_job.cc bytes_read > 0) { bytes_read 745 net/url_request/url_request_job.cc bytes_read, raw_read_buffer_->data()); bytes_read 748 net/url_request/url_request_job.cc if (bytes_read > 0) { bytes_read 749 net/url_request/url_request_job.cc RecordBytesRead(bytes_read); bytes_read 754 net/url_request/url_request_job.cc void URLRequestJob::RecordBytesRead(int bytes_read) { bytes_read 755 net/url_request/url_request_job.cc filter_input_byte_count_ += bytes_read; bytes_read 756 net/url_request/url_request_job.cc prefilter_bytes_read_ += bytes_read; bytes_read 758 net/url_request/url_request_job.cc postfilter_bytes_read_ += bytes_read; bytes_read 761 net/url_request/url_request_job.cc << " pre bytes read = " << bytes_read bytes_read 766 net/url_request/url_request_job.cc network_delegate_->NotifyRawBytesRead(*request_, bytes_read); bytes_read 103 net/url_request/url_request_job.h bool Read(IOBuffer* buf, int buf_size, int* bytes_read); bytes_read 259 net/url_request/url_request_job.h void NotifyReadComplete(int bytes_read); bytes_read 297 net/url_request/url_request_job.h virtual bool ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read); bytes_read 309 net/url_request/url_request_job.h void FilteredDataRead(int bytes_read); bytes_read 315 net/url_request/url_request_job.h bool ReadFilteredData(int *bytes_read); bytes_read 355 net/url_request/url_request_job.h bool ReadRawDataForFilter(int *bytes_read); bytes_read 359 net/url_request/url_request_job.h bool ReadRawDataHelper(IOBuffer* buf, int buf_size, int* bytes_read); bytes_read 370 net/url_request/url_request_job.h void OnRawReadComplete(int bytes_read); bytes_read 374 net/url_request/url_request_job.h void RecordBytesRead(int bytes_read); bytes_read 47 net/url_request/url_request_simple_job.cc int* bytes_read) { bytes_read 48 net/url_request/url_request_simple_job.cc DCHECK(bytes_read); bytes_read 54 net/url_request/url_request_simple_job.cc *bytes_read = buf_size; bytes_read 26 net/url_request/url_request_simple_job.h int *bytes_read) OVERRIDE; bytes_read 218 net/url_request/url_request_test_job.cc int *bytes_read) { bytes_read 226 net/url_request/url_request_test_job.cc DCHECK(bytes_read); bytes_read 227 net/url_request/url_request_test_job.cc *bytes_read = 0; bytes_read 240 net/url_request/url_request_test_job.cc *bytes_read = to_read; bytes_read 299 net/url_request/url_request_test_job.cc int bytes_read; bytes_read 300 net/url_request/url_request_test_job.cc if (!ReadRawData(async_buf_, async_buf_size_, &bytes_read)) bytes_read 308 net/url_request/url_request_test_job.cc NotifyReadComplete(bytes_read); bytes_read 115 net/url_request/url_request_test_job.h int *bytes_read) OVERRIDE; bytes_read 264 net/url_request/url_request_test_util.cc int bytes_read = 0; bytes_read 265 net/url_request/url_request_test_util.cc if (request->Read(buf_.get(), kBufferSize, &bytes_read)) bytes_read 266 net/url_request/url_request_test_util.cc OnReadCompleted(request, bytes_read); bytes_read 272 net/url_request/url_request_test_util.cc void TestDelegate::OnReadCompleted(URLRequest* request, int bytes_read) { bytes_read 282 net/url_request/url_request_test_util.cc if (bytes_read >= 0) { bytes_read 284 net/url_request/url_request_test_util.cc received_bytes_count_ += bytes_read; bytes_read 287 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); bytes_read 291 net/url_request/url_request_test_util.cc if (request->status().is_success() && bytes_read > 0) { bytes_read 292 net/url_request/url_request_test_util.cc bytes_read = 0; bytes_read 293 net/url_request/url_request_test_util.cc while (request->Read(buf_.get(), kBufferSize, &bytes_read)) { bytes_read 294 net/url_request/url_request_test_util.cc if (bytes_read > 0) { bytes_read 295 net/url_request/url_request_test_util.cc data_received_.append(buf_->data(), bytes_read); bytes_read 296 net/url_request/url_request_test_util.cc received_bytes_count_ += bytes_read; bytes_read 491 net/url_request/url_request_test_util.cc int bytes_read) { bytes_read 180 net/url_request/url_request_test_util.h int bytes_read) OVERRIDE; bytes_read 286 net/url_request/url_request_test_util.h int bytes_read) OVERRIDE; bytes_read 4062 net/url_request/url_request_unittest.cc int bytes_read) OVERRIDE { bytes_read 4070 net/url_request/url_request_unittest.cc base::Unretained(this), request, bytes_read)); bytes_read 4090 net/url_request/url_request_unittest.cc void AfterReadCompletedLoggingComplete(URLRequest* request, int bytes_read) { bytes_read 4092 net/url_request/url_request_unittest.cc TestDelegate::OnReadCompleted(request, bytes_read); bytes_read 57 net/websockets/websocket_stream.cc virtual void OnReadCompleted(URLRequest* request, int bytes_read) OVERRIDE; bytes_read 156 net/websockets/websocket_stream.cc void Delegate::OnReadCompleted(URLRequest* request, int bytes_read) { bytes_read 59 ppapi/tests/test_flash_file.cc DWORD bytes_read = 0; bytes_read 61 ppapi/tests/test_flash_file.cc result = !!::ReadFile(file_handle, buffer, kBufferSize, &bytes_read, NULL); bytes_read 62 ppapi/tests/test_flash_file.cc if (result && bytes_read > 0) bytes_read 63 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); bytes_read 64 ppapi/tests/test_flash_file.cc } while (result && bytes_read > 0); bytes_read 67 ppapi/tests/test_flash_file.cc ssize_t bytes_read = 0; bytes_read 70 ppapi/tests/test_flash_file.cc bytes_read = read(file_handle, buffer, kBufferSize); bytes_read 71 ppapi/tests/test_flash_file.cc } while (bytes_read == -1 && errno == EINTR); bytes_read 72 ppapi/tests/test_flash_file.cc result = bytes_read != -1; bytes_read 73 ppapi/tests/test_flash_file.cc if (bytes_read > 0) bytes_read 74 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); bytes_read 75 ppapi/tests/test_flash_file.cc } while (bytes_read > 0); bytes_read 60 ppapi/tests/test_host_resolver.cc int32_t* bytes_read) { bytes_read 66 ppapi/tests/test_host_resolver.cc *bytes_read = callback.result(); bytes_read 33 ppapi/tests/test_host_resolver.h int32_t* bytes_read); bytes_read 74 ppapi/tests/test_host_resolver_private.cc int32_t* bytes_read) { bytes_read 80 ppapi/tests/test_host_resolver_private.cc *bytes_read = callback.result(); bytes_read 39 ppapi/tests/test_host_resolver_private.h int32_t* bytes_read); bytes_read 85 remoting/host/token_validator_base.cc int bytes_read = 0; bytes_read 86 remoting/host/token_validator_base.cc request_->Read(buffer_.get(), kBufferSize, &bytes_read); bytes_read 87 remoting/host/token_validator_base.cc OnReadCompleted(request_.get(), bytes_read); bytes_read 91 remoting/host/token_validator_base.cc int bytes_read) { bytes_read 95 remoting/host/token_validator_base.cc if (!request_->status().is_success() || bytes_read <= 0) bytes_read 98 remoting/host/token_validator_base.cc data_.append(buffer_->data(), bytes_read); bytes_read 99 remoting/host/token_validator_base.cc } while (request_->Read(buffer_.get(), kBufferSize, &bytes_read)); bytes_read 58 remoting/host/token_validator_base.h int bytes_read) OVERRIDE; bytes_read 284 rlz/lib/financial_ping.cc DWORD bytes_read = 0; bytes_read 286 rlz/lib/financial_ping.cc &bytes_read) && bytes_read > 0) { bytes_read 287 rlz/lib/financial_ping.cc response->append(buffer.get(), bytes_read); bytes_read 288 rlz/lib/financial_ping.cc bytes_read = 0; bytes_read 93 sync/engine/net/server_connection_manager.cc const int64 bytes_read = ReadResponse(buffer_out, bytes_read 95 sync/engine/net/server_connection_manager.cc if (bytes_read != response->content_length) { bytes_read 105 sync/engine/net/server_connection_manager.cc const int64 bytes_read = ReadResponse(buffer_out, bytes_read 108 sync/engine/net/server_connection_manager.cc if (bytes_read != response->content_length) { bytes_read 110 sync/engine/net/server_connection_manager.cc response->content_length << ", but sent " << bytes_read; bytes_read 160 sync/engine/net/server_connection_manager.cc int bytes_read = buffer_.length(); bytes_read 161 sync/engine/net/server_connection_manager.cc CHECK(length <= bytes_read); bytes_read 163 sync/engine/net/server_connection_manager.cc return bytes_read; bytes_read 62 third_party/leveldatabase/env_chromium_win.cc DWORD bytes_read(0); bytes_read 64 third_party/leveldatabase/env_chromium_win.cc if (ReadFile(file_, scratch, n, &bytes_read, NULL)) { bytes_read 65 third_party/leveldatabase/env_chromium_win.cc *result = Slice(scratch, bytes_read); bytes_read 71 third_party/leveldatabase/env_chromium_win.cc if (bytes_read > 0) bytes_read 72 third_party/leveldatabase/env_chromium_win.cc *result = Slice(scratch, bytes_read); bytes_read 103 third_party/libjpeg/jdmarker.c unsigned int bytes_read; /* data bytes read so far in marker */ bytes_read 750 third_party/libjpeg/jdmarker.c unsigned int bytes_read, data_length; bytes_read 779 third_party/libjpeg/jdmarker.c marker->bytes_read = 0; bytes_read 780 third_party/libjpeg/jdmarker.c bytes_read = 0; bytes_read 784 third_party/libjpeg/jdmarker.c bytes_read = data_length = 0; bytes_read 789 third_party/libjpeg/jdmarker.c bytes_read = marker->bytes_read; bytes_read 791 third_party/libjpeg/jdmarker.c data = cur_marker->data + bytes_read; bytes_read 794 third_party/libjpeg/jdmarker.c while (bytes_read < data_length) { bytes_read 796 third_party/libjpeg/jdmarker.c marker->bytes_read = bytes_read; bytes_read 800 third_party/libjpeg/jdmarker.c while (bytes_read < data_length && bytes_in_buffer > 0) { bytes_read 803 third_party/libjpeg/jdmarker.c bytes_read++; bytes_read 1261 third_party/libxml/src/nanohttp.c int bytes_read = 0; bytes_read 1281 third_party/libxml/src/nanohttp.c ctxt->inptr - ctxt->inrptr - bytes_read; bytes_read 1282 third_party/libxml/src/nanohttp.c ctxt->strm->next_in = BAD_CAST (ctxt->inrptr + bytes_read); bytes_read 1285 third_party/libxml/src/nanohttp.c bytes_read += orig_avail_in - ctxt->strm->avail_in; bytes_read 1290 third_party/libxml/src/nanohttp.c ctxt->inrptr += bytes_read; bytes_read 243 third_party/tcmalloc/chromium/src/symbolize.cc int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read, bytes_read 245 third_party/tcmalloc/chromium/src/symbolize.cc if (bytes_read < 0) { bytes_read 249 third_party/tcmalloc/chromium/src/symbolize.cc } else if (bytes_read == 0) { bytes_read 254 third_party/tcmalloc/chromium/src/symbolize.cc total_bytes_read += bytes_read; bytes_read 171 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); bytes_read 172 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc if (expected_bytes != bytes_read) bytes_read 243 third_party/tcmalloc/vendor/src/symbolize.cc int bytes_read = read(child_out[1], symbol_buffer_ + total_bytes_read, bytes_read 245 third_party/tcmalloc/vendor/src/symbolize.cc if (bytes_read < 0) { bytes_read 249 third_party/tcmalloc/vendor/src/symbolize.cc } else if (bytes_read == 0) { bytes_read 254 third_party/tcmalloc/vendor/src/symbolize.cc total_bytes_read += bytes_read; bytes_read 171 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); bytes_read 172 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc if (expected_bytes != bytes_read) bytes_read 50 tools/android/forwarder2/command.cc int bytes_read = socket->ReadNumBytes(command_buffer, kCommandStringSize); bytes_read 51 tools/android/forwarder2/command.cc if (bytes_read != kCommandStringSize) { bytes_read 52 tools/android/forwarder2/command.cc if (bytes_read < 0) bytes_read 54 tools/android/forwarder2/command.cc else if (!bytes_read) bytes_read 124 tools/android/forwarder2/device_forwarder_main.cc const int bytes_read = daemon_socket->Read( bytes_read 126 tools/android/forwarder2/device_forwarder_main.cc CHECK_GT(bytes_read, 0); bytes_read 127 tools/android/forwarder2/device_forwarder_main.cc DCHECK(bytes_read < sizeof(buf)); bytes_read 128 tools/android/forwarder2/device_forwarder_main.cc buf[bytes_read] = 0; bytes_read 129 tools/android/forwarder2/device_forwarder_main.cc base::StringPiece msg(buf, bytes_read); bytes_read 324 tools/android/forwarder2/host_forwarder_main.cc const int bytes_read = client_socket->Read(buf, sizeof(buf)); bytes_read 325 tools/android/forwarder2/host_forwarder_main.cc if (bytes_read <= 0) { bytes_read 332 tools/android/forwarder2/host_forwarder_main.cc const Pickle command_pickle(buf, bytes_read); bytes_read 371 tools/android/forwarder2/host_forwarder_main.cc const int bytes_read = daemon_socket->Read( bytes_read 373 tools/android/forwarder2/host_forwarder_main.cc CHECK_GT(bytes_read, 0); bytes_read 374 tools/android/forwarder2/host_forwarder_main.cc DCHECK(bytes_read < sizeof(buf)); bytes_read 375 tools/android/forwarder2/host_forwarder_main.cc buf[bytes_read] = 0; bytes_read 376 tools/android/forwarder2/host_forwarder_main.cc base::StringPiece msg(buf, bytes_read); bytes_read 294 tools/android/forwarder2/socket.cc int bytes_read = 0; bytes_read 296 tools/android/forwarder2/socket.cc while (bytes_read < num_bytes && ret > 0) { bytes_read 297 tools/android/forwarder2/socket.cc ret = Read(static_cast<char*>(buffer) + bytes_read, num_bytes - bytes_read); bytes_read 299 tools/android/forwarder2/socket.cc bytes_read += ret; bytes_read 301 tools/android/forwarder2/socket.cc return bytes_read; bytes_read 34 tools/android/md5sum/md5sum.cc std::streamsize bytes_read = stream.readsome(buf, sizeof(buf)); bytes_read 35 tools/android/md5sum/md5sum.cc if (bytes_read == 0) bytes_read 37 tools/android/md5sum/md5sum.cc base::MD5Update(&ctx, base::StringPiece(buf, bytes_read)); bytes_read 125 tools/gn/function_exec_script.cc DWORD bytes_read = 0; bytes_read 126 tools/gn/function_exec_script.cc BOOL success = ReadFile(out_read, buffer, kBufferSize, &bytes_read, NULL); bytes_read 127 tools/gn/function_exec_script.cc if (!success || bytes_read == 0) bytes_read 129 tools/gn/function_exec_script.cc std_out->append(buffer, bytes_read); bytes_read 215 tools/gn/function_exec_script.cc ssize_t bytes_read = 0; bytes_read 218 tools/gn/function_exec_script.cc bytes_read = HANDLE_EINTR(read(pipe_fd[0], buffer, sizeof(buffer))); bytes_read 219 tools/gn/function_exec_script.cc if (bytes_read <= 0) bytes_read 221 tools/gn/function_exec_script.cc std_out->append(buffer, bytes_read); bytes_read 193 tools/win/split_link/split_link.cc DWORD bytes_read = 0; bytes_read 194 tools/win/split_link/split_link.cc if (!ReadFile(file, buffer, *length, &bytes_read, NULL)) bytes_read 79 webkit/browser/appcache/appcache_request_handler_unittest.cc int bytes_read) OVERRIDE { bytes_read 194 webkit/browser/appcache/appcache_update_job.cc net::URLRequest* request, int bytes_read) { bytes_read 197 webkit/browser/appcache/appcache_update_job.cc if (request->status().is_success() && bytes_read > 0) { bytes_read 199 webkit/browser/appcache/appcache_update_job.cc data_consumed = ConsumeResponseData(bytes_read); bytes_read 201 webkit/browser/appcache/appcache_update_job.cc bytes_read = 0; bytes_read 202 webkit/browser/appcache/appcache_update_job.cc while (request->Read(buffer_.get(), kBufferSize, &bytes_read)) { bytes_read 203 webkit/browser/appcache/appcache_update_job.cc if (bytes_read > 0) { bytes_read 204 webkit/browser/appcache/appcache_update_job.cc data_consumed = ConsumeResponseData(bytes_read); bytes_read 259 webkit/browser/appcache/appcache_update_job.cc int bytes_read = 0; bytes_read 260 webkit/browser/appcache/appcache_update_job.cc request_->Read(buffer_.get(), kBufferSize, &bytes_read); bytes_read 261 webkit/browser/appcache/appcache_update_job.cc OnReadCompleted(request_.get(), bytes_read); bytes_read 267 webkit/browser/appcache/appcache_update_job.cc bool AppCacheUpdateJob::URLFetcher::ConsumeResponseData(int bytes_read) { bytes_read 268 webkit/browser/appcache/appcache_update_job.cc DCHECK_GT(bytes_read, 0); bytes_read 272 webkit/browser/appcache/appcache_update_job.cc manifest_data_.append(buffer_->data(), bytes_read); bytes_read 279 webkit/browser/appcache/appcache_update_job.cc bytes_read, bytes_read 139 webkit/browser/appcache/appcache_update_job.h int bytes_read) OVERRIDE; bytes_read 144 webkit/browser/appcache/appcache_update_job.h bool ConsumeResponseData(int bytes_read); bytes_read 421 webkit/browser/appcache/appcache_url_request_job.cc int *bytes_read) { bytes_read 424 webkit/browser/appcache/appcache_url_request_job.cc DCHECK(bytes_read); bytes_read 140 webkit/browser/appcache/appcache_url_request_job.h int *bytes_read) OVERRIDE; bytes_read 86 webkit/browser/appcache/appcache_url_request_job_unittest.cc int bytes_read) OVERRIDE { bytes_read 87 webkit/browser/appcache/appcache_url_request_job_unittest.cc if (bytes_read > 0) { bytes_read 88 webkit/browser/appcache/appcache_url_request_job_unittest.cc amount_received_ += bytes_read; bytes_read 114 webkit/browser/appcache/appcache_url_request_job_unittest.cc int bytes_read = 0; bytes_read 116 webkit/browser/appcache/appcache_url_request_job_unittest.cc request->Read(wrapped_buffer.get(), kBlockSize, &bytes_read)); bytes_read 117 webkit/browser/appcache/appcache_url_request_job_unittest.cc EXPECT_EQ(0, bytes_read); bytes_read 86 webkit/browser/blob/blob_url_request_job.cc int* bytes_read) { bytes_read 88 webkit/browser/blob/blob_url_request_job.cc DCHECK(bytes_read); bytes_read 93 webkit/browser/blob/blob_url_request_job.cc *bytes_read = 0; bytes_read 103 webkit/browser/blob/blob_url_request_job.cc *bytes_read = 0; bytes_read 111 webkit/browser/blob/blob_url_request_job.cc return ReadLoop(bytes_read); bytes_read 409 webkit/browser/blob/blob_url_request_job.cc int bytes_read = BytesReadCompleted(); bytes_read 410 webkit/browser/blob/blob_url_request_job.cc NotifyReadComplete(bytes_read); bytes_read 415 webkit/browser/blob/blob_url_request_job.cc int bytes_read = 0; bytes_read 416 webkit/browser/blob/blob_url_request_job.cc if (ReadLoop(&bytes_read)) bytes_read 417 webkit/browser/blob/blob_url_request_job.cc NotifyReadComplete(bytes_read); bytes_read 429 webkit/browser/blob/blob_url_request_job.cc int bytes_read = read_buf_->BytesConsumed(); bytes_read 431 webkit/browser/blob/blob_url_request_job.cc return bytes_read; bytes_read 449 webkit/browser/blob/blob_url_request_job.cc bool BlobURLRequestJob::ReadLoop(int* bytes_read) { bytes_read 456 webkit/browser/blob/blob_url_request_job.cc *bytes_read = BytesReadCompleted(); bytes_read 50 webkit/browser/blob/blob_url_request_job.h int* bytes_read) OVERRIDE; bytes_read 72 webkit/browser/blob/blob_url_request_job.h bool ReadLoop(int* bytes_read); bytes_read 50 webkit/browser/fileapi/file_system_dir_url_request_job.cc int *bytes_read) { bytes_read 56 webkit/browser/fileapi/file_system_dir_url_request_job.cc *bytes_read = count; bytes_read 39 webkit/browser/fileapi/file_system_dir_url_request_job.h int* bytes_read) OVERRIDE; bytes_read 86 webkit/browser/fileapi/file_system_url_request_job.cc int *bytes_read) { bytes_read 88 webkit/browser/fileapi/file_system_url_request_job.cc DCHECK(bytes_read); bytes_read 98 webkit/browser/fileapi/file_system_url_request_job.cc *bytes_read = 0; bytes_read 107 webkit/browser/fileapi/file_system_url_request_job.cc *bytes_read = rv; bytes_read 47 webkit/browser/fileapi/file_system_url_request_job.h int* bytes_read) OVERRIDE; bytes_read 99 webkit/browser/fileapi/file_writer_delegate.cc int bytes_read) { bytes_read 105 webkit/browser/fileapi/file_writer_delegate.cc OnDataReceived(bytes_read); bytes_read 121 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnDataReceived(int bytes_read) { bytes_read 122 webkit/browser/fileapi/file_writer_delegate.cc bytes_read_ = bytes_read; bytes_read 61 webkit/browser/fileapi/file_writer_delegate.h int bytes_read) OVERRIDE; bytes_read 69 webkit/browser/fileapi/file_writer_delegate.h void OnDataReceived(int bytes_read); bytes_read 73 webkit/browser/fileapi/file_writer_delegate.h void OnProgress(int bytes_read, bool done); bytes_read 55 webkit/browser/fileapi/native_file_util.cc int bytes_read = infile.ReadAtCurrentPos(&buffer[0], kBufferSize); bytes_read 56 webkit/browser/fileapi/native_file_util.cc if (bytes_read < 0) bytes_read 58 webkit/browser/fileapi/native_file_util.cc if (bytes_read == 0) bytes_read 60 webkit/browser/fileapi/native_file_util.cc for (int bytes_written = 0; bytes_written < bytes_read; ) { bytes_read 62 webkit/browser/fileapi/native_file_util.cc &buffer[bytes_written], bytes_read - bytes_written);