Home
last modified time | relevance | path

Searched refs:StrVal (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Lex/
DPragma.cpp224 std::string StrVal = getSpelling(StrTok); in Handle_Pragma() local
231 if (StrVal[0] == 'L' || StrVal[0] == 'U' || in Handle_Pragma()
232 (StrVal[0] == 'u' && StrVal[1] != '8')) in Handle_Pragma()
233 StrVal.erase(StrVal.begin()); in Handle_Pragma()
234 else if (StrVal[0] == 'u') in Handle_Pragma()
235 StrVal.erase(StrVal.begin(), StrVal.begin() + 2); in Handle_Pragma()
237 if (StrVal[0] == 'R') { in Handle_Pragma()
240 assert(StrVal[1] == '"' && StrVal[StrVal.size() - 1] == '"' && in Handle_Pragma()
245 while (StrVal[2 + NumDChars] != '(') { in Handle_Pragma()
246 assert(NumDChars < (StrVal.size() - 5) / 2 && in Handle_Pragma()
[all …]
/external/llvm/lib/AsmParser/
DLLLexer.cpp213 StrVal.assign(TokStart, CurPtr-1); in LexToken()
224 StrVal.assign(TokStart, CurPtr-1); in LexToken()
276 StrVal.assign(TokStart+2, CurPtr-1); in LexAt()
277 UnEscapeLexed(StrVal); in LexAt()
313 StrVal.assign(Start, CurPtr-1); in ReadString()
314 UnEscapeLexed(StrVal); in ReadString()
332 StrVal.assign(NameStart, CurPtr); in ReadVarName()
398 StrVal.assign(TokStart+1, CurPtr); // Skip ! in LexExclaim()
399 UnEscapeLexed(StrVal); in LexExclaim()
444 StrVal.assign(StartChar-1, CurPtr++); in LexIdentifier()
[all …]
DLLLexer.h39 std::string StrVal; variable
57 const std::string &getStrVal() const { return StrVal; } in getStrVal()
DLLParser.h62 std::string StrVal, StrVal2; member
82 return StrVal < RHS.StrVal;
DLLParser.cpp134 TheFn = M->getFunction(Fn.StrVal); in ValidateEndOfModule()
192 Res = PFS->GetBB(Refs[i].first.StrVal, Refs[i].first.Loc); in ResolveForwardRefBlockAddresses()
200 TheFn->getValueSymbolTable().lookup(Refs[i].first.StrVal)); in ResolveForwardRefBlockAddresses()
1997 FunctionID.StrVal = F.getName(); in FinishFunction()
2231 ID.StrVal = Lex.getStrVal(); in ParseValID()
2239 ID.StrVal = Lex.getStrVal(); in ParseValID()
2370 ParseStringConstant(ID.StrVal) || in ParseValID()
2785 V = PFS->GetVal(ID.StrVal, Ty, ID.Loc); in ConvertValIDToValue()
2793 V = InlineAsm::get(FTy, ID.StrVal, ID.StrVal2, ID.UIntVal&1, in ConvertValIDToValue()
2808 V = GetGlobalVal(ID.StrVal, Ty, ID.Loc); in ConvertValIDToValue()
/external/llvm/lib/TableGen/
DTGLexer.h57 Id, StrVal, VarName, CodeFragment enumerator
99 assert((CurCode == tgtok::Id || CurCode == tgtok::StrVal || in getCurStrVal()
DTGLexer.cpp232 return tgtok::StrVal; in LexString()
295 if (Tok != tgtok::StrVal) { in LexInclude()
DTGParser.cpp1165 case tgtok::StrVal: { in ParseSimpleValue()
1170 while (Lex.getCode() == tgtok::StrVal) { in ParseSimpleValue()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp236 std::string StrVal = ftostr(CFP->getValueAPF()); in printCFP() local
238 while (StrVal[0] == ' ') in printCFP()
239 StrVal.erase(StrVal.begin()); in printCFP()
243 if (((StrVal[0] >= '0' && StrVal[0] <= '9') || in printCFP()
244 ((StrVal[0] == '-' || StrVal[0] == '+') && in printCFP()
245 (StrVal[1] >= '0' && StrVal[1] <= '9'))) && in printCFP()
246 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
248 Out << StrVal; in printCFP()
250 Out << StrVal << "f"; in printCFP()
254 << "ULL) /* " << StrVal << " */"; in printCFP()
[all …]
/external/chromium_org/third_party/JSON/JSON-2.59/t/
De13_overloaded_eq.t50 return overload::StrVal($_[0]);
/external/llvm/lib/IR/
DAsmWriter.cpp793 SmallString<128> StrVal; in WriteConstantInternal() local
794 raw_svector_ostream(StrVal) << Val; in WriteConstantInternal()
800 if ((StrVal[0] >= '0' && StrVal[0] <= '9') || in WriteConstantInternal()
801 ((StrVal[0] == '-' || StrVal[0] == '+') && in WriteConstantInternal()
802 (StrVal[1] >= '0' && StrVal[1] <= '9'))) { in WriteConstantInternal()
804 if (APFloat(APFloat::IEEEdouble, StrVal).convertToDouble() == Val) { in WriteConstantInternal()
805 Out << StrVal.str(); in WriteConstantInternal()
/external/llvm/lib/Analysis/
DConstantFolding.cpp488 APInt StrVal(NumBits, 0); in ConstantFoldLoadFromConstPtr() local
493 StrVal = (StrVal << 8) | SingleChar; in ConstantFoldLoadFromConstPtr()
498 StrVal = (StrVal << 8) | SingleChar; in ConstantFoldLoadFromConstPtr()
502 StrVal = (StrVal << 8) | SingleChar; in ConstantFoldLoadFromConstPtr()
505 Constant *Res = ConstantInt::get(CE->getContext(), StrVal); in ConstantFoldLoadFromConstPtr()
/external/clang/lib/CodeGen/
DCGStmt.cpp1461 StringRef StrVal = Str->getString(); in getAsmSrcLocInfo() local
1462 if (!StrVal.empty()) { in getAsmSrcLocInfo()
1468 for (unsigned i = 0, e = StrVal.size()-1; i != e; ++i) { in getAsmSrcLocInfo()
1469 if (StrVal[i] != '\n') continue; in getAsmSrcLocInfo()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp1911 SVal StrVal = state->getSVal(Init, C.getLocationContext()); in checkPreStmt() local
1912 assert(StrVal.isValid() && "Initializer string is unknown or undefined"); in checkPreStmt()
1914 getCStringLength(C, state, Init, StrVal).castAs<DefinedOrUnknownSVal>(); in checkPreStmt()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1771 SmallString<8> StrVal; in emitGlobalConstantFP() local
1772 CFP->getValueAPF().toString(StrVal); in emitGlobalConstantFP()
1775 AP.OutStreamer.GetCommentOS() << ' ' << StrVal << '\n'; in emitGlobalConstantFP()
/external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/
DbackportPP.pm422 if ((overload::StrVal($value) =~ /=(\w+)/)[0]) {
/external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/
DbackportPP.pm422 if ((overload::StrVal($value) =~ /=(\w+)/)[0]) {
/external/chromium_org/third_party/JSON/out/lib/perl5/JSON/
DbackportPP.pm422 if ((overload::StrVal($value) =~ /=(\w+)/)[0]) {