Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 657) sorted by relevance

12345678910>>...27

/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Doperations.h37 _LIBCPP_FUNC_VIS path __absolute(const path&, error_code* __ec = nullptr);
38 _LIBCPP_FUNC_VIS path __canonical(const path&, error_code* __ec = nullptr);
42 _LIBCPP_FUNC_VIS bool __create_directories(const path&, error_code* = nullptr);
44 _LIBCPP_FUNC_VIS bool __create_directory(const path&, error_code* = nullptr);
48 _LIBCPP_FUNC_VIS path __current_path(error_code* __ec = nullptr);
49 _LIBCPP_FUNC_VIS void __current_path(const path&, error_code* __ec = nullptr);
51 _LIBCPP_FUNC_VIS file_status __status(const path&, error_code* __ec = nullptr);
52 _LIBCPP_FUNC_VIS uintmax_t __file_size(const path&, error_code* __ec = nullptr);
58 _LIBCPP_FUNC_VIS path __read_symlink(const path&, error_code* __ec = nullptr);
60 _LIBCPP_FUNC_VIS bool __remove(const path&, error_code* __ec = nullptr);
[all …]
H A Ddirectory_entry.h55 error_code __ec; in directory_entry()
72 error_code __ec; in assign()
77 void assign(_Path const& __p, error_code& __ec) { in assign()
85 error_code __ec; in replace_filename()
111 bool exists(error_code& __ec) const noexcept { in exists()
143 bool is_fifo(error_code& __ec) const noexcept { in is_fifo()
314 error_code __do_refresh() noexcept;
341 void __refresh(error_code* __ec = nullptr) {
431 error_code __m_ec;
456 error_code __m_ec;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h130 virtual std::error_code writeNameTable();
132 std::error_code writeSummary();
134 std::error_code writeNameIdx(StringRef FName);
260 std::error_code writeNameTable() override;
263 std::error_code writeCSNameTableSection();
270 std::error_code writeFuncOffsetTable();
271 std::error_code writeProfileSymbolListSection();
288 std::error_code writeSecHdrTable();
290 std::error_code compressAndOutput();
390 std::error_code writeNameTable() override;
[all …]
H A DSampleProfReader.h370 std::error_code read() { in read()
570 std::error_code readImpl() override;
591 std::error_code readImpl() override;
631 std::error_code readMagicIdent();
634 std::error_code readSummary();
701 std::error_code readSecHdrTable();
707 std::error_code readFuncProfiles();
708 std::error_code readMD5NameTable();
767 std::error_code readImpl() override;
873 std::error_code readNameTable();
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProfReader.cpp394 std::error_code EC; in readNumber()
414 std::error_code EC; in readString()
428 std::error_code EC; in readUnencodedNumber()
443 std::error_code EC; in readStringIndex()
503 std::error_code
521 return std::error_code(); in readProfile()
586 std::error_code
985 std::error_code
1085 std::error_code
1142 std::error_code
[all …]
H A DSampleProfWriter.cpp43 std::error_code
117 std::error_code
141 std::error_code
150 std::error_code
308 std::error_code
453 std::error_code
528 std::error_code
642 std::error_code
651 std::error_code
821 std::error_code
[all …]
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp232 std::error_code
271 std::error_code
285 return std::error_code(); in readLocation()
288 std::error_code
296 std::error_code EC; in readRange()
305 return std::error_code(); in readRange()
310 return std::error_code(); in visitStartOfDiagnostic()
319 return std::error_code(); in visitEndOfDiagnostic()
327 return std::error_code(); in visitCategoryRecord()
350 std::error_code
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dsystem_error54 class error_code
58 error_code() noexcept;
78 bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
129 bool operator==(const error_code& lhs, const error_code& rhs) noexcept;
133 bool operator!=(const error_code& lhs, const error_code& rhs) noexcept;
314 // error_code
376 error_code
384 operator<(const error_code& __x, const error_code& __y) _NOEXCEPT
392 operator==(const error_code& __x, const error_code& __y) _NOEXCEPT
421 operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT
[all …]
H A Dfilesystem80 path absolute(const path& p, error_code &ec);
83 path canonical(const path& p, error_code& ec);
89 error_code& ec);
95 error_code& ec);
99 error_code& ec) noexcept;
124 path current_path(error_code& ec);
186 error_code& ec);
188 path proximate(const path& p, error_code& ec);
193 path read_symlink(const path& p, error_code& ec);
195 path relative(const path& p, error_code& ec);
[all …]
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h41 inline std::error_code make_error_code(SDError E) { in make_error_code()
42 return std::error_code(static_cast<int>(E), SDErrorCategory()); in make_error_code()
66 std::error_code readDiagnostics(StringRef File);
76 std::error_code readMetaBlock(llvm::BitstreamCursor &Stream);
79 std::error_code readDiagnosticBlock(llvm::BitstreamCursor &Stream);
83 virtual std::error_code visitStartOfDiagnostic() { return {}; } in visitStartOfDiagnostic()
86 virtual std::error_code visitEndOfDiagnostic() { return {}; } in visitEndOfDiagnostic()
99 virtual std::error_code
106 virtual std::error_code visitFilenameRecord(unsigned ID, unsigned Size, in visitFilenameRecord()
113 virtual std::error_code
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h423 return std::error_code(); in resize_file_before_mapping_readwrite()
697 return std::error_code(); in file_size()
927 std::error_code
1064 inline std::error_code
1188 std::error_code
1195 std::error_code lockFile(int FD);
1202 std::error_code unlockFile(int FD);
1213 std::error_code closeFile(file_t &F);
1244 std::error_code unlock() { in unlock()
1250 return std::error_code(); in unlock()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DMemoryTest.cpp100 std::error_code EC; in TEST_P()
112 std::error_code EC; in TEST_P()
128 std::error_code EC; in TEST_P()
164 std::error_code EC; in TEST_P()
185 std::error_code EC; in TEST_P()
248 std::error_code EC; in TEST_P()
306 std::error_code EC; in TEST_P()
332 std::error_code EC; in TEST_P()
355 std::error_code EC; in TEST_P()
382 std::error_code EC; in TEST_P()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DAutoConvert.cpp20 std::error_code llvm::disableAutoConversion(int FD) { in disableAutoConversion()
27 return std::error_code(errno, std::generic_category()); in disableAutoConversion()
28 return std::error_code(); in disableAutoConversion()
31 std::error_code llvm::enableAutoConversion(int FD) { in enableAutoConversion()
39 return std::error_code(errno, std::generic_category()); in enableAutoConversion()
49 return std::error_code(errno, std::generic_category()); in enableAutoConversion()
50 return std::error_code(); in enableAutoConversion()
53 std::error_code llvm::setFileTag(int FD, int CCSID, bool Text) { in setFileTag()
63 return std::error_code(errno, std::generic_category()); in setFileTag()
64 return std::error_code(); in setFileTag()
H A DError.cpp74 std::error_code ErrorList::convertToErrorCode() const { in convertToErrorCode()
79 std::error_code inconvertibleErrorCode() { in inconvertibleErrorCode()
84 std::error_code FileError::convertToErrorCode() const { in convertToErrorCode()
85 std::error_code NestedEC = Err->convertToErrorCode(); in convertToErrorCode()
92 Error errorCodeToError(std::error_code EC) { in errorCodeToError()
98 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode()
99 std::error_code EC; in errorToErrorCode()
121 StringError::StringError(std::error_code EC, const Twine &S) in StringError()
124 StringError::StringError(const Twine &S, std::error_code EC) in StringError()
137 std::error_code StringError::convertToErrorCode() const { in convertToErrorCode()
[all …]
H A DRandomNumberGenerator.cpp68 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) { in getRandomBytes()
75 return std::error_code(); in getRandomBytes()
77 return std::error_code(GetLastError(), std::system_category()); in getRandomBytes()
81 std::error_code Ret; in getRandomBytes()
84 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
86 Ret = std::error_code(EIO, std::system_category()); in getRandomBytes()
88 Ret = std::error_code(errno, std::system_category()); in getRandomBytes()
92 return std::error_code(errno, std::system_category()); in getRandomBytes()
H A DPath.cpp169 static std::error_code
179 std::error_code EC; in createUniqueEntity()
793 return std::error_code(); in getUniqueID()
841 static std::error_code
854 static std::error_code
892 std::error_code
899 std::error_code
1012 return std::error_code(); in copy_file_internal()
1020 if (std::error_code EC = in copy_file()
1237 std::error_code EC = std::error_code(errno, std::generic_category()); in discard()
[all …]
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp61 bool advance(error_code& ec) { in advance()
85 error_code close() noexcept { in close()
86 error_code ec; in close()
132 bool advance(error_code& ec) { in advance()
151 error_code close() noexcept { in close()
152 error_code m_ec; in close()
173 error_code m_ec; in directory_iterator()
188 error_code m_ec; in __increment()
215 error_code m_ec; in recursive_directory_iterator()
268 error_code m_ec; in __advance()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/
H A Dcopy.pass.cpp37 std::error_code ec; ((void)ec); in TEST_CASE()
79 std::error_code ec = test_ec; in TEST_CASE()
88 std::error_code ec = test_ec; in TEST_CASE()
95 std::error_code ec = test_ec; in TEST_CASE()
103 std::error_code ec = test_ec; in TEST_CASE()
110 std::error_code ec = test_ec; in TEST_CASE()
127 std::error_code ec = GetTestEC(); in TEST_CASE()
134 std::error_code ec = GetTestEC(); in TEST_CASE()
141 std::error_code ec = GetTestEC(); in TEST_CASE()
147 std::error_code ec = GetTestEC(); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dctor.pass.cpp63 std::error_code ec; in TEST_CASE()
116 std::error_code ec; in TEST_CASE()
124 std::error_code ec; in TEST_CASE()
145 std::error_code ec; in TEST_CASE()
153 std::error_code ec; in TEST_CASE()
168 std::error_code ec; in TEST_CASE()
188 std::error_code ec; in TEST_CASE()
207 std::error_code ec; in TEST_CASE()
222 std::error_code ec; in TEST_CASE()
232 std::error_code ec; in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/src/
H A Dsystem_error.cpp227 error_code::message() const in message()
235 system_error::__init(const error_code& ec, string what_arg) in __init()
246 system_error::system_error(error_code ec, const string& what_arg) in system_error()
252 system_error::system_error(error_code ec, const char* what_arg) in system_error()
258 system_error::system_error(error_code ec) in system_error()
265 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
266 __ec_(error_code(ev, ecat)) in system_error()
271 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
272 __ec_(error_code(ev, ecat)) in system_error()
277 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc100 return std::error_code();
220 if (std::error_code EC =
225 return std::error_code();
237 return std::error_code();
255 return std::error_code();
271 return std::error_code();
307 return std::error_code();
381 return std::error_code();
411 return std::error_code();
457 return std::error_code();
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
H A Dpath.pass.cpp53 std::error_code&>::value, in TEST_CASE()
63 std::error_code ec = GetTestEC(); in TEST_CASE()
70 std::error_code ec = GetTestEC(); in TEST_CASE()
86 std::error_code ec = GetTestEC(); in TEST_CASE()
103 std::error_code ec = GetTestEC(); in TEST_CASE()
127 std::error_code ec = GetTestEC(); in TEST_CASE()
134 std::error_code ec = GetTestEC(); in TEST_CASE()
160 std::error_code ec = GetTestEC(); in TEST_CASE()
178 std::error_code ec = GetTestEC(); in TEST_CASE()
184 std::error_code ec = GetTestEC(); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dctor.pass.cpp48 std::error_code&>::value, ""); in TEST_CASE()
64 std::error_code ec; in TEST_CASE()
118 std::error_code ec; in TEST_CASE()
126 std::error_code ec; in TEST_CASE()
157 std::error_code ec; in TEST_CASE()
165 std::error_code ec; in TEST_CASE()
180 std::error_code ec; in TEST_CASE()
200 std::error_code ec; in TEST_CASE()
219 std::error_code ec; in TEST_CASE()
236 std::error_code ec; in TEST_CASE()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc399 return std::error_code();
409 return std::error_code();
422 return std::error_code();
437 return std::error_code();
450 return std::error_code();
477 return std::error_code();
569 return std::error_code();
578 return std::error_code();
591 return std::error_code();
1131 std::error_code EC =
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/
H A Dcreate_directories.pass.cpp34 std::error_code ec; ((void)ec); in TEST_CASE()
45 std::error_code ec; in TEST_CASE()
55 std::error_code ec; in TEST_CASE()
65 std::error_code ec; in TEST_CASE()
78 std::error_code ec = GetTestEC(); in TEST_CASE()
95 std::error_code ec = GetTestEC(); in TEST_CASE()
107 std::error_code ec = GetTestEC(); in TEST_CASE()
119 std::error_code ec = GetTestEC(); in TEST_CASE()
133 std::error_code ec = GetTestEC(); in TEST_CASE()
143 std::error_code ec = GetTestEC(); in TEST_CASE()
[all …]

12345678910>>...27