Home
last modified time | relevance | path

Searched refs:sizeOf (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp38 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 …]
DModifyStruct.cpp493 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()
DLayout.h43 size_t sizeOf; member
DHoistConstants.cpp42 const size_t size = MetalLayoutOf(type).sizeOf; in visitDeclarationPre()
DEmitMetal.cpp1239 size_t pad = (kDefaultStructAlignmentSize - layout.sizeOf) % kDefaultStructAlignmentSize; in emitStructDeclaration()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptor.java111 protected int sizeOf(Key key, Value value) { in newLruCache()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java721 int sizeOf = ois.readInt(); in fromByteArray() local
723 byteBuffer.buffer.add(Pair.create(sizeOf, value)); in fromByteArray()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-use-after-move.cpp1282 void sizeOf() { in sizeOf() function