/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
D | DirectiveParser.cpp | 151 mDiagnostics(diagnostics) in DefinedParser() 176 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in lex() 189 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in lex() 205 Diagnostics *mDiagnostics; member in pp::DefinedParser 215 mDiagnostics(diagnostics), in DirectiveParser() 237 mDiagnostics->report(Diagnostics::PP_CONDITIONAL_UNTERMINATED, in lex() 273 mDiagnostics->report(Diagnostics::PP_DIRECTIVE_INVALID_NAME, in parseDirective() 324 mDiagnostics->report(Diagnostics::PP_EOF_IN_DIRECTIVE, in parseDirective() 336 mDiagnostics->report(Diagnostics::PP_UNEXPECTED_TOKEN, in parseDefine() 342 mDiagnostics->report(Diagnostics::PP_MACRO_PREDEFINED_REDEFINED, in parseDefine() [all …]
|
D | ExpressionParser.y | 279 mDiagnostics(diagnostics) in ExpressionParser() 286 context.diagnostics = mDiagnostics; in parse() 298 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token->location, ""); in parse() 303 mDiagnostics->report(Diagnostics::PP_INTERNAL_ERROR, token->location, ""); in parse()
|
D | MacroExpander.cpp | 54 mDiagnostics(diagnostics) in MacroExpander() 257 mDiagnostics->report(Diagnostics::PP_MACRO_UNTERMINATED_INVOCATION, in collectMacroArgs() 309 mDiagnostics->report(id, identifier.location, identifier.text); in collectMacroArgs() 320 MacroExpander expander(&lexer, mMacroSet, mDiagnostics); in collectMacroArgs()
|
D | ExpressionParser.h | 30 Diagnostics *mDiagnostics; variable
|
D | DirectiveParser.h | 76 Diagnostics *mDiagnostics; variable
|
D | MacroExpander.h | 81 Diagnostics *mDiagnostics; variable
|
D | ExpressionParser.cpp | 1975 mDiagnostics(diagnostics) in ExpressionParser() 1982 context.diagnostics = mDiagnostics; in parse() 1994 mDiagnostics->report(Diagnostics::PP_OUT_OF_MEMORY, token->location, ""); in parse() 1999 mDiagnostics->report(Diagnostics::PP_INTERNAL_ERROR, token->location, ""); in parse()
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | version_test.cpp | 23 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 45 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 60 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F() 77 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 94 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 106 EXPECT_CALL(mDiagnostics, in TEST_F() 124 EXPECT_CALL(mDiagnostics, in TEST_F() 127 EXPECT_CALL(mDiagnostics, in TEST_F() 145 EXPECT_CALL(mDiagnostics, in TEST_F() 163 EXPECT_CALL(mDiagnostics, in TEST_F() [all …]
|
D | if_test.cpp | 614 EXPECT_CALL(mDiagnostics, in TEST_F() 629 EXPECT_CALL(mDiagnostics, in TEST_F() 643 EXPECT_CALL(mDiagnostics, in TEST_F() 657 EXPECT_CALL(mDiagnostics, in TEST_F() 671 EXPECT_CALL(mDiagnostics, in TEST_F() 685 EXPECT_CALL(mDiagnostics, in TEST_F() 699 EXPECT_CALL(mDiagnostics, in TEST_F() 703 EXPECT_CALL(mDiagnostics, in TEST_F() 727 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 737 EXPECT_CALL(mDiagnostics, in TEST_F() [all …]
|
D | define_test.cpp | 21 EXPECT_CALL(mDiagnostics, in TEST_F() 48 EXPECT_CALL(mDiagnostics, in TEST_F() 52 EXPECT_CALL(mDiagnostics, in TEST_F() 56 EXPECT_CALL(mDiagnostics, in TEST_F() 60 EXPECT_CALL(mDiagnostics, in TEST_F() 75 EXPECT_CALL(mDiagnostics, in TEST_F() 90 EXPECT_CALL(mDiagnostics, in TEST_F() 105 EXPECT_CALL(mDiagnostics, in TEST_F() 123 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 137 EXPECT_CALL(mDiagnostics, in TEST_F() [all …]
|
D | pragma_test.cpp | 23 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 37 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 51 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 79 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 94 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F() 113 EXPECT_CALL(mDiagnostics, in TEST_P()
|
D | error_test.cpp | 22 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 36 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 50 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 74 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 89 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F()
|
D | extension_test.cpp | 23 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 49 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F() 64 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F() 90 EXPECT_CALL(mDiagnostics, print(param.id, pp::SourceLocation(0, 1), _)); in TEST_P()
|
D | PreprocessorTest.h | 19 PreprocessorTest() : mPreprocessor(&mDiagnostics, &mDirectiveHandler) { } in PreprocessorTest() 25 MockDiagnostics mDiagnostics; variable
|
D | location_test.cpp | 80 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INVALID_CHARACTER, in TEST_F() 264 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); in TEST_F() 288 EXPECT_CALL(mDiagnostics, print(param.id, pp::SourceLocation(0, 1), _)); in TEST_P()
|
D | comment_test.cpp | 65 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_COMMENT, _, _)); in TEST_F()
|
D | char_test.cpp | 84 EXPECT_CALL(mDiagnostics, in TEST_P()
|
D | number_test.cpp | 23 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INVALID_NUMBER, _, str)); in TEST_P()
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
D | DirectiveHandler.cpp | 32 mDiagnostics(diagnostics), in TDirectiveHandler() 44 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, msg, "", ""); in handleError() 78 mDiagnostics.report(pp::Diagnostics::PP_UNRECOGNIZED_PRAGMA, loc, name); in handlePragma() 83 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handlePragma() 97 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 106 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 112 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleExtension() 146 mDiagnostics.writeInfo(severity, loc, in handleExtension() 163 mDiagnostics.writeInfo(pp::Diagnostics::PP_ERROR, loc, in handleVersion()
|
D | DirectiveHandler.h | 44 TDiagnostics& mDiagnostics; variable
|