Home
last modified time | relevance | path

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

/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.cpp814 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile()
910 if (!WriteToFile(fd, buffer, length)) {
797 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, WriteToFile() function
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); in WriteToSymbolizer()
/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()
638 WriteToFile(U, Path);
650 WriteToFile(U, Path); in WriteUnitToFileWithPrefix()
/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()
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp121 ASSERT_TRUE(WriteToFile(fd, "A", 1)); in TEST()
130 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST()
132 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST()
/llvm-project/libc/test/src/stdio/
H A Dputc_test.cpp18 TEST(LlvmLibcPutcTest, WriteToFile) {
20 TEST(LlvmLibcPutcTest,WriteToFile) TEST() argument
H A Dfscanf_test.cpp36 TEST(LlvmLibcFScanfTest, WriteToFile) {
38 TEST(LlvmLibcFScanfTest,WriteToFile) TEST() argument
H A Dfprintf_test.cpp34 TEST(LlvmLibcFPrintfTest, WriteToFile) {
36 TEST(LlvmLibcFPrintfTest,WriteToFile) TEST() argument
H A Dvfprintf_test.cpp47 TEST(LlvmLibcVFPrintfTest, WriteToFile) { in call_vfprintf()
49 TEST(LlvmLibcVFPrintfTest,WriteToFile) TEST() argument
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp436 WriteToFile(ctx->memprof_fd, buf.data(), internal_strlen(buf.data())); in MemoryProfiler()