Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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
/third_party/flutter/skia/third_party/externals/angle2/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()
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()
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()
93 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 300, SH_GLES2_SPEC)); in TEST_F()
117 EXPECT_CALL(mDirectiveHandler, handleExtension(_, _, _)).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
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/angle2/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
/third_party/flutter/skia/third_party/externals/angle2/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()
685 mDirectiveHandler->handleExtension(token->location, name, behavior); in parseExtension()
797 mDirectiveHandler->handleVersion(token->location, version, mSettings.shaderSpec); in parseVersion()
DDirectiveParser.h79 DirectiveHandler *mDirectiveHandler; variable
/third_party/skia/third_party/externals/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
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h187 const TPragma &pragma() const { return mDirectiveHandler.pragma(); } in pragma()
190 return mDirectiveHandler.extensionBehavior(); in extensionBehavior()
620 TDirectiveHandler mDirectiveHandler; variable
DParseContext.cpp192 mDirectiveHandler(ext, in TParseContext()
197 mPreprocessor(mDiagnostics, &mDirectiveHandler, angle::pp::PreprocessorSettings(spec)), in TParseContext()
1803 mDirectiveHandler.handleExtension(srcLoc, extName, behavior); in handleExtensionDirective()
1814 mDirectiveHandler.handlePragma(srcLoc, name, value, stdgl); in handlePragmaDirective()
2454 mDirectiveHandler.pragma().stdgl.invariantAll) in parseSingleDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h195 const TPragma &pragma() const { return mDirectiveHandler.pragma(); } in pragma()
198 return mDirectiveHandler.extensionBehavior(); in extensionBehavior()
688 TDirectiveHandler mDirectiveHandler; variable
DParseContext.cpp214 mDirectiveHandler(ext, *mDiagnostics, mShaderVersion, mShaderType), in TParseContext()
215 mPreprocessor(mDiagnostics, &mDirectiveHandler, angle::pp::PreprocessorSettings(spec)), in TParseContext()
2116 mDirectiveHandler.handleExtension(srcLoc, extName, behavior); in handleExtensionDirective()
2127 mDirectiveHandler.handlePragma(srcLoc, name, value, stdgl); in handlePragmaDirective()
2328 IsExtensionEnabled(mDirectiveHandler.extensionBehavior(), in executeInitializer()
2891 mDirectiveHandler.pragma().stdgl.invariantAll) in parseSingleDeclaration()