Home
last modified time | relevance | path

Searched refs:Msg (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DError.cpp27 const Twine &Msg) { in PrintMessage() argument
36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); in PrintMessage()
42 void PrintNote(const Twine &Msg) { WithColor::note() << Msg << "\n"; } in PrintNote() argument
44 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote() argument
45 PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg); in PrintNote()
48 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning() argument
49 PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg); in PrintWarning()
52 void PrintWarning(const char *Loc, const Twine &Msg) { in PrintWarning() argument
53 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
56 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; } in PrintWarning() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCAsmParser.cpp42 bool MCAsmParser::parseEOL(const Twine &Msg) { in parseEOL() argument
44 return Error(getTok().getLoc(), Msg); in parseEOL()
49 bool MCAsmParser::parseToken(AsmToken::TokenKind T, const Twine &Msg) { in parseToken() argument
51 return parseEOL(Msg); in parseToken()
53 return Error(getTok().getLoc(), Msg); in parseToken()
58 bool MCAsmParser::parseIntToken(int64_t &V, const Twine &Msg) { in parseIntToken() argument
60 return TokError(Msg); in parseIntToken()
73 bool MCAsmParser::check(bool P, const Twine &Msg) { in check() argument
74 return check(P, getTok().getLoc(), Msg); in check()
77 bool MCAsmParser::check(bool P, SMLoc Loc, const Twine &Msg) { in check() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h70 bool Warning(SMLoc L, const Twine &Msg) { in Warning() argument
71 return getParser().Warning(L, Msg); in Warning()
74 bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
75 return getParser().Error(L, Msg, Range);
78 void Note(SMLoc L, const Twine &Msg) { in Note() argument
79 getParser().Note(L, Msg); in Note()
82 bool TokError(const Twine &Msg) { in TokError() argument
83 return getParser().TokError(Msg); in TokError()
89 const Twine &Msg = "unexpected token") {
90 return getParser().parseToken(T, Msg);
[all …]
DMCAsmParser.h117 SmallString<64> Msg; member
180 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
185 virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
192 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
198 virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
205 printError(Err.Loc, Twine(Err.Msg), Err.Range); in printPendingErrors()
223 bool TokError(const Twine &Msg, SMRange Range = None);
226 bool parseToken(AsmToken::TokenKind T, const Twine &Msg = "unexpected token");
237 bool check(bool P, const Twine &Msg);
238 bool check(bool P, SMLoc Loc, const Twine &Msg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DError.h21 void PrintNote(const Twine &Msg);
22 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg);
24 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
25 void PrintWarning(const char *Loc, const Twine &Msg);
26 void PrintWarning(const Twine &Msg);
28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
29 void PrintError(const char *Loc, const Twine &Msg);
30 void PrintError(const Twine &Msg);
32 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg);
34 const Twine &Msg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h285 const Twine &Msg,
288 LineNum(LineNum), Msg(Msg) {} in DiagnosticInfo()
289 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg,
292 Msg(Msg) {} in DiagnosticInfo()
293 DiagnosticInfoSampleProfile(const Twine &Msg,
295 : DiagnosticInfo(DK_SampleProfile, Severity), Msg(Msg) {} in DiagnosticInfo()
306 const Twine &getMsg() const { return Msg; } in getMsg()
317 const Twine &Msg; variable
323 DiagnosticInfoPGOProfile(const char *FileName, const Twine &Msg,
325 : DiagnosticInfo(DK_PGOProfile, Severity), FileName(FileName), Msg(Msg) {} in DiagnosticInfo()
[all …]
DRemarkStreamer.h62 std::string Msg; member
67 Msg = EIB.message(); in RemarkSetupErrorInfo()
72 void log(raw_ostream &OS) const override { OS << Msg; } in log()
/third_party/typescript/src/webServer/
DwebServer.ts26 this.msg(s, Msg.Perf);
29 this.msg(s, Msg.Info);
32 this.msg(s, Msg.Err);
47 msg(s: string, type: Msg = Msg.Err) {
49 case Msg.Info:
52 case Msg.Perf:
55 default: // Msg.Err
75 protected write(_s: string, _type: Msg) {
89 protected write(body: string, type: Msg) {
92 case Msg.Info:
[all …]
/third_party/rust/crates/tracing/tracing-appender/src/
Dworker.rs1 use crate::Msg;
9 receiver: Receiver<Msg>,
22 pub(crate) fn new(receiver: Receiver<Msg>, writer: T, shutdown: Receiver<()>) -> Worker<T> { in new() argument
30 fn handle_recv(&mut self, result: &Result<Msg, RecvError>) -> io::Result<WorkerState> { in handle_recv() argument
32 Ok(Msg::Line(msg)) => { in handle_recv()
36 Ok(Msg::Shutdown) => Ok(WorkerState::Shutdown), in handle_recv()
41 fn handle_try_recv(&mut self, result: &Result<Msg, TryRecvError>) -> io::Result<WorkerState> { in handle_try_recv() argument
43 Ok(Msg::Line(msg)) => { in handle_try_recv()
47 Ok(Msg::Shutdown) => Ok(WorkerState::Shutdown), in handle_try_recv()
Dnon_blocking.rs50 use crate::Msg;
107 sender: Sender<Msg>,
128 channel: Sender<Msg>,
229 if self.channel.try_send(Msg::Line(buf.to_vec())).is_err() { in write()
233 return match self.channel.send(Msg::Line(buf.to_vec())) { in write()
260 fn new(handle: JoinHandle<()>, sender: Sender<Msg>, shutdown: Sender<()>) -> Self { in new() argument
273 .send_timeout(Msg::Shutdown, Duration::from_millis(100)) in drop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DError.cpp63 GenericBinaryError::GenericBinaryError(Twine Msg) : Msg(Msg.str()) {} in GenericBinaryError() argument
65 GenericBinaryError::GenericBinaryError(Twine Msg, object_error ECOverride) in GenericBinaryError() argument
66 : Msg(Msg.str()) { in GenericBinaryError()
71 OS << Msg; in log()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DError.cpp117 : Msg(S.str()), EC(EC) {} in StringError()
120 : Msg(S.str()), EC(EC), PrintMsgOnly(true) {} in StringError()
124 OS << Msg; in log()
127 if (!Msg.empty()) in log()
128 OS << (" " + Msg); in log()
136 Error createStringError(std::error_code EC, char const *Msg) { in createStringError() argument
137 return make_error<StringError>(Msg, EC); in createStringError()
DSourceMgr.cpp164 const Twine &Msg, in GetMessage() argument
221 LineAndCol.second-1, Kind, Msg.str(), in GetMessage()
244 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage() argument
246 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
250 const Twine &Msg, ArrayRef<SMRange> Ranges, in PrintMessage() argument
252 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
261 StringRef Msg, StringRef LineStr, in SMDiagnostic() argument
265 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.h69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
70 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } in Error() argument
72 void Warning(LocTy WarningLoc, const Twine &Msg) const;
73 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); } in Warning() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DError.h57 std::string Msg; in message() local
58 raw_string_ostream OS(Msg); in message()
703 inline void cantFail(Error Err, const char *Msg = nullptr) {
705 if (!Msg)
706 Msg = "Failure value returned from cantFail wrapped call";
710 OS << Msg << "\n" << Err;
711 Msg = OS.str().c_str();
713 llvm_unreachable(Msg);
731 T cantFail(Expected<T> ValOrErr, const char *Msg = nullptr) {
735 if (!Msg)
[all …]
DSourceMgr.h192 const Twine &Msg,
198 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
215 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
276 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() argument
277 : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} in SMDiagnostic()
282 StringRef Msg, StringRef LineStr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp301 raw_string_ostream Msg(msg); in EmitMSInlineAsmStr() local
302 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitMSInlineAsmStr()
303 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitMSInlineAsmStr()
480 raw_string_ostream Msg(msg); in EmitGCCInlineAsmStr() local
481 Msg << "invalid operand in inline asm: '" << AsmStr << "'"; in EmitGCCInlineAsmStr()
482 MMI->getModule()->getContext().emitError(LocCookie, Msg.str()); in EmitGCCInlineAsmStr()
574 std::string Msg = "inline asm clobber list contains reserved registers: "; in EmitInlineAsm() local
577 Msg += ", "; in EmitInlineAsm()
578 Msg += *I; in EmitInlineAsm()
583 SrcMgr.PrintMessage(Loc, SourceMgr::DK_Warning, Msg); in EmitInlineAsm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DError.h68 GenericBinaryError(Twine Msg);
69 GenericBinaryError(Twine Msg, object_error ECOverride);
70 const std::string &getMessage() const { return Msg; } in getMessage()
73 std::string Msg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h157 const Twine &Msg,
163 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
180 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
243 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic() argument
245 Message(Msg) {} in SMDiagnostic()
250 StringRef Msg, StringRef LineStr,
/third_party/typescript/src/server/
DutilitiesPublic.ts19 msg(s: string, type?: Msg): void;
24 export enum Msg { enum
29 export namespace Msg {
31 export type Types = Msg;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/
DAnnotations.cpp19 static void require(bool Assertion, const char *Msg, llvm::StringRef Code) { in require() argument
21 llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n"; in require()
27 auto Require = [Text](bool Assertion, const char *Msg) { in Annotations() argument
28 require(Assertion, Msg, Text); in Annotations()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h120 void reportError(SMLoc Loc, Twine const &Msg);
121 void reportNote(SMLoc Loc, Twine const &Msg);
122 void reportError(Twine const &Msg);
123 void reportWarning(Twine const &Msg);
/third_party/protobuf/docs/
Dfield_presence.md149 message Msg {
158 message Msg {
167 Msg m_a;
173 Msg m_b;
186 Msg m_b;
237 message Msg {
247 message Msg {
252 In the examples, a function `GetProto` constructs and returns a message of type `Msg` with unspecif…
259 Msg m = GetProto();
272 Msg m = GetProto();
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp38 std::string Msg; in create() local
40 Msg = EIB.message(); in create()
43 *ErrStr = Msg; in create()
/third_party/rust/crates/log/src/kv/
Derror.rs13 Msg(&'static str), enumerator
22 inner: Inner::Msg(msg), in msg()
52 &Msg(ref msg) => msg.fmt(f), in fmt()

123456