Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DDirectiveParser.cpp151 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 …]
DExpressionParser.y279 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()
DMacroExpander.cpp54 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()
DExpressionParser.h30 Diagnostics *mDiagnostics; variable
DDirectiveParser.h76 Diagnostics *mDiagnostics; variable
DMacroExpander.h81 Diagnostics *mDiagnostics; variable
DExpressionParser.cpp1975 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/
Dversion_test.cpp23 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 …]
Dif_test.cpp614 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 …]
Ddefine_test.cpp21 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 …]
Dpragma_test.cpp23 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()
Derror_test.cpp22 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()
Dextension_test.cpp23 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()
DPreprocessorTest.h19 PreprocessorTest() : mPreprocessor(&mDiagnostics, &mDirectiveHandler) { } in PreprocessorTest()
25 MockDiagnostics mDiagnostics; variable
Dlocation_test.cpp80 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()
Dcomment_test.cpp65 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_COMMENT, _, _)); in TEST_F()
Dchar_test.cpp84 EXPECT_CALL(mDiagnostics, in TEST_P()
Dnumber_test.cpp23 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INVALID_NUMBER, _, str)); in TEST_P()
/external/chromium_org/third_party/angle/src/compiler/translator/
DDirectiveHandler.cpp32 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()
DDirectiveHandler.h44 TDiagnostics& mDiagnostics; variable