/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 187 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function in base::__anonf96a742c0111::FilePathWatcherTest 188 int write_size = ::base::WriteFile(file, content.c_str(), content.length()); in WriteFile() 238 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 245 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 252 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F() 260 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F() 273 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 317 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 332 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 344 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() [all …]
|
/external/google-breakpad/src/common/linux/ |
D | elf_core_dump_unittest.cc | 49 using google_breakpad::WriteFile; 72 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header) - 1)); in TEST() 82 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 88 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 94 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 100 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 106 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 112 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 118 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 124 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST()
|
D | memory_mapped_file_unittest.cc | 47 using google_breakpad::WriteFile; 87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0)); in TEST_F() 109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); in TEST_F() 144 ASSERT_TRUE(WriteFile(test_file1.c_str(), data1, data1_size)); in TEST_F() 145 ASSERT_TRUE(WriteFile(test_file2.c_str(), data2, data2_size)); in TEST_F() 188 ASSERT_TRUE(WriteFile(test_file1.c_str(), data1, data1_size)); in TEST_F()
|
/external/clang/unittests/libclang/ |
D | LibclangTest.cpp | 375 void WriteFile(std::string &Filename, const std::string &Contents) { in WriteFile() function in LibclangReparseTest 415 WriteFile(CppName, CppFile); in TEST_F() 416 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F() 429 WriteFile(HeaderName, NewHeaderContents); in TEST_F() 445 WriteFile(MName, MFile); in TEST_F() 446 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F() 447 WriteFile(ModName, ModFile); in TEST_F() 464 WriteFile(HeaderName, NewHeaderContents); in TEST_F() 479 WriteFile(Name, "\n"); in TEST_F() 482 WriteFile(Filename, "#include <vector>\n"); in TEST_F() [all …]
|
/external/libbrillo/brillo/ |
D | osrelease_reader_unittest.cc | 45 base::WriteFile(osreleased_.Append("TEST_KEY"), hello.data(), hello.size()); in TEST_F() 46 base::WriteFile(osreleased_.Append("GREETINGS"), ola.data(), ola.size()); in TEST_F() 47 base::WriteFile(osrelease_, osreleasecontent.data(), osreleasecontent.size()); in TEST_F() 79 base::WriteFile(osreleased_.Append("HELLO"), hello.data(), hello.size()); in TEST_F() 80 base::WriteFile( in TEST_F()
|
D | file_utils_unittest.cc | 31 void WriteFile(const std::string& contents) { in WriteFile() function in brillo::FileUtilsTest 33 base::WriteFile(file_path_, contents.c_str(), contents.length())); in WriteFile() 84 WriteFile("abcd"); in TEST_F() 105 WriteFile("abcd"); in TEST_F() 111 WriteFile("abcd"); in TEST_F()
|
/external/protobuf/benchmarks/ |
D | generate_datasets.cc | 91 void WriteFile(const std::string& name, const std::string& message_name, in WriteFile() function 109 WriteFile("google_message1_proto3", "benchmarks.proto3.GoogleMessage1", in main() 111 WriteFile("google_message1_proto2", "benchmarks.proto2.GoogleMessage1", in main() 115 WriteFile("google_message2", "benchmarks.proto2.GoogleMessage2", in main()
|
/external/libbrillo/brillo/http/ |
D | http_form_data_unittest.cc | 47 static_cast<size_t>(base::WriteFile( in TEST() 76 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST() 81 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST() 151 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST() 156 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST()
|
/external/syslinux/win/ |
D | syslinux.c | 156 if (WriteFile(drive, sector, sizeof(sector), &howMany, NULL) == 0) { in FixMBR() 419 if (!WriteFile(f_handle, (const char _force *)syslinux_ldlinux, in main() 425 if (!WriteFile(f_handle, syslinux_adv, 2 * ADV_SIZE, in main() 496 !WriteFile(f_handle, syslinux_ldlinux, syslinux_ldlinux_len, in main() 536 if (!WriteFile(f_handle, (const char _force *)syslinux_ldlinuxc32, in main() 568 if (!WriteFile(f_handle, sectbuf, SECTOR_SIZE, &bytes_written, NULL)) { in main() 575 WriteFile(d_handle, sectbuf, SECTOR_SIZE, &bytes_written, NULL); in main()
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 37 device.WriteFile = mock.Mock(side_effect=write_file) 134 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write 145 self.assertTrue(self.device.WriteFile.called) # did write 163 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 36 device.WriteFile = mock.Mock(side_effect=write_file) 131 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write 140 self.assertTrue(self.device.WriteFile.called) # did write 158 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
|
/external/syslinux/com32/lib/libpng/ |
D | pngwio.c | 57 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/chromium-trace/catapult/third_party/pyserial/serial/ |
D | win32.py | 91 WriteFile = _stdcall_libraries['kernel32'].WriteFile variable 92 WriteFile.restype = BOOL 93 WriteFile.argtypes = [HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED]
|
/external/swiftshader/third_party/LLVM/utils/ |
D | NewNightlyTest.pl | 379 sub WriteFile { # (filename, contents) subroutine 408 WriteFile "$Prefix-sentdata.txt", $sentdata; 561 WriteFile "$Prefix-SingleSource-Performance.txt", $SSProgs; 563 WriteFile "$Prefix-MultiSource-Performance.txt", $MSProgs; 566 WriteFile "$Prefix-External-Performance.txt", $ExtProgs;
|
/external/toolchain-utils/cros_utils/ |
D | file_utils.py | 63 def WriteFile(self, path, contents): member in FileUtils 86 def WriteFile(self, path, contents): member in MockFileUtils
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | flag_changer_devicetest.py | 51 self.device.WriteFile( 55 self.device.WriteFile(
|
D | flag_changer_test.py | 30 def WriteFile(self, path, contents, **_kwargs): member in _FakeDevice 46 self.device.WriteFile(self.cmdline_path_legacy, 'chrome --old --stuff')
|
/external/google-breakpad/src/client/ |
D | minidump_file_writer_unittest.cc | 73 static bool WriteFile(const char *path) { in WriteFile() function 171 ASSERT_TRUE(WriteFile(path)); in RunTests()
|
/external/google-breakpad/src/common/tests/ |
D | file_utils.h | 48 bool WriteFile(const char* path, const void* buffer, size_t buffer_size);
|
/external/libmojo/third_party/catapult/devil/devil/android/perf/ |
D | cache_control.py | 15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | cache_control.py | 15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
|
/external/vboot_reference/host/linktest/ |
D | main.c | 33 WriteFile(0, 0, 0); in main()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | generator.py | 27 def WriteFile(contents, full_path): function 78 WriteFile(contents, full_path)
|
/external/google-breakpad/src/client/windows/unittests/ |
D | crash_generation_server_test.cc | 186 ASSERT_TRUE(WriteFile(pipe, in DoFaultyClient() 224 ASSERT_TRUE(WriteFile(pipe, in DoFaultyClient()
|
/external/toolchain-utils/crosperf/ |
D | generate_report.py | 175 def WriteFile(output_prefix, extension, get_contents, overwrite, verbose): function 207 WriteFile(output_prefix, extension, get_contents, overwrite, verbose)
|