Home
last modified time | relevance | path

Searched refs:LineStr (Results 1 – 15 of 15) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-undname/
Dllvm-undname.cpp51 std::string LineStr; in main() local
52 std::getline(std::cin, LineStr); in main()
56 StringRef Line(LineStr); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCDwarf.cpp245 Optional<MCDwarfLineStr> LineStr; in Emit() local
247 LineStr = MCDwarfLineStr(context); in Emit()
254 CUIDTablePair.second.EmitCU(MCOS, Params, LineStr); in Emit()
257 if (LineStr) in Emit()
258 LineStr->emitSection(MCOS); in Emit()
272 Optional<MCDwarfLineStr> &LineStr) const { in Emit()
292 LineStr); in Emit()
355 Optional<MCDwarfLineStr> &LineStr) { in emitOneV5FileEntry() argument
357 if (LineStr) in emitOneV5FileEntry()
358 LineStr->emitRef(MCOS, DwarfFile.Name); in emitOneV5FileEntry()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp159 std::string LineStr; in GetMessage() local
166 LineStr = std::string(LineStart, LineEnd); in GetMessage()
178 LineStr, ShowLine); in GetMessage()
/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-7.0/llvm/lib/Support/
DSourceMgr.cpp177 std::string LineStr; in GetMessage() local
198 LineStr = std::string(LineStart, LineEnd); in GetMessage()
227 LineStr, ColRanges, FixIts); in GetMessage()
266 StringRef Msg, StringRef LineStr, in SMDiagnostic() argument
270 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSourceMgr.h175 const std::string &Msg, const std::string &LineStr,
178 LineContents(LineStr), ShowLine(showline) {}
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCDwarf.h232 Optional<MCDwarfLineStr> &LineStr) const;
236 Optional<MCDwarfLineStr> &LineStr) const;
251 void emitV5FileDirTables(MCStreamer *MCOS, Optional<MCDwarfLineStr> &LineStr,
291 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-7.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp823 StringRef LineStr = Error.getLineContents(); in diagFromBlockStringDiag() local
831 LineStr = *L; in diagFromBlockStringDiag()
832 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
833 auto Indent = LineStr.find(Error.getLineContents()); in diagFromBlockStringDiag()
841 Error.getMessage(), LineStr, Error.getRanges(), in diagFromBlockStringDiag()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h250 StringRef Msg, StringRef LineStr,
/external/llvm/include/llvm/Support/
DSourceMgr.h255 StringRef Msg, StringRef LineStr,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h281 StringRef Msg, StringRef LineStr,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.cpp820 std::string LineStr; in typesetLinesAndColumns() local
822 LineStr = "ASI"; in typesetLinesAndColumns()
824 LineStr = "NSI"; in typesetLinesAndColumns()
826 LineStr = utostr(Line.getStartLine()); in typesetLinesAndColumns()
829 fmt_align(LineStr, AlignStyle::Right, kMaxCharsPerLineNumber), in typesetLinesAndColumns()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dsancov.cpp516 auto LineStr = Loc.substr(0, ColonPos); in read() local
526 LineInfo.Line = std::strtoul(LineStr.c_str(), &End, 10); in read()