Home
last modified time | relevance | path

Searched refs:refKind (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLVariableReference.h40 VariableReference(int line, const Variable* variable, RefKind refKind);
46 RefKind refKind = RefKind::kRead) {
48 return std::make_unique<VariableReference>(line, variable, refKind);
58 RefKind refKind() const { in refKind() function
62 void setRefKind(RefKind refKind);
70 return std::make_unique<VariableReference>(fLine, this->variable(), this->refKind()); in clone()
DSkSLVariableReference.cpp17 VariableReference::VariableReference(int line, const Variable* variable, RefKind refKind) in VariableReference() argument
20 , fRefKind(refKind) { in VariableReference()
42 void VariableReference::setRefKind(RefKind refKind) { in setRefKind() argument
43 fRefKind = refKind; in setRefKind()
DSkSLBinaryExpression.cpp228 return ref.refKind() == VariableRefKind::kWrite || in CheckRef()
229 ref.refKind() == VariableRefKind::kReadWrite; in CheckRef()
DSkSLFunctionCall.cpp982 const VariableRefKind refKind = paramModifiers.fFlags & Modifiers::kIn_Flag in Convert() local
985 if (!Analysis::UpdateVariableRefKind(arguments[i].get(), refKind, context.fErrors)) { in Convert()
/third_party/flutter/skia/src/sksl/ir/
DSkSLVariableReference.cpp17 VariableReference::VariableReference(int offset, const Variable& variable, RefKind refKind) in VariableReference() argument
20 , fRefKind(refKind) { in VariableReference()
21 if (refKind != kRead_RefKind) { in VariableReference()
24 if (refKind != kWrite_RefKind) { in VariableReference()
38 void VariableReference::setRefKind(RefKind refKind) { in setRefKind() argument
45 if (refKind != kRead_RefKind) { in setRefKind()
48 if (refKind != kWrite_RefKind) { in setRefKind()
51 fRefKind = refKind; in setRefKind()
DSkSLVariableReference.h34 VariableReference(int offset, const Variable& variable, RefKind refKind = kRead_RefKind);
38 RefKind refKind() const { in refKind() function
42 void setRefKind(RefKind refKind);
/third_party/skia/src/sksl/analysis/
DSkSLProgramUsage.cpp64 switch (ref.refKind()) { in visitExpression()
/third_party/skia/src/sksl/
DSkSLAnalysis.cpp208 (ref.refKind() == VariableReference::RefKind::kWrite || in visitExpression()
209 ref.refKind() == VariableReference::RefKind::kReadWrite || in visitExpression()
210 ref.refKind() == VariableReference::RefKind::kPointer)) { in visitExpression()
DSkSLInliner.cpp161 VariableReference::RefKind refKind) { in clone_with_ref_kind() argument
163 Analysis::UpdateVariableRefKind(clone.get(), refKind); in clone_with_ref_kind()
443 return clone_with_ref_kind(*varMapIter->second, v.refKind()); in inlineExpression()
DSkSLRehydrator.cpp530 VariableReference::RefKind refKind = (VariableReference::RefKind) this->readU8(); in expression() local
531 return VariableReference::Make(/*line=*/-1, var, refKind); in expression()
DSkSLConstantFolder.cpp202 if (varRef.refKind() != VariableRefKind::kRead) { in GetConstantValueForVariable()
DSkSLDehydrator.cpp427 this->writeU8((int8_t) v.refKind()); in write()
/third_party/flutter/skia/src/sksl/
DSkSLCompiler.cpp738 if (ref.refKind() != VariableReference::kWrite_RefKind && in simplifyExpression()
739 ref.refKind() != VariableReference::kPointer_RefKind && in simplifyExpression()
/third_party/typescript/src/compiler/
Dprogram.ts2813 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref…
Dchecker.ts25907 …function checkJsxReturnAssignableToAppropriateBound(refKind: JsxReferenceKind, elemInstanceType: T…
25908 if (refKind === JsxReferenceKind.Function) {
25914 else if (refKind === JsxReferenceKind.Component) {
/third_party/typescript/lib/
DtypingsInstaller.js67676 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
67677 if (refKind === 1 /* Function */) {
67683 else if (refKind === 0 /* Component */) {
108487 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property
Dtsc.js56478 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
56479 if (refKind === 1) {
56485 else if (refKind === 0) {
89172 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property
Dtsserver.js67687 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
67688 if (refKind === 1 /* Function */) {
67694 else if (refKind === 0 /* Component */) {
108498 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property
DtypescriptServices.js67881 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
67882 if (refKind === 1 /* Function */) {
67888 else if (refKind === 0 /* Component */) {
108692 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property
Dtsserverlibrary.js67881 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
67882 if (refKind === 1 /* Function */) {
67888 else if (refKind === 0 /* Component */) {
108692 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property
Dtypescript.js67881 …function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement)… argument
67882 if (refKind === 1 /* Function */) {
67888 else if (refKind === 0 /* Component */) {
108692 …ypeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, ref… property