Home
last modified time | relevance | path

Searched refs:valueLength (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/
DModelBuilder.cpp102 uint32_t valueLength = static_cast<uint32_t>(length); in setOperandValue() local
104 if (operand.type != OperandType::OEM && neededLength != valueLength) { in setOperandValue()
105 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting " << valueLength in setOperandValue()
109 if (valueLength <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES) { in setOperandValue()
111 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); in setOperandValue()
112 mSmallOperandValues.resize(existingSize + extraBytes + valueLength); in setOperandValue()
115 .poolIndex = 0, .offset = existingSize + extraBytes, .length = valueLength}; in setOperandValue()
116 memcpy(&mSmallOperandValues[operand.location.offset], buffer, valueLength); in setOperandValue()
125 .length = valueLength}; in setOperandValue()
/frameworks/base/core/java/android/util/
DJsonReader.java225 private int valueLength; field in JsonReader
927 valueLength = 0; in nextLiteral()
974 valueLength += i; in nextLiteral()
994 valueLength += i; in nextLiteral()
1055 if (valueLength == 0) { in readLiteral()
1072 } else if (valueLength == 4 in decodeLiteral()
1079 } else if (valueLength == 4 in decodeLiteral()
1086 } else if (valueLength == 5 in decodeLiteral()
1095 value = stringPool.get(buffer, valuePos, valueLength); in decodeLiteral()
1096 return decodeNumber(buffer, valuePos, valueLength); in decodeLiteral()
/frameworks/base/drm/java/android/drm/
DDrmUtils.java151 int valueLength = readByte(constraintData, index); in ExtendedMetadataParser() local
159 String strValue = readMultipleBytes(constraintData, valueLength, index); in ExtendedMetadataParser()
163 index += valueLength; in ExtendedMetadataParser()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java376 int valueLength = in.readInt();
377 valueArray = new byte[valueLength];
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp413 jsize valueLength = env->GetStringLength(valueString); in nativeBindString() local
415 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), in nativeBindString()
428 jsize valueLength = env->GetArrayLength(valueArray); in nativeBindBlob() local
430 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); in nativeBindBlob()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java792 final int valueLength = value.length(); in append() local
793 final int index = reserve(valueLength); in append()
794 value.getChars(0, valueLength, mChars, index); in append()
795 mLength += valueLength; in append()