Lines Matching refs:decl
240 void writeVarDeclaration(const VarDeclaration& decl);
381 const VarDeclaration& decl = gvd.declaration()->as<VarDeclaration>();
382 const Variable& var = decl.var();
429 if (decl.value()) {
430 Value val = this->writeExpression(*decl.value());
443 const FunctionDeclaration& decl = function.declaration();
444 SkASSERT(decl.returnType().slotCount() == outReturn.size());
454 for (const Variable* p : decl.parameters()) {
469 for (const Variable* p : decl.parameters()) {
1320 const FunctionDeclaration& decl = f.function();
1351 for (const Variable* p : decl.parameters()) {
1748 void SkVMGenerator::writeVarDeclaration(const VarDeclaration& decl) {
1749 size_t slot = this->getSlot(decl.var()),
1750 nslots = decl.var().type().slotCount();
1752 Value val = decl.value() ? this->writeExpression(*decl.value()) : Value{};
1985 const GlobalVarDeclaration& decl = e->as<GlobalVarDeclaration>();
1986 const Variable& var = decl.declaration()->as<VarDeclaration>().var();
2010 const GlobalVarDeclaration& decl = e->as<GlobalVarDeclaration>();
2011 const Variable& var = decl.declaration()->as<VarDeclaration>().var();