Searched defs:Str (Results 151 - 175 of 219) sorted by relevance

123456789

/external/clang/lib/CodeGen/
H A DCGStmt.cpp1729 static llvm::MDNode *getAsmSrcLocInfo(const StringLiteral *Str, argument
1734 Str->getLocStart().getRawEncoding()));
1735 StringRef StrVal = Str->getString();
1744 SourceLocation LineLoc = Str->getLocationOfByte(i+1, SM, LangOpts,
/external/clang/lib/Lex/
H A DLexer.cpp208 std::string Lexer::Stringify(const std::string &Str, bool Charify) { argument
209 std::string Result = Str;
222 void Lexer::Stringify(SmallVectorImpl<char> &Str) { argument
223 for (unsigned i = 0, e = Str.size(); i != e; ++i) {
224 if (Str[i] == '\\' || Str[i] == '"') {
225 Str.insert(Str.begin()+i, '\\');
H A DPPDirectives.cpp1190 std::string Str = getSpelling(StrTok, &Invalid); local
1192 Callbacks->Ident(Tok.getLocation(), Str);
/external/clang/lib/Parse/
H A DParseExprCXX.cpp2234 SmallString<32> Str; local
2235 Str += "\"\" ";
2236 Str += II->getName();
2238 SourceRange(TokLocs.front(), TokLocs.back()), Str); local
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp708 StringRef Str; local
730 Str = "if";
740 Str = "?:";
752 Str = BO->getOpcodeStr();
769 Str = "while";
776 Str = "for";
792 Str = "for";
799 Str = "do";
808 Str = "case";
813 Str
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp263 const StringLiteral* Str,
266 ID.AddPointer(Str);
271 const ObjCStringLiteral* Str,
274 ID.AddPointer(Str);
511 assert(Str != nullptr && "Expecting non-null StringLiteral");
512 Str->printPretty(os, nullptr, PrintingPolicy(getContext().getLangOpts()));
516 assert(Str != nullptr && "Expecting non-null ObjCStringLiteral");
517 Str->printPretty(os, nullptr, PrintingPolicy(getContext().getLangOpts()));
725 const StringRegion* MemRegionManager::getStringRegion(const StringLiteral* Str){ argument
726 return getSubRegion<StringRegion>(Str, getGlobalsRegio
262 ProfileRegion(llvm::FoldingSetNodeID& ID, const StringLiteral* Str, const MemRegion* superRegion) argument
270 ProfileRegion(llvm::FoldingSetNodeID& ID, const ObjCStringLiteral* Str, const MemRegion* superRegion) argument
730 getObjCStringRegion(const ObjCStringLiteral* Str) argument
[all...]
/external/libedit/src/
H A Dterminal.c89 #define Str(a) el->el_terminal.t_str[a] macro
240 EL_FLAGS |= (strcmp(Str(T_me), Str(T_ue)) == 0) ?
245 EL_FLAGS |= (strcmp(Str(T_me), Str(T_se)) == 0) ?
521 terminal_tputs(el, tgoto(Str(T_DO), del,
534 terminal_tputs(el, tgoto(Str(T_UP), -del, -del), -del);
538 terminal_tputs(el, Str(T_up), 1);
574 terminal_tputs(el, tgoto(Str(T_ch), where, where), where);
578 terminal_tputs(el, tgoto(Str(T_R
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp262 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
613 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp279 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
280 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
281 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
630 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
H A Dtoy.cpp285 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
286 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
287 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
1001 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp309 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
310 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
311 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
1168 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp262 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
264 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
859 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp264 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
265 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
615 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
H A Dtoy.cpp264 ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;} argument
265 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; } argument
266 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; } argument
899 Value *ErrorV(const char *Str) { Error(Str); return 0; } argument
/external/llvm/include/llvm/Support/
H A DCommandLine.h293 desc(const char *Str) : Desc(Str) {} argument
301 value_desc(const char *Str) : Desc(Str) {} argument
1018 static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } argument
1022 static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } argument
1026 static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } argument
[all...]
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp147 static void WriteStringRecord(unsigned Code, StringRef Str, argument
152 for (unsigned i = 0, e = Str.size(); i != e; ++i) {
153 if (AbbrevToUse && !BitCodeAbbrevOp::isChar6(Str[i]))
155 Vals.push_back(Str[i]);
811 StringRef Str = NMD->getName(); local
812 for (unsigned i = 0, e = Str.size(); i != e; ++i)
813 Record.push_back(Str[i]);
1034 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); local
1036 unsigned NumElts = Str->getNumElements();
1038 if (Str
[all...]
/external/llvm/lib/MC/
H A DMCStreamer.cpp589 SmallString<128> Str; local
590 EmitRawTextImpl(T.toStringRef(Str));
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp358 void CppWriter::printEscapedString(const std::string &Str) { argument
359 for (unsigned i = 0, e = Str.size(); i != e; ++i) {
360 unsigned char C = Str[i];
794 StringRef Str = CDS->getAsString(); local
796 if (Str.back() == 0) {
797 Str = Str.drop_back();
800 printEscapedString(Str);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp319 SmallString<128> Str; local
320 raw_svector_ostream OS(Str);
782 SmallString<128> Str; local
783 raw_svector_ostream O(Str);
818 SmallString<128> Str; local
819 raw_svector_ostream O(Str);
1971 SmallString<128> Str; local
1972 raw_svector_ostream O(Str);
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp549 static std::unique_ptr<PPCOperand> CreateToken(StringRef Str, SMLoc S, argument
552 Op->Tok.Data = Str.data();
553 Op->Tok.Length = Str.size();
561 CreateTokenWithStringCopy(StringRef Str, SMLoc S, bool IsPPC64) { argument
567 void *Mem = ::operator new(sizeof(PPCOperand) + Str.size());
570 Op->Tok.Length = Str.size();
571 std::memcpy((void *)Op->Tok.Data, Str.data(), Str.size());
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp126 static std::unique_ptr<SystemZOperand> createToken(StringRef Str, SMLoc Loc) { argument
128 Op->Token.Data = Str.data();
129 Op->Token.Length = Str.size();
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp504 StringRef Str; variable
505 if (!getConstantStringInfo(SrcStr, Str)) {
514 Str.size() : Str.find(CharC->getSExtValue());
541 StringRef Str;
542 if (!getConstantStringInfo(SrcStr, Str)) {
551 Str.size() : Str.rfind(CharC->getSExtValue());
1997 StringRef Str;
1998 if (!getConstantStringInfo(CI->getArgOperand(0), Str))
[all...]
/external/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp969 static std::string getEnumNameForToken(StringRef Str) { argument
972 for (StringRef::iterator it = Str.begin(), ie = Str.end(); it != ie; ++it) {
/external/opencv/cvaux/include/
H A Dcvvidsurv.hpp74 char* Str; member in struct:CvDefParam
113 if(p->Str)free(p->Str);
172 pP->pStr = pAddr?pAddr:&(pP->Str);
175 pP->Str = strdup(p);
176 pP->pStr[0] = pP->Str;
241 return p?p->Str:NULL;
262 if(p->Str)free(p->Str);
263 p->Str
[all...]
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h1726 be accessed via the CStr(), Str(), and Size() methods.
1781 const std::string& Str() { return buffer; } function in class:TiXmlPrinter

Completed in 535 milliseconds

123456789