Home
last modified time | relevance | path

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

1234

/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 …]
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()
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()
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()
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/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/node/deps/v8/include/cppgc/
Dcross-thread-persistent.h106 const SourceLocation& loc = SourceLocation::Current())
110 std::nullptr_t, const SourceLocation& loc = SourceLocation::Current())
114 SentinelPointer s, const SourceLocation& loc = SourceLocation::Current())
118 T* raw, const SourceLocation& loc = SourceLocation::Current())
137 const SourceLocation& loc = SourceLocation::Current())
146 T& raw, const SourceLocation& loc = SourceLocation::Current())
156 const SourceLocation& loc = SourceLocation::Current())
161 const SourceLocation& loc = SourceLocation::Current())
175 const SourceLocation& loc = SourceLocation::Current())
182 const SourceLocation& loc = SourceLocation::Current()) noexcept {
Dsource-location.h31 class V8_EXPORT SourceLocation final {
38 static constexpr SourceLocation Current(
41 return SourceLocation(function, file, line);
44 static constexpr SourceLocation Current() { return SourceLocation(); }
50 constexpr SourceLocation() = default;
82 constexpr SourceLocation(const char* function, const char* file, size_t line) in SourceLocation() function
Dpersistent.h64 const SourceLocation& loc = SourceLocation::Current())
68 const SourceLocation& loc = SourceLocation::Current())
72 SentinelPointer s, const SourceLocation& loc = SourceLocation::Current())
77 const SourceLocation& loc = SourceLocation::Current())
86 const SourceLocation& loc = SourceLocation::Current())
91 const SourceLocation& loc = SourceLocation::Current())
101 const SourceLocation& loc = SourceLocation::Current())
108 const SourceLocation& loc = SourceLocation::Current()) noexcept
124 const SourceLocation& loc = SourceLocation::Current())
/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()
DDirectiveHandler.h32 void handleError(const angle::pp::SourceLocation &loc, const std::string &msg) override;
34 void handlePragma(const angle::pp::SourceLocation &loc,
39 void handleExtension(const angle::pp::SourceLocation &loc,
43 void handleVersion(const angle::pp::SourceLocation &loc,
DDiagnostics.h29 void error(const angle::pp::SourceLocation &loc, const char *reason, const char *token);
30 void warning(const angle::pp::SourceLocation &loc, const char *reason, const char *token);
41 const angle::pp::SourceLocation &loc,
45 void print(ID id, const angle::pp::SourceLocation &loc, const std::string &text) override;
/third_party/node/deps/v8/src/heap/cppgc-js/
Dunified-heap-marking-visitor.h16 class SourceLocation; variable
28 using cppgc::SourceLocation;
70 void VisitRoot(const void*, TraceDescriptor, const SourceLocation&) final;
72 const SourceLocation&) final;
95 void VisitRoot(const void*, TraceDescriptor, const SourceLocation&) final { in VisitRoot() argument
99 const SourceLocation&) final { in VisitWeakRoot() argument
/third_party/node/deps/v8/include/cppgc/internal/
Dlogging.h15 const SourceLocation& = SourceLocation::Current());
17 FatalImpl(const char*, const SourceLocation& = SourceLocation::Current());
Dpointer-policies.h113 constexpr const SourceLocation& Location() const { return location_; }
117 constexpr explicit KeepLocationPolicy(const SourceLocation& location)
129 SourceLocation location_;
134 constexpr SourceLocation Location() const { return {}; }
138 constexpr explicit IgnoreLocationPolicy(const SourceLocation&) {}
/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,
/third_party/node/deps/v8/src/heap/cppgc/
Dmarking-visitor.h47 void VisitRoot(const void*, TraceDescriptor, const SourceLocation&) final;
49 const SourceLocation&) final;
59 void VisitRoot(const void*, TraceDescriptor, const SourceLocation&) final { in VisitRoot() argument
63 const SourceLocation&) final { in VisitWeakRoot() argument
Dplatform.h20 using Callback = void(const std::string&, const SourceLocation&, HeapBase*);
27 const SourceLocation& = SourceLocation::Current()) const;

1234