/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | DirectiveParser.cpp | 153 : mLexer(lexer), mMacroSet(macroSet), mDiagnostics(diagnostics) in DefinedParser() 178 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, token->text); in lex() 190 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in lex() 206 Diagnostics *mDiagnostics; member in pp::DefinedParser 218 mDiagnostics(diagnostics), in DirectiveParser() 250 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNTERMINATED, in lex() 285 mDiagnostics->report(Diagnostics::PP_DIRECTIVE_INVALID_NAME, in parseDirective() 336 mDiagnostics->report(Diagnostics::PP_EOF_IN_DIRECTIVE, in parseDirective() 348 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in parseDefine() 354 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_REDEFINED, in parseDefine() [all …]
|
D | MacroExpander.cpp | 103 mDiagnostics(diagnostics), in MacroExpander() 145 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in lex() 157 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, token->location, in lex() 378 mDiagnostics->report(Diagnostics::PP_MACRO_UNTERMINATED_INVOCATION, identifier.location, in collectMacroArgs() 431 mDiagnostics->report(id, identifier.location, identifier.text); in collectMacroArgs() 444 mDiagnostics->report(Diagnostics::PP_MACRO_INVOCATION_CHAIN_TOO_DEEP, in collectMacroArgs() 448 …MacroExpander expander(&lexer, mMacroSet, mDiagnostics, mParseDefined, mAllowedMacroExpansionDepth… in collectMacroArgs() 459 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token.location, token.text); in collectMacroArgs() 477 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token.location, token.text); in replaceMacroParams()
|
D | ExpressionParser.y | 440 mDiagnostics(diagnostics) in ExpressionParser() 451 context.diagnostics = mDiagnostics; in parse() 467 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token->location, ""); in parse() 472 mDiagnostics->report(Diagnostics::PP_INTERNAL_ERROR, token->location, ""); in parse()
|
D | ExpressionParser.h | 45 Diagnostics *mDiagnostics; variable
|
D | DirectiveParser.h | 89 Diagnostics *mDiagnostics; variable
|
D | MacroExpander.h | 75 Diagnostics *mDiagnostics; variable
|
D | ExpressionParser.cpp | 2017 mDiagnostics(diagnostics) in ExpressionParser() 2028 context.diagnostics = mDiagnostics; in parse() 2044 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token->location, ""); in parse() 2049 mDiagnostics->report(Diagnostics::PP_INTERNAL_ERROR, token->location, ""); in parse()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | DirectiveHandler.cpp | 40 mDiagnostics(diagnostics), in TDirectiveHandler() 52 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, msg, "", ""); in handleError() 87 mDiagnostics.report(pp::Diagnostics::PP_UNRECOGNIZED_PRAGMA, loc, name); in handlePragma() 92 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handlePragma() 106 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 115 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 121 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 155 mDiagnostics.writeInfo(severity, loc, in handleExtension() 172 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleVersion()
|
D | ParseHelper.h | 57 mDiagnostics(is), in TParseContext() 58 mDirectiveHandler(ext, mDiagnostics, mShaderVersion), in TParseContext() 59 mPreprocessor(&mDiagnostics, &mDirectiveHandler, pp::PreprocessorSettings()), in TParseContext() 77 int numErrors() const { return mDiagnostics.numErrors(); } in numErrors() 78 TInfoSink &infoSink() { return mDiagnostics.infoSink(); } in infoSink() 270 TDiagnostics mDiagnostics; variable
|
D | DirectiveHandler.h | 53 TDiagnostics& mDiagnostics; variable
|
D | ParseHelper.cpp | 214 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, in error() 223 mDiagnostics.writeInfo(pp::Diagnostics::PP_WARNING, in warning() 231 mDiagnostics.writeInfo(pp::Diagnostics::PP_INFO, in info() 237 mDiagnostics.writeDebug(str); in trace()
|