Searched refs:fieldSize (Results 1 – 6 of 6) sorted by relevance
1641 int fieldSize = in getSerializedSizeProto2() local1644 if (fieldSize > 0) { in getSerializedSizeProto2()1646 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()1650 + CodedOutputStream.computeUInt32SizeNoTag(fieldSize) in getSerializedSizeProto2()1651 + fieldSize; in getSerializedSizeProto2()1657 int fieldSize = in getSerializedSizeProto2() local1660 if (fieldSize > 0) { in getSerializedSizeProto2()1662 unsafe.putInt(message, (long) presenceMaskAndOffset, fieldSize); in getSerializedSizeProto2()1666 + CodedOutputStream.computeUInt32SizeNoTag(fieldSize) in getSerializedSizeProto2()1667 + fieldSize; in getSerializedSizeProto2()[all …]
166 size_t fieldSize = field->type()->getObjectSize(); in calculateObjectSize() local167 if(fieldSize > INT_MAX - size) in calculateObjectSize()170 size += fieldSize; in calculateObjectSize()
857 size_t fieldSize = field->type()->getObjectSize(); in calculateObjectSize() local858 if (fieldSize > INT_MAX - size) in calculateObjectSize()861 size += fieldSize; in calculateObjectSize()
852 size_t fieldSize = field->type()->getObjectSize(); in calculateObjectSize() local853 if (fieldSize > INT_MAX - size) in calculateObjectSize()856 size += fieldSize; in calculateObjectSize()
569 int fieldSize = 0; in computeXfbLayout() local593 fieldSize = numVecs * stride; in computeXfbLayout()599 fieldSize = getDataTypeByteSize(basicType); in computeXfbLayout()600 fieldSizeForLocation = deAlign32(fieldSize, locationAlignSize); in computeXfbLayout()606 curOffset += fieldSize; in computeXfbLayout()620 const int fieldSize = stride * type.getArraySize(); in computeXfbLayout() local635 curOffset += fieldSize; in computeXfbLayout()648 const int fieldSize = numVecs * type.getArraySize() * stride; in computeXfbLayout() local663 curOffset += fieldSize; in computeXfbLayout()
2049 size_t fieldSize = memoryLayout.size(*fieldType); in writeFields() local2050 if (fieldSize > static_cast<size_t>(std::numeric_limits<int>::max() - currentOffset)) { in writeFields()2054 currentOffset += fieldSize; in writeFields()