WriteFile         218 ash/desktop_background/desktop_background_controller_unittest.cc     size_t bytes_written = base::WriteFile(
WriteFile         318 base/file_util.h BASE_EXPORT int WriteFile(const FilePath& filename, const char* data,
WriteFile         707 base/file_util_unittest.cc             WriteFile(file_name, kData.data(), kData.length()));
WriteFile         746 base/file_util_unittest.cc             WriteFile(file_name, kData.data(), kData.length()));
WriteFile         760 base/file_util_unittest.cc   EXPECT_EQ(-1, WriteFile(file_name, kData.data(), kData.length()));
WriteFile         770 base/file_util_unittest.cc             WriteFile(file_name, kData.data(), kData.length()));
WriteFile         790 base/file_util_unittest.cc             WriteFile(file_name, kData.data(), kData.length()));
WriteFile        1955 base/file_util_unittest.cc             WriteFile(foobar, data.c_str(), data.length()));
WriteFile        1970 base/file_util_unittest.cc   ASSERT_EQ(4, WriteFile(file_path, kTestData, 4));
WriteFile        2022 base/file_util_unittest.cc   ASSERT_TRUE(WriteFile(foobar, data.c_str(), data.length()));
WriteFile        2056 base/file_util_unittest.cc   ASSERT_TRUE(WriteFile(foo, bar.c_str(), bar.length()));
WriteFile         609 base/file_util_win.cc   BOOL result = ::WriteFile(file, data, size, &written, NULL);
WriteFile         641 base/file_util_win.cc   BOOL result = ::WriteFile(file, data, size, &written, NULL);
WriteFile         175 base/files/file_path_watcher_browsertest.cc     int write_size = ::base::WriteFile(file, content.c_str(), content.length());
WriteFile         221 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         228 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         235 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "new content"));
WriteFile         243 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(source_file, "content"));
WriteFile         256 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         299 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         314 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         326 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         343 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         348 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content v2"));
WriteFile         381 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         385 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content v2"));
WriteFile         400 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         411 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         420 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         438 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file1, "content"));
WriteFile         444 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file1, "content v2"));
WriteFile         453 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file2, "content"));
WriteFile         474 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         499 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file1, "content"));
WriteFile         509 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(subdir_file1, "content"));
WriteFile         519 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(child_dir_file1, "content v2"));
WriteFile         523 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(child_dir_file1, "content"));
WriteFile         562 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(source_file, "content"));
WriteFile         583 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         616 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         631 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         639 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "new content"));
WriteFile         654 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         662 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file(), "content"));
WriteFile         686 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         694 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content v2"));
WriteFile         720 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         724 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content v2"));
WriteFile         748 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content"));
WriteFile         752 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(file, "content v2"));
WriteFile         816 base/files/file_path_watcher_browsertest.cc   ASSERT_TRUE(WriteFile(test_file, "content"));
WriteFile         117 base/files/file_proxy_unittest.cc   base::WriteFile(test_path(), NULL, 0);
WriteFile         196 base/files/file_proxy_unittest.cc   ASSERT_EQ(4, base::WriteFile(test_path(), "test", 4));
WriteFile         221 base/files/file_proxy_unittest.cc             base::WriteFile(test_path(), expected_data, expected_bytes));
WriteFile         292 base/files/file_proxy_unittest.cc   ASSERT_EQ(10, base::WriteFile(test_path(), kTestData, 10));
WriteFile         318 base/files/file_proxy_unittest.cc   ASSERT_EQ(10, base::WriteFile(test_path(), kTestData, 10));
WriteFile         135 base/files/file_util_proxy_unittest.cc   WriteFile(test_path(), NULL, 0);
WriteFile         201 base/files/file_util_proxy_unittest.cc   if (!::WriteFile(file_, "test", 4, &bytes_written, &overlapped)) {
WriteFile         226 base/files/file_util_proxy_unittest.cc   ASSERT_EQ(4, WriteFile(test_path(), "test", 4));
WriteFile         275 base/files/file_util_proxy_unittest.cc             WriteFile(test_path(), expected_data, expected_bytes));
WriteFile         357 base/files/file_util_proxy_unittest.cc   ASSERT_EQ(10, WriteFile(test_path(), kTestData, 10));
WriteFile         384 base/files/file_util_proxy_unittest.cc   ASSERT_EQ(10, WriteFile(test_path(), kTestData, 10));
WriteFile         192 base/files/file_win.cc   if (::WriteFile(file_, data, size, &bytes_written, &overlapped))
WriteFile         206 base/files/file_win.cc   if (::WriteFile(file_, data, size, &bytes_written, NULL))
WriteFile          39 base/json/json_file_value_serializer.cc   if (base::WriteFile(json_file_path_, json_string.data(), data_size) !=
WriteFile         121 base/json/json_value_serializer_unittest.cc             WriteFile(temp_file, kProperJSON, strlen(kProperJSON)));
WriteFile         145 base/json/json_value_serializer_unittest.cc             WriteFile(temp_file, kProperJSONWithCommas,
WriteFile         625 base/logging.cc       WriteFile(log_file,
WriteFile         565 base/message_loop/message_loop_unittest.cc   EXPECT_TRUE(WriteFile(server, buffer, sizeof(buffer), &written, NULL));
WriteFile         615 base/message_loop/message_loop_unittest.cc   EXPECT_TRUE(WriteFile(server1, buffer, sizeof(buffer), &written, NULL));
WriteFile         620 base/message_loop/message_loop_unittest.cc   EXPECT_TRUE(WriteFile(server2, buffer, sizeof(buffer), &written, NULL));
WriteFile         182 base/path_service_unittest.cc   ASSERT_EQ(1, base::WriteFile(fake_cache_dir1.AppendASCII("t1"), ".", 1));
WriteFile         187 base/path_service_unittest.cc   ASSERT_EQ(1, base::WriteFile(fake_cache_dir2.AppendASCII("t2"), ".", 1));
WriteFile         208 base/platform_file_win.cc   if (::WriteFile(file, data, size, &bytes_written, &overlapped) != 0)
WriteFile         180 base/process/memory_linux.cc     return (score_len == WriteFile(oom_file, score_str.c_str(), score_len));
WriteFile         195 base/process/memory_linux.cc     return (score_len == WriteFile(oom_file, score_str.c_str(), score_len));
WriteFile          98 base/process/process_linux.cc     return base::WriteFile(file, pid.c_str(), pid.size()) > 0;
WriteFile         228 base/sync_socket_win.cc     if (WriteFile(handle_, static_cast<const char*>(buffer) + count,
WriteFile         293 base/sync_socket_win.cc       &WriteFile, handle_, reinterpret_cast<const char*>(buffer),
WriteFile         180 base/test/test_file_util_win.cc     if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) ||
WriteFile          37 base/win/shortcut_unittest.cc       WriteFile(target_file, kFileContents, arraysize(kFileContents));
WriteFile          51 base/win/shortcut_unittest.cc       WriteFile(target_file_2, kFileContents2, arraysize(kFileContents2));
WriteFile          26 cc/test/pixel_test_utils.cc     return base::WriteFile(file_path, data, size) == size;
WriteFile         265 chrome/browser/browser_shutdown.cc     base::WriteFile(shutdown_ms_file, shutdown_ms.c_str(), len);
WriteFile          45 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc     ASSERT_EQ(0, base::WriteFile(db_path1, NULL, 0));
WriteFile          52 chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc     ASSERT_EQ(0, base::WriteFile(db_path2, NULL, 0));
WriteFile          63 chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc       base::WriteFile(file_path, NULL, 0);
WriteFile         564 chrome/browser/browsing_data/browsing_data_remover_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin1), NULL, 0);
WriteFile         565 chrome/browser/browsing_data/browsing_data_remover_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin2), NULL, 0);
WriteFile         566 chrome/browser/browsing_data/browsing_data_remover_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin3), NULL, 0);
WriteFile         567 chrome/browser/browsing_data/browsing_data_remover_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageExt), NULL, 0);
WriteFile          61 chrome/browser/chromeos/app_mode/kiosk_app_data.cc            base::WriteFile(icon_path,
WriteFile          55 chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc               base::WriteFile(
WriteFile         212 chrome/browser/chromeos/boot_times_loader.cc   base::WriteFile(log_path.Append(base_name), output.data(), output.size());
WriteFile         374 chrome/browser/chromeos/drive/file_system_util.cc   return base::WriteFile(file_path, content.data(), content.size()) ==
WriteFile          50 chrome/browser/chromeos/drive/file_write_watcher_unittest.cc   ASSERT_TRUE(base::WriteFile(path, kDummy, arraysize(kDummy)));
WriteFile          59 chrome/browser/chromeos/extensions/default_app_order_unittest.cc     base::WriteFile(external_file, content.c_str(), content.size());
WriteFile         113 chrome/browser/chromeos/extensions/external_cache_unittest.cc     EXPECT_EQ(base::WriteFile(file, NULL, 0), 0);
WriteFile          75 chrome/browser/chromeos/extensions/wallpaper_private_api.cc          (base::WriteFile(file_path, data.c_str(), data.size()) != -1);
WriteFile          93 chrome/browser/chromeos/external_metrics.cc   if (base::WriteFile(group_file_path, group_char.c_str(), size) == size) {
WriteFile          84 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc   base::WriteFile(zip_base_dir().Append(kFile1), "123", 3);
WriteFile          85 chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc   base::WriteFile(zip_base_dir().Append(kFile2),
WriteFile          47 chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc   int bytes = base::WriteFile(token_file, token.c_str(), token.length());
WriteFile          45 chrome/browser/chromeos/login/managed/managed_user_creation_controller_old.cc   int bytes = base::WriteFile(token_file, token.c_str(), token.length());
WriteFile         100 chrome/browser/chromeos/login/parallel_authenticator_unittest.cc     EXPECT_EQ(base::WriteFile(out, data, data_len), data_len);
WriteFile          26 chrome/browser/chromeos/login/resource_loader_browsertest.cc   EXPECT_TRUE(base::WriteFile(path, content.c_str(), content.size()));
WriteFile         202 chrome/browser/chromeos/login/user_image_manager_browsertest.cc     int written = base::WriteFile(
WriteFile         602 chrome/browser/chromeos/login/user_image_manager_browsertest.cc     ASSERT_EQ(base::WriteFile(
WriteFile         174 chrome/browser/chromeos/login/user_image_manager_impl.cc       base::WriteFile(image_path,
WriteFile        1384 chrome/browser/chromeos/login/wallpaper_manager.cc   int written_bytes = base::WriteFile(path, data, size);
WriteFile         135 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc     int written = base::WriteFile(
WriteFile         160 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc     EXPECT_EQ(base::WriteFile(
WriteFile          53 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc             base::WriteFile(install_attrs_file,
WriteFile          65 chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc   ASSERT_EQ(base::WriteFile(
WriteFile         237 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc             base::WriteFile(GetTempPath(), blob.c_str(), blob.size()));
WriteFile         251 chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc             base::WriteFile(GetTempPath(), blob.c_str(), blob.size()));
WriteFile         213 chrome/browser/chromeos/policy/power_policy_browsertest.cc   ASSERT_EQ(base::WriteFile(
WriteFile         130 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc         base::WriteFile(user_policy_key_file(),
WriteFile         403 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc   ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size()));
WriteFile         408 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc   ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size()));
WriteFile         435 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc   ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size()));
WriteFile         460 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc   ASSERT_NE(-1, base::WriteFile(token_file(), data.c_str(), data.size()));
WriteFile         485 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc   ASSERT_NE(-1, base::WriteFile(policy_file(), data.c_str(), data.size()));
WriteFile         134 chrome/browser/chromeos/policy/user_policy_disk_cache.cc   if (base::WriteFile(backing_file_path_, data.c_str(), size) != size) {
WriteFile         249 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc   ASSERT_EQ(1, base::WriteFile(consent_file, "0", 1));
WriteFile          74 chrome/browser/chromeos/settings/owner_key_util_unittest.cc             base::WriteFile(
WriteFile          94 chrome/browser/chromeos/settings/owner_key_util_unittest.cc   ASSERT_EQ(0, base::WriteFile(key_file_, "", 0));
WriteFile         215 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc             base::WriteFile(path, uptime_seconds.c_str(),
WriteFile         349 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc   ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0));
WriteFile         352 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc   ASSERT_FALSE(base::WriteFile(update_reboot_needed_uptime_file_, NULL, 0));
WriteFile         245 chrome/browser/component_updater/component_unpacker.cc       base::WriteFile(
WriteFile         333 chrome/browser/component_updater/widevine_cdm_component_installer.cc     int bytes_written = base::WriteFile(
WriteFile         125 chrome/browser/devtools/devtools_file_helper.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile          78 chrome/browser/diagnostics/diagnostics_controller_unittest.cc     base::WriteFile(path, bogus_data, arraysize(bogus_data));
WriteFile         389 chrome/browser/download/chrome_download_manager_delegate_unittest.cc   base::WriteFile(existing_path, kData, kDataLength);
WriteFile        2897 chrome/browser/download/download_browsertest.cc               base::WriteFile(file_path, crazy8.c_str(), crazy8.size()));
WriteFile         284 chrome/browser/download/download_path_reservation_tracker_unittest.cc   ASSERT_EQ(0, base::WriteFile(path, "", 0));
WriteFile         286 chrome/browser/download/download_path_reservation_tracker_unittest.cc             base::WriteFile(
WriteFile         650 chrome/browser/download/download_path_reservation_tracker_unittest.cc   ASSERT_EQ(0, base::WriteFile(path0, "", 0));
WriteFile         651 chrome/browser/download/download_path_reservation_tracker_unittest.cc   ASSERT_EQ(0, base::WriteFile(path1, "", 0));
WriteFile         238 chrome/browser/extensions/activity_log/uma_policy_browsertest.cc   dir2.WriteFile(FILE_PATH_LITERAL("content_script.js"), script2);
WriteFile         167 chrome/browser/extensions/api/declarative/declarative_apitest.cc   ext_dir.WriteFile(FILE_PATH_LITERAL("background.js"),
WriteFile         199 chrome/browser/extensions/api/declarative/declarative_apitest.cc   ext_dir.WriteFile(
WriteFile         234 chrome/browser/extensions/api/declarative/declarative_apitest.cc   ext_dir.WriteFile(FILE_PATH_LITERAL("background.js"),
WriteFile          71 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ext_dir_.WriteFile(
WriteFile         154 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers);
WriteFile         205 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers);
WriteFile         258 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers);
WriteFile         286 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ext_dir_.WriteFile(
WriteFile         712 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc         base::WriteFile(temp_file, data, length) != length) {
WriteFile        1056 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc   EXPECT_EQ(0, base::WriteFile(real_path, "", 0));
WriteFile          35 chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc   if (base::WriteFile(image_path_, buffer.get(), kPartitionTableSize) !=
WriteFile         170 chrome/browser/extensions/api/image_writer_private/test_utils.cc   return base::WriteFile(file, buffer.get(), length) == length;
WriteFile         364 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc     ASSERT_NE(-1, base::WriteFile(album_xml,
WriteFile         576 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc             base::WriteFile(scan_root.path().AppendASCII("a/b/c.jpg"),
WriteFile         581 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc             base::WriteFile(scan_root.path().AppendASCII("a/d/e.txt"),
WriteFile         585 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc             base::WriteFile(scan_root.path().AppendASCII("f/g.jpg"),
WriteFile         110 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc     int write_size = base::WriteFile(gallery_file, content.c_str(),
WriteFile         157 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc     int bytes_written = base::WriteFile(
WriteFile          49 chrome/browser/extensions/api/messaging/native_messaging_host_manifest_unittest.cc     return base::WriteFile(
WriteFile          65 chrome/browser/extensions/api/serial/serial_io_handler_win.cc   BOOL ok = ::WriteFile(file(),
WriteFile          54 chrome/browser/extensions/app_background_page_apitest.cc     int bytes_written = base::WriteFile(manifest_path,
WriteFile          33 chrome/browser/extensions/browsertest_util_browsertest.cc   ext_dir.WriteFile(FILE_PATH_LITERAL("background.js"), "");
WriteFile         152 chrome/browser/extensions/convert_web_app.cc     if (base::WriteFile(icon_file, image_data_ptr, size) != size) {
WriteFile         183 chrome/browser/extensions/extension_creator.cc     if (-1 == base::WriteFile(output_private_key_path,
WriteFile          50 chrome/browser/extensions/extension_loading_browsertest.cc   extension_dir.WriteFile(FILE_PATH_LITERAL("event.js"), "");
WriteFile          51 chrome/browser/extensions/extension_loading_browsertest.cc   extension_dir.WriteFile(FILE_PATH_LITERAL("newtab.html"),
WriteFile         358 chrome/browser/extensions/extension_messages_apitest.cc     dir->WriteFile(FILE_PATH_LITERAL("background.js"),
WriteFile         901 chrome/browser/extensions/extension_messages_apitest.cc   receiver_dir.WriteFile(FILE_PATH_LITERAL("background.js"),
WriteFile         911 chrome/browser/extensions/extension_messages_apitest.cc   sender_dir.WriteFile(FILE_PATH_LITERAL("background.js"), "");
WriteFile        2151 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(base::WriteFile(
WriteFile        4371 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(0, base::WriteFile(lso_file_path, NULL, 0));
WriteFile        4487 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(0, base::WriteFile(lso_file_path, NULL, 0));
WriteFile         135 chrome/browser/extensions/sandboxed_unpacker.cc   if (base::WriteFile(temp_file, ".", 1) != 1)
WriteFile         632 chrome/browser/extensions/sandboxed_unpacker.cc   if (base::WriteFile(manifest_path, manifest_json.data(), size) != size) {
WriteFile         745 chrome/browser/extensions/sandboxed_unpacker.cc     if (base::WriteFile(path, image_data_ptr, size) != size) {
WriteFile         814 chrome/browser/extensions/sandboxed_unpacker.cc     if (base::WriteFile(path, catalog_json.c_str(), size) != size) {
WriteFile          28 chrome/browser/extensions/test_extension_dir.cc   WriteFile(FILE_PATH_LITERAL("manifest.json"), manifest);
WriteFile          35 chrome/browser/extensions/test_extension_dir.cc       base::WriteFile(
WriteFile          28 chrome/browser/extensions/test_extension_dir.h   void WriteFile(const base::FilePath::StringType& filename,
WriteFile          82 chrome/browser/extensions/updater/local_extension_cache_unittest.cc     EXPECT_EQ(base::WriteFile(file, data.data(), data.size()), int(size));
WriteFile         235 chrome/browser/extensions/user_script_master_unittest.cc   size_t written = base::WriteFile(path, content.c_str(), content.size());
WriteFile         258 chrome/browser/extensions/user_script_master_unittest.cc   size_t written = base::WriteFile(path, content.c_str(), content.size());
WriteFile         261 chrome/browser/feedback/feedback_util.cc   if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) ==
WriteFile         557 chrome/browser/first_run/first_run.cc       base::WriteFile(first_run_sentinel, "", 0) != -1;
WriteFile          92 chrome/browser/first_run/first_run_browsertest.cc     EXPECT_TRUE(base::WriteFile(prefs_file_, text_->c_str(), text_->size()));
WriteFile         111 chrome/browser/first_run/first_run_internal_win.cc           base::WriteFile(*eula_path, terms.data(), terms.size()) != -1);
WriteFile         122 chrome/browser/first_run/first_run_internal_win.cc           base::WriteFile(eula_sentinel, "", 0) != -1);
WriteFile          55 chrome/browser/google/google_update_settings_posix.cc       return base::WriteFile(consent_file, c_str, size) == size;
WriteFile        2834 chrome/browser/history/history_backend_unittest.cc   ASSERT_TRUE(base::WriteFile(db1, data, data_len));
WriteFile        2835 chrome/browser/history/history_backend_unittest.cc   ASSERT_TRUE(base::WriteFile(db1_journal, data, data_len));
WriteFile        2836 chrome/browser/history/history_backend_unittest.cc   ASSERT_TRUE(base::WriteFile(db1_wal, data, data_len));
WriteFile        2837 chrome/browser/history/history_backend_unittest.cc   ASSERT_TRUE(base::WriteFile(db2_actual, data, data_len));
WriteFile         140 chrome/browser/history/redirect_browsertest.cc             base::WriteFile(temp_file,
WriteFile         902 chrome/browser/history/url_index_private_data.cc   if (base::WriteFile(file_path, data.c_str(), size) != size) {
WriteFile         206 chrome/browser/importer/ie_importer_browsertest_win.cc   return favicon_url.empty() || (base::WriteFile(
WriteFile         501 chrome/browser/importer/ie_importer_browsertest_win.cc   base::WriteFile(path.AppendASCII("InvalidUrlFile.url"), "x", 1);
WriteFile         502 chrome/browser/importer/ie_importer_browsertest_win.cc   base::WriteFile(path.AppendASCII("PlainTextFile.txt"), "x", 1);
WriteFile          78 chrome/browser/local_discovery/pwg_raster_converter.cc       base::WriteFile(GetPdfPath(), data->front_as<char>(), data->size())) {
WriteFile         320 chrome/browser/media/webrtc_log_uploader.cc   base::WriteFile(log_file_path,
WriteFile         361 chrome/browser/media/webrtc_log_uploader.cc       base::WriteFile(upload_list_path, &contents[0], contents.size());
WriteFile         400 chrome/browser/media/webrtc_log_uploader.cc       base::WriteFile(upload_list_path, &contents[0], contents.size());
WriteFile          98 chrome/browser/media/webrtc_log_util.cc     int written = base::WriteFile(log_list_path, &log_list[0], log_list.size());
WriteFile          34 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc   ASSERT_EQ(1, base::WriteFile(file, " ", 1));
WriteFile          66 chrome/browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc               base::WriteFile(pref_dir.AppendASCII("iTunesPrefs.xml"),
WriteFile         144 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc               base::WriteFile(XmlFile(), xml.c_str(), xml.size()));
WriteFile         454 chrome/browser/media_galleries/fileapi/iphoto_data_provider_browsertest.cc     EXPECT_EQ(1L, base::WriteFile(XmlFile(), " ", 1));
WriteFile         172 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc         base::WriteFile(
WriteFile         178 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc         base::WriteFile(
WriteFile         203 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc               base::WriteFile(XmlFile(), xml.c_str(), xml.size()));
WriteFile         353 chrome/browser/media_galleries/fileapi/itunes_data_provider_browsertest.cc     ASSERT_EQ(1L, base::WriteFile(XmlFile(), " ", 1));
WriteFile         146 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc         base::WriteFile(
WriteFile         294 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc   ASSERT_EQ(0, base::WriteFile(
WriteFile         316 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc             base::WriteFile(nested_dir.AppendASCII("baz.ogg"), NULL, 0));
WriteFile         126 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc               base::WriteFile(test_file, content.data(), test_file_size_));
WriteFile         105 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc       ASSERT_EQ(len, base::WriteFile(path, test_cases[i].content, len));
WriteFile         334 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc     ASSERT_TRUE(base::WriteFile(src_path, kDummyData, strlen(kDummyData)));
WriteFile         445 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc           base::WriteFile(src_path, kDummyData, strlen(kDummyData)));
WriteFile          53 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc   return base::WriteFile(path, kJpegHeader, arraysize(kJpegHeader)) != -1;
WriteFile          88 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc       if (base::WriteFile(path, NULL, 0) == -1)
WriteFile         133 chrome/browser/media_galleries/media_folder_finder_unittest.cc           base::WriteFile(test_file, dummy_data.c_str(), filesize);
WriteFile          53 chrome/browser/nacl_host/test/mock_nacl_gdb.cc       base::WriteFile(base::FilePath::FromUTF8Unsafe(nacl_gdb_script),
WriteFile          61 chrome/browser/nacl_host/test/mock_nacl_gdb.cc   base::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file),
WriteFile         174 chrome/browser/net/crl_set_fetcher.cc     if (base::WriteFile(save_to, crl_set_bytes.data(), size) != size) {
WriteFile         190 chrome/browser/net/crl_set_fetcher.cc     if (base::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) {
WriteFile          28 chrome/browser/parsers/metadata_parser_filebase_unittest.cc     int write_size = base::WriteFile(test_file_, content.c_str(),
WriteFile         249 chrome/browser/policy/cloud/cloud_policy_browsertest.cc     int result = base::WriteFile(policy_file_path(), policy.data(),
WriteFile          99 chrome/browser/policy/test/local_policy_test_server.cc   int bytes_written = base::WriteFile(
WriteFile         110 chrome/browser/policy/test/local_policy_test_server.cc   bytes_written = base::WriteFile(
WriteFile         148 chrome/browser/policy/test/local_policy_test_server.cc   return base::WriteFile(policy_file, policy.c_str(), policy.size()) ==
WriteFile         161 chrome/browser/policy/test/local_policy_test_server.cc   return base::WriteFile(data_file, data.c_str(), data.size()) ==
WriteFile         252 chrome/browser/policy/test/local_policy_test_server.cc       if (base::WriteFile(client_state_file, json.c_str(), json.size()) !=
WriteFile         205 chrome/browser/prefs/profile_pref_store_manager_unittest.cc                 base::WriteFile(path, contents.c_str(), contents.length()));
WriteFile         123 chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc       base::WriteFile(memento_file_path, value.c_str(), value.size());
WriteFile          36 chrome/browser/profiles/profile_browsertest.cc   ASSERT_TRUE(base::WriteFile(pref_path, data.c_str(), data.size()));
WriteFile         224 chrome/browser/profiles/profile_impl.cc   if (base::WriteFile(readme_path, readme_text.data(), readme_text.size()) ==
WriteFile         170 chrome/browser/profiles/profile_info_cache.cc   if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]),
WriteFile         153 chrome/browser/safe_browsing/download_feedback_service_unittest.cc     int wrote = base::WriteFile(
WriteFile         122 chrome/browser/safe_browsing/download_feedback_unittest.cc               base::WriteFile(upload_file_path_, upload_file_data_.data(),
WriteFile         782 chrome/browser/safe_browsing/download_protection_service_unittest.cc   ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile(
WriteFile         797 chrome/browser/safe_browsing/download_protection_service_unittest.cc   ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile(
WriteFile         862 chrome/browser/safe_browsing/download_protection_service_unittest.cc   ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile(
WriteFile          72 chrome/browser/safe_browsing/prefix_set.h   bool WriteFile(const base::FilePath& filter_name) const;
WriteFile          99 chrome/browser/safe_browsing/prefix_set_unittest.cc     if (!builder.GetPrefixSet()->WriteFile(filename))
WriteFile         351 chrome/browser/safe_browsing/prefix_set_unittest.cc     ASSERT_TRUE(builder.GetPrefixSet()->WriteFile(filename));
WriteFile         363 chrome/browser/safe_browsing/prefix_set_unittest.cc     ASSERT_TRUE(builder.GetPrefixSet()->WriteFile(filename));
WriteFile        1440 chrome/browser/safe_browsing/safe_browsing_database.cc   const bool write_ok = side_effect_free_whitelist_prefix_set_->WriteFile(
WriteFile        1596 chrome/browser/safe_browsing/safe_browsing_database.cc   const bool write_ok = browse_prefix_set_->WriteFile(
WriteFile         106 chrome/browser/shell_integration_linux.cc     int bytes_written = base::WriteFile(temp_file_path,
WriteFile         199 chrome/browser/shell_integration_linux.cc     int bytes_written = base::WriteFile(temp_directory_path,
WriteFile         209 chrome/browser/shell_integration_linux.cc   int bytes_written = base::WriteFile(temp_file_path, contents.data(),
WriteFile         189 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_FALSE(base::WriteFile(
WriteFile         212 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_FALSE(base::WriteFile(
WriteFile         235 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         261 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_FALSE(base::WriteFile(
WriteFile         266 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_FALSE(base::WriteFile(
WriteFile         297 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         302 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         322 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         342 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         364 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         370 chrome/browser/shell_integration_linux_unittest.cc     ASSERT_TRUE(base::WriteFile(
WriteFile         402 chrome/browser/shell_integration_linux_unittest.cc             base::WriteFile(
WriteFile         405 chrome/browser/shell_integration_linux_unittest.cc             base::WriteFile(
WriteFile         409 chrome/browser/shell_integration_linux_unittest.cc             base::WriteFile(
WriteFile         228 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile         241 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile         259 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile         276 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile         289 chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc   base::WriteFile(path, content.c_str(), content.length());
WriteFile          42 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc       base::WriteFile(path, data->data(), data->length());
WriteFile          51 chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc         base::WriteFile(fallback_file_path, data->data(), data->length());
WriteFile          53 chrome/browser/spellchecker/spellcheck_service_browsertest.cc   size_t actual = base::WriteFile(bdict_path,
WriteFile         709 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc   ASSERT_NE(-1, base::WriteFile(sync_file, nonsense, strlen(nonsense)));
WriteFile         347 chrome/browser/sync_file_system/drive_backend/fake_drive_service_helper.cc             base::WriteFile(temp_file, content.data(), content.size()));
WriteFile         804 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc             base::WriteFile(kFilePath1, kTestFileData1,
WriteFile         807 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc             base::WriteFile(kFilePath2, kTestFileData2,
WriteFile         935 chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc             base::WriteFile(kFilePath, kTestFileData,
WriteFile         221 chrome/browser/sync_file_system/local/local_file_sync_service_unittest.cc             base::WriteFile(local_path, kTestFileData, kTestFileDataSize));
WriteFile         358 chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc             base::WriteFile(
WriteFile         167 chrome/browser/task_profiler/task_profiler_data_serializer.cc   return data_size == base::WriteFile(path, output.data(), data_size);
WriteFile          75 chrome/browser/ui/app_list/search/history_data_store_unittest.cc     base::WriteFile(
WriteFile         195 chrome/browser/ui/ash/screenshot_taker.cc   if (static_cast<size_t>(base::WriteFile(
WriteFile          28 chrome/browser/ui/certificate_dialogs.cc   int bytes_written = base::WriteFile(path, data.data(), data.size());
WriteFile         147 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc       base::WriteFile(new_file_path,
WriteFile         111 chrome/browser/ui/metro_pin_tab_helper_win.cc   return base::WriteFile(*logo_path,
WriteFile         131 chrome/browser/ui/network_profile_bubble.cc           (base::WriteFile(temp_file, ".", 1) == 1)) {
WriteFile         190 chrome/browser/ui/pdf/pdf_browsertest.cc         base::WriteFile(snapshot_filename_,
WriteFile         243 chrome/browser/ui/startup/startup_browser_creator.cc   base::WriteFile(output_file, output_string.data(),
WriteFile         295 chrome/browser/ui/webui/options/certificate_manager_handler.cc   *bytes_written = base::WriteFile(path, data.data(), data.size());
WriteFile          66 chrome/browser/web_applications/web_app_win.cc   return base::WriteFile(cheksum_file,
WriteFile          50 chrome/common/auto_start_linux.cc   if (base::WriteFile(autostart_file, autostart_file_contents.c_str(),
WriteFile          49 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc       if (base::WriteFile(schema_path, schema.data(), schema.size()) !=
WriteFile         134 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("some_file.txt"),
WriteFile         263 chrome/common/extensions/extension_file_util_unittest.cc   base::WriteFile(non_ascii_path, "", 0);
WriteFile         352 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("a_key.pem"),
WriteFile         354 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("second_key.pem"),
WriteFile         357 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("key.diff_ext"),
WriteFile         360 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(src_path.AppendASCII("unparsable_key.pem"),
WriteFile         385 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(ext_path.AppendASCII("manifest.json"),
WriteFile         387 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(ext_path.AppendASCII("a_key.pem"),
WriteFile          42 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length()));
WriteFile          97 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::WriteFile(
WriteFile         190 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::WriteFile(messages_file, data.c_str(), data.length()));
WriteFile         222 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::WriteFile(locale_1.Append(kMessagesFilename),
WriteFile         228 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::WriteFile(locale_2.Append(kMessagesFilename),
WriteFile         110 chrome/common/importer/firefox_importer_utils_unittest.cc     base::WriteFile(app_ini_file,
WriteFile          45 chrome/common/mac/mock_launchd.cc   if (base::WriteFile(*executable, data, len) != len) {
WriteFile          80 chrome/common/mac/mock_launchd.cc   if (base::WriteFile(info_plist, info_plist_data.c_str(), len) != len) {
WriteFile         102 chrome/common/media_galleries/picasa_test_util.cc       base::WriteFile(test_folder_1_path.AppendASCII(kPicasaINIFilename),
WriteFile         110 chrome/common/media_galleries/picasa_test_util.cc       base::WriteFile(test_folder_2_path.AppendASCII(kPicasaINIFilename),
WriteFile          64 chrome/common/media_galleries/pmp_test_util.cc   return base::WriteFile(indicator_path, NULL, 0) == 0;
WriteFile          81 chrome/common/media_galleries/pmp_test_util.cc   size_t bytes_written = base::WriteFile(path, &data[0], data.size());
WriteFile         228 chrome/common/net/url_fixer_upper_unittest.cc   return base::WriteFile(*full_path, "", 0) == 0;
WriteFile         101 chrome/installer/mini_installer/decompress.cc   if (!::WriteFile(reinterpret_cast<HANDLE>(hf), pv, cb, &written, NULL))
WriteFile          42 chrome/installer/mini_installer/pe_resource.cc   if (!::WriteFile(out_file, data, static_cast<DWORD>(resource_size),
WriteFile         352 chrome/installer/setup/install.cc     if (base::WriteFile(
WriteFile          79 chrome/installer/setup/install_unittest.cc     EXPECT_EQ(0, base::WriteFile(chrome_exe_, "", 0));
WriteFile         864 chrome/installer/setup/setup_main.cc           base::WriteFile(eula_sentinel, "", 0) != -1);
WriteFile         140 chrome/installer/setup/setup_util_unittest.cc   base::WriteFile(test_file, "foo", 3);
WriteFile         310 chrome/installer/setup/setup_util_unittest.cc     ASSERT_EQ(1, base::WriteFile(GetProductVersionArchivePath(), "a", 1));
WriteFile         313 chrome/installer/setup/setup_util_unittest.cc     ASSERT_EQ(1, base::WriteFile(GetMaxVersionArchivePath(), "b", 1));
WriteFile         547 chrome/installer/test/alternate_version_generator.cc         base::WriteFile(setup_ex_,
WriteFile         559 chrome/installer/test/alternate_version_generator.cc         base::WriteFile(chrome_packed_7z,
WriteFile         420 chrome/installer/util/install_util_unittest.cc   ASSERT_NE(-1, base::WriteFile(expect, data, arraysize(data) - 1));
WriteFile          57 chrome/installer/util/logging_installer.cc             (bytes_read == base::WriteFile(log_file, &old_log_data[0],
WriteFile          23 chrome/installer/util/logging_installer_unittest.cc             base::WriteFile(temp_file, &test_data[0], test_data.size()));
WriteFile          48 chrome/installer/util/logging_installer_unittest.cc             base::WriteFile(temp_file, &test_data[0], test_data.size()));
WriteFile          70 chrome/installer/util/logging_installer_unittest.cc             base::WriteFile(temp_file, &test_data[0], test_data.size()));
WriteFile          98 chrome/installer/util/logging_installer_unittest.cc             base::WriteFile(temp_file, &test_data[0], test_data.size()));
WriteFile         205 chrome/installer/util/lzma_util.cc     if ((!WriteFile(hFile, outBuffer + offset, (DWORD) outSizeProcessed,
WriteFile          79 chrome/installer/util/master_preferences_unittest.cc   EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text)));
WriteFile         138 chrome/installer/util/master_preferences_unittest.cc   EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text)));
WriteFile         197 chrome/installer/util/master_preferences_unittest.cc   EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text)));
WriteFile         255 chrome/installer/util/master_preferences_unittest.cc   EXPECT_TRUE(base::WriteFile(prefs_file, text, strlen(text)));
WriteFile         164 chrome/installer/util/self_cleaning_temp_dir_unittest.cc               base::WriteFile(parent_temp_dir.Append(GetRandomFilename()),
WriteFile          48 chrome/installer/util/shell_util_unittest.cc     EXPECT_EQ(0, base::WriteFile(chrome_exe_, "", 0));
WriteFile          51 chrome/installer/util/shell_util_unittest.cc     EXPECT_EQ(0, base::WriteFile(manganese_exe_, "", 0));
WriteFile          54 chrome/installer/util/shell_util_unittest.cc     EXPECT_EQ(0, base::WriteFile(iron_exe_, "", 0));
WriteFile          57 chrome/installer/util/shell_util_unittest.cc     EXPECT_EQ(0, base::WriteFile(other_ico_, "", 0));
WriteFile         776 chrome/installer/util/shell_util_unittest.cc   EXPECT_EQ(0, base::WriteFile(other_chrome_exe, "", 0));
WriteFile         276 chrome/renderer/mock_printer.cc   base::WriteFile(filepath, reinterpret_cast<const char*>(source_data),
WriteFile          63 chrome/service/cloud_print/connector_settings_unittest.cc       base::WriteFile(file_name, content.c_str(), content.size());
WriteFile         390 chrome/service/cloud_print/printer_job_handler.cc     int ret = base::WriteFile(job_details_.print_data_file_path_,
WriteFile         537 chrome/test/base/ui_test_utils.cc       int written = base::WriteFile(
WriteFile          69 chrome/test/chromedriver/chrome_launcher.cc   if (base::WriteFile(extension_zip, decoded_extension.c_str(), size)
WriteFile         515 chrome/test/chromedriver/chrome_launcher.cc   if (base::WriteFile(extension_crx, decoded_extension.c_str(), size) !=
WriteFile         555 chrome/test/chromedriver/chrome_launcher.cc     if (base::WriteFile(
WriteFile         653 chrome/test/chromedriver/chrome_launcher.cc   if (static_cast<int>(prefs_str.length()) != base::WriteFile(
WriteFile         684 chrome/test/chromedriver/chrome_launcher.cc   if (base::WriteFile(
WriteFile          93 chrome/test/chromedriver/util.cc   if (base::WriteFile(archive, bytes.c_str(), length) != length)
WriteFile          84 chrome/tools/convert_dict/convert_dict_unittest.cc   base::WriteFile(aff_file, aff_data.c_str(), aff_data.length());
WriteFile          88 chrome/tools/convert_dict/convert_dict_unittest.cc   base::WriteFile(dic_file, dic_data.c_str(), dic_data.length());
WriteFile         103 chrome/tools/profile_reset/jtl_compiler_frontend.cc       base::WriteFile(cmd_line->GetSwitchValuePath(kOutputPath),
WriteFile          47 chrome/tools/safe_browsing/sb_sigutil.cc   int bytes_written = base::WriteFile(
WriteFile          91 chrome/utility/extensions/unpacker.cc   int bytes_written = base::WriteFile(dest_path, data, size);
WriteFile         139 chrome/utility/extensions/unpacker_unittest.cc   ASSERT_TRUE(base::WriteFile(path, "foo", 3));
WriteFile          41 chrome/utility/image_writer/image_writer_unittest.cc     ASSERT_TRUE(base::WriteFile(path, buffer.get(), kTestFileSize));
WriteFile          33 chrome/utility/media_galleries/pmp_column_reader_unittest.cc   size_t bytes_written = base::WriteFile(temp_path, &data[0], data.size());
WriteFile         246 chrome_elf/create_file/chrome_create_file_unittest.cc     ::WriteFile(file_handle, kTestData, buffer_size, &bytes_written, NULL);
WriteFile         126 chromeos/accelerometer/accelerometer_reader.cc   int bytes_written = base::WriteFile(
WriteFile         488 chromeos/dbus/cros_disks_client.cc     const int write_result = base::WriteFile(
WriteFile         608 chromeos/dbus/session_manager_client.cc         base::WriteFile(path, data.data(), size) != size) {
WriteFile         238 cloud_print/gcp20/prototype/print_job_handler.cc   int written = base::WriteFile(directory.AppendASCII("ticket.xml"),
WriteFile         246 cloud_print/gcp20/prototype/print_job_handler.cc   written = base::WriteFile(
WriteFile          78 cloud_print/gcp20/prototype/printer_state.cc   return (base::WriteFile(path, json_str.data(), size) == size);
WriteFile         292 cloud_print/service/win/chrome_launcher.cc   size_t written = base::WriteFile(printers_file,
WriteFile         354 cloud_print/service/win/cloud_print_service.cc       size_t  written = base::WriteFile(file, new_contents.c_str(),
WriteFile         392 cloud_print/service/win/cloud_print_service_config.cc   size_t written = base::WriteFile(file, contents.c_str(),
WriteFile          27 components/autofill/core/browser/data_driven_test.cc   int write_size = base::WriteFile(file, content.c_str(),
WriteFile          64 components/autofill/core/browser/data_driven_test.cc       ASSERT_TRUE(WriteFile(output_file, output));
WriteFile         178 components/keyed_service/content/browser_context_dependency_manager.cc     base::WriteFile(dot_file, contents.c_str(), contents.size());
WriteFile          91 components/nacl/browser/nacl_browser.cc   base::WriteFile(filename, static_cast<const char*>(pickle->data()),
WriteFile          88 components/policy/core/common/cloud/resource_cache.cc          (base::WriteFile(subkey_path, data.data(), size) == size);
WriteFile         110 components/policy/core/common/cloud/user_cloud_policy_store.cc   if (base::WriteFile(path, data.c_str(), size) != size) {
WriteFile          44 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc   if (base::WriteFile(path, data.c_str(), size) != size) {
WriteFile         168 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc   ASSERT_EQ(size, base::WriteFile(policy_file(),
WriteFile         200 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc   ASSERT_EQ(size, base::WriteFile(policy_file(),
WriteFile         224 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc   ASSERT_EQ(size, base::WriteFile(policy_file(), data.c_str(), size));
WriteFile         148 components/policy/core/common/config_dir_policy_loader_unittest.cc             base::WriteFile(file_path, data.c_str(), data.size()));
WriteFile         471 components/policy/core/common/policy_loader_win_unittest.cc   ASSERT_TRUE(base::WriteFile(preg_file_path_,
WriteFile         236 content/browser/accessibility/dump_accessibility_tree_browsertest.cc     EXPECT_TRUE(base::WriteFile(
WriteFile        1686 content/browser/appcache/appcache_storage_impl_unittest.cc                 base::WriteFile(
WriteFile         349 content/browser/dom_storage/dom_storage_database_unittest.cc   base::WriteFile(file_name, kData, strlen(kData));
WriteFile          21 content/browser/download/base_file_posix.cc     int write_error = base::WriteFile(new_path, "", 0);
WriteFile         417 content/browser/download/download_file_unittest.cc             base::WriteFile(path_5, file_data, sizeof(file_data) - 1));
WriteFile         445 content/browser/download/download_file_unittest.cc             base::WriteFile(path_1, file_data, sizeof(file_data)));
WriteFile         151 content/browser/fileapi/blob_url_request_job_unittest.cc               base::WriteFile(temp_file1_, kTestFileData1,
WriteFile         159 content/browser/fileapi/blob_url_request_job_unittest.cc               base::WriteFile(temp_file2_, kTestFileData2,
WriteFile         339 content/browser/fileapi/blob_url_request_job_unittest.cc             base::WriteFile(large_temp_file, large_data.data(),
WriteFile         723 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc   base::WriteFile(source_path, kTestData,
WriteFile         778 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc   base::WriteFile(source_path, kTestData,
WriteFile         830 content/browser/fileapi/copy_or_move_operation_delegate_unittest.cc   base::WriteFile(source_path, kTestData,
WriteFile         379 content/browser/fileapi/file_system_dir_url_request_job_unittest.cc             base::WriteFile(mnt_point.AppendASCII("bar"), "1234567890", 10));
WriteFile          83 content/browser/fileapi/file_system_file_stream_reader_unittest.cc     WriteFile(kTestFileName, kTestData, kTestDataSize,
WriteFile         157 content/browser/fileapi/file_system_file_stream_reader_unittest.cc   WriteFile(kFileName, NULL, 0, NULL);
WriteFile         720 content/browser/fileapi/file_system_operation_impl_unittest.cc   base::WriteFile(src_local_disk_file_path, test_data, data_size);
WriteFile         752 content/browser/fileapi/file_system_operation_impl_unittest.cc   base::WriteFile(src_local_disk_file_path, test_data,
WriteFile        1040 content/browser/fileapi/file_system_operation_impl_unittest.cc             base::WriteFile(platform_path, test_data, data_size));
WriteFile         136 content/browser/fileapi/file_system_url_request_job_unittest.cc               base::WriteFile(mnt_point.AppendASCII("foo"), kTestFileData,
WriteFile         251 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1);
WriteFile         268 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("bigfile", buffer.get(), buffer_size);
WriteFile         292 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("bigfile", buffer.get(), buffer_size);
WriteFile         311 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1);
WriteFile         322 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1);
WriteFile         370 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1);
WriteFile         398 content/browser/fileapi/file_system_url_request_job_unittest.cc   WriteFile("file", kTestFileData, arraysize(kTestFileData) - 1);
WriteFile         767 content/browser/fileapi/obfuscated_file_util_unittest.cc                 base::WriteFile(old_directory_db_path.AppendASCII("dummy"),
WriteFile         138 content/browser/indexed_db/indexed_db_quota_client_unittest.cc     ASSERT_EQ(size, base::WriteFile(path, junk.c_str(), size));
WriteFile          40 content/browser/safe_util_win.cc   BOOL result = WriteFile(file, kIdentifier, kIdentifierSize, &written, NULL);
WriteFile         182 content/browser/storage_partition_impl_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin1), NULL, 0);
WriteFile         183 content/browser/storage_partition_impl_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin2), NULL, 0);
WriteFile         184 content/browser/storage_partition_impl_unittest.cc     base::WriteFile(storage_path.Append(kDomStorageOrigin3), NULL, 0);
WriteFile          28 content/child/npapi/plugin_stream_win.cc   if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0))
WriteFile         153 content/common/gpu/media/vaapi_h264_decoder_unittest.cc     if (base::WriteFile(output_file, NULL, 0) != 0) {
WriteFile        1371 content/common/gpu/media/video_decode_accelerator_unittest.cc       int num_bytes = base::WriteFile(filepath,
WriteFile         382 content/common/gpu/media/video_encode_accelerator_unittest.cc     EXPECT_EQ(0, base::WriteFile(out_filename, NULL, 0));
WriteFile         188 content/public/test/async_file_test_helper.cc   if (buf_size != base::WriteFile(local_path, buf, buf_size))
WriteFile          66 content/test/image_decoder_test.cc   int bytes_written = base::WriteFile(
WriteFile          64 courgette/courgette_tool.cc       base::WriteFile(output_file,
WriteFile         419 courgette/ensemble_apply.cc       base::WriteFile(
WriteFile         203 courgette/third_party/bsdiff_apply.cc   int written = base::WriteFile(
WriteFile         177 device/hid/hid_connection_win.cc       WriteFile(file_.Get(),
WriteFile         169 extensions/browser/value_store/leveldb_value_store_unittest.cc     ASSERT_NE(base::WriteFile(file, kLolCats.c_str(), kLolCats.length()),
WriteFile          58 extensions/common/extension_resource_unittest.cc   ASSERT_TRUE(base::WriteFile(outer_file, "X", 1));
WriteFile          59 extensions/common/extension_resource_unittest.cc   ASSERT_TRUE(base::WriteFile(inner_file, "X", 1));
WriteFile         126 extensions/common/extension_resource_unittest.cc   ASSERT_TRUE(base::WriteFile(root_resource, data.c_str(), data.length()));
WriteFile         141 extensions/common/extension_resource_unittest.cc     ASSERT_TRUE(base::WriteFile(make_path.AppendASCII(filename),
WriteFile          69 extensions/common/file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data)));
WriteFile          71 extensions/common/file_util_unittest.cc   ASSERT_TRUE(base::WriteFile(resource_path, data, sizeof(data)));
WriteFile          60 google_apis/drive/test_util.cc   int result = base::WriteFile(
WriteFile         390 ipc/ipc_channel_win.cc   BOOL ok = WriteFile(pipe_,
WriteFile         368 media/cdm/ppapi/cdm_file_io_impl.cc   WriteFile();
WriteFile         399 media/cdm/ppapi/cdm_file_io_impl.cc     WriteFile();
WriteFile         112 media/cdm/ppapi/cdm_file_io_impl.h   void WriteFile();
WriteFile          21 mojo/common/test/test_utils_win.cc   if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write),
WriteFile         418 mojo/system/raw_channel_win.cc   BOOL result = WriteFile(io_handler_->handle(),
WriteFile          35 mojo/tools/message_generator.cc            base::WriteFile(path, hex_message.data(),
WriteFile         153 net/base/file_stream_context_win.cc   if (!WriteFile(file_.GetPlatformFile(), buf->data(), buf_len,
WriteFile         171 net/base/file_stream_context_win.cc   if (!WriteFile(file_.GetPlatformFile(), buf, buf_len, &bytes_written, NULL)) {
WriteFile          50 net/base/file_stream_unittest.cc     base::WriteFile(temp_file_path_, kTestData, kTestDataSize);
WriteFile         121 net/base/file_stream_unittest.cc             base::WriteFile(temp_file_path(), kTestData, kTestDataSize));
WriteFile         177 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         211 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         329 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         555 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         574 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         618 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         661 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         718 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile         766 net/base/upload_data_stream_unittest.cc             base::WriteFile(temp_file_path, kTestData, kTestDataSize));
WriteFile          33 net/base/upload_file_element_reader_unittest.cc         base::WriteFile(temp_file_path_, &bytes_[0], bytes_.size()));
WriteFile         485 net/disk_cache/backend_unittest.cc   ASSERT_EQ(kSize, base::WriteFile(filename, buffer1->data(), kSize));
WriteFile         677 net/disk_cache/backend_unittest.cc   ASSERT_EQ(5, base::WriteFile(index, "hello", 5));
WriteFile        3332 net/disk_cache/backend_unittest.cc       base::WriteFile(entry_file1_path, reinterpret_cast<char*>(&header),
WriteFile         273 net/disk_cache/blockfile/block_files_unittest.cc             base::WriteFile(filename, header, kBlockHeaderSize));
WriteFile         201 net/disk_cache/blockfile/file_win.cc   if (!WriteFile(base_file_.GetPlatformFile(), buffer, size, &actual,
WriteFile          69 net/disk_cache/simple/simple_index_file.cc   int bytes_written = base::WriteFile(
WriteFile         173 net/disk_cache/simple/simple_index_file_unittest.cc             base::WriteFile(index_path,
WriteFile         246 net/disk_cache/simple/simple_index_file_unittest.cc       base::WriteFile(index_path, kDummyData.data(), kDummyData.size()));
WriteFile         289 net/disk_cache/simple/simple_index_file_unittest.cc             base::WriteFile(old_index_file,
WriteFile          42 net/disk_cache/simple/simple_version_upgrade_unittest.cc          base::WriteFile(
WriteFile          58 net/disk_cache/simple/simple_version_upgrade_unittest.cc             base::WriteFile(
WriteFile          72 net/disk_cache/simple/simple_version_upgrade_unittest.cc             base::WriteFile(
WriteFile          99 net/disk_cache/simple/simple_version_upgrade_unittest.cc             base::WriteFile(
WriteFile         112 net/disk_cache/simple/simple_version_upgrade_unittest.cc                 base::WriteFile(cache_path.AppendASCII(file_name),
WriteFile        8037 net/http/http_network_transaction_unittest.cc   ASSERT_TRUE(base::WriteFile(temp_file, temp_file_content.c_str(),
WriteFile         130 net/http/transport_security_persister_unittest.cc   EXPECT_TRUE(base::WriteFile(path, serialized.c_str(), serialized.size()));
WriteFile        1505 net/proxy/proxy_config_service_linux_unittest.cc     base::WriteFile(kioslaverc_, tests[i].kioslaverc.c_str(),
WriteFile        1529 net/proxy/proxy_config_service_linux_unittest.cc   base::WriteFile(kioslaverc_, slaverc3.c_str(), slaverc3.length());
WriteFile        1552 net/proxy/proxy_config_service_linux_unittest.cc   base::WriteFile(kioslaverc4_, slaverc4.c_str(), slaverc4.length());
WriteFile         458 net/spdy/spdy_network_transaction_unittest.cc                base::WriteFile(file_path, kUploadData, kUploadDataSize));
WriteFile         485 net/spdy/spdy_network_transaction_unittest.cc              base::WriteFile(file_path, kUploadData, kUploadDataSize));
WriteFile         514 net/spdy/spdy_network_transaction_unittest.cc                base::WriteFile(file_path, kUploadData, kUploadDataSize));
WriteFile          39 net/test/spawned_test_server/local_test_server_win.cc   CHECK(WriteFile(handle, unblock_data.data(), size, &bytes_written,
WriteFile          65 net/tools/crl_set_dump/crl_set_dump.cc     if (base::WriteFile(output_filename, out.data(), out.size()) == -1) {
WriteFile         207 net/tools/dump_cache/cache_dumper.cc   if (!WriteFile(entry_, data, len, &bytes, 0))
WriteFile         176 net/tools/dump_cache/upgrade_win.cc   if (!WriteFile(channel_, output_, sizeof(msg) + msg.buffer_bytes, &written,
WriteFile          64 net/tools/tld_cleanup/tld_cleanup_util.cc   int written = base::WriteFile(outfile,
WriteFile        1436 net/url_request/url_fetcher_impl_unittest.cc             base::WriteFile(file_path_, data.data(), data.size()));
WriteFile         746 net/url_request/url_request_unittest.cc   EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size));
WriteFile         790 net/url_request/url_request_unittest.cc   EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size));
WriteFile         833 net/url_request/url_request_unittest.cc   EXPECT_TRUE(base::WriteFile(temp_path, buffer.get(), buffer_size));
WriteFile         861 net/url_request/url_request_unittest.cc   base::WriteFile(test_file, test_data.data(), test_data.size());
WriteFile         109 ppapi/tests/test_broker.cc   return ::WriteFile(file, message, size, &written, NULL) && written == size;
WriteFile          39 ppapi/tests/test_flash_file.cc   BOOL result = ::WriteFile(file_handle, contents.c_str(), contents.size(),
WriteFile         137 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         146 ppapi/tests/test_flash_file.cc   ASSERT_FALSE(WriteFile(file_handle, contents));
WriteFile         166 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         198 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         215 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         248 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         284 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         313 ppapi/tests/test_flash_file.cc   ASSERT_TRUE(WriteFile(file_handle, contents));
WriteFile         349 printing/backend/cups_helper.cc   if (data_size != base::WriteFile(
WriteFile         293 printing/emf_win.cc     if (WriteFile(file, &*buffer.begin(), static_cast<DWORD>(buffer.size()),
WriteFile          73 printing/image.cc     int write_bytes = base::WriteFile(
WriteFile         134 printing/pdf_metafile_skia.cc   if (base::WriteFile(file_path,
WriteFile          99 remoting/host/config_file_watcher_unittest.cc   EXPECT_NE(base::WriteFile(config_file_, data.c_str(),
WriteFile         128 remoting/host/config_file_watcher_unittest.cc   EXPECT_NE(base::WriteFile(config_file_, data.c_str(),
WriteFile          28 remoting/host/json_host_config_unittest.cc     base::WriteFile(filename, kTestConfig, std::strlen(kTestConfig));
WriteFile         183 remoting/host/win/elevated_controller.cc   if (!WriteFile(file, content, static_cast<DWORD>(length), &written, NULL)) {
WriteFile         361 remoting/host/win/launch_process_with_token.cc   if (!WriteFile(pipe, buffer.get(), size, &bytes, NULL)) {
WriteFile         427 sandbox/win/sandbox_poc/main_ui_window.cc         ::WriteFile(logfile_handle,
WriteFile         207 skia/ext/image_operations_unittest.cc       base::WriteFile(fpath, reinterpret_cast<const char*>(&png[0]),
WriteFile         186 third_party/leveldatabase/env_chromium_win.cc   if (!WriteFile(file_, data.data(), data.size(), &written, NULL)) {
WriteFile          57 third_party/libpng/pngwio.c    if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
WriteFile          89 third_party/libpng/pngwio.c       if ( !WriteFile(io_ptr, near_data, length, &check, NULL) )
WriteFile         106 third_party/libpng/pngwio.c          if ( !WriteFile(io_ptr, buf, written, &err, NULL) )
WriteFile        4052 third_party/libusb/src/libusb/os/windows_usb.c 		ret = WriteFile(wfd.handle, transfer_priv->hid_buffer, length, &size, wfd.overlapped);
WriteFile         145 third_party/lzma_sdk/7zFile.c     BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL);
WriteFile         104 third_party/npapi/npspy/common/utils.cpp   WriteFile((HANDLE)hFile, pBuf, iSize, &dwRet, NULL);
WriteFile         188 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc       if (!WriteFile(child_stdin_,
WriteFile        31881 third_party/sqlite/amalgamation/sqlite3.c     while( nRem>0 && WriteFile(pFile->h, aRem, nRem, &nWrite, 0) && nWrite>0 ){
WriteFile         762 third_party/sqlite/src/src/os_win.c     while( nRem>0 && WriteFile(pFile->h, aRem, nRem, &nWrite, 0) && nWrite>0 ){
WriteFile          62 third_party/tcmalloc/chromium/src/base/logging.cc     BOOL ok = WriteFile(handle, buf, len, &wrote, NULL);
WriteFile          62 third_party/tcmalloc/vendor/src/base/logging.cc     BOOL ok = WriteFile(handle, buf, len, &wrote, NULL);
WriteFile         179 third_party/zlib/contrib/minizip/iowin32.c         if (!WriteFile(hFile, buf, size, &ret, NULL))
WriteFile         142 third_party/zlib/google/zip_unittest.cc     EXPECT_EQ(1, base::WriteFile(src_file, "1", 1));
WriteFile          82 tools/gn/function_write_file.cc   if (base::WriteFile(file_path, contents_string.c_str(), int_size)
WriteFile         652 tools/gn/functions.cc     INSERT_FUNCTION(WriteFile, false)
WriteFile          54 tools/gn/ninja_action_target_writer.cc       path_output_.WriteFile(out_, output_path);
WriteFile          66 tools/gn/ninja_action_target_writer.cc       path_output_.WriteFile(out_, sources[i]);
WriteFile         102 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, settings_->build_settings()->python_path());
WriteFile         114 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, settings_->build_settings()->python_path());
WriteFile         116 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, target_->action_values().script());
WriteFile         123 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, settings_->build_settings()->python_path());
WriteFile         125 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, target_->action_values().script());
WriteFile         140 tools/gn/ninja_action_target_writer.cc   path_output_no_escaping_.WriteFile(source_file_stream, source);
WriteFile         163 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, sources[i]);
WriteFile         184 tools/gn/ninja_action_target_writer.cc   path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_));
WriteFile         190 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, output_files[i]);
WriteFile         211 tools/gn/ninja_action_target_writer.cc     path_output_.WriteFile(out_, output_path);
WriteFile         218 tools/gn/ninja_action_target_writer.cc   path_output_.WriteFile(out_, OutputFile(result[0]));
WriteFile         168 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, output_file);
WriteFile         170 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, input_file);
WriteFile         187 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, windows_manifest);
WriteFile         226 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, internal_output_file);
WriteFile         231 tools/gn/ninja_binary_target_writer.cc       path_output_.WriteFile(out_, internal_output_file);
WriteFile         237 tools/gn/ninja_binary_target_writer.cc       path_output_.WriteFile(out_, external_output_file);
WriteFile         278 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, windows_manifest);
WriteFile         312 tools/gn/ninja_binary_target_writer.cc   path_output_.WriteFile(out_, internal_output_file);
WriteFile         315 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, external_output_file);
WriteFile         329 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, object_files[i]);
WriteFile         334 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, *i);
WriteFile         340 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, helper_.GetTargetOutputFile(linkable_deps[i]));
WriteFile         356 tools/gn/ninja_binary_target_writer.cc   path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_));
WriteFile         373 tools/gn/ninja_binary_target_writer.cc     path_output_.WriteFile(out_, object_files[i]);
WriteFile         459 tools/gn/ninja_binary_target_writer.cc       path_output_.WriteFile(out_,
WriteFile         467 tools/gn/ninja_binary_target_writer.cc       path_output_.WriteFile(out_, data[i]);
WriteFile         169 tools/gn/ninja_build_writer.cc     path_output_.WriteFile(out_,
WriteFile         187 tools/gn/ninja_build_writer.cc       path_output_.WriteFile(out_, target_file);
WriteFile          40 tools/gn/ninja_copy_target_writer.cc     path_output_.WriteFile(out_, output_file);
WriteFile          42 tools/gn/ninja_copy_target_writer.cc     path_output_.WriteFile(out_, input_file);
WriteFile          48 tools/gn/ninja_copy_target_writer.cc   path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_));
WriteFile          52 tools/gn/ninja_copy_target_writer.cc     path_output_.WriteFile(out_, output_files[i]);
WriteFile          23 tools/gn/ninja_group_target_writer.cc   path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_));
WriteFile          31 tools/gn/ninja_group_target_writer.cc     path_output_.WriteFile(out_, helper_.GetTargetOutputFile(deps[i].ptr));
WriteFile          37 tools/gn/ninja_group_target_writer.cc     path_output_.WriteFile(out_, helper_.GetTargetOutputFile(datadeps[i].ptr));
WriteFile          83 tools/gn/ninja_target_writer.cc   base::WriteFile(ninja_file, contents.c_str(),
WriteFile          96 tools/gn/ninja_target_writer.cc     path_output_.WriteFile(ret, prereqs[i]);
WriteFile         105 tools/gn/ninja_target_writer.cc       path_output_.WriteFile(ret, helper_.GetTargetOutputFile(deps[i].ptr));
WriteFile         100 tools/gn/ninja_toolchain_writer.cc     path_output_.WriteFile(out_, ninja_file);
WriteFile          60 tools/gn/path_output.h   void WriteFile(std::ostream& out, const SourceFile& file) const;
WriteFile          61 tools/gn/path_output.h   void WriteFile(std::ostream& out, const OutputFile& file) const;
WriteFile          62 tools/gn/path_output.h   void WriteFile(std::ostream& out, const base::FilePath& file) const;
WriteFile          18 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/bar.cc"));
WriteFile          24 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo.cc"));
WriteFile          30 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//out/Debug/foo.cc"));
WriteFile          32 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc"));
WriteFile          39 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("/C:/foo/bar.cc"));
WriteFile          46 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("/foo/bar.cc"));
WriteFile          59 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/bar.cc"));
WriteFile          65 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo.cc"));
WriteFile          76 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/foo bar$.cc"));
WriteFile          82 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/\"foo\\bar\".cc"));
WriteFile          93 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/foo bar.cc"));
WriteFile          99 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/\"foobar\".cc"));
WriteFile         105 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo\\bar.cc"));
WriteFile         119 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/bar.cc"));
WriteFile         135 tools/gn/path_output_unittest.cc     writer.WriteFile(out, SourceFile("//foo/foo bar.cc"));
WriteFile          83 tools/gn/standard_out.cc   ::WriteFile(hstdout, output.c_str(), static_cast<DWORD>(output.size()),
WriteFile         291 tools/gn/trace.cc   base::WriteFile(file_name, out_str.data(),
WriteFile         387 tools/imagediff/image_diff.cc   if (base::WriteFile(out_file,
WriteFile         131 ui/base/l10n/l10n_util_unittest.cc     base::WriteFile(filename, "", 0);
WriteFile          31 ui/base/resource/data_pack_unittest.cc   ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize),
WriteFile          63 ui/base/resource/data_pack_unittest.cc   ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize),
WriteFile         362 ui/base/resource/resource_bundle_unittest.cc     EXPECT_EQ(base::WriteFile(locale_path, kEmptyPakContents,
WriteFile         389 ui/base/resource/resource_bundle_unittest.cc   ASSERT_EQ(base::WriteFile(data_path, kEmptyPakContents,
WriteFile         414 ui/base/resource/resource_bundle_unittest.cc   ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents,
WriteFile         416 ui/base/resource/resource_bundle_unittest.cc   ASSERT_EQ(base::WriteFile(data_2x_path, kSamplePakContents2x,
WriteFile          27 ui/gfx/ozone/impl/file_surface_factory.cc   base::WriteFile(location,
WriteFile          60 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3));
WriteFile          93 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3));
WriteFile         155 webkit/browser/appcache/appcache_database_unittest.cc   EXPECT_EQ(3, base::WriteFile(kOtherFile, "foo", 3));
WriteFile          69 webkit/browser/blob/local_file_stream_reader_unittest.cc     base::WriteFile(test_path(), kTestData, kTestDataSize);
WriteFile         232 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(1, base::WriteFile(
WriteFile         234 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(2, base::WriteFile(
WriteFile         236 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(3, base::WriteFile(
WriteFile         264 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(1, base::WriteFile(
WriteFile         360 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(1, base::WriteFile(
WriteFile         362 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(2, base::WriteFile(
WriteFile         364 webkit/browser/database/database_tracker_unittest.cc     EXPECT_EQ(4, base::WriteFile(
WriteFile          73 webkit/browser/fileapi/local_file_stream_writer_unittest.cc     base::WriteFile(path, data.c_str(), data.size());
WriteFile         126 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc   base::WriteFile(database.primary_origin_file(), kData.data(), kData.size());
WriteFile         166 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc               base::WriteFile(old_dir_db_path1.AppendASCII("dummy"),
WriteFile         172 webkit/browser/fileapi/sandbox_prioritized_origin_database_unittest.cc               base::WriteFile(old_dir_db_path2.AppendASCII("dummy"),