Home
last modified time | relevance | path

Searched refs:SourceLocation (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dif_test.cpp671 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 …]
Dversion_test.cpp22 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 …]
Dlocation_test.cpp21 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 …]
Ddefine_test.cpp30 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 …]
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()
Dpragma_test.cpp36 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()
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()
123 EXPECT_CALL(mDiagnostics, print(param.id, pp::SourceLocation(0, 1), _)); in TEST_P()
DMockDirectiveHandler.h19 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/
Dif_test.cpp671 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 …]
Dversion_test.cpp22 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 …]
Dlocation_test.cpp21 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 …]
Ddefine_test.cpp30 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 …]
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()
Dpragma_test.cpp36 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()
DMockDirectiveHandler.h19 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/
DSourceLocation.h21 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)
DDirectiveHandlerBase.h23 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/
DSourceLocation.h16 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)
DDirectiveHandlerBase.h19 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/
DSourceLocation.h16 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)
DDirectiveHandlerBase.h19 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/
DLookupResult.h22 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/
DDiagnostics.cpp24 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/
DDiagnostics.cpp24 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/
DDirectiveHandler.h35 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,

12345