Home
last modified time | relevance | path

Searched refs:WriteFile (Results 1 – 25 of 135) sorted by relevance

123456

/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc169 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function in base::files::__anona691d9c60111::FilePathWatcherTest
170 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile()
210 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
216 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
223 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F()
230 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F()
242 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
278 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
292 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
303 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DDIBPixelData.cpp79 ::WriteFile(hFile, &header, sizeof(header), &bytesWritten, 0); in writeToFile()
80 ::WriteFile(hFile, &info, sizeof(info), &bytesWritten, 0); in writeToFile()
81 ::WriteFile(hFile, buffer(), bufferLength(), &bytesWritten, 0); in writeToFile()
/external/chromium/chrome/browser/autofill/
Ddata_driven_test.cc26 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function
27 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile()
62 ASSERT_TRUE(WriteFile(output_file, output)); in RunDataDrivenTest()
/external/quake/quake/src/WinQuake/
Dsys_win.cpp377 WriteFile (houtput, text5, strlen (text5), &dummy, NULL); in Sys_Error()
378 WriteFile (houtput, text4, strlen (text4), &dummy, NULL); in Sys_Error()
379 WriteFile (houtput, text2, strlen (text2), &dummy, NULL); in Sys_Error()
380 WriteFile (houtput, text3, strlen (text3), &dummy, NULL); in Sys_Error()
381 WriteFile (houtput, text4, strlen (text4), &dummy, NULL); in Sys_Error()
438 WriteFile(houtput, text, strlen (text), &dummy, NULL); in Sys_Printf()
591 WriteFile(houtput, "\r\n", 2, &dummy, NULL); in Sys_ConsoleInput()
610 WriteFile(houtput, "\b \b", 3, &dummy, NULL); in Sys_ConsoleInput()
620 WriteFile(houtput, &ch, 1, &dummy, NULL); in Sys_ConsoleInput()
/external/chromium/chrome/browser/
Dshell_integration_unittest.cc89 ASSERT_TRUE(file_util::WriteFile( in TEST()
106 ASSERT_TRUE(file_util::WriteFile( in TEST()
125 ASSERT_TRUE(file_util::WriteFile( in TEST()
128 ASSERT_TRUE(file_util::WriteFile( in TEST()
Dbrowsing_data_database_helper_browsertest.cc38 ASSERT_EQ(0, file_util::WriteFile(db_path1, NULL, 0)); in CreateDatabases()
46 ASSERT_EQ(0, file_util::WriteFile(db_path2, NULL, 0)); in CreateDatabases()
Duser_style_sheet_watcher_unittest.cc25 ASSERT_TRUE(file_util::WriteFile(style_sheet_file, in TEST()
/external/libpng/
Dpngwio.c57 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_write_data()
89 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) ) in png_default_write_data()
106 if ( !WriteFile(io_ptr, buf, written, &err, NULL) ) in png_default_write_data()
/external/qemu/distrib/libpng-1.2.19/
Dpngwio.c50 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_write_data()
81 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) ) in png_default_write_data()
98 if ( !WriteFile(io_ptr, buf, written, &err, NULL) ) in png_default_write_data()
/external/chromium/base/
Dprocess_linux.cc66 if (file_util::WriteFile(background_tasks, pid.c_str(), pid.size()) > 0) { in SetProcessBackgrounded()
81 if (file_util::WriteFile(foreground_tasks, pid.c_str(), pid.size()) > 0) { in SetProcessBackgrounded()
Dfile_util_deprecated.h44 BASE_API int WriteFile(const std::wstring& filename,
/external/chromium/chrome/browser/extensions/
Duser_script_master_unittest.cc91 size_t written = file_util::WriteFile(path, content, sizeof(content)); in TEST_F()
222 size_t written = file_util::WriteFile(path, content.c_str(), content.size()); in TEST_F()
244 size_t written = file_util::WriteFile(path, content.c_str(), content.size()); in TEST_F()
Dsandboxed_extension_unpacker.cc446 if (!file_util::WriteFile(manifest_path, in RewriteManifestFile()
541 if (!file_util::WriteFile(path, image_data_ptr, image_data.size())) { in RewriteImageFiles()
612 if (!file_util::WriteFile(path, in RewriteCatalogFiles()
/external/chromium/chrome/common/extensions/
Dextension_resource_unittest.cc54 ASSERT_TRUE(file_util::WriteFile(root_resource, data.c_str(), data.length())); in TEST()
67 ASSERT_TRUE(file_util::WriteFile(make_path.AppendASCII(filename), in TEST()
Dextension_l10n_util_unittest.cc68 ASSERT_TRUE(file_util::WriteFile( in TEST()
162 file_util::WriteFile(locale.Append(Extension::kMessagesFilename), in TEST()
191 file_util::WriteFile(locale_1.Append(Extension::kMessagesFilename), in TEST()
198 file_util::WriteFile(locale_2.Append(Extension::kMessagesFilename), in TEST()
/external/chromium/net/base/
Dupload_data_stream_unittest.cc60 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path, in TEST_F()
109 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path, in TEST_F()
Dfile_stream_posix.cc82 int WriteFile(base::PlatformFile file, const char* buf, int buf_len) { in WriteFile() function
94 callback->Run(WriteFile(file, buf, buf_len)); in WriteFileTask()
421 return WriteFile(file_, buf, buf_len); in Write()
/external/quake/quake/src/QW/client/
Dsys_win.c430 WriteFile(houtput, "\r\n", 2, &dummy, NULL); in Sys_ConsoleInput()
441 WriteFile(houtput, "\b \b", 3, &dummy, NULL); in Sys_ConsoleInput()
471 WriteFile(houtput, textCopied, i, &dummy, NULL); in Sys_ConsoleInput()
481 WriteFile(houtput, &ch, 1, &dummy, NULL); in Sys_ConsoleInput()
/external/dbus/dbus/
Ddbus-pipe-win.c55 res = WriteFile ((HANDLE) pipe->fd_or_handle, buffer_c + start, len, &written, NULL); in _dbus_pipe_write()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_unittest.cc350 file_util::WriteFile(sync_file1, nonsense1, strlen(nonsense1))); in TEST_F()
352 file_util::WriteFile(sync_file2, nonsense2, strlen(nonsense2))); in TEST_F()
354 file_util::WriteFile(sync_file3, nonsense3, strlen(nonsense3))); in TEST_F()
/external/chromium/chrome/browser/safe_browsing/
Dprefix_set.h71 bool WriteFile(const FilePath& filter_name) const;
Dbloom_filter.h50 bool WriteFile(const FilePath& filter_name) const;
/external/chromium/chrome/browser/google/
Dgoogle_update_settings_posix.cc45 return file_util::WriteFile(consent_file, c_str, size) == size; in SetCollectStatsConsent()
/external/chromium/net/disk_cache/
Dfile_win.cc152 if (!WriteFile(sync_platform_file_, buffer, size, &actual, NULL)) in Write()
216 if (!WriteFile(platform_file_, buffer, size, &actual, data->overlapped())) { in AsyncWrite()
/external/stlport/src/details/
Dfstream_win32io.cpp148 BOOL writeOk = WriteFile(oshandle, &dummy2, 0, &dummy, 0);
483 WriteFile(_M_file_id, buf + written, in _M_write()
523 WriteFile((HANDLE)_M_file_id, writetextbuf, in _M_write()

123456