/external/llvm/include/llvm/Analysis/ |
H A D | CFGPrinter.h | 39 std::string Str; 40 raw_string_ostream OS(Str); 49 std::string Str; local 50 raw_string_ostream OS(Str); 112 std::string Str; 113 raw_string_ostream OS(Str);
|
/external/llvm/include/llvm/MC/ |
H A D | MCObjectWriter.h | 181 void WriteBytes(StringRef Str, unsigned ZeroFillSize = 0) { argument 184 assert((ZeroFillSize == 0 || Str.size () <= ZeroFillSize) && 186 OS << Str; local 188 WriteZeros(ZeroFillSize - Str.size());
|
/external/llvm/lib/Support/ |
H A D | Regex.cpp | 177 bool Regex::isLiteralERE(StringRef Str) { argument 181 return Str.find_first_of(RegexMetachars) == StringRef::npos;
|
H A D | MD5.cpp | 222 /// Add the bytes in the StringRef \p Str to the hash. 225 void MD5::update(StringRef Str) { argument 226 ArrayRef<uint8_t> SVal((const uint8_t *)Str.data(), Str.size()); 280 void MD5::stringifyResult(MD5Result &Result, SmallString<32> &Str) { argument 281 raw_svector_ostream Res(Str);
|
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 80 static bool SkipToToken(StringRef &Str) { argument 82 if (Str.empty()) 86 if (size_t Pos = Str.find_first_not_of(" \t\r\n,")) { 87 Str = Str.substr(Pos); 92 if (Str[0] == '#') { 93 Str = Str.substr(Str.find_first_of('\n')); 102 StringRef &Str, 101 ByteArrayFromString(ByteArrayTy &ByteArray, StringRef &Str, SourceMgr &SM) argument 170 StringRef Str = Buffer.getBuffer(); local [all...] |
/external/llvm/utils/TableGen/ |
H A D | AsmWriterInst.h | 38 /// Str - For isLiteralTextOperand, this IS the literal text. For 42 std::string Str; member in struct:llvm::AsmWriterOperand 66 : OperandType(op), Str(LitStr) {} 74 : OperandType(op), Str(Printer), CGIOpNo(_CGIOpNo), MIOpNo(_MIOpNo), 78 if (OperandType != Other.OperandType || Str != Other.Str) return true; 105 void AddLiteralString(const std::string &Str) { argument 110 Operands.back().Str.append(Str); 112 Operands.push_back(AsmWriterOperand(Str)); [all...] |
H A D | OptParserEmitter.cpp | 97 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { argument 99 OS.write_escaped(Str);
|
/external/clang/include/clang/Rewrite/Core/ |
H A D | Rewriter.h | 94 bool InsertText(SourceLocation Loc, StringRef Str, 102 bool InsertTextAfter(SourceLocation Loc, StringRef Str) { argument 103 return InsertText(Loc, Str); 108 bool InsertTextAfterToken(SourceLocation Loc, StringRef Str); 115 bool InsertTextBefore(SourceLocation Loc, StringRef Str) { argument 116 return InsertText(Loc, Str, false);
|
H A D | RewriteRope.h | 66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, argument 68 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {}
|
/external/clang/lib/Basic/ |
H A D | OpenMPKinds.cpp | 23 OpenMPDirectiveKind clang::getOpenMPDirectiveKind(StringRef Str) { argument 24 return llvm::StringSwitch<OpenMPDirectiveKind>(Str) 26 #define OPENMP_DIRECTIVE_EXT(Name, Str) .Case(Str, OMPD_##Name) 39 #define OPENMP_DIRECTIVE_EXT(Name, Str) \ 41 return Str; 48 OpenMPClauseKind clang::getOpenMPClauseKind(StringRef Str) { argument 53 if (Str == "flush") 55 return llvm::StringSwitch<OpenMPClauseKind>(Str) 77 StringRef Str) { 76 getOpenMPSimpleClauseType(OpenMPClauseKind Kind, StringRef Str) argument [all...] |
/external/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 227 std::string Str = Lexer::Stringify(TokStr); local 228 Result.append(Str.begin(), Str.end());
|
H A D | HeaderMap.cpp | 60 static inline unsigned HashHMapKey(StringRef Str) { argument 62 const char *S = Str.begin(), *End = Str.end();
|
/external/llvm/bindings/go/llvm/ |
H A D | IRBindings.cpp | 56 LLVMMetadataRef LLVMMDString2(LLVMContextRef C, const char *Str, unsigned SLen) { argument 57 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen)));
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 151 /// Search for the first string \p Str in the string. 153 /// \returns The index of the first occurrence of \p Str, or npos if not 155 size_t find(StringRef Str, size_t From = 0) const { argument 156 return str().find(Str, From); 167 /// Search for the last string \p Str in the string. 169 /// \returns The index of the last occurrence of \p Str, or npos if not 171 size_t rfind(StringRef Str) const { 172 return str().rfind(Str); 227 /// Return the number of non-overlapped occurrences of \p Str in the 229 size_t count(StringRef Str) cons [all...] |
H A D | StringExtras.h | 143 static inline unsigned HashString(StringRef Str, unsigned Result = 0) { argument 144 for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i) 145 Result = Result * 33 + (unsigned char)Str[i];
|
H A D | StringRef.h | 28 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 31 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 69 /*implicit*/ StringRef(const char *Str) argument 70 : Data(Str) { 71 assert(Str && "StringRef cannot be built from a NULL argument"); 72 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior 83 /*implicit*/ StringRef(const std::string &Str) argument 84 : Data(Str.data()), Length(Str.length()) {} 250 /// Search for the first string \p Str i [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Format.h | 117 StringRef Str; member in class:llvm::FormattedString 123 : Str(S), Width(W), RightJustify(R) { } 127 /// \p Width characters. If \p Str is larger that \p Width, full string 129 inline FormattedString left_justify(StringRef Str, unsigned Width) { argument 130 return FormattedString(Str, Width, false); 134 /// \p Width characters. If \p Str is larger that \p Width, full string 136 inline FormattedString right_justify(StringRef Str, unsigned Width) { argument 137 return FormattedString(Str, Width, true);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIE.cpp | 376 O << "String: " << Str << "\tSymbol: "; local
|
/external/llvm/lib/IR/ |
H A D | MDBuilder.cpp | 20 MDString *MDBuilder::createString(StringRef Str) { argument 21 return MDString::get(Context, Str);
|
/external/llvm/lib/Target/Mips/InstPrinter/ |
H A D | MipsInstPrinter.cpp | 274 bool MipsInstPrinter::printAlias(const char *Str, const MCInst &MI, argument 276 OS << "\t" << Str << "\t"; local 281 bool MipsInstPrinter::printAlias(const char *Str, const MCInst &MI, argument 284 printAlias(Str, MI, OpNo0, OS);
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVVMReflect.cpp | 169 const Value *Str = Reflect->getArgOperand(0); local 170 if (isa<CallInst>(Str)) { 172 const CallInst *ConvCall = cast<CallInst>(Str); 173 Str = ConvCall->getArgOperand(0); 175 assert(isa<ConstantExpr>(Str) && 177 const ConstantExpr *GEP = cast<ConstantExpr>(Str);
|
/external/llvm/lib/Target/R600/ |
H A D | SITypeRewriter.cpp | 68 StringRef Str = A.getValueAsString(); local 69 Str.getAsInteger(0, ShaderType);
|
/external/llvm/tools/llvm-cov/ |
H A D | CoverageReport.cpp | 27 StringRef Str; member in struct:__anon11154::Column 32 Column(StringRef Str, unsigned Width) argument 33 : Str(Str), Width(Width), Trim(NoTrim), Alignment(LeftAlignment) {} 54 if (Str.size() <= Width) { 56 OS.indent(Width - Str.size()); 57 OS << Str; local 60 OS << Str; local 61 OS.indent(Width - Str.size()); 67 OS << Str 78 column(StringRef Str, unsigned Width) argument 83 column(StringRef Str, unsigned Width, const T &Value) argument [all...] |
H A D | SourceCoverageView.cpp | 90 auto Str = BufferOS.str(); local 92 Str = Str.substr(0, std::min(Str.size(), (size_t)LineCoverageColumnWidth)); 94 OS.indent(LineCoverageColumnWidth - Str.size()); 97 << Str; 106 auto Str = BufferOS.str(); local 108 Str = Str.substr(0, std::min(Str 126 StringRef Str = BufferOS.str(); local 130 OS << '^' << Str; local [all...] |
/external/clang/lib/AST/ |
H A D | TemplateBase.cpp | 498 SmallString<32> Str; local 499 llvm::raw_svector_ostream OS(Str); 509 SmallString<32> Str; local 510 llvm::raw_svector_ostream OS(Str);
|