Home
last modified time | relevance | path

Searched refs:LineStr (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp44 StringRef LineStr(Line); in LayoutOverrideSource() local
47 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { in LayoutOverrideSource()
62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) in LayoutOverrideSource()
63 LineStr = LineStr.substr(Pos + strlen("struct ")); in LayoutOverrideSource()
64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) in LayoutOverrideSource()
65 LineStr = LineStr.substr(Pos + strlen("class ")); in LayoutOverrideSource()
66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) in LayoutOverrideSource()
67 LineStr = LineStr.substr(Pos + strlen("union ")); in LayoutOverrideSource()
72 CurrentType = parseName(LineStr); in LayoutOverrideSource()
78 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource()
[all …]
/external/llvm-project/clang/lib/Frontend/
DLayoutOverrideSource.cpp43 StringRef LineStr(Line); in LayoutOverrideSource() local
46 if (LineStr.find("*** Dumping AST Record Layout") != StringRef::npos) { in LayoutOverrideSource()
61 if ((Pos = LineStr.find("struct ")) != StringRef::npos) in LayoutOverrideSource()
62 LineStr = LineStr.substr(Pos + strlen("struct ")); in LayoutOverrideSource()
63 else if ((Pos = LineStr.find("class ")) != StringRef::npos) in LayoutOverrideSource()
64 LineStr = LineStr.substr(Pos + strlen("class ")); in LayoutOverrideSource()
65 else if ((Pos = LineStr.find("union ")) != StringRef::npos) in LayoutOverrideSource()
66 LineStr = LineStr.substr(Pos + strlen("union ")); in LayoutOverrideSource()
71 CurrentType = parseName(LineStr); in LayoutOverrideSource()
77 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCDwarf.cpp244 Optional<MCDwarfLineStr> LineStr; in Emit() local
246 LineStr = MCDwarfLineStr(context); in Emit()
253 CUIDTablePair.second.EmitCU(MCOS, Params, LineStr); in Emit()
256 if (LineStr) in Emit()
257 LineStr->emitSection(MCOS); in Emit()
271 Optional<MCDwarfLineStr> &LineStr) const { in Emit()
291 LineStr); in Emit()
354 Optional<MCDwarfLineStr> &LineStr) { in emitOneV5FileEntry() argument
356 if (LineStr) in emitOneV5FileEntry()
357 LineStr->emitRef(MCOS, DwarfFile.Name); in emitOneV5FileEntry()
[all …]
/external/llvm-project/llvm/lib/MC/
DMCDwarf.cpp262 Optional<MCDwarfLineStr> LineStr; in Emit() local
264 LineStr = MCDwarfLineStr(context); in Emit()
271 CUIDTablePair.second.EmitCU(MCOS, Params, LineStr); in Emit()
274 if (LineStr) in Emit()
275 LineStr->emitSection(MCOS); in Emit()
289 Optional<MCDwarfLineStr> &LineStr) const { in Emit()
309 LineStr); in Emit()
373 Optional<MCDwarfLineStr> &LineStr) { in emitOneV5FileEntry() argument
375 if (LineStr) in emitOneV5FileEntry()
376 LineStr->emitRef(MCOS, DwarfFile.Name); in emitOneV5FileEntry()
[all …]
/external/llvm-project/llvm/tools/llvm-undname/
Dllvm-undname.cpp103 std::string LineStr; in main() local
104 std::getline(std::cin, LineStr); in main()
108 StringRef Line(LineStr); in main()
/external/llvm/lib/Support/
DSourceMgr.cpp145 std::string LineStr; in GetMessage() local
166 LineStr = std::string(LineStart, LineEnd); in GetMessage()
195 LineStr, ColRanges, FixIts); in GetMessage()
234 StringRef Msg, StringRef LineStr, in SMDiagnostic() argument
238 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp172 std::string LineStr; in GetMessage() local
193 LineStr = std::string(LineStart, LineEnd); in GetMessage()
222 LineStr, ColRanges, FixIts); in GetMessage()
261 StringRef Msg, StringRef LineStr, in SMDiagnostic() argument
265 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp270 std::string LineStr; in GetMessage() local
291 LineStr = std::string(LineStart, LineEnd); in GetMessage()
320 LineAndCol.second - 1, Kind, Msg.str(), LineStr, in GetMessage()
369 StringRef LineStr, in SMDiagnostic() argument
373 Kind(Kind), Message(std::string(Msg)), LineContents(std::string(LineStr)), in SMDiagnostic()
/external/llvm-project/llvm/include/llvm/MC/
DMCDwarf.h240 Optional<MCDwarfLineStr> &LineStr) const;
244 Optional<MCDwarfLineStr> &LineStr) const;
279 void emitV5FileDirTables(MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr) const;
317 Optional<MCDwarfLineStr> &LineStr) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCDwarf.h235 Optional<MCDwarfLineStr> &LineStr) const;
239 Optional<MCDwarfLineStr> &LineStr) const;
274 void emitV5FileDirTables(MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr) const;
312 Optional<MCDwarfLineStr> &LineStr) const;
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp694 StringRef LineStr = Error.getLineContents(); in diagFromBlockStringDiag() local
702 LineStr = *L; in diagFromBlockStringDiag()
703 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
704 auto Indent = LineStr.find(Error.getLineContents()); in diagFromBlockStringDiag()
712 Error.getMessage(), LineStr, Error.getRanges(), in diagFromBlockStringDiag()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp902 StringRef LineStr = Error.getLineContents(); in diagFromBlockStringDiag() local
910 LineStr = *L; in diagFromBlockStringDiag()
911 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
912 auto Indent = LineStr.find(Error.getLineContents()); in diagFromBlockStringDiag()
920 Error.getMessage(), LineStr, Error.getRanges(), in diagFromBlockStringDiag()
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp947 StringRef LineStr = Error.getLineContents(); in diagFromBlockStringDiag() local
955 LineStr = *L; in diagFromBlockStringDiag()
956 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
957 auto Indent = LineStr.find(Error.getLineContents()); in diagFromBlockStringDiag()
965 Error.getMessage(), LineStr, Error.getRanges(), in diagFromBlockStringDiag()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h250 StringRef Msg, StringRef LineStr,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp158 std::string LineStr = std::to_string(DIL->getLine()); in getOrCreateSrcLocStr() local
162 << LineStr << ";" << ColumnStr << ";;"; in getOrCreateSrcLocStr()
/external/llvm/include/llvm/Support/
DSourceMgr.h255 StringRef Msg, StringRef LineStr,
/external/llvm-project/llvm/include/llvm/Support/
DSourceMgr.h271 SourceMgr::DiagKind Kind, StringRef Msg, StringRef LineStr,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h282 StringRef Msg, StringRef LineStr,
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerTracePC.cpp292 std::string LineStr = DescribePC("%l", VisualizePC); in PrintCoverage() local
316 LineStr.c_str()); in PrintCoverage()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerTracePC.cpp292 std::string LineStr = DescribePC("%l", VisualizePC); in PrintCoverage() local
316 LineStr.c_str()); in PrintCoverage()
/external/llvm-project/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.cpp922 std::string LineStr; in typesetLinesAndColumns() local
924 LineStr = "ASI"; in typesetLinesAndColumns()
926 LineStr = "NSI"; in typesetLinesAndColumns()
928 LineStr = utostr(Line.getStartLine()); in typesetLinesAndColumns()
931 fmt_align(LineStr, AlignStyle::Right, kMaxCharsPerLineNumber), in typesetLinesAndColumns()
/external/llvm-project/llvm/tools/sancov/
Dsancov.cpp420 auto LineStr = Loc.substr(0, ColonPos); in read() local
430 LineInfo.Line = std::strtoul(LineStr.c_str(), &End, 10); in read()