/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 238 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic() 313 static void printSourceLine(raw_ostream &S, StringRef LineContents) { in printSourceLine() argument 315 for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) { in printSourceLine() 316 if (LineContents[i] != '\t') { in printSourceLine() 317 S << LineContents[i]; in printSourceLine() 398 if (std::find_if(LineContents.begin(), LineContents.end(), isNonASCII) != in print() 399 LineContents.end()) { in print() 400 printSourceLine(S, LineContents); in print() 403 size_t NumColumns = LineContents.size(); in print() 421 LineContents.size())); in print() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 265 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), in SMDiagnostic() 340 static void printSourceLine(raw_ostream &S, StringRef LineContents) { in printSourceLine() argument 342 for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) { in printSourceLine() 343 size_t NextTab = LineContents.find('\t', i); in printSourceLine() 346 S << LineContents.drop_front(i); in printSourceLine() 351 S << LineContents.slice(i, NextTab); in printSourceLine() 419 if (find_if(LineContents, isNonASCII) != LineContents.end()) { in print() 420 printSourceLine(OS, LineContents); in print() 423 size_t NumColumns = LineContents.size(); in print() 441 LineContents.size())); in print() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | SourceMgr.cpp | 373 Kind(Kind), Message(std::string(Msg)), LineContents(std::string(LineStr)), in SMDiagnostic() 449 static void printSourceLine(raw_ostream &S, StringRef LineContents) { in printSourceLine() argument 451 for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) { in printSourceLine() 452 size_t NextTab = LineContents.find('\t', i); in printSourceLine() 455 S << LineContents.drop_front(i); in printSourceLine() 460 S << LineContents.slice(i, NextTab); in printSourceLine() 527 if (find_if(LineContents, isNonASCII) != LineContents.end()) { in print() 528 printSourceLine(OS, LineContents); in print() 531 size_t NumColumns = LineContents.size(); in print() 548 makeArrayRef(Loc.getPointer() - ColumnNo, LineContents.size())); in print() [all …]
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_stack.cc | 84 py::str LineContents(const StackFrame& frame) { in LineContents() function 114 std::string line_contents = std::string(LineContents(frame)); in StackFrameToString() 300 "line", [](const StackFrame& self) { return LineContents(self); }) in PYBIND11_MODULE() 315 py::str(self.function_name), LineContents(self))[index]; in PYBIND11_MODULE() 321 py::str(self.function_name), LineContents(self)) in PYBIND11_MODULE()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 234 std::string Message, LineContents; variable 261 StringRef getLineContents() const { return LineContents; } in getLineContents()
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 239 std::string Message, LineContents; variable 266 StringRef getLineContents() const { return LineContents; } in getLineContents()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | SourceMgr.h | 258 std::string Message, LineContents; variable 282 StringRef getLineContents() const { return LineContents; } in getLineContents()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SourceMgr.h | 268 std::string Message, LineContents; variable 293 StringRef getLineContents() const { return LineContents; } in getLineContents()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | toc-load-sched-bug.ll | 287 …%LineContents.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"*… 289 …call void @_ZNSs4swapERSs(%"class.std::basic_string"* %LineContents.i, %"class.std::basic_string"*…
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | toc-load-sched-bug.ll | 287 …%LineContents.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"*… 289 …call void @_ZNSs4swapERSs(%"class.std::basic_string"* %LineContents.i, %"class.std::basic_string"*…
|