Home
last modified time | relevance | path

Searched refs:WriteToFile (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.cpp27 WriteToFile(kStderrFd, buffer, length); in CatastrophicErrorWrite()
69 WriteToFile(kStderrFd, ErrorMsgPrefix, internal_strlen(ErrorMsgPrefix)); in ReopenIfNecessary()
70 WriteToFile(kStderrFd, full_path, internal_strlen(full_path)); in ReopenIfNecessary()
73 WriteToFile(kStderrFd, errmsg, internal_strlen(errmsg)); in ReopenIfNecessary()
89 WriteToFile(kStderrFd, ErrorMsgPrefix, internal_strlen(ErrorMsgPrefix)); in RecursiveCreateParentDirs()
90 WriteToFile(kStderrFd, path, internal_strlen(path)); in RecursiveCreateParentDirs()
92 WriteToFile(kStderrFd, ErrorMsgSuffix, internal_strlen(ErrorMsgSuffix)); in RecursiveCreateParentDirs()
H A Dsanitizer_coverage_libcdep_new.cpp53 WriteToFile(fd, &Magic, sizeof(Magic)); in WriteModuleCoverage()
54 WriteToFile(fd, pcs, len * sizeof(*pcs)); in WriteModuleCoverage()
175 WriteToFile(fd, counters_beg, size); in DumpCoverage()
185 WriteToFile(fd, pcs_beg, size); in DumpCoverage()
H A Dsanitizer_file.h66 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size,
H A Dsanitizer_win.cpp797 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() function
899 if (!WriteToFile(fd, buffer, length)) { in Write()
H A Dsanitizer_posix.cpp194 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() function
H A Dsanitizer_symbolizer_libcdep.cpp568 bool success = WriteToFile(output_fd_, buffer, length, &write_len);
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp71 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() function
72 WriteToFile(U.data(), U.size(), Path); in WriteToFile()
75 void WriteToFile(const std::string &Data, const std::string &Path) { in WriteToFile() function
76 WriteToFile(reinterpret_cast<const uint8_t *>(Data.c_str()), Data.size(), in WriteToFile()
80 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in WriteToFile() function
H A DFuzzerIO.h27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path);
29 void WriteToFile(const std::string &Data, const std::string &Path);
30 void WriteToFile(const Unit &U, const std::string &Path);
H A DFuzzerFork.cpp169 WriteToFile(Seeds, Job->SeedListPath); in CreateNewJob()
241 WriteToFile(U, NewPath); in RunOneMergeJob()
372 WriteToFile(Unit({1}), Env.StopFile()); in FuzzWithFork()
H A DFuzzerDriver.cpp393 WriteToFile(U, TmpFilePath); in CleanseCrashInput()
401 WriteToFile(U, OutputFilePath); in CleanseCrashInput()
468 WriteToFile(U, CurrentFilePath); in MinimizeCrashInput()
481 WriteToFile(U, CurrentFilePath); in MinimizeCrashInput()
H A DFuzzerLoop.cpp464 WriteToFile(reinterpret_cast<const uint8_t *>(FeatureSet.data()), in WriteFeatureSetToFile()
633 WriteToFile(U, Path); in WriteToOutputCorpus()
645 WriteToFile(U, Path); in WriteUnitToFileWithPrefix()
/freebsd/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp40 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()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp436 WriteToFile(ctx->memprof_fd, buf.data(), internal_strlen(buf.data())); in MemoryProfiler()