/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::__anonbec4f5360111::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/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/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() 154 WriteFile(&writer); in TEST() 168 WriteFile(&writer); in TEST() 180 WriteFile(&writer); in TEST() 203 WriteFile(&writer); in TEST()
|
/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 | 49 void WriteFile(const std::string& contents) { in WriteFile() function in brillo::FileUtilsTest 51 base::WriteFile(file_path_, contents.c_str(), contents.length())); in WriteFile() 96 WriteFile("abcd"); in TEST_F() 117 WriteFile("abcd"); in TEST_F() 123 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/tensorflow/tensorflow/core/api_def/java_api/ |
D | api_def_WriteFile.pbtxt | 2 graph_op_name: "WriteFile" 4 name: "io.WriteFile"
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 45 device.WriteFile = mock.Mock(side_effect=write_file) 137 self.device.WriteFile('/data/data/com.some.package/shared_prefs/prefs.xml', 152 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write 163 self.assertTrue(self.device.WriteFile.called) # did write 181 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
|
/external/chromium-trace/catapult/devil/devil/android/ |
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') 56 self.device.WriteFile(self.cmdline_path, 'chrome --old --stuff')
|
D | flag_changer_devicetest.py | 51 self.device.WriteFile( 55 self.device.WriteFile(
|
/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)
|
D | generate_type_mappings.py | 69 from mojom.generate.generator import WriteFile 152 WriteFile(json.dumps({'c++': typemaps}, indent=2), params.output)
|
/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/syzkaller/pkg/build/ |
D | akaros.go | 22 if err := osutil.WriteFile(configFile, config); err != nil { 64 if err := osutil.WriteFile(initFile, []byte(init)); err != nil { 85 if err := osutil.WriteFile(filepath.Join(outputDir, "image"), nil); err != nil {
|
/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/libbrillo/policy/tests/ |
D | policy_util_unittest.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/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()
|
/external/syzkaller/pkg/osutil/ |
D | osutil.go | 194 func WriteFile(filename string, data []byte) error { func 195 return ioutil.WriteFile(filename, data, DefaultFilePerm) 199 if err := ioutil.WriteFile(filename, data, DefaultExecPerm); err != nil {
|
/external/syzkaller/pkg/host/ |
D | host_linux.go | 411 if err := osutil.WriteFile("/sys/kernel/debug/failslab/ignore-gfp-wait", []byte("N")); err != nil { 414 …if err := osutil.WriteFile("/sys/kernel/debug/fail_futex/ignore-private", []byte("N")); err != nil… 417 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", []byte("N")); e… 420 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", []byte("N")); err … 423 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/min-order", []byte("0")); err != nil…
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | wav_to_spectrogram.cc | 74 tensorflow::ops::WriteFile file_writer = tensorflow::ops::WriteFile( in WavToSpectrogram()
|
/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/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()
|