Searched refs:sizeOf (Results 1 – 8 of 8) sorted by relevance
38 sizeOf = RoundUpToMultipleOf(sizeOf, align); in requireAlignment()44 return sizeOf == other.sizeOf && alignOf == other.alignOf; in operator ==()50 sizeOf += other.sizeOf; in operator +=()55 sizeOf *= scale; in operator *=()136 (kDefaultStructAlignmentSize - layout.sizeOf) % kDefaultStructAlignmentSize; in MetalLayoutOf()137 layout.sizeOf += pad; in MetalLayoutOf()139 layout.sizeOf = RoundUpToMultipleOf(layout.sizeOf, layout.alignOf); in MetalLayoutOf()159 auto layout = Layout{scalarLayout.sizeOf * innerScale, scalarLayout.alignOf}; in MetalLayoutOf()165 auto layout = Layout::Both(scalarLayout.sizeOf * innerScale); in MetalLayoutOf()176 const size_t n = scalarLayout.sizeOf * innerScale; in MetalLayoutOf()[all …]
493 ASSERT(packedGlslLayout.sizeOf <= unpackedGlslLayout.sizeOf); in introducePacking()494 if (packedGlslLayout.sizeOf == unpackedGlslLayout.sizeOf) in introducePacking()507 const size_t pad = unpackedGlslLayout.sizeOf - packedGlslLayout.sizeOf; in introducePacking()511 if (pad < nextGlslLayout.sizeOf) in introducePacking()549 const size_t prePaddedSize = metalLayoutTotal.sizeOf; in introducePadding()551 const size_t paddedSize = metalLayoutTotal.sizeOf; in introducePadding()563 if (glslLayout.sizeOf > metalLayout.sizeOf && field != fields.back()) in introducePadding()566 const size_t padAmount = glslLayout.sizeOf - metalLayout.sizeOf; in introducePadding()
43 size_t sizeOf; member
42 const size_t size = MetalLayoutOf(type).sizeOf; in visitDeclarationPre()
1239 size_t pad = (kDefaultStructAlignmentSize - layout.sizeOf) % kDefaultStructAlignmentSize; in emitStructDeclaration()
111 protected int sizeOf(Key key, Value value) { in newLruCache()
721 int sizeOf = ois.readInt(); in fromByteArray() local723 byteBuffer.buffer.add(Pair.create(sizeOf, value)); in fromByteArray()
1282 void sizeOf() { in sizeOf() function