Home
last modified time | relevance | path

Searched refs:SystemError (Results 1 – 19 of 19) sorted by relevance

/external/fmtlib/fmt/
Dposix.cc75 FMT_THROW(SystemError(errno, "cannot open file {}", filename)); in BufferedFile()
84 FMT_THROW(SystemError(errno, "cannot close file")); in close()
93 FMT_THROW(SystemError(errno, "cannot get file descriptor")); in fileno()
106 FMT_THROW(SystemError(errno, "cannot open file {}", path)); in File()
124 FMT_THROW(SystemError(errno, "cannot close file")); in close()
146 FMT_THROW(SystemError(errno, "cannot get file attributes")); in size()
157 FMT_THROW(SystemError(errno, "cannot read from file")); in read()
165 FMT_THROW(SystemError(errno, "cannot write to file")); in write()
174 FMT_THROW(SystemError(errno, "cannot duplicate file descriptor {}", fd)); in dup()
182 FMT_THROW(SystemError(errno, in dup2()
[all …]
Dformat.cc85 FMT_FUNC SystemError::~SystemError() FMT_DTOR_NOEXCEPT {} in ~SystemError()
225 FMT_FUNC void SystemError::init( in init()
Dposix.h341 FMT_THROW(fmt::SystemError(errno, "cannot create locale")); in Locale()
Dformat.h2357 class SystemError : public internal::RuntimeError {
2366 SystemError() {}
2387 SystemError(int error_code, CStringRef message) {
2390 FMT_VARIADIC_CTOR(SystemError, init, int, CStringRef)
2392 ~SystemError() FMT_DTOR_NOEXCEPT;
3206 class WindowsError : public SystemError {
/external/lzma/CPP/7zip/UI/Common/
DUpdate.cpp690 errorInfo.SystemError = ::GetLastError(); in Compress()
728 errorInfo.SystemError = ::GetLastError(); in Compress()
745 errorInfo.SystemError = ::GetLastError(); in Compress()
988 errorInfo.SystemError = ::GetLastError(); in UpdateArchive()
1067 errorInfo.SystemError = (DWORD)E_NOTIMPL; in UpdateArchive()
1078 errorInfo.SystemError = (DWORD)E_NOTIMPL; in UpdateArchive()
1245 errorInfo.SystemError = 0; in UpdateArchive()
1331 errorInfo.SystemError = ::GetLastError(); in UpdateArchive()
1338 errorInfo.SystemError = ::GetLastError(); in UpdateArchive()
1358 errorInfo.SystemError = ::GetLastError(); in UpdateArchive()
[all …]
DUpdate.h149 DWORD SystemError; member
155 CErrorInfo(): SystemError(0) {}; in CErrorInfo()
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver.py124 raise SystemError('Sending SCPI command failed. '
146 raise SystemError(s)
/external/fmtlib/test/
Dgtest-extra-test.cc81 throw fmt::SystemError(EDOM, "test"); in throw_system_error()
210 EXPECT_SYSTEM_ERROR(throw fmt::SystemError(EDOM, "test"), EDOM, "test"); in TEST()
214 throw fmt::SystemError(EDOM, "aaa"), EDOM, "bbb"), ""); in TEST()
Dutil-test.cc788 fmt::SystemError error(0, ""); in check_utf_conversion_error()
791 } catch (const fmt::SystemError &e) { in check_utf_conversion_error()
823 fmt::SystemError error(0, ""); in check_throw_error()
826 } catch (const fmt::SystemError &e) { in check_throw_error()
845 TEST(UtilTest, SystemError) { in TEST() argument
846 fmt::SystemError e(EDOM, "test"); in TEST()
849 check_throw_error<fmt::SystemError>(EDOM, fmt::format_system_error); in TEST()
Dgtest-extra.cc41 throw fmt::SystemError(errno, "cannot flush stream"); in flush()
Dposix-mock-test.cc343 EXPECT_THROW(read_end.read(&c, size), fmt::SystemError); in TEST()
357 EXPECT_THROW(write_end.write(&c, size), fmt::SystemError); in TEST()
418 throw fmt::SystemError(errno, "fread failed"); in TEST()
Dgtest-extra.h87 EXPECT_THROW_MSG(statement, fmt::SystemError, \
Dposix-test.cc176 } catch (fmt::SystemError) { in TEST()
Dformat-test.cc1436 throw fmt::SystemError(errno, "Cannot open file '{}'", filename); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dencoder.py589 except SystemError:
599 except SystemError:
608 except SystemError:
/external/nanopb-c/generator/google/protobuf/internal/
Dencoder.py562 except SystemError:
572 except SystemError:
581 except SystemError:
/external/lzma/CPP/7zip/UI/Console/
DMain.cpp248 if (errorInfo.SystemError != 0) in WarningsCheck()
250 message += NError::MyFormatMessage(errorInfo.SystemError); in WarningsCheck()
/external/fmtlib/
DChangeLog.rst633 * Improved documentation of ``SystemError`` and ``WindowsError``
891 ``SystemError`` containing the formatted message and system-specific error
900 will throw ``SystemError`` exception with description
906 * ``Format`` now throws ``SystemError`` in case of I/O errors.
/external/fmtlib/doc/
Dapi.rst245 .. doxygenclass:: fmt::SystemError