Home
last modified time | relevance | path

Searched refs:FMT_THROW (Results 1 – 6 of 6) 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()
138 FMT_THROW(WindowsError(GetLastError(), "cannot get file size")); in size()
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()
[all …]
Dtime.h32 FMT_THROW(FormatError("missing '}' in format string")); in format_arg()
98 FMT_THROW(fmt::FormatError("time_t value out of range")); in localtime()
134 FMT_THROW(fmt::FormatError("time_t value out of range")); in gmtime()
Dformat.cc299 FMT_THROW(FormatError( in report_unknown_type()
302 FMT_THROW(FormatError( in report_unknown_type()
312 FMT_THROW(WindowsError(ERROR_INVALID_PARAMETER, ERROR_MSG)); in UTF8ToUTF16()
317 FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); in UTF8ToUTF16()
322 FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); in UTF8ToUTF16()
328 FMT_THROW(WindowsError(error_code, in UTF16ToUTF8()
455 FMT_THROW(std::runtime_error("buffer overflow")); in grow()
Dprintf.h46 FMT_THROW(FormatError("precision is not integer"));
52 FMT_THROW(FormatError("number is too big"));
156 FMT_THROW(FormatError("width is not integer"));
169 FMT_THROW(FormatError("number is too big"));
348 FMT_THROW(FormatError(!*s ? "invalid format string" : error));
463 FMT_THROW(FormatError("invalid format string"));
Dformat.h173 #ifndef FMT_THROW
175 # define FMT_THROW(x) throw x macro
177 # define FMT_THROW(x) assert(false) macro
1979 FMT_THROW(FormatError("invalid format specifier for char"));
2743 FMT_THROW(FormatError("string pointer is null"));
3595 FMT_THROW(FormatError("number is too big"));
3603 FMT_THROW(fmt::FormatError(message));
3612 FMT_THROW(FormatError(fmt::format(
3638 FMT_THROW(FormatError(
3655 FMT_THROW(FormatError(error));
[all …]
Dposix.h341 FMT_THROW(fmt::SystemError(errno, "cannot create locale")); in Locale()