Home
last modified time | relevance | path

Searched refs:objectSize (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp1405 size_t objectSize = getType().getObjectSize(); in fold() local
1413 if (constantNode->getType().getObjectSize() == 1 && objectSize > 1) { in fold()
1414 rightUnionArray = new ConstantUnion[objectSize]; in fold()
1415 for (size_t i = 0; i < objectSize; ++i) in fold()
1418 } else if (constantNode->getType().getObjectSize() > 1 && objectSize == 1) { in fold()
1424 objectSize = constantNode->getType().getObjectSize(); in fold()
1432 tempConstArray = new ConstantUnion[objectSize]; in fold()
1434 for (size_t i = 0; i < objectSize; i++) in fold()
1439 tempConstArray = new ConstantUnion[objectSize]; in fold()
1441 for (size_t i = 0; i < objectSize; i++) in fold()
[all …]
DTypes.h90 size_t objectSize() const in objectSize() function
326 return interfaceBlock->objectSize(); in getElementSize()
DSymbolTable.cpp105 return getStruct()->objectSize(); in getStructSize()
/third_party/mindspore/test/fuzztest/
Ddata.h31 size_t objectSize = sizeof(object); in GetData() local
32 if (dataFuzz == nullptr || objectSize > dataSize - dataPos) { in GetData()
36 if (memcpy_s(&object, objectSize, dataFuzz + dataPos, objectSize) != EOK) { in GetData()
40 dataPos = dataPos + objectSize; in GetData()
/third_party/skia/third_party/externals/dawn/src/common/
DSlabAllocator.h92 SlabAllocatorImpl(Index blocksPerSlab, uint32_t objectSize, uint32_t objectAlignment);
168 uint32_t objectSize = sizeof(T),
170 : SlabAllocatorImpl(totalObjectBytes / objectSize, objectSize, objectAlignment) {
DSlabAllocator.cpp61 uint32_t objectSize, in SlabAllocatorImpl() argument
65 mIndexLinkNodeOffset(Align(objectSize, alignof(IndexLinkNode))), in SlabAllocatorImpl()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DIntermNode.cpp2383 size_t objectSize = leftType.getObjectSize(); in FoldBinary() local
2386 if (rightType.getObjectSize() == 1 && objectSize > 1) in FoldBinary()
2388 rightArray = Vectorize(*rightArray, objectSize); in FoldBinary()
2390 else if (rightType.getObjectSize() > 1 && objectSize == 1) in FoldBinary()
2394 objectSize = rightType.getObjectSize(); in FoldBinary()
2402 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2403 for (size_t i = 0; i < objectSize; i++) in FoldBinary()
2408 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2409 for (size_t i = 0; i < objectSize; i++) in FoldBinary()
2417 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
[all …]
DTypes.cpp503 totalSize = mStructure->objectSize(); in getObjectSize()
866 size_t TFieldListCollection::objectSize() const in objectSize() function in sh::TFieldListCollection
DTypes.h67 size_t objectSize() const;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteDfdy.cpp171 size_t objectSize = node->getType().getObjectSize(); in visitAggregateWithRotation() local
172 TOperator multiplyOp = (objectSize == 1) ? EOpMul : EOpVectorTimesScalar; in visitAggregateWithRotation()
197 size_t objectSize = node->getType().getObjectSize(); in visitAggregateWithoutRotation() local
198 TOperator multiplyOp = (objectSize == 1) ? EOpMul : EOpVectorTimesScalar; in visitAggregateWithoutRotation()
/third_party/glslang/glslang/MachineIndependent/
DConstant.cpp375 int objectSize = getType().computeNumComponents(); in fold() local
412 resultSize = objectSize; in fold()
416 resultSize = objectSize; in fold()
430 for (int i = 0; i < objectSize; i++) in fold()
436 for (int i = 0; i < objectSize; i++) in fold()
445 for (int i = 0; i < objectSize; i++) { in fold()
455 for (int i = 0; i < objectSize; i++) { in fold()
489 objectSize = 0; in fold()
492 for (int i = 0; i < objectSize; i++) { in fold()
970 int objectSize; in fold() local
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderCompileTreeTest.cpp74 size_t objectSize = type.getObjectSize(); in visitConstantUnion() local
75 for (size_t i = 0u; i < objectSize && mOnlyContainsConstantZeros; ++i) in visitConstantUnion()