Home
last modified time | relevance | path

Searched refs:mDiagnostics (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp157 mDiagnostics(diagnostics), in DirectiveParser()
179 mDiagnostics->report(Diagnostics::CONDITIONAL_UNTERMINATED, in lex()
214 mDiagnostics->report(Diagnostics::DIRECTIVE_INVALID_NAME, in parseDirective()
265 mDiagnostics->report(Diagnostics::EOF_IN_DIRECTIVE, in parseDirective()
277 mDiagnostics->report(Diagnostics::UNEXPECTED_TOKEN, in parseDefine()
283 mDiagnostics->report(Diagnostics::MACRO_PREDEFINED_REDEFINED, in parseDefine()
289 mDiagnostics->report(Diagnostics::MACRO_NAME_RESERVED, in parseDefine()
310 mDiagnostics->report(Diagnostics::MACRO_DUPLICATE_PARAMETER_NAMES, in parseDefine()
322 mDiagnostics->report(Diagnostics::UNEXPECTED_TOKEN, in parseDefine()
350 mDiagnostics->report(Diagnostics::MACRO_REDEFINED, in parseDefine()
[all …]
DMacroExpander.cpp61 mLexer(lexer), mMacroSet(macroSet), mDiagnostics(diagnostics), mParseDefined(parseDefined) in MacroExpander()
101 mDiagnostics->report(Diagnostics::UNEXPECTED_TOKEN, token->location, in lex()
113 mDiagnostics->report(Diagnostics::UNEXPECTED_TOKEN, token->location, in lex()
309 mDiagnostics->report(Diagnostics::MACRO_UNTERMINATED_INVOCATION, in collectMacroArgs()
359 mDiagnostics->report(id, identifier.location, identifier.text); in collectMacroArgs()
370 MacroExpander expander(&lexer, mMacroSet, mDiagnostics, mParseDefined); in collectMacroArgs()
DExpressionParser.y316 mDiagnostics(diagnostics) in ExpressionParser()
323 context.diagnostics = mDiagnostics; in parse()
336 mDiagnostics->report(Diagnostics::OUT_OF_MEMORY, token->location, ""); in parse()
341 mDiagnostics->report(Diagnostics::INTERNAL_ERROR, token->location, ""); in parse()
DExpressionParser.h38 Diagnostics* mDiagnostics; variable
DDirectiveParser.h84 Diagnostics* mDiagnostics; variable
DMacroExpander.h75 Diagnostics* mDiagnostics; variable
DExpressionParser.cpp1888 mDiagnostics(diagnostics) in ExpressionParser()
1895 context.diagnostics = mDiagnostics; in parse()
1908 mDiagnostics->report(Diagnostics::OUT_OF_MEMORY, token->location, ""); in parse()
1913 mDiagnostics->report(Diagnostics::INTERNAL_ERROR, token->location, ""); in parse()
/external/swiftshader/src/OpenGL/compiler/
DDirectiveHandler.cpp40 mDiagnostics(diagnostics), in TDirectiveHandler()
52 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, msg, "", ""); in handleError()
86 mDiagnostics.report(pp::Diagnostics::UNRECOGNIZED_PRAGMA, loc, name); in handlePragma()
91 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handlePragma()
105 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
114 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
120 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension()
154 mDiagnostics.writeInfo(severity, loc, in handleExtension()
171 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleVersion()
DParseHelper.h57 mDiagnostics(is), in TParseContext()
58 mDirectiveHandler(ext, mDiagnostics, mShaderVersion), in TParseContext()
59 mPreprocessor(&mDiagnostics, &mDirectiveHandler), in TParseContext()
77 int numErrors() const { return mDiagnostics.numErrors(); } in numErrors()
78 TInfoSink &infoSink() { return mDiagnostics.infoSink(); } in infoSink()
269 TDiagnostics mDiagnostics; variable
DDirectiveHandler.h52 TDiagnostics& mDiagnostics; variable
DParseHelper.cpp262 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, in error()
271 mDiagnostics.writeInfo(pp::Diagnostics::PP_WARNING, in warning()
277 mDiagnostics.writeDebug(str); in trace()