Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 85) sorted by relevance

1234

/llvm-project-15.0.7/lldb/test/API/commands/process/attach/attach_denied/
H A Dmain.cpp32 fprintf (stderr, "open(%s) failed: %s\n", tmp_file_name, strerror (errno)); in writePid()
42 fprintf (stderr, "write(%s) failed: %s\n", buffer, strerror (errno)); in writePid()
49 fprintf (stderr, "rename(%s, %s) failed: %s\n", tmp_file_name, file_name, strerror (errno)); in writePid()
72 fprintf (stderr, "fork failed: %s\n", strerror (errno)); in main()
84 fprintf (stderr, "ptrace(ATTACH) failed: %s\n", strerror (errno)); in main()
92 fprintf (stderr, "ptrace(DETACH) failed: %s\n", strerror (errno)); in main()
98 fprintf (stderr, "waitpid failed: %s\n", strerror (errno)); in main()
/llvm-project-15.0.7/clang/test/Analysis/cert/
H A Denv34-c.c8 char *strerror(int errnum);
256 p = strerror(0); in strerror_test1()
259 p = strerror(1); in strerror_test1()
263 p2 = strerror(2); in strerror_test1()
274 p = strerror(0); in strerror_test2()
277 p = strerror(1); in strerror_test2()
284 p2 = strerror(2); in strerror_test2()
292 p2 = strerror(errno); in strerror_test2()
/llvm-project-15.0.7/libc/test/
H A DErrnoSetterMatcher.h21 extern "C" const char *strerror(int);
36 << ActualReturn << ".\nExpecte errno to be " << strerror(ExpectedErrno) in explainError()
37 << " but got " << strerror(ActualErrno) << ".\n"; in explainError()
41 << strerror(ActualErrno) << ".\n"; in explainError()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dasm-label.c4 char *strerror(int) asm("alias");
9 strerror(-1); in test()
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DOutputRedirector.cpp33 strerror(error)); in RedirectFd()
40 strerror(error)); in RedirectFd()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/llvm-jitlink-executor/
H A Dllvm-jitlink-executor.cpp82 errs() << "Error creating socket: " << std::strerror(errno) << "\n"; in openListener()
89 errs() << "Error calling setsockopt: " << std::strerror(errno) << "\n"; in openListener()
95 errs() << "Error on binding: " << std::strerror(errno) << "\n"; in openListener()
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingFile.c154 strerror(errno), CountersBegin, PageAlignedCountersLength, Fileno, in mmapForContinuousMode()
210 PROF_ERR("Unable to mmap profile: %s\n", strerror(errno)); in mmapForContinuousMode()
323 strerror(errno)); in getProfileFileSizeForMerging()
331 strerror(errno)); in getProfileFileSizeForMerging()
355 strerror(errno)); in mmapProfileForMerging()
444 strerror(errno)); in openFileForMerging()
562 PROF_ERR("Failed to write file \"%s\": %s\n", Filename, strerror(errno)); in writeProfileWithFileObject()
1053 PROF_ERR("Failed to write file \"%s\": %s\n", Filename, strerror(errno)); in __llvm_profile_write_file()
1115 PROF_ERR("Failed to write file \"%s\": %s\n", Filename, strerror(errno)); in __llvm_orderfile_write_file()
1171 strerror(errno)); in __llvm_profile_set_file_object()
H A DGCDAProfiling.c257 strerror(errnum)); in map_file()
282 strerror(errnum)); in unmap_file()
326 strerror(errnum)); in llvm_gcda_start_file()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dnot-null-terminated-result-in-initialization-strlen.c25 int length = strlen(strerror(errno)); in bad_strerror_s()
35 int length = strlen(strerror(errno)); in good_strerror_s()
H A Dnot-null-terminated-result-strlen.c59 strerror_s(dest, strlen(strerror(errno)), errno); in bad_strerror_s()
67 strerror_s(dst, strlen(strerror(errno)) + 1, errno); in good_strerror_s()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DPerf.cpp90 llvm::formatv("perf event syscall failed: {0}", std::strerror(errno)); in Init()
111 buffer_name, std::strerror(errno)); in DoMmap()
301 std::strerror(errno)); in DisableWithIoctl()
316 std::strerror(errno)); in EnableWithIoctl()
/llvm-project-15.0.7/flang/runtime/
H A Dio-error.cpp51 std::strerror(iostatOrErrno)); in SignalError()
113 msg = strerror(ioStat_); in GetIoMsg()
H A DCMakeLists.txt11 check_cxx_symbol_exists(strerror string.h HAVE_STRERROR)
24 message(FATAL_ERROR "None of strerror, strerror_r, strerror_s found.")
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp335 std::string("inotify_init1() error: ") + strerror(errno), in create()
348 std::string("inotify_add_watch() error: ") + strerror(errno), in create()
355 std::string("SemaphorePipe::create() error: ") + strerror(errno), in create()
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dglob.cpp19 printf("%d %s\n", errno, strerror(errno)); in main()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dglob.cpp24 printf("%d %s\n", errno, strerror(errno)); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dcstring52 char* strerror(int errnum);
90 using ::strerror _LIBCPP_USING_IF_EXISTS;
/llvm-project-15.0.7/llvm/lib/Support/
H A DErrno.cpp62 str = strerror(errnum); in StrError()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dsysmsg.c27 fprintf(stderr, "Error sending message! %s\n", strerror(errno)); in main()
/llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/Linux/
H A Dguard-page.c21 fprintf(stderr, "%s: %s\n", msg, strerror(err)); in die()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp407 INTERCEPTOR(char *, strerror, int errnum) { in INTERCEPTOR() argument
409 return REAL(strerror)(errnum); in INTERCEPTOR()
411 #define LSAN_MAYBE_INTERCEPT_STRERROR INTERCEPT_FUNCTION(strerror)
/llvm-project-15.0.7/compiler-rt/test/profile/ContinuousSyncMode/
H A Donline-merging.c114 I, ret, strerror(ret)); in main()
H A Dset-file-object.c69 I, ret, strerror(ret)); in main()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dbinary-id-padding.c37 fprintf(stderr, "%s %s\n", str, strerror(errno)); in bail()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/not-null-terminated-result/
H A Dnot-null-terminated-result-c.h21 char *strerror(int errnum);

1234