/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
D | if_test.cpp | 671 pp::SourceLocation(0, 1), "syntax error")); in TEST_F() 683 print(pp::Diagnostics::PP_DIVISION_BY_ZERO, pp::SourceLocation(0, 1), "1 / 0")); in TEST_F() 695 print(pp::Diagnostics::PP_DIVISION_BY_ZERO, pp::SourceLocation(0, 1), "1 % 0")); in TEST_F() 706 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 718 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 730 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 743 pp::SourceLocation(0, 1), "UNDEFINED")); in TEST_F() 775 pp::SourceLocation(0, 1), "else")); in TEST_F() 785 pp::SourceLocation(0, 1), "elif")); in TEST_F() 795 pp::SourceLocation(0, 1), "endif")); in TEST_F() [all …]
|
D | version_test.cpp | 22 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 200, SH_GLES2_SPEC)); in TEST_F() 37 handleVersion(pp::SourceLocation(0, 1), 330, SH_GL_COMPATIBILITY_SPEC)); 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() 122 pp::SourceLocation(0, 2), _)); in TEST_F() 135 print(pp::Diagnostics::PP_INVALID_CHARACTER, pp::SourceLocation(0, 1), "$")); in TEST_F() 137 pp::SourceLocation(0, 2), _)); in TEST_F() 150 pp::SourceLocation(0, 2), _)); in TEST_F() [all …]
|
D | location_test.cpp | 21 const pp::SourceLocation &location) in expectLocation() 38 pp::SourceLocation loc(0, 1); in TEST_F() 47 pp::SourceLocation loc(0, 2); in TEST_F() 56 pp::SourceLocation loc(1, 1); in TEST_F() 65 pp::SourceLocation loc(1, 2); in TEST_F() 74 pp::SourceLocation loc(0, 3); in TEST_F() 86 print(pp::Diagnostics::PP_INVALID_CHARACTER, pp::SourceLocation(0, 3), "@")); in TEST_F() 98 pp::SourceLocation loc(0, 1); in TEST_F() 107 pp::SourceLocation loc(0, 1); in TEST_F() 172 pp::SourceLocation loc(0, 10); in TEST_F() [all …]
|
D | define_test.cpp | 30 print(pp::Diagnostics::PP_UNEXPECTED_TOKEN, pp::SourceLocation(0, 1), "2")); in TEST_F() 57 pp::SourceLocation(0, 1), "__LINE__")); in TEST_F() 59 pp::SourceLocation(0, 3), "__FILE__")); in TEST_F() 61 pp::SourceLocation(0, 5), "__VERSION__")); in TEST_F() 63 pp::SourceLocation(0, 7), "GL_ES")); in TEST_F() 78 pp::SourceLocation(0, 1), "__foo")); in TEST_F() 93 pp::SourceLocation(0, 1), "foo__bar")); in TEST_F() 108 print(pp::Diagnostics::PP_MACRO_NAME_RESERVED, pp::SourceLocation(0, 1), "GL_foo")); in TEST_F() 142 print(pp::Diagnostics::PP_MACRO_REDEFINED, pp::SourceLocation(0, 2), "foo")); in TEST_F() 176 print(pp::Diagnostics::PP_MACRO_REDEFINED, pp::SourceLocation(0, 2), "foo")); in TEST_F() [all …]
|
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 | pragma_test.cpp | 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() 76 handlePragma(pp::SourceLocation(0, 1), "invariant", "all", true)); 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() 138 print(pp::Diagnostics::PP_UNRECOGNIZED_PRAGMA, pp::SourceLocation(0, 1), _)); in TEST_P()
|
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() 123 EXPECT_CALL(mDiagnostics, print(param.id, pp::SourceLocation(0, 1), _)); in TEST_P()
|
D | MockDirectiveHandler.h | 19 MOCK_METHOD2(handleError, void(const pp::SourceLocation &loc, const std::string &msg)); 22 void(const pp::SourceLocation &loc, 28 void(const pp::SourceLocation &loc, 33 void(const pp::SourceLocation &loc, int version, ShShaderSpec spec));
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
D | if_test.cpp | 671 pp::SourceLocation(0, 1), "syntax error")); in TEST_F() 683 print(pp::Diagnostics::PP_DIVISION_BY_ZERO, pp::SourceLocation(0, 1), "1 / 0")); in TEST_F() 695 print(pp::Diagnostics::PP_DIVISION_BY_ZERO, pp::SourceLocation(0, 1), "1 % 0")); in TEST_F() 706 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 718 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 730 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_INTEGER_OVERFLOW, pp::SourceLocation(0, 1), in TEST_F() 743 pp::SourceLocation(0, 1), "UNDEFINED")); in TEST_F() 775 pp::SourceLocation(0, 1), "else")); in TEST_F() 785 pp::SourceLocation(0, 1), "elif")); in TEST_F() 795 pp::SourceLocation(0, 1), "endif")); in TEST_F() [all …]
|
D | version_test.cpp | 22 EXPECT_CALL(mDirectiveHandler, handleVersion(pp::SourceLocation(0, 1), 200, SH_GLES2_SPEC)); in TEST_F() 37 handleVersion(pp::SourceLocation(0, 1), 330, SH_GL_COMPATIBILITY_SPEC)); 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() 122 pp::SourceLocation(0, 2), _)); in TEST_F() 135 print(pp::Diagnostics::PP_INVALID_CHARACTER, pp::SourceLocation(0, 1), "$")); in TEST_F() 137 pp::SourceLocation(0, 2), _)); in TEST_F() 150 pp::SourceLocation(0, 2), _)); in TEST_F() [all …]
|
D | location_test.cpp | 21 const pp::SourceLocation &location) in expectLocation() 38 pp::SourceLocation loc(0, 1); in TEST_F() 47 pp::SourceLocation loc(0, 2); in TEST_F() 56 pp::SourceLocation loc(1, 1); in TEST_F() 65 pp::SourceLocation loc(1, 2); in TEST_F() 74 pp::SourceLocation loc(0, 3); in TEST_F() 86 print(pp::Diagnostics::PP_INVALID_CHARACTER, pp::SourceLocation(0, 3), "@")); in TEST_F() 98 pp::SourceLocation loc(0, 1); in TEST_F() 107 pp::SourceLocation loc(0, 1); in TEST_F() 172 pp::SourceLocation loc(0, 10); in TEST_F() [all …]
|
D | define_test.cpp | 30 print(pp::Diagnostics::PP_UNEXPECTED_TOKEN, pp::SourceLocation(0, 1), "2")); in TEST_F() 57 pp::SourceLocation(0, 1), "__LINE__")); in TEST_F() 59 pp::SourceLocation(0, 3), "__FILE__")); in TEST_F() 61 pp::SourceLocation(0, 5), "__VERSION__")); in TEST_F() 63 pp::SourceLocation(0, 7), "GL_ES")); in TEST_F() 78 pp::SourceLocation(0, 1), "__foo")); in TEST_F() 93 pp::SourceLocation(0, 1), "foo__bar")); in TEST_F() 108 print(pp::Diagnostics::PP_MACRO_NAME_RESERVED, pp::SourceLocation(0, 1), "GL_foo")); in TEST_F() 142 print(pp::Diagnostics::PP_MACRO_REDEFINED, pp::SourceLocation(0, 2), "foo")); in TEST_F() 176 print(pp::Diagnostics::PP_MACRO_REDEFINED, pp::SourceLocation(0, 2), "foo")); in TEST_F() [all …]
|
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 | pragma_test.cpp | 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() 76 handlePragma(pp::SourceLocation(0, 1), "invariant", "all", true)); 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() 138 print(pp::Diagnostics::PP_UNRECOGNIZED_PRAGMA, pp::SourceLocation(0, 1), _)); in TEST_P()
|
D | MockDirectiveHandler.h | 19 MOCK_METHOD2(handleError, void(const pp::SourceLocation &loc, const std::string &msg)); 22 void(const pp::SourceLocation &loc, 28 void(const pp::SourceLocation &loc, 33 void(const pp::SourceLocation &loc, int version, ShShaderSpec spec));
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | SourceLocation.h | 21 struct SourceLocation struct 23 SourceLocation() : file(0), line(0) {} in SourceLocation() function 24 SourceLocation(int f, int l) : file(f), line(l) {} in SourceLocation() argument 26 bool equals(const SourceLocation &other) const in equals() argument 35 inline bool operator==(const SourceLocation &lhs, const SourceLocation &rhs) argument 40 inline bool operator!=(const SourceLocation &lhs, const SourceLocation &rhs)
|
D | DirectiveHandlerBase.h | 23 struct SourceLocation; 34 virtual void handleError(const SourceLocation &loc, const std::string &msg) = 0; 37 virtual void handlePragma(const SourceLocation &loc, 42 virtual void handleExtension(const SourceLocation &loc, 46 virtual void handleVersion(const SourceLocation &loc, int version) = 0;
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
D | SourceLocation.h | 16 struct SourceLocation struct 18 SourceLocation() : file(0), line(0) {} in SourceLocation() argument 19 SourceLocation(int f, int l) : file(f), line(l) {} in SourceLocation() argument 21 bool equals(const SourceLocation &other) const in equals() argument 30 inline bool operator==(const SourceLocation &lhs, const SourceLocation &rhs) argument 35 inline bool operator!=(const SourceLocation &lhs, const SourceLocation &rhs)
|
D | DirectiveHandlerBase.h | 19 struct SourceLocation; 30 virtual void handleError(const SourceLocation &loc, const std::string &msg) = 0; 33 virtual void handlePragma(const SourceLocation &loc, 38 virtual void handleExtension(const SourceLocation &loc, 42 virtual void handleVersion(const SourceLocation &loc, int version, ShShaderSpec spec) = 0;
|
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
D | SourceLocation.h | 16 struct SourceLocation struct 18 SourceLocation() : file(0), line(0) {} in SourceLocation() argument 19 SourceLocation(int f, int l) : file(f), line(l) {} in SourceLocation() function 21 bool equals(const SourceLocation &other) const in equals() argument 30 inline bool operator==(const SourceLocation &lhs, const SourceLocation &rhs) argument 35 inline bool operator!=(const SourceLocation &lhs, const SourceLocation &rhs)
|
D | DirectiveHandlerBase.h | 19 struct SourceLocation; 30 virtual void handleError(const SourceLocation &loc, const std::string &msg) = 0; 33 virtual void handlePragma(const SourceLocation &loc, 38 virtual void handleExtension(const SourceLocation &loc, 42 virtual void handleVersion(const SourceLocation &loc, int version, ShShaderSpec spec) = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
D | LookupResult.h | 22 struct SourceLocation { struct 29 inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) { argument 34 raw_ostream &operator<<(raw_ostream &OS, const SourceLocation &R); 36 using SourceLocations = std::vector<SourceLocation>;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Diagnostics.cpp | 24 const angle::pp::SourceLocation &loc, in writeInfo() 54 void TDiagnostics::error(const angle::pp::SourceLocation &loc, in error() 61 void TDiagnostics::warning(const angle::pp::SourceLocation &loc, in warning() 70 angle::pp::SourceLocation srcLoc; in error() 78 angle::pp::SourceLocation srcLoc; in warning() 84 void TDiagnostics::print(ID id, const angle::pp::SourceLocation &loc, const std::string &text) in print()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Diagnostics.cpp | 24 const angle::pp::SourceLocation &loc, in writeInfo() 54 void TDiagnostics::error(const angle::pp::SourceLocation &loc, in error() 61 void TDiagnostics::warning(const angle::pp::SourceLocation &loc, in warning() 70 angle::pp::SourceLocation srcLoc; in error() 78 angle::pp::SourceLocation srcLoc; in warning() 84 void TDiagnostics::print(ID id, const angle::pp::SourceLocation &loc, const std::string &text) in print()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | DirectiveHandler.h | 35 virtual void handleError(const pp::SourceLocation& loc, 38 virtual void handlePragma(const pp::SourceLocation& loc, 43 virtual void handleExtension(const pp::SourceLocation& loc, 47 virtual void handleVersion(const pp::SourceLocation& loc,
|