/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 180 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function in base::__anona43388140111::FilePathWatcherTest 181 int write_size = ::base::WriteFile(file, content.c_str(), content.length()); in WriteFile() 234 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() 254 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F() 266 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 306 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 321 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 331 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() [all …]
|
/external/llvm-project/clang/unittests/libclang/ |
D | LibclangTest.cpp | 359 WriteFile(Header, in TEST_F() 363 WriteFile(Main, in TEST_F() 396 WriteFile(Main, "#define kFOO @\"foo\"\n" in TEST_F() 462 WriteFile(CppName, "int main() {}"); in TEST_F() 483 WriteFile(CppName, CppFile); in TEST_F() 484 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F() 497 WriteFile(HeaderName, NewHeaderContents); in TEST_F() 513 WriteFile(MName, MFile); in TEST_F() 514 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F() 515 WriteFile(ModName, ModFile); in TEST_F() [all …]
|
/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/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/tensorflow/tensorflow/core/util/ |
D | events_writer_test.cc | 49 void WriteFile(EventsWriter* writer) { in WriteFile() function 114 WriteFile(&writer); in TEST() 123 WriteFile(&writer); in TEST() 132 WriteFile(writer); in TEST() 142 WriteFile(&writer); in TEST() 152 WriteFile(&writer); in TEST() 164 WriteFile(&writer); in TEST() 176 WriteFile(&writer); in TEST() 199 WriteFile(&writer); in TEST()
|
/external/libbrillo/brillo/ |
D | osrelease_reader_test.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()
|
/external/libbrillo/brillo/files/ |
D | safe_fd_test.cc | 89 ASSERT_TRUE(WriteFile(random_data)); in TEST_F() 109 ASSERT_TRUE(WriteFile(random_data)); in TEST_F() 124 ASSERT_TRUE(WriteFile(random_data)); in TEST_F() 145 ASSERT_TRUE(WriteFile(random_data)); in TEST_F() 167 ASSERT_TRUE(WriteFile(random_data)); in TEST_F() 180 ASSERT_TRUE(WriteFile(data)); in TEST_F() 202 ASSERT_TRUE(WriteFile("")); in TEST_F() 212 ASSERT_TRUE(WriteFile("")); in TEST_F() 220 ASSERT_TRUE(WriteFile("")); in TEST_F() 246 ASSERT_TRUE(WriteFile("")); in TEST_F() [all …]
|
/external/libbrillo/brillo/http/ |
D | http_form_data_test.cc | 48 static_cast<size_t>(base::WriteFile( in TEST() 77 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST() 82 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST() 152 base::WriteFile(filename1, file1.data(), file1.size()))); in TEST() 157 base::WriteFile(filename2, file2.data(), file2.size()))); in TEST()
|
/external/tensorflow/tensorflow/core/api_def/java_api/ |
D | api_def_WriteFile.pbtxt | 2 graph_op_name: "WriteFile" 4 name: "io.WriteFile"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | WriteFile.pbtxt | 2 name: "WriteFile" 13 name: "WriteFile"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | WriteFile.pbtxt | 2 name: "WriteFile" 13 name: "WriteFile"
|
/external/llvm-project/clang/unittests/libclang/CrashTests/ |
D | LibclangCrashTest.cpp | 19 WriteFile(Main, "#pragma clang __debug llvm_fatal_error"); in TEST_F() 32 WriteFile(Main, "#pragma clang __debug llvm_fatal_error"); in TEST_F()
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 43 device.WriteFile = mock.Mock(side_effect=write_file) 141 self.device.WriteFile('/data/data/com.some.package/shared_prefs/prefs.xml', 158 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write 169 self.assertTrue(self.device.WriteFile.called) # did write 187 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
|
/external/okio/samples/src/jvmMain/java/okio/samples/ |
D | WriteFile.java | 25 public final class WriteFile { class 45 new WriteFile().run(); in main()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantization_wrapper.cc | 33 return WriteFile(output_path, builder.GetBufferPointer(), builder.GetSize()); in CreateModelForCalibration() 50 return WriteFile(path, builder.GetBufferPointer(), builder.GetSize()); in CreateQuantizedModel()
|
/external/libchrome/mojo/public/tools/bindings/ |
D | gen_data_files_list.py | 25 from mojom.generate.generator import WriteFile 44 WriteFile(stream.getvalue(), options.output)
|
/external/toolchain-utils/go/chromeos/ |
D | setup_chromeos_testing.py | 77 def WriteFile(file_content, file_name): function 101 WriteFile(base_file_content, base_file) 107 WriteFile(exec_file_content, exec_file) 164 WriteFile(config_lines, config_file)
|
/external/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/ |
D | perf_puppeteer_render_skps_test.go | 60 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 101 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "desk_carsvg.skp"), []byte("doesnt matter"… 134 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 176 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 302 if err := ioutil.WriteFile(filepath.Join(path, name), []byte(content), 0666); err != nil {
|
/external/llvm-project/llvm/lib/TableGen/ |
D | Main.cpp | 135 bool WriteFile = true; in TableGenMain() local 142 WriteFile = false; in TableGenMain() 144 if (WriteFile) { in TableGenMain()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | flag_changer_test.py | 31 def WriteFile(self, path, contents, **_kwargs): member in _FakeDevice 47 self.device.WriteFile(self.cmdline_path_legacy, 'chrome --old --stuff') 57 self.device.WriteFile(self.cmdline_path, 'chrome --old --stuff')
|
/external/libbrillo/policy/tests/ |
D | policy_util_test.cc | 30 base::WriteFile(invalid_policy_data_path, data.data(), data.size())); in TEST() 39 ASSERT_TRUE(base::WriteFile(good_policy_data_path, policy_blob.data(), in TEST()
|
/external/cpuinfo/deps/clog/src/ |
D | clog.c | 107 WriteFile( in clog_vlog_fatal() 183 WriteFile( in clog_vlog_error() 259 WriteFile( in clog_vlog_warning() 335 WriteFile( in clog_vlog_info() 411 WriteFile( in clog_vlog_debug()
|
/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/libchrome/base/process/ |
D | memory_linux.cc | 83 return (score_len == WriteFile(oom_file, score_str.c_str(), score_len)); in AdjustOOMScore() 98 return (score_len == WriteFile(oom_file, score_str.c_str(), score_len)); in AdjustOOMScore()
|