Home
last modified time | relevance | path

Searched refs:OutStr (Results 1 – 13 of 13) sorted by relevance

/external/llvm/include/llvm/Analysis/
DCFGPrinter.h58 std::string OutStr = OS.str();
59 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
64 for (unsigned i = 0; i != OutStr.length(); ++i) {
65 if (OutStr[i] == '\n') { // Left justify
66 OutStr[i] = '\\';
67 OutStr.insert(OutStr.begin()+i+1, 'l');
70 } else if (OutStr[i] == ';') { // Delete comments!
71 unsigned Idx = OutStr.find('\n', i+1); // Find end of line
72 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
78 OutStr.insert(LastSpace, "\\l...");
[all …]
/external/clang/lib/AST/
DStmtViz.cpp46 std::string OutStr = Out.str(); in getNodeLabel() local
47 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()
50 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()
51 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()
52 OutStr[i] = '\\'; in getNodeLabel()
53 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()
56 return OutStr; in getNodeLabel()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCFGPrinter.h87 std::string OutStr = OS.str();
88 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
93 for (unsigned i = 0; i != OutStr.length(); ++i) {
94 if (OutStr[i] == '\n') { // Left justify
95 OutStr[i] = '\\';
96 OutStr.insert(OutStr.begin()+i+1, 'l');
99 } else if (OutStr[i] == ';') { // Delete comments!
100 unsigned Idx = OutStr.find('\n', i+1); // Find end of line
101 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
107 OutStr.insert(LastSpace, "\\l...");
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp451 SmallVectorImpl<char> &OutStr) { in HandleSelectModifier() argument
467 DInfo.FormatDiagnostic(Argument, EndPtr, OutStr); in HandleSelectModifier()
474 SmallVectorImpl<char> &OutStr) { in HandleIntegerSModifier() argument
476 OutStr.push_back('s'); in HandleIntegerSModifier()
484 SmallVectorImpl<char> &OutStr) { in HandleOrdinalModifier() argument
487 llvm::raw_svector_ostream Out(OutStr); in HandleOrdinalModifier()
593 SmallVectorImpl<char> &OutStr) { in HandlePluralModifier() argument
608 DInfo.FormatDiagnostic(Argument, ExprEnd, OutStr); in HandlePluralModifier()
631 FormatDiagnostic(SmallVectorImpl<char> &OutStr) const { in FormatDiagnostic()
633 OutStr.append(StoredDiagMessage.begin(), StoredDiagMessage.end()); in FormatDiagnostic()
[all …]
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp119 SmallString<100> OutStr; in HandleDiagnostic() local
120 Info.FormatDiagnostic(OutStr); in HandleDiagnostic()
122 llvm::raw_svector_ostream DiagMessageStream(OutStr); in HandleDiagnostic()
/external/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/
Dpath.io.unicode_bug.pass.cpp41 MultiStringType OutStr = MKSTR("\"abcdefg/\\\"hijklmnop\\\"/qrstuvwxyz/123456789\""); variable
49 const Ptr E = OutStr; in doIOTest()
Dpath.io.pass.cpp37 MultiStringType OutStr = MKSTR("\"abcdefg/\\\"hijklmnop\\\"/qrstuvwxyz/123456789\""); variable
46 const Ptr E = OutStr; in doIOTest()
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp383 std::string OutStr(""); in emitBinSearchTable() local
389 OutStr += ", "; in emitBinSearchTable()
390 OutStr += TargetName; in emitBinSearchTable()
391 OutStr += "::"; in emitBinSearchTable()
392 OutStr += ColInstrs[j]->getName(); in emitBinSearchTable()
393 } else { OutStr += ", (uint16_t)-1U";} in emitBinSearchTable()
398 OS << OutStr <<" },\n"; in emitBinSearchTable()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenMapTable.cpp388 std::string OutStr(""); in emitBinSearchTable() local
394 OutStr += ", "; in emitBinSearchTable()
395 OutStr += Namespace; in emitBinSearchTable()
396 OutStr += "::"; in emitBinSearchTable()
397 OutStr += ColInstrs[j]->getName(); in emitBinSearchTable()
398 } else { OutStr += ", (uint16_t)-1U";} in emitBinSearchTable()
403 OS << OutStr <<" },\n"; in emitBinSearchTable()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp465 std::string OutStr; in getNodeLabel() local
467 raw_string_ostream OSS(OutStr); in getNodeLabel()
477 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()
480 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()
481 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()
482 OutStr[i] = '\\'; in getNodeLabel()
483 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()
485 return OutStr; in getNodeLabel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFunction.cpp560 std::string OutStr; in getNodeLabel() local
562 raw_string_ostream OSS(OutStr); in getNodeLabel()
572 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()
575 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()
576 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()
577 OutStr[i] = '\\'; in getNodeLabel()
578 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()
580 return OutStr; in getNodeLabel()
/external/clang/lib/Analysis/
DCFG.cpp4664 std::string& OutStr = Out.str(); in getNodeLabel() local
4666 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()
4669 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()
4670 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()
4671 OutStr[i] = '\\'; in getNodeLabel()
4672 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()
4675 return OutStr; in getNodeLabel()
/external/clang/include/clang/Basic/
DDiagnostic.h1252 void FormatDiagnostic(SmallVectorImpl<char> &OutStr) const;
1257 SmallVectorImpl<char> &OutStr) const;