Home
last modified time | relevance | path

Searched refs:PositionInfo (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/include/sksl/
DDSLCore.h79 void AddExtension(skstd::string_view name, PositionInfo pos = PositionInfo::Capture());
84 DSLStatement Break(PositionInfo pos = PositionInfo::Capture());
89 DSLStatement Continue(PositionInfo pos = PositionInfo::Capture());
94 void Declare(const DSLModifiers& modifiers, PositionInfo pos = PositionInfo::Capture());
99 DSLStatement Declare(DSLVar& var, PositionInfo pos = PositionInfo::Capture());
104 DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos = PositionInfo::Capture());
109 void Declare(DSLGlobalVar& var, PositionInfo pos = PositionInfo::Capture());
114 void Declare(SkTArray<DSLGlobalVar>& vars, PositionInfo pos = PositionInfo::Capture());
127 DSLStatement Discard(PositionInfo pos = PositionInfo::Capture());
132 DSLStatement Do(DSLStatement stmt, DSLExpression test, PositionInfo pos = PositionInfo::Capture());
[all …]
DDSLExpression.h52 DSLExpression(float value, PositionInfo pos = PositionInfo::Capture());
57 DSLExpression(double value, PositionInfo pos = PositionInfo::Capture())
63 DSLExpression(int value, PositionInfo pos = PositionInfo::Capture());
68 DSLExpression(int64_t value, PositionInfo pos = PositionInfo::Capture());
73 DSLExpression(unsigned int value, PositionInfo pos = PositionInfo::Capture());
78 DSLExpression(bool value, PositionInfo pos = PositionInfo::Capture());
83 DSLExpression(DSLVarBase& var, PositionInfo pos = PositionInfo::Capture());
85 DSLExpression(DSLVarBase&& var, PositionInfo pos = PositionInfo::Capture());
87 DSLExpression(DSLPossibleExpression expr, PositionInfo pos = PositionInfo::Capture());
91 static DSLExpression Poison(PositionInfo pos = PositionInfo::Capture());
[all …]
DDSLVar.h38 DSLVarBase(DSLType type, skstd::string_view name, DSLExpression initialValue, PositionInfo pos);
40 DSLVarBase(DSLType type, DSLExpression initialValue, PositionInfo pos);
43 DSLExpression initialValue, PositionInfo pos);
46 PositionInfo pos);
63 return DSLExpression(*this, PositionInfo()).x(); in x()
67 return DSLExpression(*this, PositionInfo()).y(); in y()
71 return DSLExpression(*this, PositionInfo()).z(); in z()
75 return DSLExpression(*this, PositionInfo()).w(); in w()
79 return DSLExpression(*this, PositionInfo()).r(); in r()
83 return DSLExpression(*this, PositionInfo()).g(); in g()
[all …]
DDSLLayout.h24 DSLLayout& originUpperLeft(PositionInfo pos = PositionInfo::Capture()) {
28 DSLLayout& pushConstant(PositionInfo pos = PositionInfo::Capture()) {
32 DSLLayout& blendSupportAllEquations(PositionInfo pos = PositionInfo::Capture()) {
37 DSLLayout& srgbUnpremul(PositionInfo pos = PositionInfo::Capture()) {
41 DSLLayout& location(int location, PositionInfo pos = PositionInfo::Capture()) {
46 DSLLayout& offset(int offset, PositionInfo pos = PositionInfo::Capture()) {
51 DSLLayout& binding(int binding, PositionInfo pos = PositionInfo::Capture()) {
56 DSLLayout& index(int index, PositionInfo pos = PositionInfo::Capture()) {
60 DSLLayout& set(int set, PositionInfo pos = PositionInfo::Capture()) {
64 DSLLayout& builtin(int builtin, PositionInfo pos = PositionInfo::Capture()) {
[all …]
DSkSLErrorReporter.h24 class PositionInfo {
26 PositionInfo(const char* file = nullptr, int line = -1)
31 static PositionInfo Capture(const char* file = __builtin_FILE(), int line = __builtin_LINE()) {
32 return PositionInfo(file, line);
35 static PositionInfo Capture() { return PositionInfo(); } in Capture()
62 void error(skstd::string_view msg, PositionInfo position);
74 void reportPendingErrors(PositionInfo pos) { in reportPendingErrors()
93 virtual void handleError(skstd::string_view msg, PositionInfo position) = 0;
96 PositionInfo position(int offset) const;
108 void handleError(skstd::string_view msg, PositionInfo pos) override { in handleError()
DDSLFunction.h45 this->init(modifiers, returnType, name, std::move(parameterArray), PositionInfo()); in DSLFunction()
49 SkTArray<DSLParameter*> parameters, PositionInfo pos = PositionInfo::Capture()) {
54 SkTArray<DSLParameter*> parameters, PositionInfo pos = PositionInfo::Capture()) {
69 void define(DSLBlock block, PositionInfo pos = PositionInfo::Capture());
86 PositionInfo pos = PositionInfo::Capture());
88 DSLExpression call(ExpressionArray args, PositionInfo pos = PositionInfo::Capture());
106 SkTArray<DSLParameter*> params, PositionInfo pos);
109 SkSL::PositionInfo fPosition;
DDSLType.h92 PositionInfo pos = PositionInfo::Capture());
175 friend DSLType Array(const DSLType& base, int count, PositionInfo pos);
176 friend DSLType Struct(skstd::string_view name, SkSpan<DSLField> fields, PositionInfo pos);
221 DSLType Array(const DSLType& base, int count, PositionInfo pos = PositionInfo::Capture());
226 PositionInfo pos = PositionInfo::Capture())
230 PositionInfo pos = PositionInfo::Capture())
240 PositionInfo fPosition;
243 friend DSLType Struct(skstd::string_view name, SkSpan<DSLField> fields, PositionInfo pos);
247 PositionInfo pos = PositionInfo::Capture());
252 return Struct(name, SkMakeSpan(fieldTypes), PositionInfo()); in Struct()
DDSLCase.h40 PositionInfo info = PositionInfo::Capture());
43 PositionInfo info = PositionInfo::Capture());
56 PositionInfo fPosition;
DDSLSymbols.h50 DSLPossibleExpression Symbol(skstd::string_view name, PositionInfo pos = PositionInfo::Capture());
65 void AddToSymbolTable(DSLVarBase& var, PositionInfo pos = PositionInfo::Capture());
DDSLStatement.h39 DSLStatement(DSLPossibleExpression expr, PositionInfo pos = PositionInfo::Capture());
41 DSLStatement(DSLPossibleStatement stmt, PositionInfo pos = PositionInfo::Capture());
/third_party/skia/src/sksl/dsl/
DDSLCore.cpp100 ThreadContext::ReportErrors(PositionInfo()); in ReleaseProgram()
136 static DSLStatement Break(PositionInfo pos) { in Break()
140 static DSLStatement Continue(PositionInfo pos) { in Continue()
149 static DSLStatement Declare(DSLVar& var, PositionInfo pos) { in Declare()
157 static DSLStatement Declare(SkTArray<DSLVar>& vars, PositionInfo pos) { in Declare()
165 static void Declare(DSLGlobalVar& var, PositionInfo pos) { in Declare()
188 static void Declare(SkTArray<DSLGlobalVar>& vars, PositionInfo pos) { in Declare()
194 static DSLStatement Discard(PositionInfo pos) { in Discard()
203 DSLExpression next, DSLStatement stmt, PositionInfo pos) { in For()
216 static void FindRTAdjust(SkSL::InterfaceBlock& intf, PositionInfo pos) { in FindRTAdjust()
[all …]
DDSLExpression.cpp44 DSLExpression::DSLExpression(float value, PositionInfo pos) in DSLExpression()
57 DSLExpression::DSLExpression(int value, PositionInfo pos) in DSLExpression()
62 DSLExpression::DSLExpression(int64_t value, PositionInfo pos) in DSLExpression()
67 DSLExpression::DSLExpression(unsigned int value, PositionInfo pos) in DSLExpression()
72 DSLExpression::DSLExpression(bool value, PositionInfo pos) in DSLExpression()
77 DSLExpression::DSLExpression(DSLVarBase& var, PositionInfo pos) { in DSLExpression()
82 DSLExpression::DSLExpression(DSLVarBase&& var, PositionInfo pos) in DSLExpression()
85 DSLExpression::DSLExpression(DSLPossibleExpression expr, PositionInfo pos) { in DSLExpression()
94 DSLExpression DSLExpression::Poison(PositionInfo pos) { in Poison()
135 DSLExpression DSLExpression::x(PositionInfo pos) { in x()
[all …]
DDSLVar.cpp27 PositionInfo pos) in DSLVarBase()
30 DSLVarBase::DSLVarBase(DSLType type, DSLExpression initialValue, PositionInfo pos) in DSLVarBase()
34 PositionInfo pos) in DSLVarBase()
38 DSLExpression initialValue, PositionInfo pos) in DSLVarBase()
106 : INHERITED(kVoid_Type, name, DSLExpression(), PositionInfo()) { in DSLGlobalVar()
158 return DSLExpression(*this, PositionInfo())[std::move(index)]; in operator []()
163 DSLExpression(*this, PositionInfo()).release(), SkSL::Token::Kind::TK_EQ, in assign()
180 PositionInfo pos) { in methodCall()
186 DSLExpression(*this, PositionInfo()).release(), methodName); in methodCall()
189 DSLExpression DSLGlobalVar::eval(ExpressionArray args, PositionInfo pos) { in eval()
[all …]
DDSLType.cpp21 PositionInfo pos) { in verify_type()
37 PositionInfo pos) { in find_type()
56 PositionInfo pos) { in find_type()
170 : fSkSLType(find_type(ThreadContext::Context(), name, PositionInfo())) {} in DSLType()
172 DSLType::DSLType(skstd::string_view name, DSLModifiers* modifiers, PositionInfo position) in DSLType()
177 PositionInfo())) {} in DSLType()
235 PositionInfo()); in skslType()
252 DSLType Array(const DSLType& base, int count, PositionInfo pos) { in Array()
262 DSLType Struct(skstd::string_view name, SkSpan<DSLField> fields, PositionInfo pos) { in Struct()
DDSLFunction.cpp25 SkTArray<DSLParameter*> params, PositionInfo pos) { in init()
75 void DSLFunction::define(DSLBlock block, PositionInfo pos) { in define()
110 DSLExpression DSLFunction::call(SkTArray<DSLWrapper<DSLExpression>> args, PositionInfo pos) { in call()
119 DSLExpression DSLFunction::call(ExpressionArray args, PositionInfo pos) { in call()
DDSLLayout.cpp16 DSLLayout& DSLLayout::flag(SkSL::Layout::Flag mask, const char* name, PositionInfo pos) { in flag()
26 PositionInfo pos) { in intValue()
DDSLCase.cpp16 DSLCase::DSLCase(DSLExpression value, SkSL::StatementArray statements, PositionInfo pos) in DSLCase()
21 DSLCase::DSLCase(DSLExpression value, SkTArray<DSLStatement> statements, PositionInfo pos) in DSLCase()
DDSLSymbols.cpp36 DSLPossibleExpression Symbol(skstd::string_view name, PositionInfo pos) { in Symbol()
48 void AddToSymbolTable(DSLVarBase& var, PositionInfo pos) { in AddToSymbolTable()
DDSLStatement.cpp48 DSLStatement::DSLStatement(DSLPossibleExpression expr, PositionInfo pos) in DSLStatement()
51 DSLStatement::DSLStatement(DSLPossibleStatement stmt, PositionInfo pos) { in DSLStatement()
/third_party/skia/src/sksl/
DSkSLDSLParser.h72 PositionInfo position(Token token);
74 PositionInfo position(int line);
151 PositionInfo fPosition;
171 void globalVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods,
174 dsl::DSLStatement localVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods,
299 void handleError(skstd::string_view msg, PositionInfo pos) override { in handleError()
312 PositionInfo fPos;
320 fErrorReporter.reportPendingErrors(PositionInfo()); in restoreErrorReporter()
DSkSLThreadContext.h178 static void ReportError(skstd::string_view msg, PositionInfo info = PositionInfo::Capture());
183 static void ReportErrors(PositionInfo pos);
191 void handleError(skstd::string_view msg, PositionInfo pos) override;
DSkSLErrorReporter.cpp15 void ErrorReporter::error(skstd::string_view msg, PositionInfo position) { in error()
33 this->error(msg, PositionInfo(/*file=*/nullptr, line)); in error()
DSkSLThreadContext.cpp169 void ThreadContext::ReportError(skstd::string_view msg, PositionInfo info) { in ReportError()
173 void ThreadContext::DefaultErrorReporter::handleError(skstd::string_view msg, PositionInfo pos) { in handleError()
184 void ThreadContext::ReportErrors(PositionInfo pos) { in ReportErrors()
DSkSLCompiler.h161 void handleError(skstd::string_view msg, PositionInfo pos);
208 void handleError(skstd::string_view msg, PositionInfo pos) override { in handleError()
/third_party/node/deps/v8/src/objects/
Dscript.h170 struct PositionInfo { struct
171 PositionInfo() : line(-1), column(-1), line_start(-1), line_end(-1) {} in PositionInfo() function
190 PositionInfo* info, OffsetFlag offset_flag); argument
191 V8_EXPORT_PRIVATE bool GetPositionInfo(int position, PositionInfo* info,

12