Lines Matching defs:offset
40 * array may have padding at the end; the base offset of the member following
58 * where the base offset of the first member of the sub-structure is equal to the
59 * aligned offset of the structure. The structure may have padding at the end;
60 * the base offset of the member following the sub-structure is rounded up to
201 size_t offset = 0;
214 Write<float, UniformType, 3, 3>(SkTAddOffset<void>(dst, offset), 1, mt);
215 offset += stride;
302 // To determine whether a current offset is aligned, we can just 'and' the lowest bits with the
436 // Given the current offset into the ubo, calculate the offset for the uniform we're trying to add
437 // taking into consideration all alignment requirements. The uniformOffset is set to the offset for
438 // the new uniform, and currentOffset is updated to be the offset to the end of the new uniform.
515 uint32_t offset = 0;
533 SkASSERT(debugOffset == offset);
536 offsets[i] = offset;
538 offset += bytesWritten;
541 return offset;