Home
last modified time | relevance | path

Searched refs:mDirectiveHandler (Results 1 – 14 of 14) sorted by relevance

/external/angle/src/tests/preprocessor_tests/
Dpragma_test.cpp23 EXPECT_CALL(mDirectiveHandler, handlePragma(_, _, _, false)).Times(0); in TEST_F()
36 EXPECT_CALL(mDirectiveHandler, handlePragma(pp::SourceLocation(0, 1), "foo", "", false)); in TEST_F()
49 EXPECT_CALL(mDirectiveHandler, handlePragma(pp::SourceLocation(0, 1), "foo", "bar", false)); in TEST_F()
62 EXPECT_CALL(mDirectiveHandler, handlePragma(_, _, _, _)).Times(0); in TEST_F()
75 EXPECT_CALL(mDirectiveHandler, in TEST_F()
104 EXPECT_CALL(mDirectiveHandler, handlePragma(pp::SourceLocation(0, 1), "foo", "bar", false)); in TEST_F()
118 EXPECT_CALL(mDirectiveHandler, handlePragma(pp::SourceLocation(0, 1), "foo", "bar", false)); in TEST_F()
135 EXPECT_CALL(mDirectiveHandler, handlePragma(_, _, _, false)).Times(0); in TEST_P()
Derror_test.cpp22 EXPECT_CALL(mDirectiveHandler, handleError(pp::SourceLocation(0, 1), "")); in TEST_F()
35 EXPECT_CALL(mDirectiveHandler, handleError(pp::SourceLocation(0, 1), " foo")); in TEST_F()
48 EXPECT_CALL(mDirectiveHandler, handleError(pp::SourceLocation(0, 1), " foo bar")); in TEST_F()
72 EXPECT_CALL(mDirectiveHandler, handleError(pp::SourceLocation(0, 1), " foo bar")); in TEST_F()
86 EXPECT_CALL(mDirectiveHandler, handleError(pp::SourceLocation(0, 1), " foo")); in TEST_F()
Dextension_test.cpp22 EXPECT_CALL(mDirectiveHandler, handleExtension(pp::SourceLocation(0, 1), "foo", "bar")); in TEST_F()
48 EXPECT_CALL(mDirectiveHandler, handleExtension(pp::SourceLocation(0, 1), "foo", "bar")); in TEST_F()
62 EXPECT_CALL(mDirectiveHandler, handleExtension(pp::SourceLocation(0, 1), "foo", "bar")); in TEST_F()
79 EXPECT_CALL(mDirectiveHandler, handleExtension(pp::SourceLocation(0, 2), "foo", "bar")); in TEST_F()
97 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 300, SH_GLES2_SPEC)); in TEST_F()
121 EXPECT_CALL(mDirectiveHandler, handleExtension(_, _, _)).Times(0); in TEST_P()
Dversion_test.cpp22 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 200, SH_GLES2_SPEC)); in TEST_F()
36 EXPECT_CALL(mDirectiveHandler, in TEST_F()
59 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 200, SH_GLES2_SPEC)); in TEST_F()
73 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 200, SH_GLES2_SPEC)); in TEST_F()
90 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 3), 200, SH_GLES2_SPEC)); in TEST_F()
107 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 3), 200, SH_GLES2_SPEC)); in TEST_F()
201 EXPECT_CALL(mDirectiveHandler, handleVersion(_, _, _)).Times(0); in TEST_P()
DPreprocessorTest.cpp37 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, settings); in preprocess()
53 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in preprocess()
64 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in lexSingleToken()
74 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in lexSingleToken()
DPreprocessorTest.h24 : mPreprocessor(&mDiagnostics, &mDirectiveHandler, pp::PreprocessorSettings(shaderSpec)) in PreprocessorTest()
28 MockDirectiveHandler mDirectiveHandler; variable
48 MockDirectiveHandler mDirectiveHandler; variable
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h58 mDirectiveHandler(ext, mDiagnostics, mShaderVersion), in TParseContext()
59 mPreprocessor(&mDiagnostics, &mDirectiveHandler, pp::PreprocessorSettings()), in TParseContext()
148 …const TExtensionBehavior& extensionBehavior() const { return mDirectiveHandler.extensionBehavior()… in extensionBehavior()
152 const TPragma& pragma() const { return mDirectiveHandler.pragma(); } in pragma()
271 TDirectiveHandler mDirectiveHandler; variable
DParseHelper.cpp1131 mDirectiveHandler.handleExtension(loc, extName, behavior); in handleExtensionDirective()
1137 mDirectiveHandler.handlePragma(loc, name, value, stdgl); in handlePragmaDirective()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp219 mDirectiveHandler(directiveHandler), in DirectiveParser()
612 mDirectiveHandler->handleError(token->location, stream.str()); in parseError()
672 mDirectiveHandler->handlePragma(token->location, name, value, stdgl); in parsePragma()
756 mDirectiveHandler->handleExtension(token->location, name, behavior); in parseExtension()
840 mDirectiveHandler->handleVersion(token->location, version); in parseVersion()
DDirectiveParser.h90 DirectiveHandler *mDirectiveHandler; variable
/external/angle/src/compiler/preprocessor/
DDirectiveParser.cpp155 mDirectiveHandler(directiveHandler), in DirectiveParser()
541 mDirectiveHandler->handleError(token->location, stream.str()); in parseError()
601 mDirectiveHandler->handlePragma(token->location, name, value, stdgl); in parsePragma()
697 mDirectiveHandler->handleExtension(token->location, name, behavior); in parseExtension()
809 mDirectiveHandler->handleVersion(token->location, version, mSettings.shaderSpec); in parseVersion()
DDirectiveParser.h79 DirectiveHandler *mDirectiveHandler; variable
/external/angle/src/compiler/translator/
DParseContext.h195 const TPragma &pragma() const { return mDirectiveHandler.pragma(); } in pragma()
198 return mDirectiveHandler.extensionBehavior(); in extensionBehavior()
681 TDirectiveHandler mDirectiveHandler; variable
DParseContext.cpp213 mDirectiveHandler(ext, in TParseContext()
218 mPreprocessor(mDiagnostics, &mDirectiveHandler, angle::pp::PreprocessorSettings(spec)), in TParseContext()
2100 mDirectiveHandler.handleExtension(srcLoc, extName, behavior); in handleExtensionDirective()
2111 mDirectiveHandler.handlePragma(srcLoc, name, value, stdgl); in handlePragmaDirective()
2296 IsExtensionEnabled(mDirectiveHandler.extensionBehavior(), in executeInitializer()
2855 mDirectiveHandler.pragma().stdgl.invariantAll) in parseSingleDeclaration()