bytes_written 218 ash/desktop_background/desktop_background_controller_unittest.cc size_t bytes_written = base::WriteFile( bytes_written 220 ash/desktop_background/desktop_background_controller_unittest.cc if (bytes_written != output.size()) { bytes_written 221 ash/desktop_background/desktop_background_controller_unittest.cc LOG(ERROR) << "Wrote " << bytes_written << " byte(s) instead of " bytes_written 672 base/file_util_posix.cc int bytes_written = WriteFileDescriptor(fd, data, size); bytes_written 675 base/file_util_posix.cc return bytes_written; bytes_written 699 base/file_util_posix.cc int bytes_written = WriteFileDescriptor(fd, data, size); bytes_written 702 base/file_util_posix.cc return bytes_written; bytes_written 354 base/files/file_posix.cc int bytes_written = 0; bytes_written 357 base/files/file_posix.cc rv = HANDLE_EINTR(pwrite(file_.get(), data + bytes_written, bytes_written 358 base/files/file_posix.cc size - bytes_written, offset + bytes_written)); bytes_written 362 base/files/file_posix.cc bytes_written += rv; bytes_written 363 base/files/file_posix.cc } while (bytes_written < size); bytes_written 365 base/files/file_posix.cc return bytes_written ? bytes_written : rv; bytes_written 374 base/files/file_posix.cc int bytes_written = 0; bytes_written 377 base/files/file_posix.cc rv = HANDLE_EINTR(write(file_.get(), data + bytes_written, bytes_written 378 base/files/file_posix.cc size - bytes_written)); bytes_written 382 base/files/file_posix.cc bytes_written += rv; bytes_written 383 base/files/file_posix.cc } while (bytes_written < size); bytes_written 385 base/files/file_posix.cc return bytes_written ? bytes_written : rv; bytes_written 60 base/files/file_proxy.h int bytes_written)> WriteCallback; bytes_written 68 base/files/file_proxy_unittest.cc int bytes_written) { bytes_written 70 base/files/file_proxy_unittest.cc bytes_written_ = bytes_written; bytes_written 159 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, 0); bytes_written 160 base/files/file_unittest.cc EXPECT_EQ(0, bytes_written); bytes_written 163 base/files/file_unittest.cc bytes_written = file.Write(0, data_to_write, kTestDataSize); bytes_written 164 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 197 base/files/file_unittest.cc bytes_written = file.Write(kOffsetBeyondEndOfFile, bytes_written 199 base/files/file_unittest.cc EXPECT_EQ(kPartialWriteLength, bytes_written); bytes_written 229 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, 0); bytes_written 230 base/files/file_unittest.cc EXPECT_EQ(0, bytes_written); bytes_written 233 base/files/file_unittest.cc bytes_written = file.Write(0, data_to_write, kTestDataSize); bytes_written 234 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 251 base/files/file_unittest.cc bytes_written = file.Write(0, append_data_to_write, kAppendDataSize); bytes_written 252 base/files/file_unittest.cc EXPECT_EQ(kAppendDataSize, bytes_written); bytes_written 279 base/files/file_unittest.cc int bytes_written = file.Write(0, data_to_write, kTestDataSize); bytes_written 280 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 344 base/files/file_unittest.cc int bytes_written = file.Write(0, data, kTestDataSize); bytes_written 345 base/files/file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 81 base/files/file_util_proxy_unittest.cc int bytes_written) { bytes_written 83 base/files/file_util_proxy_unittest.cc bytes_written_ = bytes_written; bytes_written 200 base/files/file_util_proxy_unittest.cc DWORD bytes_written; bytes_written 201 base/files/file_util_proxy_unittest.cc if (!::WriteFile(file_, "test", 4, &bytes_written, &overlapped)) { bytes_written 205 base/files/file_util_proxy_unittest.cc GetOverlappedResult(file_, &overlapped, &bytes_written, TRUE); bytes_written 207 base/files/file_util_proxy_unittest.cc EXPECT_EQ(4, bytes_written); bytes_written 191 base/files/file_win.cc DWORD bytes_written; bytes_written 192 base/files/file_win.cc if (::WriteFile(file_, data, size, &bytes_written, &overlapped)) bytes_written 193 base/files/file_win.cc return bytes_written; bytes_written 205 base/files/file_win.cc DWORD bytes_written; bytes_written 206 base/files/file_win.cc if (::WriteFile(file_, data, size, &bytes_written, NULL)) bytes_written 207 base/files/file_win.cc return bytes_written; bytes_written 75 base/files/important_file_writer.cc int bytes_written = tmp_file.Write(0, data.data(), bytes_written 80 base/files/important_file_writer.cc if (bytes_written < static_cast<int>(data.length())) { bytes_written 82 base/files/important_file_writer.cc IntToString(bytes_written)); bytes_written 813 base/logging.cc size_t bytes_written = 0; bytes_written 816 base/logging.cc while (bytes_written < message_len) { bytes_written 818 base/logging.cc write(STDERR_FILENO, message + bytes_written, bytes_written 819 base/logging.cc message_len - bytes_written)); bytes_written 824 base/logging.cc bytes_written += rv; bytes_written 302 base/platform_file_posix.cc int bytes_written = 0; bytes_written 305 base/platform_file_posix.cc rv = HANDLE_EINTR(pwrite(file, data + bytes_written, bytes_written 306 base/platform_file_posix.cc size - bytes_written, offset + bytes_written)); bytes_written 310 base/platform_file_posix.cc bytes_written += rv; bytes_written 311 base/platform_file_posix.cc } while (bytes_written < size); bytes_written 313 base/platform_file_posix.cc return bytes_written ? bytes_written : rv; bytes_written 322 base/platform_file_posix.cc int bytes_written = 0; bytes_written 325 base/platform_file_posix.cc rv = HANDLE_EINTR(write(file, data + bytes_written, size - bytes_written)); bytes_written 329 base/platform_file_posix.cc bytes_written += rv; bytes_written 330 base/platform_file_posix.cc } while (bytes_written < size); bytes_written 332 base/platform_file_posix.cc return bytes_written ? bytes_written : rv; bytes_written 161 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, 0); bytes_written 162 base/platform_file_unittest.cc EXPECT_EQ(0, bytes_written); bytes_written 165 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); bytes_written 166 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 200 base/platform_file_unittest.cc bytes_written = WriteFully(file, kOffsetBeyondEndOfFile, bytes_written 202 base/platform_file_unittest.cc EXPECT_EQ(kPartialWriteLength, bytes_written); bytes_written 239 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, 0); bytes_written 240 base/platform_file_unittest.cc EXPECT_EQ(0, bytes_written); bytes_written 243 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); bytes_written 244 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 259 base/platform_file_unittest.cc bytes_written = WriteFully(file, 0, append_data_to_write, kAppendDataSize); bytes_written 260 base/platform_file_unittest.cc EXPECT_EQ(kAppendDataSize, bytes_written); bytes_written 292 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data_to_write, kTestDataSize); bytes_written 293 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 361 base/platform_file_unittest.cc int bytes_written = WriteFully(file, 0, data, kTestDataSize); bytes_written 362 base/platform_file_unittest.cc EXPECT_EQ(kTestDataSize, bytes_written); bytes_written 207 base/platform_file_win.cc DWORD bytes_written; bytes_written 208 base/platform_file_win.cc if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0) bytes_written 209 base/platform_file_win.cc return bytes_written; bytes_written 40 base/sync_socket_nacl.cc const ssize_t bytes_written = write(handle_, buffer, length); bytes_written 41 base/sync_socket_nacl.cc return bytes_written > 0 ? bytes_written : 0; bytes_written 159 base/test/test_file_util_win.cc DWORD bytes_read, bytes_written; bytes_written 180 base/test/test_file_util_win.cc if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) || bytes_written 181 base/test/test_file_util_win.cc bytes_written != kOneMB) { bytes_written 68 chrome/browser/chrome_browser_main_posix.cc size_t bytes_written = 0; bytes_written 72 chrome/browser/chrome_browser_main_posix.cc reinterpret_cast<const char*>(&signal) + bytes_written, bytes_written 73 chrome/browser/chrome_browser_main_posix.cc sizeof(signal) - bytes_written)); bytes_written 75 chrome/browser/chrome_browser_main_posix.cc bytes_written += rv; bytes_written 76 chrome/browser/chrome_browser_main_posix.cc } while (bytes_written < sizeof(signal)); bytes_written 333 chrome/browser/component_updater/widevine_cdm_component_installer.cc int bytes_written = base::WriteFile( bytes_written 335 chrome/browser/component_updater/widevine_cdm_component_installer.cc if (bytes_written < 0 || bytes_written 336 chrome/browser/component_updater/widevine_cdm_component_installer.cc static_cast<size_t>(bytes_written) != chrome_version.size()) { bytes_written 157 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc int bytes_written = base::WriteFile( bytes_written 159 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc if (bytes_written < 0 || bytes_written 160 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc (message_with_header.size() != static_cast<size_t>(bytes_written))) { bytes_written 67 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::WriteCompleted(int bytes_written, bytes_written 71 chrome/browser/extensions/api/serial/serial_io_handler.cc write_complete_.Run(bytes_written, error); bytes_written 112 chrome/browser/extensions/api/serial/serial_io_handler.cc void SerialIoHandler::QueueWriteCompleted(int bytes_written, bytes_written 116 chrome/browser/extensions/api/serial/serial_io_handler.cc bytes_written, error)); bytes_written 35 chrome/browser/extensions/api/serial/serial_io_handler.h typedef base::Callback<void(int bytes_written, api::serial::SendError error)> bytes_written 102 chrome/browser/extensions/api/serial/serial_io_handler.h void WriteCompleted(int bytes_written, api::serial::SendError error); bytes_written 112 chrome/browser/extensions/api/serial/serial_io_handler.h void QueueWriteCompleted(int bytes_written, api::serial::SendError error); bytes_written 83 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc int bytes_written = HANDLE_EINTR(write(file(), bytes_written 86 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc if (bytes_written < 0) { bytes_written 89 chrome/browser/extensions/api/serial/serial_io_handler_posix.cc WriteCompleted(bytes_written, api::serial::SEND_ERROR_NONE); bytes_written 54 chrome/browser/extensions/app_background_page_apitest.cc int bytes_written = base::WriteFile(manifest_path, bytes_written 57 chrome/browser/extensions/app_background_page_apitest.cc if (bytes_written != static_cast<int>(app_manifest.size())) { bytes_written 59 chrome/browser/extensions/app_background_page_apitest.cc << bytes_written; bytes_written 30 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc int bytes_written = bytes_written 33 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc return (static_cast<int>(data.size()) == bytes_written) ? bytes_written 34 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc base::checked_cast<uint32>(bytes_written) : 0; bytes_written 72 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc snapshot_file_details_ptr->bytes_written(), bytes_written 108 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc uint32 bytes_written) { bytes_written 111 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc if (snapshot_file_details->AddBytesWritten(bytes_written)) { bytes_written 78 chrome/browser/media_galleries/linux/mtp_read_file_worker.h uint32 bytes_written); bytes_written 48 chrome/browser/media_galleries/linux/snapshot_file_details.cc bool SnapshotFileDetails::AddBytesWritten(uint32 bytes_written) { bytes_written 49 chrome/browser/media_galleries/linux/snapshot_file_details.cc if ((bytes_written == 0) || bytes_written 50 chrome/browser/media_galleries/linux/snapshot_file_details.cc (bytes_written_ > kuint32max - bytes_written) || bytes_written 51 chrome/browser/media_galleries/linux/snapshot_file_details.cc (bytes_written_ + bytes_written > file_info_.size)) bytes_written 54 chrome/browser/media_galleries/linux/snapshot_file_details.cc bytes_written_ += bytes_written; bytes_written 58 chrome/browser/media_galleries/linux/snapshot_file_details.h uint32 bytes_written() const { bytes_written 88 chrome/browser/media_galleries/linux/snapshot_file_details.h bool AddBytesWritten(uint32 bytes_written); bytes_written 132 chrome/browser/media_galleries/media_folder_finder_unittest.cc int bytes_written = bytes_written 134 chrome/browser/media_galleries/media_folder_finder_unittest.cc ASSERT_GE(bytes_written, 0); bytes_written 135 chrome/browser/media_galleries/media_folder_finder_unittest.cc ASSERT_EQ(filesize, static_cast<size_t>(bytes_written)); bytes_written 583 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc DWORD bytes_written) { bytes_written 595 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (current_snapshot_details_->AddBytesWritten(bytes_written)) { bytes_written 604 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc DCHECK_EQ(0U, bytes_written); bytes_written 187 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.h DWORD bytes_written); bytes_written 58 chrome/browser/media_galleries/win/snapshot_file_details.cc bool SnapshotFileDetails::AddBytesWritten(DWORD bytes_written) { bytes_written 59 chrome/browser/media_galleries/win/snapshot_file_details.cc if ((bytes_written == 0) || bytes_written 60 chrome/browser/media_galleries/win/snapshot_file_details.cc (bytes_written_ > kuint64max - bytes_written) || bytes_written 61 chrome/browser/media_galleries/win/snapshot_file_details.cc (bytes_written_ + bytes_written > file_info_.size)) bytes_written 64 chrome/browser/media_galleries/win/snapshot_file_details.cc bytes_written_ += bytes_written; bytes_written 73 chrome/browser/media_galleries/win/snapshot_file_details.h bool AddBytesWritten(DWORD bytes_written); bytes_written 463 chrome/browser/net/network_stats.cc int bytes_written = socket_->Write( bytes_written 467 chrome/browser/net/network_stats.cc if (bytes_written < 0) { bytes_written 468 chrome/browser/net/network_stats.cc if (bytes_written == net::ERR_IO_PENDING) bytes_written 470 chrome/browser/net/network_stats.cc return bytes_written; bytes_written 472 chrome/browser/net/network_stats.cc UpdateSendBuffer(bytes_written); bytes_written 99 chrome/browser/policy/test/local_policy_test_server.cc int bytes_written = base::WriteFile( bytes_written 104 chrome/browser/policy/test/local_policy_test_server.cc if (bytes_written != static_cast<int>(signing_key_bits.size())) bytes_written 110 chrome/browser/policy/test/local_policy_test_server.cc bytes_written = base::WriteFile( bytes_written 115 chrome/browser/policy/test/local_policy_test_server.cc return bytes_written == static_cast<int>(signature.size()); bytes_written 140 chrome/browser/process_singleton_linux.cc size_t bytes_written = 0; bytes_written 143 chrome/browser/process_singleton_linux.cc write(fd, message + bytes_written, length - bytes_written)); bytes_written 154 chrome/browser/process_singleton_linux.cc bytes_written += rv; bytes_written 155 chrome/browser/process_singleton_linux.cc } while (bytes_written < length); bytes_written 32 chrome/browser/sessions/base_session_service.cc void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes, bytes_written 35 chrome/browser/sessions/base_session_service.cc if (*bytes_written + num_bytes < max_bytes) { bytes_written 36 chrome/browser/sessions/base_session_service.cc *bytes_written += num_bytes; bytes_written 168 chrome/browser/sessions/base_session_service.cc int bytes_written = 0; bytes_written 170 chrome/browser/sessions/base_session_service.cc WriteStringToPickle(pickle, &bytes_written, max_id_size, extension_id); bytes_written 188 chrome/browser/sessions/base_session_service.cc int bytes_written = 0; bytes_written 190 chrome/browser/sessions/base_session_service.cc WriteStringToPickle(pickle, &bytes_written, max_user_agent_size, bytes_written 208 chrome/browser/sessions/base_session_service.cc int bytes_written = 0; bytes_written 210 chrome/browser/sessions/base_session_service.cc WriteStringToPickle(pickle, &bytes_written, max_id_size, app_name); bytes_written 106 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, bytes_written 110 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<int>(png_data->size())) bytes_written 158 chrome/browser/shell_integration_linux.cc ssize_t bytes_written = base::WriteFileDescriptor(fd, contents.data(), bytes_written 163 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<ssize_t>(contents.length())) { bytes_written 199 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_directory_path, bytes_written 203 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<int>(directory_contents.length())) bytes_written 209 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, contents.data(), bytes_written 212 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<int>(contents.length())) bytes_written 41 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc size_t bytes_written = bytes_written 43 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (bytes_written != data->length()) { bytes_written 50 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc bytes_written = bytes_written 52 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc if (bytes_written == data->length()) bytes_written 196 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc int64 bytes_written = file_systems_[app_id]->WriteString(url, content); bytes_written 197 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(static_cast<int64>(content.size()), bytes_written); bytes_written 205 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc int64 bytes_written = file_systems_[app_id]->WriteString( bytes_written 207 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_EQ(static_cast<int64>(content.size()), bytes_written); bytes_written 169 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc int64 bytes_written = file_systems_[origin]->WriteString(url, content); bytes_written 170 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(static_cast<int64>(content.size()), bytes_written); bytes_written 178 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc int64 bytes_written = file_systems_[origin]->WriteString( bytes_written 180 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_sync_unittest.cc EXPECT_EQ(static_cast<int64>(content.size()), bytes_written); bytes_written 28 chrome/browser/ui/certificate_dialogs.cc int bytes_written = base::WriteFile(path, data.data(), data.size()); bytes_written 29 chrome/browser/ui/certificate_dialogs.cc if (bytes_written != static_cast<ssize_t>(data.size())) { bytes_written 31 chrome/browser/ui/certificate_dialogs.cc << data.size() << "B) returned " << bytes_written; bytes_written 146 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc int bytes_written = bytes_written 150 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (bytes_written != static_cast<int>(png_data->size())) bytes_written 242 chrome/browser/ui/webui/options/certificate_manager_handler.cc int* bytes_written); bytes_written 268 chrome/browser/ui/webui/options/certificate_manager_handler.cc int* bytes_written = new int(0); bytes_written 279 chrome/browser/ui/webui/options/certificate_manager_handler.cc bytes_written), bytes_written 281 chrome/browser/ui/webui/options/certificate_manager_handler.cc callback, base::Owned(saved_errno), base::Owned(bytes_written))); bytes_written 294 chrome/browser/ui/webui/options/certificate_manager_handler.cc int* bytes_written) { bytes_written 295 chrome/browser/ui/webui/options/certificate_manager_handler.cc *bytes_written = base::WriteFile(path, data.data(), data.size()); bytes_written 296 chrome/browser/ui/webui/options/certificate_manager_handler.cc *saved_errno = *bytes_written >= 0 ? 0 : errno; bytes_written 689 chrome/browser/ui/webui/options/certificate_manager_handler.cc const int* write_errno, const int* bytes_written) { bytes_written 82 chrome/browser/ui/webui/options/certificate_manager_handler.h const int* bytes_written); bytes_written 81 chrome/common/media_galleries/pmp_test_util.cc size_t bytes_written = base::WriteFile(path, &data[0], data.size()); bytes_written 82 chrome/common/media_galleries/pmp_test_util.cc return (bytes_written == data.size()); bytes_written 734 chrome/service/cloud_print/print_system_win.cc ULONG bytes_written = 0; bytes_written 737 chrome/service/cloud_print/print_system_win.cc &bytes_written); bytes_written 738 chrome/service/cloud_print/print_system_win.cc DCHECK(bytes_written == print_ticket_data.length()); bytes_written 102 chrome/tools/profile_reset/jtl_compiler_frontend.cc int bytes_written = bytes_written 106 chrome/tools/profile_reset/jtl_compiler_frontend.cc if (bytes_written != static_cast<int>(bytecode.size())) { bytes_written 47 chrome/tools/safe_browsing/sb_sigutil.cc int bytes_written = base::WriteFile( bytes_written 51 chrome/tools/safe_browsing/sb_sigutil.cc if (bytes_written != static_cast<int>(serialized_info.size())) { bytes_written 708 chrome/utility/chrome_content_utility_client.cc int bytes_written = base::WritePlatformFileAtCurrentPos(bitmap_file, bytes_written 711 chrome/utility/chrome_content_utility_client.cc if (bytes_written != static_cast<int>(pwg_header.size())) bytes_written 746 chrome/utility/chrome_content_utility_client.cc bytes_written = base::WritePlatformFileAtCurrentPos(bitmap_file, bytes_written 749 chrome/utility/chrome_content_utility_client.cc if (bytes_written != static_cast<int>(pwg_page.size())) bytes_written 91 chrome/utility/extensions/unpacker.cc int bytes_written = base::WriteFile(dest_path, data, size); bytes_written 92 chrome/utility/extensions/unpacker.cc return (bytes_written == size); bytes_written 149 chrome/utility/image_writer/image_writer.cc int bytes_written = device_file_.Write(bytes_processed_, buffer.get(), bytes_written 152 chrome/utility/image_writer/image_writer.cc if (bytes_written < bytes_read) { bytes_written 33 chrome/utility/media_galleries/pmp_column_reader_unittest.cc size_t bytes_written = base::WriteFile(temp_path, &data[0], data.size()); bytes_written 34 chrome/utility/media_galleries/pmp_column_reader_unittest.cc if (bytes_written != data.size()) bytes_written 224 chrome_elf/create_file/chrome_create_file_unittest.cc DWORD bytes_written; bytes_written 246 chrome_elf/create_file/chrome_create_file_unittest.cc ::WriteFile(file_handle, kTestData, buffer_size, &bytes_written, NULL); bytes_written 247 chrome_elf/create_file/chrome_create_file_unittest.cc EXPECT_EQ(buffer_size, bytes_written); bytes_written 126 chromeos/accelerometer/accelerometer_reader.cc int bytes_written = base::WriteFile( bytes_written 128 chromeos/accelerometer/accelerometer_reader.cc if (bytes_written < 2) { bytes_written 129 chromeos/accelerometer/accelerometer_reader.cc PLOG(ERROR) << "Accelerometer trigger failure: " << bytes_written; bytes_written 162 chromeos/process_proxy/process_proxy.cc int bytes_written = bytes_written 165 chromeos/process_proxy/process_proxy.cc return (bytes_written == static_cast<int>(data_size)); bytes_written 442 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc DWORD* bytes_written) { bytes_written 448 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc *bytes_written = bytes_written 450 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc if (*bytes_written > 0) { bytes_written 45 cloud_print/virtual_driver/win/port_monitor/port_monitor.h DWORD* bytes_written); bytes_written 37 cloud_print/virtual_driver/win/port_monitor/spooler_win.h DWORD* bytes_written); bytes_written 173 components/sessions/serialized_navigation_entry.cc int* bytes_written, bytes_written 177 components/sessions/serialized_navigation_entry.cc if (*bytes_written + num_bytes < max_bytes) { bytes_written 178 components/sessions/serialized_navigation_entry.cc *bytes_written += num_bytes; bytes_written 189 components/sessions/serialized_navigation_entry.cc int* bytes_written, bytes_written 193 components/sessions/serialized_navigation_entry.cc if (*bytes_written + num_bytes < max_bytes) { bytes_written 194 components/sessions/serialized_navigation_entry.cc *bytes_written += num_bytes; bytes_written 235 components/sessions/serialized_navigation_entry.cc int bytes_written = 0; bytes_written 237 components/sessions/serialized_navigation_entry.cc WriteStringToPickle(pickle, &bytes_written, max_size, bytes_written 240 components/sessions/serialized_navigation_entry.cc WriteString16ToPickle(pickle, &bytes_written, max_size, title_); bytes_written 246 components/sessions/serialized_navigation_entry.cc WriteStringToPickle(pickle, &bytes_written, max_size, bytes_written 255 components/sessions/serialized_navigation_entry.cc pickle, &bytes_written, max_size, bytes_written 262 components/sessions/serialized_navigation_entry.cc pickle, &bytes_written, max_size, bytes_written 268 components/sessions/serialized_navigation_entry.cc WriteString16ToPickle(pickle, &bytes_written, max_size, search_terms_); bytes_written 189 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(14, bytes_written()); bytes_written 203 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 218 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 234 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 255 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 276 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(10, bytes_written()); bytes_written 298 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 322 content/browser/fileapi/file_system_operation_impl_write_unittest.cc EXPECT_EQ(0, bytes_written()); bytes_written 254 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 274 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kAllowedGrowth, result.bytes_written()); bytes_written 294 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kAllowedGrowth, result.bytes_written()); bytes_written 315 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kAllowedGrowth, result.bytes_written()); bytes_written 356 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 358 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result2.bytes_written()); bytes_written 382 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 397 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 417 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 436 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kDataSize, result.bytes_written()); bytes_written 456 content/browser/fileapi/file_writer_delegate_unittest.cc EXPECT_EQ(kOverlap + allowed_growth, result.bytes_written()); bytes_written 82 content/browser/loader/temporary_file_stream_unittest.cc int bytes_written = 0; bytes_written 88 content/browser/loader/temporary_file_stream_unittest.cc while (bytes_written != kTestDataSize) { bytes_written 97 content/browser/loader/temporary_file_stream_unittest.cc bytes_written += rv; bytes_written 434 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc int32_t bytes_written) { bytes_written 438 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc PpapiPluginMsg_UDPSocket_SendToReply(bytes_written)); bytes_written 100 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h int32_t bytes_written); bytes_written 59 content/renderer/mhtml_generator.cc int bytes_written = base::WritePlatformFile(file_, total_bytes_written, bytes_written 62 content/renderer/mhtml_generator.cc if (bytes_written == -1) bytes_written 64 content/renderer/mhtml_generator.cc total_bytes_written += bytes_written; bytes_written 66 content/test/image_decoder_test.cc int bytes_written = base::WriteFile( bytes_written 68 content/test/image_decoder_test.cc ASSERT_EQ(sizeof digest, bytes_written); bytes_written 138 content/test/net/url_request_slow_download_job.cc net::IOBuffer* buf, int buf_size, int* bytes_written) { bytes_written 145 content/test/net/url_request_slow_download_job.cc *bytes_written = bytes_to_write; bytes_written 160 content/test/net/url_request_slow_download_job.cc *bytes_written = bytes_to_write; bytes_written 207 content/test/net/url_request_slow_download_job.cc int bytes_written = 0; bytes_written 209 content/test/net/url_request_slow_download_job.cc FillBufferHelper(buffer_.get(), buffer_size_, &bytes_written); bytes_written 213 content/test/net/url_request_slow_download_job.cc NotifyReadComplete(bytes_written); bytes_written 78 content/test/net/url_request_slow_download_job.h int* bytes_written); bytes_written 131 device/bluetooth/bluetooth_socket_chromeos.cc ssize_t bytes_written; bytes_written 133 device/bluetooth/bluetooth_socket_chromeos.cc bytes_written = bytes_written 135 device/bluetooth/bluetooth_socket_chromeos.cc if (bytes_written > 0) bytes_written 136 device/bluetooth/bluetooth_socket_chromeos.cc buffer->DidConsume(bytes_written); bytes_written 137 device/bluetooth/bluetooth_socket_chromeos.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); bytes_written 139 device/bluetooth/bluetooth_socket_chromeos.cc if (bytes_written < 0) { bytes_written 96 device/bluetooth/bluetooth_socket_win.cc int bytes_written; bytes_written 98 device/bluetooth/bluetooth_socket_win.cc bytes_written = send(fd_, buffer->data(), buffer->BytesRemaining(), 0); bytes_written 99 device/bluetooth/bluetooth_socket_win.cc if (bytes_written > 0) bytes_written 100 device/bluetooth/bluetooth_socket_win.cc buffer->DidConsume(bytes_written); bytes_written 101 device/bluetooth/bluetooth_socket_win.cc } while (buffer->BytesRemaining() > 0 && bytes_written > 0); bytes_written 104 device/bluetooth/bluetooth_socket_win.cc if (bytes_written < 0 && error_code != WSAEWOULDBLOCK) { bytes_written 144 device/hid/hid_connection_linux.cc int bytes_written = HANDLE_EINTR( bytes_written 146 device/hid/hid_connection_linux.cc if (bytes_written < 0) { bytes_written 150 device/hid/hid_connection_linux.cc callback.Run(true, bytes_written); bytes_written 54 extensions/browser/api/socket/socket.cc DCHECK(request.byte_count >= request.bytes_written); bytes_written 56 extensions/browser/api/socket/socket.cc request.bytes_written); bytes_written 59 extensions/browser/api/socket/socket.cc request.byte_count - request.bytes_written, bytes_written 72 extensions/browser/api/socket/socket.cc request.bytes_written += result; bytes_written 73 extensions/browser/api/socket/socket.cc if (request.bytes_written < request.byte_count) { bytes_written 77 extensions/browser/api/socket/socket.cc DCHECK(request.bytes_written == request.byte_count); bytes_written 78 extensions/browser/api/socket/socket.cc result = request.bytes_written; bytes_written 118 extensions/browser/api/socket/socket.h int bytes_written; bytes_written 430 extensions/browser/api/socket/socket_api.cc void SocketWriteFunction::OnCompleted(int bytes_written) { bytes_written 432 extensions/browser/api/socket/socket_api.cc result->SetInteger(kBytesWrittenKey, bytes_written); bytes_written 542 extensions/browser/api/socket/socket_api.cc void SocketSendToFunction::OnCompleted(int bytes_written) { bytes_written 544 extensions/browser/api/socket/socket_api.cc result->SetInteger(kBytesWrittenKey, bytes_written); bytes_written 283 ipc/ipc_channel_nacl.cc ssize_t bytes_written = imc_sendmsg(pipe_, &msgh, 0); bytes_written 285 ipc/ipc_channel_nacl.cc DCHECK(bytes_written); // The trusted side shouldn't return 0. bytes_written 286 ipc/ipc_channel_nacl.cc if (bytes_written < 0) { bytes_written 409 ipc/ipc_channel_posix.cc ssize_t bytes_written = 1; bytes_written 451 ipc/ipc_channel_posix.cc bytes_written = HANDLE_EINTR(sendmsg(fd_pipe_, &msgh, MSG_DONTWAIT)); bytes_written 454 ipc/ipc_channel_posix.cc if (bytes_written > 0) { bytes_written 461 ipc/ipc_channel_posix.cc if (bytes_written == 1) { bytes_written 468 ipc/ipc_channel_posix.cc bytes_written = HANDLE_EINTR(write(pipe_, out_bytes, amt_to_write)); bytes_written 472 ipc/ipc_channel_posix.cc bytes_written = HANDLE_EINTR(sendmsg(pipe_, &msgh, MSG_DONTWAIT)); bytes_written 475 ipc/ipc_channel_posix.cc if (bytes_written > 0) bytes_written 478 ipc/ipc_channel_posix.cc if (bytes_written < 0 && !SocketWriteErrorIsRecoverable()) { bytes_written 501 ipc/ipc_channel_posix.cc if (static_cast<size_t>(bytes_written) != amt_to_write) { bytes_written 502 ipc/ipc_channel_posix.cc if (bytes_written > 0) { bytes_written 504 ipc/ipc_channel_posix.cc message_send_bytes_written_ += bytes_written; bytes_written 361 ipc/ipc_channel_win.cc DWORD bytes_written) { bytes_written 369 ipc/ipc_channel_win.cc if (!context || bytes_written == 0) { bytes_written 393 ipc/ipc_channel_win.cc &bytes_written, bytes_written 52 ipc/ipc_channel_win.h DWORD bytes_written); bytes_written 254 media/audio/android/audio_android_unittest.cc int bytes_written = 0; bytes_written 255 media/audio/android/audio_android_unittest.cc while (bytes_written < buffer_->forward_capacity()) { bytes_written 267 media/audio/android/audio_android_unittest.cc bytes_written += chunk_size; bytes_written 57 media/audio/mac/audio_low_latency_input_mac_unittest.cc int bytes_written = 0; bytes_written 58 media/audio/mac/audio_low_latency_input_mac_unittest.cc while (bytes_written < bytes_to_write_) { bytes_written 69 media/audio/mac/audio_low_latency_input_mac_unittest.cc bytes_written += chunk_size; bytes_written 110 media/audio/sounds/audio_stream_handler.cc size_t bytes_written = 0; bytes_written 113 media/audio/sounds/audio_stream_handler.cc !wav_audio_.CopyTo(dest, cursor_, &bytes_written)) { bytes_written 123 media/audio/sounds/audio_stream_handler.cc cursor_ += bytes_written; bytes_written 91 media/audio/sounds/wav_audio_handler.cc size_t* bytes_written) const { bytes_written 107 media/audio/sounds/wav_audio_handler.cc *bytes_written = frames * params_.GetBytesPerFrame(); bytes_written 30 media/audio/sounds/wav_audio_handler.h bool CopyTo(AudioBus* bus, size_t cursor, size_t* bytes_written) const; bytes_written 32 media/audio/sounds/wav_audio_handler_unittest.cc size_t bytes_written; bytes_written 33 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_TRUE(handler.CopyTo(bus.get(), 0, &bytes_written)); bytes_written 34 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(static_cast<size_t>(handler.data().size()), bytes_written); bytes_written 101 media/audio/win/audio_low_latency_input_win_unittest.cc size_t bytes_written = 0; bytes_written 102 media/audio/win/audio_low_latency_input_win_unittest.cc while (bytes_written < bytes_to_write_) { bytes_written 113 media/audio/win/audio_low_latency_input_win_unittest.cc bytes_written += chunk_size; bytes_written 185 media/base/android/webaudio_media_codec_bridge.cc ssize_t bytes_written = HANDLE_EINTR(write(pcm_output_, bytes_written 188 media/base/android/webaudio_media_codec_bridge.cc if (bytes_written == -1) bytes_written 190 media/base/android/webaudio_media_codec_bridge.cc count -= bytes_written; bytes_written 191 media/base/android/webaudio_media_codec_bridge.cc buffer += bytes_written; bytes_written 384 media/cdm/ppapi/cdm_file_io_impl.cc void CdmFileIOImpl::OnFileWritten(int32_t bytes_written) { bytes_written 385 media/cdm/ppapi/cdm_file_io_impl.cc CDM_DLOG() << __FUNCTION__ << ": " << bytes_written; bytes_written 389 media/cdm/ppapi/cdm_file_io_impl.cc if (bytes_written <= PP_OK) { bytes_written 395 media/cdm/ppapi/cdm_file_io_impl.cc io_offset_ += bytes_written; bytes_written 113 media/cdm/ppapi/cdm_file_io_impl.h void OnFileWritten(int32_t bytes_written); bytes_written 32 mojo/common/test/multiprocess_test_helper_unittest.cc size_t bytes_written = 0; bytes_written 33 mojo/common/test/multiprocess_test_helper_unittest.cc BlockingWrite(handle, &c, 1, &bytes_written); bytes_written 34 mojo/common/test/multiprocess_test_helper_unittest.cc return bytes_written == 1; bytes_written 23 mojo/common/test/test_utils.h size_t* bytes_written); bytes_written 19 mojo/common/test/test_utils_posix.cc size_t* bytes_written) { bytes_written 33 mojo/common/test/test_utils_posix.cc *bytes_written = result; bytes_written 17 mojo/common/test/test_utils_win.cc size_t* bytes_written) { bytes_written 30 mojo/common/test/test_utils_win.cc *bytes_written = bytes_written_dword; bytes_written 389 mojo/system/message_pipe_dispatcher_unittest.cc size_t* messages_written, size_t* bytes_written) bytes_written 393 mojo/system/message_pipe_dispatcher_unittest.cc bytes_written_(bytes_written) { bytes_written 532 mojo/system/message_pipe_dispatcher_unittest.cc size_t bytes_written[kNumWriters]; bytes_written 540 mojo/system/message_pipe_dispatcher_unittest.cc new WriterThread(d_write, &messages_written[i], &bytes_written[i])); bytes_written 567 mojo/system/message_pipe_dispatcher_unittest.cc total_bytes_written += bytes_written[i]; bytes_written 173 mojo/system/raw_channel.cc size_t bytes_written = 0; bytes_written 174 mojo/system/raw_channel.cc IOResult io_result = WriteNoLock(&bytes_written); bytes_written 179 mojo/system/raw_channel.cc bytes_written); bytes_written 308 mojo/system/raw_channel.cc void RawChannel::OnWriteCompleted(bool result, size_t bytes_written) { bytes_written 321 mojo/system/raw_channel.cc did_fail = !OnWriteCompletedNoLock(result, bytes_written); bytes_written 334 mojo/system/raw_channel.cc bool RawChannel::OnWriteCompletedNoLock(bool result, size_t bytes_written) { bytes_written 341 mojo/system/raw_channel.cc if (bytes_written < write_buffer_->GetTotalBytesToWrite()) { bytes_written 343 mojo/system/raw_channel.cc write_buffer_->offset_ += bytes_written; bytes_written 346 mojo/system/raw_channel.cc DCHECK_EQ(bytes_written, write_buffer_->GetTotalBytesToWrite()); bytes_written 193 mojo/system/raw_channel.h virtual IOResult WriteNoLock(size_t* bytes_written) = 0; bytes_written 211 mojo/system/raw_channel.h void OnWriteCompleted(bool result, size_t bytes_written); bytes_written 223 mojo/system/raw_channel.h bool OnWriteCompletedNoLock(bool result, size_t bytes_written); bytes_written 43 mojo/system/raw_channel_posix.cc virtual IOResult WriteNoLock(size_t* bytes_written) OVERRIDE; bytes_written 137 mojo/system/raw_channel_posix.cc RawChannel::IOResult RawChannelPosix::WriteNoLock(size_t* bytes_written) { bytes_written 186 mojo/system/raw_channel_posix.cc *bytes_written = static_cast<size_t>(write_result); bytes_written 295 mojo/system/raw_channel_posix.cc size_t bytes_written = 0; bytes_written 302 mojo/system/raw_channel_posix.cc result = WriteNoLock(&bytes_written); bytes_written 306 mojo/system/raw_channel_posix.cc OnWriteCompleted(result == IO_SUCCEEDED, bytes_written); bytes_written 132 mojo/system/raw_channel_win.cc void OnWriteCompleted(DWORD bytes_written, DWORD error); bytes_written 160 mojo/system/raw_channel_win.cc virtual IOResult WriteNoLock(size_t* bytes_written) OVERRIDE; bytes_written 299 mojo/system/raw_channel_win.cc void RawChannelWin::RawChannelIOHandler::OnWriteCompleted(DWORD bytes_written, bytes_written 321 mojo/system/raw_channel_win.cc owner_->OnWriteCompleted(true, bytes_written); bytes_written 406 mojo/system/raw_channel_win.cc RawChannel::IOResult RawChannelWin::WriteNoLock(size_t* bytes_written) { bytes_written 429 mojo/system/raw_channel_win.cc *bytes_written = bytes_written_dword; bytes_written 452 mojo/system/raw_channel_win.cc size_t bytes_written = 0; bytes_written 453 mojo/system/raw_channel_win.cc IOResult io_result = WriteNoLock(&bytes_written); bytes_written 466 mojo/system/raw_channel_win.cc static_cast<DWORD>(bytes_written), bytes_written 181 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t bytes_written = 0; bytes_written 183 native_client_sdk/src/examples/api/file_io/file_io.cc bytes_written = file.Write(offset, bytes_written 187 native_client_sdk/src/examples/api/file_io/file_io.cc if (bytes_written > 0) { bytes_written 188 native_client_sdk/src/examples/api/file_io/file_io.cc offset += bytes_written; bytes_written 190 native_client_sdk/src/examples/api/file_io/file_io.cc ShowErrorMessage("File write failed", bytes_written); bytes_written 193 native_client_sdk/src/examples/api/file_io/file_io.cc } while (bytes_written < static_cast<int64_t>(file_contents.length())); bytes_written 244 native_client_sdk/src/examples/demo/nacl_io/handlers.c size_t bytes_written; bytes_written 262 native_client_sdk/src/examples/demo/nacl_io/handlers.c bytes_written = fwrite(data, 1, data_len, file); bytes_written 266 native_client_sdk/src/examples/demo/nacl_io/handlers.c "Wrote %d bytes, but ferror() returns true.", bytes_written); bytes_written 271 native_client_sdk/src/examples/demo/nacl_io/handlers.c PrintfToNewString("fwrite\1%s\1%d", file_index_string, bytes_written); bytes_written 54 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error GetDents(struct dirent* pdir, size_t count, int* bytes_written); bytes_written 72 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Write(const void* buf, size_t nbytes, int* bytes_written); bytes_written 236 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc int bytes_written; bytes_written 237 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, node->Write(attr, &message[0], strlen(message), &bytes_written)); bytes_written 238 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(bytes_written, strlen(message)); bytes_written 217 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_written = 0; bytes_written 219 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc &bytes_written)); bytes_written 220 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(strlen(contents), bytes_written); bytes_written 275 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_written = 1; // Set to a non-zero value. bytes_written 278 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc node->Write(attr, &buffer[0], sizeof(buffer), &bytes_written)); bytes_written 279 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(0, bytes_written); bytes_written 308 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc int bytes_written = 1; // Set to a non-zero value. bytes_written 310 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Write(attr, "struct", 6, &bytes_written)); bytes_written 311 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(6, bytes_written); bytes_written 162 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc int bytes_written = 1; // Set to a non-zero value. bytes_written 163 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc EXPECT_EQ(EACCES, node->Write(attr, "struct", 6, &bytes_written)); bytes_written 164 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc EXPECT_EQ(0, bytes_written); bytes_written 94 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc int bytes_written = 999; bytes_written 96 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_EQ(0, pipe_dev_->Write(attrs, message, message_len, &bytes_written)); bytes_written 97 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_EQ(message_len, bytes_written); bytes_written 136 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc int bytes_written = 999; bytes_written 138 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(0, pipe_dev_->Write(attrs, message, message_len, &bytes_written)); bytes_written 139 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc EXPECT_EQ(message_len, bytes_written); bytes_written 104 native_client_sdk/src/tests/nacl_io_test/tty_test.cc int bytes_written = 10; bytes_written 108 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(EIO, dev_tty_->Write(attrs, message, message_len, &bytes_written)); bytes_written 121 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(0, dev_tty_->Write(attrs, message, message_len, &bytes_written)); bytes_written 122 native_client_sdk/src/tests/nacl_io_test/tty_test.cc EXPECT_EQ(message_len, bytes_written); bytes_written 152 net/base/file_stream_context_win.cc DWORD bytes_written = 0; bytes_written 154 net/base/file_stream_context_win.cc &bytes_written, &io_context_.overlapped)) { bytes_written 170 net/base/file_stream_context_win.cc DWORD bytes_written = 0; bytes_written 171 net/base/file_stream_context_win.cc if (!WriteFile(file_.GetPlatformFile(), buf, buf_len, &bytes_written, NULL)) { bytes_written 178 net/base/file_stream_context_win.cc return bytes_written; bytes_written 458 net/base/nss_memio.c void memio_PutWriteResult(memio_Private *secret, int bytes_written) bytes_written 463 net/base/nss_memio.c if (bytes_written > 0) { bytes_written 464 net/base/nss_memio.c mb->head += bytes_written; bytes_written 467 net/base/nss_memio.c } else if (bytes_written < 0) { bytes_written 468 net/base/nss_memio.c mb->last_err = bytes_written; bytes_written 95 net/base/nss_memio.h void memio_PutWriteResult(memio_Private *secret, int bytes_written); bytes_written 280 net/cert/x509_certificate_openssl.cc int bytes_written = i2c_ASN1_INTEGER(serial_num, &buffer); bytes_written 281 net/cert/x509_certificate_openssl.cc DCHECK_EQ(static_cast<size_t>(bytes_written), serial_number_.size()); bytes_written 69 net/disk_cache/simple/simple_index_file.cc int bytes_written = base::WriteFile( bytes_written 71 net/disk_cache/simple/simple_index_file.cc if (bytes_written != implicit_cast<int>(pickle->size())) { bytes_written 278 net/disk_cache/simple/simple_index_file_unittest.cc int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents), bytes_written 280 net/disk_cache/simple/simple_index_file_unittest.cc ASSERT_EQ((int)sizeof(file_contents), bytes_written); bytes_written 1008 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = files_[file_index].Write( bytes_written 1010 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written != sizeof(header)) { bytes_written 1015 net/disk_cache/simple/simple_synchronous_entry.cc bytes_written = files_[file_index].Write(sizeof(header), key_.data(), bytes_written 1017 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written != implicit_cast<int>(key_.size())) { bytes_written 1372 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = sparse_file_.Write(range->file_offset - sizeof(header), bytes_written 1375 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written != implicit_cast<int>(sizeof(header))) { bytes_written 1381 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = sparse_file_.Write(range->file_offset + offset, buf, len); bytes_written 1382 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written < len) { bytes_written 1407 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = sparse_file_.Write(sparse_tail_offset_, bytes_written 1410 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written != implicit_cast<int>(sizeof(header))) { bytes_written 1414 net/disk_cache/simple/simple_synchronous_entry.cc sparse_tail_offset_ += bytes_written; bytes_written 1416 net/disk_cache/simple/simple_synchronous_entry.cc bytes_written = sparse_file_.Write(sparse_tail_offset_, buf, len); bytes_written 1417 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written < len) { bytes_written 1422 net/disk_cache/simple/simple_synchronous_entry.cc sparse_tail_offset_ += bytes_written; bytes_written 41 net/disk_cache/simple/simple_version_upgrade.cc int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents), bytes_written 43 net/disk_cache/simple/simple_version_upgrade.cc if (bytes_written != sizeof(file_contents)) { bytes_written 38 net/quic/crypto/crypto_utils.cc size_t bytes_written = sizeof(gmt_unix_time); bytes_written 40 net/quic/crypto/crypto_utils.cc memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size()); bytes_written 41 net/quic/crypto/crypto_utils.cc bytes_written += orbit.size(); bytes_written 43 net/quic/crypto/crypto_utils.cc random_generator->RandBytes(&(*nonce)[bytes_written], bytes_written 44 net/quic/crypto/crypto_utils.cc kNonceSize - bytes_written); bytes_written 439 net/quic/quic_client_session.cc QuicStreamOffset bytes_written) { bytes_written 440 net/quic/quic_client_session.cc QuicSession::SendRstStream(id, error, bytes_written); bytes_written 129 net/quic/quic_client_session.h QuicStreamOffset bytes_written) OVERRIDE; bytes_written 984 net/quic/quic_connection.cc QuicStreamOffset bytes_written) { bytes_written 988 net/quic/quic_connection.cc QuicFrame(new QuicRstStreamFrame(id, error, bytes_written))); bytes_written 1428 net/quic/quic_connection.cc stats_.bytes_sent += result.bytes_written; bytes_written 1432 net/quic/quic_connection.cc stats_.bytes_retransmitted += result.bytes_written; bytes_written 239 net/quic/quic_connection.h QuicStreamOffset bytes_written); bytes_written 50 net/quic/quic_data_stream.cc size_t bytes_written = session()->WriteHeaders( bytes_written 57 net/quic/quic_data_stream.cc return bytes_written; bytes_written 294 net/quic/quic_protocol.cc QuicStreamOffset bytes_written) bytes_written 297 net/quic/quic_protocol.cc byte_offset(bytes_written) { bytes_written 724 net/quic/quic_protocol.h QuicStreamOffset bytes_written); bytes_written 1025 net/quic/quic_protocol.h int bytes_written; // only valid when status is OK bytes_written 319 net/quic/quic_session.cc QuicStreamOffset bytes_written) { bytes_written 320 net/quic/quic_session.cc connection_->SendRstStream(id, error, bytes_written); bytes_written 119 net/quic/quic_session.h QuicStreamOffset bytes_written); bytes_written 316 net/quic/test_tools/quic_test_utils.h QuicStreamOffset bytes_written)); bytes_written 385 net/quic/test_tools/quic_test_utils.h QuicStreamOffset bytes_written)); bytes_written 216 net/socket/tcp_server_socket_unittest.cc size_t bytes_written = 0; bytes_written 217 net/socket/tcp_server_socket_unittest.cc while (bytes_written < message.size()) { bytes_written 219 net/socket/tcp_server_socket_unittest.cc new net::IOBufferWithSize(message.size() - bytes_written)); bytes_written 227 net/socket/tcp_server_socket_unittest.cc ASSERT_TRUE(bytes_written + write_result <= message.size()); bytes_written 228 net/socket/tcp_server_socket_unittest.cc bytes_written += write_result; bytes_written 228 net/socket/tcp_socket_unittest.cc size_t bytes_written = 0; bytes_written 229 net/socket/tcp_socket_unittest.cc while (bytes_written < message.size()) { bytes_written 231 net/socket/tcp_socket_unittest.cc new IOBufferWithSize(message.size() - bytes_written)); bytes_written 232 net/socket/tcp_socket_unittest.cc memmove(write_buffer->data(), message.data() + bytes_written, bytes_written 233 net/socket/tcp_socket_unittest.cc message.size() - bytes_written); bytes_written 240 net/socket/tcp_socket_unittest.cc bytes_written += write_result; bytes_written 241 net/socket/tcp_socket_unittest.cc ASSERT_TRUE(bytes_written <= message.size()); bytes_written 36 net/test/spawned_test_server/local_test_server_win.cc DWORD bytes_written = 0; bytes_written 39 net/test/spawned_test_server/local_test_server_win.cc CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written, bytes_written 41 net/test/spawned_test_server/local_test_server_win.cc CHECK_EQ(size, bytes_written); bytes_written 38 net/tools/flip_server/ring_buffer.cc int bytes_written = 0; bytes_written 44 net/tools/flip_server/ring_buffer.cc memcpy(wptr, bytes + bytes_written, wsize); bytes_written 45 net/tools/flip_server/ring_buffer.cc bytes_written += wsize; bytes_written 50 net/tools/flip_server/ring_buffer.cc return bytes_written; bytes_written 218 net/tools/flip_server/ring_buffer.cc int bytes_written = 0; bytes_written 229 net/tools/flip_server/ring_buffer.cc memcpy(new_buffer + bytes_written, ptr, size); bytes_written 230 net/tools/flip_server/ring_buffer.cc bytes_written += size; bytes_written 180 net/tools/flip_server/sm_connection.cc ssize_t bytes_written = 0; bytes_written 188 net/tools/flip_server/sm_connection.cc const char* ptr = &(data[bytes_written]); bytes_written 206 net/tools/flip_server/sm_connection.cc bytes_written += rv; bytes_written 213 net/tools/flip_server/sm_connection.cc if (bytes_written > 0) bytes_written 214 net/tools/flip_server/sm_connection.cc rv = bytes_written; bytes_written 579 net/tools/flip_server/sm_connection.cc ssize_t bytes_written = Send(bytes, size, flags); bytes_written 581 net/tools/flip_server/sm_connection.cc if (bytes_written == -1) { bytes_written 598 net/tools/flip_server/sm_connection.cc } else if (bytes_written > 0) { bytes_written 600 net/tools/flip_server/sm_connection.cc << "Wrote: " << bytes_written << " bytes"; bytes_written 601 net/tools/flip_server/sm_connection.cc data_frame->index += bytes_written; bytes_written 602 net/tools/flip_server/sm_connection.cc bytes_sent += bytes_written; bytes_written 604 net/tools/flip_server/sm_connection.cc } else if (bytes_written == -2) { bytes_written 111 net/tools/quic/test_tools/quic_test_client.h virtual size_t bytes_written() const OVERRIDE; bytes_written 80 net/tools/quic/test_tools/quic_test_utils.h QuicStreamOffset bytes_written)); bytes_written 145 net/tools/quic/test_tools/simple_client.h virtual size_t bytes_written() const = 0; bytes_written 163 ppapi/cpp/extensions/dev/socket_dev.cc : bytes_written(kBytesWritten) { bytes_written 174 ppapi/cpp/extensions/dev/socket_dev.cc bool result = bytes_written.Populate(dict); bytes_written 182 ppapi/cpp/extensions/dev/socket_dev.cc bool result = bytes_written.AddTo(&dict); bytes_written 112 ppapi/cpp/extensions/dev/socket_dev.h DictField<int32_t> bytes_written; bytes_written 278 ppapi/proxy/udp_socket_resource_base.cc int32_t bytes_written) { bytes_written 283 ppapi/proxy/udp_socket_resource_base.cc RunCallback(sendto_callback_, bytes_written); bytes_written 81 ppapi/proxy/udp_socket_resource_base.h int32_t bytes_written); bytes_written 162 ppapi/tests/extensions/socket/test_socket.cc size_t bytes_written = 0; bytes_written 172 ppapi/tests/extensions/socket/test_socket.cc bytes_written = static_cast<size_t>(write_info.bytes_written()); bytes_written 173 ppapi/tests/extensions/socket/test_socket.cc if (bytes_written <= 0) bytes_written 188 ppapi/tests/extensions/socket/test_socket.cc bytes_written) != 0) { bytes_written 329 ppapi/tests/extensions/socket/test_socket.cc size_t bytes_written = 0; bytes_written 346 ppapi/tests/extensions/socket/test_socket.cc bytes_written = static_cast<size_t>( bytes_written 347 ppapi/tests/extensions/socket/test_socket.cc write_callback.output().bytes_written()); bytes_written 356 ppapi/tests/extensions/socket/test_socket.cc if (bytes_written != strlen(kMulticastMessage)) bytes_written 515 ppapi/tests/extensions/socket/test_socket.cc size_t bytes_written = 0; bytes_written 532 ppapi/tests/extensions/socket/test_socket.cc bytes_written = static_cast<size_t>( bytes_written 533 ppapi/tests/extensions/socket/test_socket.cc write_callback.output().bytes_written()); bytes_written 556 ppapi/tests/extensions/socket/test_socket.cc bytes_written = static_cast<size_t>( bytes_written 557 ppapi/tests/extensions/socket/test_socket.cc send_to_callback.output().bytes_written()); bytes_written 567 ppapi/tests/extensions/socket/test_socket.cc if (bytes_written != strlen(kSendContents)) bytes_written 38 ppapi/tests/test_flash_file.cc DWORD bytes_written = 0; bytes_written 40 ppapi/tests/test_flash_file.cc &bytes_written, NULL); bytes_written 41 ppapi/tests/test_flash_file.cc return result && bytes_written == static_cast<DWORD>(contents.size()); bytes_written 43 ppapi/tests/test_flash_file.cc ssize_t bytes_written = 0; bytes_written 45 ppapi/tests/test_flash_file.cc bytes_written = write(file_handle, contents.c_str(), contents.size()); bytes_written 46 ppapi/tests/test_flash_file.cc } while (bytes_written == -1 && errno == EINTR); bytes_written 47 ppapi/tests/test_flash_file.cc return bytes_written == static_cast<ssize_t>(contents.size()); bytes_written 73 ppapi/tests/test_host_resolver.cc int32_t* bytes_written) { bytes_written 79 ppapi/tests/test_host_resolver.cc *bytes_written = callback.result(); bytes_written 37 ppapi/tests/test_host_resolver.h int32_t* bytes_written); bytes_written 87 ppapi/tests/test_host_resolver_private.cc int32_t* bytes_written) { bytes_written 93 ppapi/tests/test_host_resolver_private.cc *bytes_written = callback.result(); bytes_written 43 ppapi/tests/test_host_resolver_private.h int32_t* bytes_written); bytes_written 89 printing/backend/win_helper.cc ULONG bytes_written = 0; bytes_written 92 printing/backend/win_helper.cc &bytes_written); bytes_written 93 printing/backend/win_helper.cc DCHECK(bytes_written == print_ticket.length()); bytes_written 72 sandbox/linux/suid/process_util_linux.c ssize_t bytes_written = write(fd, buf, len); bytes_written 74 sandbox/linux/suid/process_util_linux.c return (bytes_written == len); bytes_written 99 sandbox/win/src/handle_closer.cc SIZE_T bytes_written; bytes_written 101 sandbox/win/src/handle_closer.cc bytes_needed, &bytes_written); bytes_written 102 sandbox/win/src/handle_closer.cc if (!result || bytes_written != bytes_needed) { bytes_written 334 sandbox/win/src/interception.cc SIZE_T bytes_written; bytes_written 336 sandbox/win/src/interception.cc buffer_bytes, &bytes_written); bytes_written 337 sandbox/win/src/interception.cc if (FALSE == success || bytes_written != buffer_bytes) { bytes_written 1109 third_party/tcmalloc/chromium/src/base/sysinfo.cc int bytes_written = 0; bytes_written 1112 third_party/tcmalloc/chromium/src/base/sysinfo.cc const int line_length = it.FormatLine(buf + bytes_written, bytes_written 1113 third_party/tcmalloc/chromium/src/base/sysinfo.cc size - bytes_written, bytes_written 1119 third_party/tcmalloc/chromium/src/base/sysinfo.cc bytes_written += line_length; bytes_written 1122 third_party/tcmalloc/chromium/src/base/sysinfo.cc return bytes_written; bytes_written 242 third_party/tcmalloc/chromium/src/heap-profiler.cc int bytes_written = 0; bytes_written 246 third_party/tcmalloc/chromium/src/heap-profiler.cc bytes_written = heap_profile->FillOrderedProfile(buf, buflen - 1); bytes_written 253 third_party/tcmalloc/chromium/src/heap-profiler.cc buf[bytes_written] = '\0'; bytes_written 254 third_party/tcmalloc/chromium/src/heap-profiler.cc RAW_DCHECK(bytes_written == strlen(buf), ""); bytes_written 70 third_party/tcmalloc/chromium/src/malloc_extension.cc const int bytes_written = bytes_written 74 third_party/tcmalloc/chromium/src/malloc_extension.cc (*result)[old_resultlen + bytes_written] = '\0'; bytes_written 75 third_party/tcmalloc/chromium/src/malloc_extension.cc result->resize(old_resultlen + bytes_written); bytes_written 950 third_party/tcmalloc/vendor/src/base/sysinfo.cc int bytes_written = 0; bytes_written 953 third_party/tcmalloc/vendor/src/base/sysinfo.cc const int line_length = it.FormatLine(buf + bytes_written, bytes_written 954 third_party/tcmalloc/vendor/src/base/sysinfo.cc size - bytes_written, bytes_written 960 third_party/tcmalloc/vendor/src/base/sysinfo.cc bytes_written += line_length; bytes_written 963 third_party/tcmalloc/vendor/src/base/sysinfo.cc return bytes_written; bytes_written 186 third_party/tcmalloc/vendor/src/heap-profiler.cc int bytes_written = 0; bytes_written 191 third_party/tcmalloc/vendor/src/heap-profiler.cc bytes_written = heap_profile->FillOrderedProfile(buf, buflen - 1); bytes_written 196 third_party/tcmalloc/vendor/src/heap-profiler.cc buf[bytes_written] = '\0'; bytes_written 197 third_party/tcmalloc/vendor/src/heap-profiler.cc RAW_DCHECK(bytes_written == strlen(buf), ""); bytes_written 64 third_party/tcmalloc/vendor/src/malloc_extension.cc const int bytes_written = bytes_written 68 third_party/tcmalloc/vendor/src/malloc_extension.cc (*result)[old_resultlen + bytes_written] = '\0'; bytes_written 69 third_party/tcmalloc/vendor/src/malloc_extension.cc result->resize(old_resultlen + bytes_written); bytes_written 71 tools/android/forwarder2/common.h const int bytes_written = vsnprintf( bytes_written 74 tools/android/forwarder2/common.h if (bytes_written > 0) bytes_written 75 tools/android/forwarder2/common.h write_ptr_ += bytes_written; bytes_written 76 tools/android/forwarder2/common.h return bytes_written; bytes_written 383 tools/android/forwarder2/socket.cc int bytes_written = 0; bytes_written 385 tools/android/forwarder2/socket.cc while (bytes_written < num_bytes && ret > 0) { bytes_written 386 tools/android/forwarder2/socket.cc ret = Write(static_cast<const char*>(buffer) + bytes_written, bytes_written 387 tools/android/forwarder2/socket.cc num_bytes - bytes_written); bytes_written 389 tools/android/forwarder2/socket.cc bytes_written += ret; bytes_written 391 tools/android/forwarder2/socket.cc return bytes_written; bytes_written 450 ui/events/keycodes/keyboard_code_conversion_x.cc int bytes_written = XLookupString(&xev->xkey, buf, 6, NULL, NULL); bytes_written 451 ui/events/keycodes/keyboard_code_conversion_x.cc DCHECK_LE(bytes_written, 6); bytes_written 454 ui/events/keycodes/keyboard_code_conversion_x.cc return (bytes_written > 0 && base::UTF8ToUTF16(buf, bytes_written, &result) && bytes_written 183 webkit/browser/fileapi/file_writer_delegate.cc void FileWriterDelegate::OnProgress(int bytes_written, bool done) { bytes_written 184 webkit/browser/fileapi/file_writer_delegate.cc DCHECK(bytes_written + bytes_written_backlog_ >= bytes_written_backlog_); bytes_written 190 webkit/browser/fileapi/file_writer_delegate.cc bytes_written += bytes_written_backlog_; bytes_written 195 webkit/browser/fileapi/file_writer_delegate.cc FlushForCompletion(base::File::FILE_OK, bytes_written, bytes_written 198 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(base::File::FILE_OK, bytes_written, bytes_written 203 webkit/browser/fileapi/file_writer_delegate.cc bytes_written_backlog_ += bytes_written; bytes_written 213 webkit/browser/fileapi/file_writer_delegate.cc int bytes_written, bytes_written 217 webkit/browser/fileapi/file_writer_delegate.cc error, bytes_written, progress_status)); bytes_written 219 webkit/browser/fileapi/file_writer_delegate.cc OnFlushed(error, bytes_written, progress_status, flush_error); bytes_written 223 webkit/browser/fileapi/file_writer_delegate.cc int bytes_written, bytes_written 232 webkit/browser/fileapi/file_writer_delegate.cc write_callback_.Run(error, bytes_written, progress_status); bytes_written 76 webkit/browser/fileapi/file_writer_delegate.h int bytes_written, bytes_written 79 webkit/browser/fileapi/file_writer_delegate.h int bytes_written, bytes_written 60 webkit/browser/fileapi/native_file_util.cc for (int bytes_written = 0; bytes_written < bytes_read; ) { bytes_written 62 webkit/browser/fileapi/native_file_util.cc &buffer[bytes_written], bytes_read - bytes_written); bytes_written 65 webkit/browser/fileapi/native_file_util.cc bytes_written += bytes_written_partial; bytes_written 475 win8/metro_driver/print_handler.cc ULONG bytes_written = 0; bytes_written 478 win8/metro_driver/print_handler.cc &bytes_written); bytes_written 480 win8/metro_driver/print_handler.cc DCHECK(bytes_written == data_size);