Home
last modified time | relevance | path

Searched refs:CachedTokens (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/Lex/
DPPCaching.cpp52 if (CachedLexPos < CachedTokens.size()) { in CachingLex()
53 Result = CachedTokens[CachedLexPos++]; in CachingLex()
63 CachedTokens.push_back(Result); in CachingLex()
68 if (CachedLexPos < CachedTokens.size()) { in CachingLex()
72 CachedTokens.clear(); in CachingLex()
87 assert(CachedLexPos + N > CachedTokens.size() && "Confused caching."); in PeekAhead()
89 for (unsigned C = CachedLexPos + N - CachedTokens.size(); C > 0; --C) { in PeekAhead()
90 CachedTokens.push_back(Token()); in PeekAhead()
91 Lex(CachedTokens.back()); in PeekAhead()
94 return CachedTokens.back(); in PeekAhead()
[all …]
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp114 CachedTokens Toks; in ParseCXXInlineMethodDef()
131 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef()
195 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer()
312 if (CachedTokens *Toks = LM.DefaultArgs[I].Toks) { in ParseLexedMethodDeclaration()
562 CachedTokens &Toks, in ConsumeAndStoreUntil()
661 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()
833 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()
886 CachedTokens Toks;
894 bool Parser::ConsumeAndStoreInitializer(CachedTokens &Toks, in ConsumeAndStoreInitializer()
DParseTemplate.cpp1364 void Parser::LexTemplateFunctionForLateParsing(CachedTokens &Toks) { in LexTemplateFunctionForLateParsing()
DParser.cpp995 CachedTokens Toks; in ParseFunctionDefinition()
DParseDecl.cpp5381 CachedTokens *DefArgToks = nullptr; in ParseParameterDeclarationClause()
5410 DefArgToks = new CachedTokens; in ParseParameterDeclarationClause()
DParseExprCXX.cpp2941 CachedTokens Toks; in ParseCXXAmbiguousParenExpression()
DParseObjc.cpp1980 CachedTokens &Toks = LM->Toks; in StashAwayMethodOrFunctionBodyTokens()
/external/clang/include/clang/Lex/
DPreprocessor.h417 CachedTokensTy CachedTokens; variable
848 if (CachedLexPos + N < CachedTokens.size()) in LookAhead()
849 return CachedTokens[CachedLexPos+N]; in LookAhead()
875 CachedTokens.insert(CachedTokens.begin()+CachedLexPos, Tok); in EnterToken()
896 return CachedTokens[CachedLexPos-1].getLocation(); in getLastCachedTokenLocation()
910 CachedTokens[CachedLexPos-1] = Tok; in ReplaceLastTokenWithAnnotation()
918 CachedTokens[CachedLexPos-1] = Tok; in TypoCorrectToken()
/external/chromium_org/chrome/browser/extensions/api/identity/
Didentity_api.h88 typedef std::map<ExtensionTokenKey, IdentityTokenCacheValue> CachedTokens; typedef
109 const CachedTokens& GetAllCachedTokens();
143 CachedTokens token_cache_;
Didentity_api.cc142 CachedTokens::iterator it = token_cache_.find(key); in SetCachedToken()
151 CachedTokens::iterator it; in EraseCachedToken()
169 const IdentityAPI::CachedTokens& IdentityAPI::GetAllCachedTokens() { in GetAllCachedTokens()
/external/clang/include/clang/Parse/
DParser.h921 CachedTokens Toks;
952 CachedTokens Toks;
971 CachedTokens *Toks = nullptr)
981 CachedTokens *Toks;
1014 CachedTokens *ExceptionSpecTokens;
1033 CachedTokens Toks;
1159 void LexTemplateFunctionForLateParsing(CachedTokens &Toks);
1194 bool ConsumeAndStoreFunctionPrologue(CachedTokens &Toks);
1195 bool ConsumeAndStoreInitializer(CachedTokens &Toks, CachedInitKind CIK);
1196 bool ConsumeAndStoreConditional(CachedTokens &Toks);
[all …]
/external/chromium_org/chrome/browser/ui/webui/
Didentity_internals_ui.cc223 extensions::IdentityAPI::CachedTokens tokens = in GetInfoForAllTokens()
227 for (extensions::IdentityAPI::CachedTokens::const_iterator in GetInfoForAllTokens()
/external/clang/include/clang/Sema/
DDeclSpec.h1040 typedef SmallVector<Token, 4> CachedTokens; typedef
1124 CachedTokens *DefaultArgTokens;
1129 CachedTokens *DefArgTokens = nullptr)
DSema.h4936 CachedTokens &Toks);
8441 CachedTokens Toks;
/external/clang/lib/Serialization/
DASTWriter.cpp3845 for (CachedTokens::iterator TokIt = LPT->Toks.begin(), in WriteLateParsedTemplates()
/external/clang/lib/Sema/
DSemaTemplate.cpp8155 CachedTokens &Toks) { in MarkAsLateParsedTemplate()
DSemaDeclCXX.cpp384 CachedTokens *Toks = chunk.Fun.Params[argIdx].DefaultArgTokens; in CheckExtraCXXDefaultArguments()