Lines Matching refs:valueLength
152 uint32_t valueLength = static_cast<uint32_t>(length); in setOperandValue() local
155 if (neededLength != valueLength) { in setOperandValue()
156 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting " << valueLength in setOperandValue()
161 if (valueLength <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES) { in setOperandValue()
163 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); in setOperandValue()
164 mSmallOperandValues.resize(existingSize + extraBytes + valueLength); in setOperandValue()
167 .poolIndex = 0, .offset = existingSize + extraBytes, .length = valueLength}; in setOperandValue()
168 memcpy(&mSmallOperandValues[operand.location.offset], buffer, valueLength); in setOperandValue()
178 .length = valueLength}; in setOperandValue()
925 uint32_t valueLength = operand.location.length; in updateOperandLocations() local
928 valueLength); in updateOperandLocations()