Lines Matching defs:size
53 return this->size(type);
55 return vector_alignment(this->size(type.componentType()), type.columns());
57 return this->roundUpIfNeeded(vector_alignment(this->size(type.componentType()),
72 SK_ABORT("cannot determine size of type %s", String(type.name()).c_str());
83 size_t base = vector_alignment(this->size(type.componentType()), type.rows());
87 int stride = this->size(type.componentType());
102 * Returns the size of a type in bytes.
104 size_t size(const Type& type) const {
116 return 4 * this->size(type.componentType());
118 return type.columns() * this->size(type.componentType());
130 total += this->size(*f.fType);
133 SkASSERT(!type.fields().size() ||
138 SK_ABORT("cannot determine size of type %s", String(type.name()).c_str());