/external/chromium_org/third_party/cython/src/Cython/Plex/ |
H A D | __init__.py | 18 Str, Any, AnyBut, AnyChar, Seq, Alt, Opt, Rep, Rep1, 35 from Regexps import RE, Seq, Alt, Rep1, Empty, Str, Any, AnyBut, AnyChar, Range namespace
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 46 static void applyTemplateHighlighting(raw_ostream &OS, StringRef Str, argument 49 size_t Pos = Str.find(ToggleHighlight); 50 OS << Str.slice(0, Pos); 54 Str = Str.substr(Pos + 1); 514 static unsigned skipWhitespace(unsigned Idx, StringRef Str, unsigned Length) { 515 while (Idx < Length && isWhitespace(Str[Idx])) 545 static unsigned findEndOfWord(unsigned Start, StringRef Str, 548 assert(Start < Str.size() && "Invalid start position!"); 552 if (End == Str [all...] |
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 21 /// IsStringPrefix - Return true if Str is a string prefix. 23 static bool IsStringPrefix(StringRef Str, bool CPlusPlus11) { argument 25 if (Str[0] == 'L' || 26 (CPlusPlus11 && (Str[0] == 'u' || Str[0] == 'U' || Str[0] == 'R'))) { 28 if (Str.size() == 1) 33 if (Str[1] == 'R' && Str[0] != 'R' && Str [all...] |
H A D | MacroArgs.cpp | 226 std::string Str = Lexer::Stringify(TokStr); local 227 Result.append(Str.begin(), Str.end());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ChrootChecker.cpp | 113 const StringLiteral* Str = StrRegion->getStringLiteral(); local 114 if (Str->getString() == "/")
|
/external/clang/tools/libclang/ |
H A D | CLog.h | 74 Logger &operator<<(llvm::StringRef Str) { LogOS << Str; return *this; } local 75 Logger &operator<<(const char *Str) { argument 76 if (Str) 77 LogOS << Str; local
|
H A D | CXString.cpp | 46 CXString Str; local 47 Str.data = ""; 48 Str.private_flags = CXS_Unmanaged; 49 return Str; 53 CXString Str; local 54 Str.data = nullptr; 55 Str.private_flags = CXS_Unmanaged; 56 return Str; 63 CXString Str; 64 Str 109 CXString Str; local [all...] |
/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/lib/Option/ |
H A D | Option.cpp | 139 const char *Str = Args.getArgString(Index) + ArgSize; local 143 const char *Prev = Str; 144 for (;; ++Str) { 145 char c = *Str; 148 if (Prev != Str) { 149 char *Value = new char[Str - Prev + 1]; 150 memcpy(Value, Prev, Str - Prev); 151 Value[Str - Prev] = '\0'; 158 Prev = Str + 1;
|
/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 | 100 static bool SkipToToken(StringRef &Str) { argument 101 while (!Str.empty() && Str.find_first_not_of(" \t\r\n#,") != 0) { 103 if (size_t Pos = Str.find_first_not_of(" \t\r,")) { 104 Str = Str.substr(Pos); 109 if (Str[0] == '\n' || Str[0] == '#') { 112 if (Str[0] == '\n') { 113 Str 127 ByteArrayFromString(ByteArrayTy &ByteArray, StringRef &Str, SourceMgr &SM) argument 194 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 61 : OperandType(op), Str(LitStr) {} 68 : OperandType(op), Str(Printer), CGIOpNo(_CGIOpNo), MIOpNo(_MIOpNo), 72 if (OperandType != Other.OperandType || Str != Other.Str) return true; 100 void AddLiteralString(const std::string &Str) { argument 105 Operands.back().Str.append(Str); 107 Operands.push_back(AsmWriterOperand(Str)); [all...] |
/external/chromium_org/third_party/angle/src/common/ |
H A D | angleutils.h | 128 inline std::string Str(int i) function
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | chatroommodule_unittest.cc | 137 ss_ << "[MemberEntered " << entered_member->member_jid().Str() << "]"; 143 ss_ << "[MemberExited " << exited_member->member_jid().Str() << "]"; 149 ss_ << "[MemberChanged " << changed_member->member_jid().Str() << "]"; 157 std::string Str() { function in class:buzz::XmppTestChatroomHandler
|
/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 49 return llvm::StringSwitch<OpenMPClauseKind>(Str) 71 StringRef Str) { 74 return llvm::StringSwitch<OpenMPDefaultClauseKind>(Str) 70 getOpenMPSimpleClauseType(OpenMPClauseKind Kind, StringRef Str) argument [all...] |
/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); 75 /*implicit*/ StringRef(const char *Str) argument 76 : Data(Str) { 77 assert(Str && "StringRef cannot be built from a NULL argument"); 78 Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior 89 /*implicit*/ StringRef(const std::string &Str) argument 90 : Data(Str.data()), Length(Str.length()) {} 246 /// Search for the first string \p Str i [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCObjectWriter.h | 184 void WriteBytes(StringRef Str, unsigned ZeroFillSize = 0) { argument 187 assert((ZeroFillSize == 0 || Str.size () <= ZeroFillSize) && 189 OS << Str; local 191 WriteZeros(ZeroFillSize - Str.size());
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIE.cpp | 364 O << "String: " << Str << "\tSymbol: "; local
|
/external/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 26 Value *IRBuilderBase::CreateGlobalString(StringRef Str, const Twine &Name) { argument 27 Constant *StrConstant = ConstantDataArray::getString(Context, Str);
|
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 | 255 bool MipsInstPrinter::printAlias(const char *Str, const MCInst &MI, argument 257 OS << "\t" << Str << "\t"; local 262 bool MipsInstPrinter::printAlias(const char *Str, const MCInst &MI, argument 265 printAlias(Str, MI, OpNo0, OS);
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVVMReflect.cpp | 148 const Value *Str = Reflect->getArgOperand(0); local 149 if (isa<CallInst>(Str)) { 151 const CallInst *ConvCall = cast<CallInst>(Str); 152 Str = ConvCall->getArgOperand(0); 154 assert(isa<ConstantExpr>(Str) && 156 const ConstantExpr *GEP = cast<ConstantExpr>(Str);
|