Searched refs:mMacroSet (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | DirectiveParser.cpp | 153 : mLexer(lexer), mMacroSet(macroSet), mDiagnostics(diagnostics) in DefinedParser() 182 MacroSet::const_iterator iter = mMacroSet->find(token->text); in lex() 183 std::string expression = iter != mMacroSet->end() ? "1" : "0"; in lex() 205 const MacroSet *mMacroSet; member in pp::DefinedParser 217 mMacroSet(macroSet), in DirectiveParser() 352 if (isMacroPredefined(token->text, *mMacroSet)) in parseDefine() 428 MacroSet::const_iterator iter = mMacroSet->find(macro->name); in parseDefine() 429 if (iter != mMacroSet->end() && !macro->equals(*iter->second)) in parseDefine() 434 mMacroSet->insert(std::make_pair(macro->name, macro)); in parseDefine() 449 MacroSet::iterator iter = mMacroSet->find(token->text); in parseUndef() [all …]
|
D | MacroExpander.cpp | 102 mMacroSet(macroSet), in MacroExpander() 149 auto iter = mMacroSet->find(token->text); in lex() 150 std::string expression = iter != mMacroSet->end() ? "1" : "0"; in lex() 173 MacroSet::const_iterator iter = mMacroSet->find(token->text); in lex() 174 if (iter == mMacroSet->end()) in lex() 448 …MacroExpander expander(&lexer, mMacroSet, mDiagnostics, mParseDefined, mAllowedMacroExpansionDepth… in collectMacroArgs()
|
D | DirectiveParser.h | 88 MacroSet *mMacroSet; variable
|
D | MacroExpander.h | 74 MacroSet *mMacroSet; variable
|
/external/angle/src/compiler/preprocessor/ |
D | DirectiveParser.cpp | 153 mMacroSet(macroSet), in DirectiveParser() 283 if (isMacroPredefined(token->text, *mMacroSet)) in parseDefine() 358 MacroSet::const_iterator iter = mMacroSet->find(macro->name); in parseDefine() 359 if (iter != mMacroSet->end() && !macro->equals(*iter->second)) in parseDefine() 364 mMacroSet->insert(std::make_pair(macro->name, macro)); in parseDefine() 378 MacroSet::iterator iter = mMacroSet->find(token->text); in parseUndef() 379 if (iter != mMacroSet->end()) in parseUndef() 395 mMacroSet->erase(iter); in parseUndef() 811 PredefineMacro(mMacroSet, "__VERSION__", version); in parseVersion() 823 MacroExpander macroExpander(mTokenizer, mMacroSet, mDiagnostics, mSettings, false); in parseLine() [all …]
|
D | MacroExpander.cpp | 93 mMacroSet(macroSet), in MacroExpander() 143 auto iter = mMacroSet->find(token->text); in lex() 144 std::string expression = iter != mMacroSet->end() ? "1" : "0"; in lex() 167 MacroSet::const_iterator iter = mMacroSet->find(token->text); in lex() 168 if (iter == mMacroSet->end()) in lex() 444 MacroExpander expander(&lexer, mMacroSet, mDiagnostics, nestedSettings, mParseDefined); in collectMacroArgs()
|
D | DirectiveParser.h | 77 MacroSet *mMacroSet; variable
|
D | MacroExpander.h | 71 MacroSet *mMacroSet; variable
|