/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller_unittest.cc | 162 ON_CALL(*this, WriteToFile(_, _)).WillByDefault(Return(true)); in MockFtraceProcfs() 165 ON_CALL(*this, WriteToFile("/root/tracing_on", _)) in MockFtraceProcfs() 187 MOCK_METHOD2(WriteToFile, 326 EXPECT_CALL(*controller->procfs(), WriteToFile(kFooEnablePath, "1")); in TEST() 327 EXPECT_CALL(*controller->procfs(), WriteToFile("/root/buffer_size_kb", _)); in TEST() 331 EXPECT_CALL(*controller->procfs(), WriteToFile("/root/tracing_on", "1")); in TEST() 334 EXPECT_CALL(*controller->procfs(), WriteToFile("/root/buffer_size_kb", "0")); in TEST() 340 EXPECT_CALL(*controller->procfs(), WriteToFile(kFooEnablePath, "0")); in TEST() 341 EXPECT_CALL(*controller->procfs(), WriteToFile("/root/tracing_on", "0")); in TEST() 342 EXPECT_CALL(*controller->procfs(), WriteToFile("/root/events/enable", "0")); in TEST() [all …]
|
D | ftrace_config_muxer_unittest.cc | 46 ON_CALL(*this, WriteToFile(_, _)).WillByDefault(Return(true)); in MockFtraceProcfs() 51 MOCK_METHOD2(WriteToFile, 200 EXPECT_CALL(ftrace, WriteToFile("/root/buffer_size_kb", _)); in TEST_F() 201 EXPECT_CALL(ftrace, WriteToFile("/root/trace_clock", "boot")); in TEST_F() 202 EXPECT_CALL(ftrace, WriteToFile("/root/tracing_on", "1")); in TEST_F() 204 WriteToFile("/root/events/power/cpu_frequency/enable", "1")); in TEST_F() 270 EXPECT_CALL(ftrace, WriteToFile("/root/buffer_size_kb", _)); in TEST_F() 271 EXPECT_CALL(ftrace, WriteToFile("/root/trace_clock", "boot")); in TEST_F() 272 EXPECT_CALL(ftrace, WriteToFile("/root/tracing_on", "1")); in TEST_F() 274 WriteToFile("/root/events/sched/sched_switch/enable", "1")); in TEST_F() [all …]
|
D | ftrace_procfs.cc | 84 if (WriteToFile(path, "1")) in EnableEvent() 93 if (WriteToFile(path, "0")) in DisableEvent() 101 return WriteToFile(path, "0"); in DisableAllEvents() 146 return WriteToFile(path, str); in WriteTraceMarker() 161 return WriteToFile(path, "1"); in EnableTracing() 167 return WriteToFile(path, "0"); in DisableTracing() 181 return WriteToFile(path, clock_name); in SetClock() 238 return WriteToFile(path, std::string(buf)); in WriteNumberToFile() 241 bool FtraceProcfs::WriteToFile(const std::string& path, in WriteToFile() function in perfetto::FtraceProcfs
|
D | ftrace_controller.cc | 68 void WriteToFile(const char* path, const char* str) { in WriteToFile() function 93 WriteToFile("/sys/kernel/debug/tracing/tracing_on", "0"); in HardResetFtraceState() 94 WriteToFile("/sys/kernel/debug/tracing/buffer_size_kb", "4"); in HardResetFtraceState() 95 WriteToFile("/sys/kernel/debug/tracing/events/enable", "0"); in HardResetFtraceState() 98 WriteToFile("/sys/kernel/tracing/tracing_on", "0"); in HardResetFtraceState() 99 WriteToFile("/sys/kernel/tracing/buffer_size_kb", "4"); in HardResetFtraceState() 100 WriteToFile("/sys/kernel/tracing/events/enable", "0"); in HardResetFtraceState()
|
D | ftrace_procfs_unittest.cc | 34 MOCK_METHOD2(WriteToFile,
|
D | ftrace_procfs.h | 102 virtual bool WriteToFile(const std::string& path, const std::string& str);
|
/external/v8/src/ |
D | d8-console.cc | 12 void WriteToFile(const char* prefix, FILE* file, Isolate* isolate, in WriteToFile() function 52 WriteToFile("console.assert", stdout, isolate_, args); in Assert() 61 WriteToFile(nullptr, stdout, isolate_, args); in Log() 66 WriteToFile("console.error", stderr, isolate_, args); in Error() 71 WriteToFile("console.warn", stdout, isolate_, args); in Warn() 76 WriteToFile("console.info", stdout, isolate_, args); in Info() 81 WriteToFile("console.debug", stdout, isolate_, args); in Debug()
|
/external/boringssl/src/tool/ |
D | generate_ed25519.cc | 37 static bool WriteToFile(const std::string &path, const uint8_t *in, in WriteToFile() function 63 return WriteToFile(args_map["-out-public"], public_key, sizeof(public_key)) && in GenerateEd25519Key() 64 WriteToFile(args_map["-out-private"], private_key, in GenerateEd25519Key()
|
/external/compiler-rt/lib/stats/ |
D | stats.cc | 40 WriteToFile(fd, chars, sizeof(uptr)); in WriteLE() 55 WriteToFile(stats_fd, &sizeof_uptr, 1); in OpenStatsFile() 67 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport()
|
/external/tensorflow/tensorflow/core/util/ |
D | dump_graph.cc | 61 Status WriteToFile(const string& filepath, in WriteToFile() function 70 Status WriteToFile(const string& filepath, in WriteToFile() function 100 status = WriteToFile(filepath, proto); in WriteTextProtoToUniqueFile()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_libcdep.cc | 552 WriteToFile(cov_fd, &header, sizeof(header)); in CovWritePacked() 553 WriteToFile(cov_fd, module, module_name_length); in CovWritePacked() 554 WriteToFile(cov_fd, blob, blob_size); in CovWritePacked() 577 WriteToFile(cov_fd, block.data(), header_size_with_module + payload_size); in CovWritePacked() 626 WriteToFile(fd, out.data(), out.length()); in DumpTrace() 634 WriteToFile(fd, out.data(), out.length()); in DumpTrace() 644 if (WriteToFile(fd, event_bytes, bytes_to_write, &actually_written) && in DumpTrace() 692 WriteToFile(fd, out.data(), out.length()); in DumpCallerCalleePairs() 727 WriteToFile(fd, bitset.data() + r.beg, r.end - r.beg); in DumpCounters() 754 WriteToFile(fd, out.data() + r.beg, r.end - r.beg); in DumpAsBitSet() [all …]
|
D | sanitizer_coverage_mapping_libcdep.cc | 106 if (!WriteToFile(map_fd, text.data(), text.length(), nullptr, &err)) { in CovUpdateMapping()
|
/external/lzma/CPP/7zip/Common/ |
D | InOutTempBuffer.cpp | 41 bool CInOutTempBuffer::WriteToFile(const void *data, UInt32 size) in WriteToFile() function in CInOutTempBuffer 75 return WriteToFile(data, size); in Write()
|
D | InOutTempBuffer.h | 21 bool WriteToFile(const void *data, UInt32 size);
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 188 return WriteToFile(path, reinterpret_cast<const char*>(blob.data()), in WriteBlobToFile() 193 return WriteToFile(path, data.data(), data.size()); in WriteStringToFile() 196 bool WriteToFile(const base::FilePath& path, const char* data, size_t size) { in WriteToFile() function
|
D | file_utils.h | 46 BRILLO_EXPORT bool WriteToFile(const base::FilePath& path,
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan.cc | 335 WriteToFile(fd, buf, internal_strlen(buf)); in dfsan_dump_labels() 337 WriteToFile(fd, __dfsan_label_info[l].desc, in dfsan_dump_labels() 340 WriteToFile(fd, "\n", 1); in dfsan_dump_labels()
|
/external/skqp/tools/ |
D | reformat-json.py | 43 gm_json.WriteToFile(gm_json.LoadFromFile(filename), filename)
|
/external/skia/tools/ |
D | reformat-json.py | 43 gm_json.WriteToFile(gm_json.LoadFromFile(filename), filename)
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | generate.py | 156 def WriteToFile(self, output_file): member in ExtraScript 266 extra_script.WriteToFile(output_file)
|
D | generate_unittest.py | 61 def WriteToFile(self, f): member in GenerateTests.testExtraScriptWithWriteContentsFunc.ExtraScript
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 98 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST() 100 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | neteq_unittest.cc | 124 template<typename T, size_t n> void WriteToFile( 130 void WriteToFile(const NetEqNetworkStatistics& stats); 132 void WriteToFile(const RtcpStatistics& stats); 163 WriteToFile(test_results); in ProcessReference() 169 WriteToFile(test_results, length); in ProcessReference() 174 void RefFiles::WriteToFile(const T (&test_results)[n], size_t length) { in WriteToFile() function in webrtc::RefFiles 193 void RefFiles::WriteToFile(const NetEqNetworkStatistics& stats_raw) { in WriteToFile() function in webrtc::RefFiles 238 void RefFiles::WriteToFile(const RtcpStatistics& stats_raw) { in WriteToFile() function in webrtc::RefFiles
|
/external/boringssl/src/util/testresult/ |
D | testresult.go | 77 func (t *Results) WriteToFile(name string) error { func
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | trace_impl.h | 93 void WriteToFile(const char* msg, uint16_t length)
|