/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::__anon6c31f26e0111::FilePathWatcherTest 188 int write_size = ::base::WriteFile(file, content.c_str(), content.length()); in WriteFile() 233 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 240 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 247 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F() 255 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F() 268 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 312 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 327 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 339 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/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/chromium-trace/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/chromium-trace/catapult/telemetry/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/dbus-binding-generator/chromeos-dbus-bindings/ |
D | test_utils.cc | 28 WriteFile(path_a, a.data(), a.size()); in GetUnifiedDiff() 29 WriteFile(path_b, b.data(), b.size()); in GetUnifiedDiff()
|
D | method_name_generator_unittest.cc | 47 int written = base::WriteFile(path, contents.c_str(), contents.size()); in CreateInputFile()
|
/external/v8/third_party/binutils/ |
D | download.py | 34 def WriteFile(filename, content): function 96 WriteFile(stampfile, checksum)
|
/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/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
D | gen_client_lib.py | 243 self.__message_registry.WriteFile(self._GetPrinter(out)) 252 self.__services_registry.WriteFile(self._GetPrinter(out)) 255 self.__command_registry.WriteFile(self._GetPrinter(out))
|
/external/google-breakpad/src/common/tests/ |
D | file_utils.h | 48 bool WriteFile(const char* path, const void* buffer, size_t buffer_size);
|
/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/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/vboot_reference/host/lib/include/ |
D | host_misc.h | 44 int WriteFile(const char* filename, const void *data, uint64_t size);
|
/external/google-breakpad/src/client/mac/crash_generation/ |
D | ConfigFile.h | 52 void WriteFile(const char* directory,
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | crash_generation_client.cc | 206 bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL) != 0; in RequestUpload() 262 if (!WriteFile(pipe, &ack_msg, sizeof(ack_msg), &bytes_count, NULL)) { in RegisterClient()
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | provision_devices.py | 284 device.WriteFile(adb_wrapper.ADB_KEYS_FILE, adb_keys_string, as_root=True) 375 device.WriteFile( 467 device.WriteFile(f.name, 'test') 475 device.WriteFile(f.name, 'test')
|
/external/v8/build/android/ |
D | provision_devices.py | 156 device.WriteFile(f.name, 'test') 164 device.WriteFile(f.name, 'test') 257 device.WriteFile(constants.ADB_KEYS_FILE, adb_keys_string, as_root=True) 338 device.WriteFile(
|
/external/bsdiff/ |
D | test_utils.h | 27 bool WriteFile(const std::string& path, std::vector<uint8_t> contents);
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | install_commands.py | 50 device.WriteFile(shell_file, shell_command)
|