Lines Matching refs:valueLength
140 uint32_t valueLength = static_cast<uint32_t>(length); in setOperandValue() local
143 if (neededLength != valueLength) { in setOperandValue()
144 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting " << valueLength in setOperandValue()
149 if (valueLength <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES) { in setOperandValue()
151 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); in setOperandValue()
152 mSmallOperandValues.resize(existingSize + extraBytes + valueLength); in setOperandValue()
155 .poolIndex = 0, .offset = existingSize + extraBytes, .length = valueLength}; in setOperandValue()
156 memcpy(&mSmallOperandValues[operand.location.offset], buffer, valueLength); in setOperandValue()
166 .length = valueLength}; in setOperandValue()
927 uint32_t valueLength = operand.location.length; in updateOperandLocations() local
929 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); in updateOperandLocations()
932 mOperandValues.resize(offset + valueLength); in updateOperandLocations()
934 valueLength); in updateOperandLocations()