Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/llvm-project-15.0.7/lld/Common/
H A DErrorHandler.cpp56 void lld::error(const Twine &msg) { errorHandler().error(msg); } in error() argument
60 void lld::fatal(const Twine &msg) { errorHandler().fatal(msg); } in fatal() argument
61 void lld::log(const Twine &msg) { errorHandler().log(msg); } in log() argument
65 void lld::warn(const Twine &msg) { errorHandler().warn(msg); } in warn() argument
220 os << msg << '\n'; in reportDiagnostic()
235 s << msg << "\n"; in message()
241 error(msg); in warn()
275 reportDiagnostic(getLocation(msg), Colors::RED, "error", msg); in error()
292 error(msg); in error()
314 error(msg); in error()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dio-error.cpp33 if (msg && (flags_ & hasIoMsg)) { in SignalError()
36 va_start(ap, msg); in SignalError()
42 } else if (msg) { in SignalError()
44 va_start(ap, msg); in SignalError()
45 CrashArgs(msg, ap); in SignalError()
65 if (ioStatOrErrno != IostatOk && msg) { in Forward()
85 const char *msg{ioMsg_.get()}; in GetIoMsg() local
86 if (!msg) { in GetIoMsg()
89 if (msg) { in GetIoMsg()
113 msg = strerror(ioStat_); in GetIoMsg()
[all …]
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/
H A Dcase.py572 msg = self._formatMessage(msg, standardMsg)
580 assertion_func(first, second, msg=msg)
596 msg=None, argument
632 msg = self._formatMessage(msg, standardMsg)
640 msg=None, argument
670 msg = self._formatMessage(msg, standardMsg)
805 msg = self._formatMessage(msg, standardMsg)
981 return self.assertSequenceEqual(expected, actual, msg=msg)
1097 msg = msg or "Regexp didn't match"
1108 msg = msg or "Regexp matched"
[all …]
/llvm-project-15.0.7/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp9 extern "C" void ubsan_message(const char *msg);
10 static void message(const char *msg) { ubsan_message(msg); } in message() argument
12 static void message(const char *msg) { in message() argument
13 (void)write(2, msg, strlen(msg)); in message()
56 static void abort_with_message(const char *msg) { in abort_with_message() argument
57 if (&android_set_abort_message) android_set_abort_message(msg); in abort_with_message()
81 #define HANDLER_RECOVER(name, msg) \ argument
84 message("ubsan: " msg "\n"); \
87 #define HANDLER_NORECOVER(name, msg) \ argument
89 message("ubsan: " msg "\n"); \
[all …]
/llvm-project-15.0.7/openmp/runtime/tools/
H A Dmessage-converter.pl64 my ( $msg ) = @_;
66 pos( $msg ) = 0;
84 my ( $msg ) = @_;
88 return $msg;
100 my ( $msg ) = @_;
101 $msg = msg2src( $msg ); # Get windows style placeholders.
103 return $msg;
110 my ( $msg ) = @_;
111 pos( $msg ) = 0;
117 return "Bad %-sequence near \"%" . substr( $msg, pos( $msg ), 7 ) . "\"";
[all …]
/llvm-project-15.0.7/libunwind/src/
H A Dconfig.h148 #define _LIBUNWIND_ABORT(msg) \ argument
153 #define _LIBUNWIND_ABORT(msg) \ argument
162 #define _LIBUNWIND_LOG0(msg) argument
163 #define _LIBUNWIND_LOG(msg, ...) argument
165 #define _LIBUNWIND_LOG0(msg) \ argument
166 fprintf(stderr, "libunwind: " msg "\n")
168 fprintf(stderr, "libunwind: " msg "\n", __VA_ARGS__)
184 #define _LIBUNWIND_DEBUG_LOG(msg, ...) argument
185 #define _LIBUNWIND_TRACE_API(msg, ...) argument
188 #define _LIBUNWIND_TRACE_UNWINDING(msg, ...) argument
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.error/
H A Dformat.error.pass.cpp32 const char* msg = "format_error message c-string"; in main() local
33 std::format_error e(msg); in main()
34 assert(std::strcmp(e.what(), msg) == 0); in main()
36 assert(std::strcmp(e2.what(), msg) == 0); in main()
38 assert(std::strcmp(e2.what(), msg) == 0); in main()
41 std::string msg("format_error message std::string"); in main() local
42 std::format_error e(msg); in main()
43 assert(e.what() == msg); in main()
45 assert(e2.what() == msg); in main()
47 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/llvm/test/MC/AMDGPU/
H A Dsopp.s304 msg=1
305 s_sendmsg sendmsg(msg)
308 msg=0
309 s_sendmsg sendmsg(msg+1)
312 msg=0
313 s_sendmsg sendmsg(1+msg)
316 msg=2
321 msg=1
326 msg=1
331 msg=1
[all …]
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/domain.error/
H A Ddomain_error.pass.cpp26 const char* msg = "domain_error message"; in main() local
27 std::domain_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another domain_error message"); in main() local
36 std::domain_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/
H A Dinvalid_argument.pass.cpp26 const char* msg = "invalid_argument message"; in main() local
27 std::invalid_argument e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another invalid_argument message"); in main() local
36 std::invalid_argument e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/overflow.error/
H A Doverflow_error.pass.cpp26 const char* msg = "overflow_error message"; in main() local
27 std::overflow_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another overflow_error message"); in main() local
36 std::overflow_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/length.error/
H A Dlength_error.pass.cpp26 const char* msg = "length_error message"; in main() local
27 std::length_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another length_error message"); in main() local
36 std::length_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/range.error/
H A Drange_error.pass.cpp26 const char* msg = "range_error message"; in main() local
27 std::range_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another range_error message"); in main() local
36 std::range_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/out.of.range/
H A Dout_of_range.pass.cpp26 const char* msg = "out_of_range message"; in main() local
27 std::out_of_range e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another out_of_range message"); in main() local
36 std::out_of_range e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/runtime.error/
H A Druntime_error.pass.cpp26 const char* msg = "runtime_error message"; in main() local
27 std::runtime_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another runtime_error message"); in main() local
36 std::runtime_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/underflow.error/
H A Dunderflow_error.pass.cpp26 const char* msg = "underflow_error message"; in main() local
27 std::underflow_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another underflow_error message"); in main() local
36 std::underflow_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/logic.error/
H A Dlogic_error.pass.cpp26 const char* msg = "logic_error message"; in main() local
27 std::logic_error e(msg); in main()
28 assert(std::strcmp(e.what(), msg) == 0); in main()
30 assert(std::strcmp(e2.what(), msg) == 0); in main()
32 assert(std::strcmp(e2.what(), msg) == 0); in main()
35 std::string msg("another logic_error message"); in main() local
36 std::logic_error e(msg); in main()
37 assert(e.what() == msg); in main()
39 assert(e2.what() == msg); in main()
41 assert(e2.what() == msg); in main()
/llvm-project-15.0.7/lld/wasm/
H A DWriterUtils.cpp78 void debugWrite(uint64_t offset, const Twine &msg) { in debugWrite() argument
84 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeUleb128()
89 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeSleb128()
94 const Twine &msg) { in writeBytes() argument
107 debugWrite(os.tell(), msg + " [0x" + utohexstr(byte) + "]"); in writeU8()
123 msg + "[type: " + toString(type) + "]"); in writeValueType()
140 writeSleb128(os, number, msg); in writeI32Const()
145 writeSleb128(os, number, msg); in writeI64Const()
149 const Twine &msg) { in writePtrConst() argument
151 writeI64Const(os, number, msg); in writePtrConst()
[all …]
H A DWriterUtils.h20 void debugWrite(uint64_t offset, const Twine &msg);
25 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg);
27 void writeSleb128(raw_ostream &os, int64_t number, const Twine &msg);
30 const Twine &msg);
32 void writeStr(raw_ostream &os, StringRef string, const Twine &msg);
34 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg);
36 void writeU32(raw_ostream &os, uint32_t number, const Twine &msg);
39 const Twine &msg);
43 void writeI32Const(raw_ostream &os, int32_t number, const Twine &msg);
45 void writeI64Const(raw_ostream &os, int64_t number, const Twine &msg);
[all …]
/llvm-project-15.0.7/bolt/runtime/
H A Dhugify.cpp54 char msg[] = "Could not allocate memory for text move\n"; in hugify_for_old_kernel() local
55 reportError(msg, sizeof(msg)); in hugify_for_old_kernel()
69 char msg[] = "failed to mmap memory for large page move terminating\n"; in hugify_for_old_kernel() local
70 reportError(msg, sizeof(msg)); in hugify_for_old_kernel()
75 char msg[] = "failed to allocate large page\n"; in hugify_for_old_kernel() local
76 reportError(msg, sizeof(msg)); in hugify_for_old_kernel()
112 char msg[] = "failed to allocate large page\n"; in __bolt_hugify_self_impl() local
114 reportError(msg, sizeof(msg)); in __bolt_hugify_self_impl()
/llvm-project-15.0.7/polly/lib/External/isl/cpp/
H A Dcpp.h.top98 throw_error(isl_error_invalid, msg, file, line);
113 if (!msg || !file)
117 ":" + std::to_string(line) + ": " + msg);
135 exception("unknown failure", msg, file, line) {}
141 exception("internal error", msg, file, line) {}
153 exception("quota exceeded", msg, file, line) {}
180 throw exception_unsupported(msg, file, line);
195 const char *msg, *file;
199 msg = isl_ctx_last_error_msg(ctx.get());
204 throw_error(error, msg, file, line);
[all …]
/llvm-project-15.0.7/clang/tools/scan-view/share/
H A DReporter.py99 msg = MIMEText(fp.read(), _subtype=subtype)
103 msg = MIMEBase(maintype, subtype)
104 msg.set_payload(fp.read())
107 encoders.encode_base64(msg)
110 outer.attach(msg)
125 msg = MIMEMultipart()
128 msg['To'] = parameters.get('To')
129 msg['From'] = parameters.get('From')
130 msg.preamble = mainMsg
134 self.attachFile(msg, file)
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/imath/
H A Drsamath.c32 static mp_result s_rsa_transform(mp_int msg, mp_int exp, mp_int mod,
55 mp_result rsa_rsaep(mp_int msg, mp_int exp, mp_int mod, mp_int cipher) { in rsa_rsaep() argument
56 return s_rsa_transform(msg, exp, mod, cipher); in rsa_rsaep()
60 mp_result rsa_rsadp(mp_int cipher, mp_int exp, mp_int mod, mp_int msg) { in rsa_rsadp() argument
61 return s_rsa_transform(cipher, exp, mod, msg); in rsa_rsadp()
65 mp_result rsa_rsasp(mp_int msg, mp_int exp, mp_int mod, mp_int signature) { in rsa_rsasp() argument
66 return s_rsa_transform(msg, exp, mod, signature); in rsa_rsasp()
71 return s_rsa_transform(signature, exp, mod, msg); in rsa_rsavp()
139 static mp_result s_rsa_transform(mp_int msg, mp_int exp, mp_int mod, in s_rsa_transform() argument
141 if (mp_int_compare_zero(msg) < 0 || mp_int_compare(msg, mod) >= 0) { in s_rsa_transform()
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Ddn_expand.cpp40 char unsigned msg[1024]; in testComp() local
41 char unsigned *mb = msg; in testComp()
42 char unsigned *me = msg + sizeof(msg); in testComp()
44 pb[0] = msg; in testComp()
61 res = dn_expand(msg, msg + sizeof(msg), n1, output, sizeof(output)); in testComp()
71 res = dn_expand(msg, msg + sizeof(msg), n2, output, sizeof(output)); in testComp()
/llvm-project-15.0.7/lld/include/lld/Common/
H A DErrorHandler.h110 void error(const Twine &msg);
112 [[noreturn]] void fatal(const Twine &msg);
113 void log(const Twine &msg);
114 void message(const Twine &msg, llvm::raw_ostream &s);
115 void warn(const Twine &msg);
126 std::string getLocation(const Twine &msg);
128 const Twine &msg);
147 void error(const Twine &msg);
149 [[noreturn]] void fatal(const Twine &msg);
150 void log(const Twine &msg);
[all …]

12345678910>>...16