/external/angle/src/tests/preprocessor_tests/ |
D | pragma_test.cpp | 23 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()
|
D | error_test.cpp | 22 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()
|
D | extension_test.cpp | 22 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()
|
D | version_test.cpp | 22 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()
|
D | PreprocessorTest.cpp | 37 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()
|
D | PreprocessorTest.h | 24 : mPreprocessor(&mDiagnostics, &mDirectiveHandler, pp::PreprocessorSettings(shaderSpec)) in PreprocessorTest() 28 MockDirectiveHandler mDirectiveHandler; variable 48 MockDirectiveHandler mDirectiveHandler; variable
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.h | 58 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
|
D | ParseHelper.cpp | 1131 mDirectiveHandler.handleExtension(loc, extName, behavior); in handleExtensionDirective() 1137 mDirectiveHandler.handlePragma(loc, name, value, stdgl); in handlePragmaDirective()
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | DirectiveParser.cpp | 219 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()
|
D | DirectiveParser.h | 90 DirectiveHandler *mDirectiveHandler; variable
|
/external/angle/src/compiler/preprocessor/ |
D | DirectiveParser.cpp | 155 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()
|
D | DirectiveParser.h | 79 DirectiveHandler *mDirectiveHandler; variable
|
/external/angle/src/compiler/translator/ |
D | ParseContext.h | 195 const TPragma &pragma() const { return mDirectiveHandler.pragma(); } in pragma() 198 return mDirectiveHandler.extensionBehavior(); in extensionBehavior() 681 TDirectiveHandler mDirectiveHandler; variable
|
D | ParseContext.cpp | 213 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()
|