Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DJsonReader.java227 private int valueLength; field in JsonReader
929 valueLength = 0; in nextLiteral()
976 valueLength += i; in nextLiteral()
996 valueLength += i; in nextLiteral()
1057 if (valueLength == 0) { in readLiteral()
1074 } else if (valueLength == 4 in decodeLiteral()
1081 } else if (valueLength == 4 in decodeLiteral()
1088 } else if (valueLength == 5 in decodeLiteral()
1097 value = stringPool.get(buffer, valuePos, valueLength); in decodeLiteral()
1098 return decodeNumber(buffer, valuePos, valueLength); in decodeLiteral()
/frameworks/base/drm/java/android/drm/
DDrmUtils.java153 int valueLength = readByte(constraintData, index); in ExtendedMetadataParser() local
161 String strValue = readMultipleBytes(constraintData, valueLength, index); in ExtendedMetadataParser()
165 index += valueLength; in ExtendedMetadataParser()
/frameworks/ml/nn/runtime/
DModelBuilder.cpp140 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
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java378 int valueLength = in.readInt();
379 valueArray = new byte[valueLength];
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp483 jsize valueLength = env->GetStringLength(valueString); in nativeBindString() local
485 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), in nativeBindString()
498 jsize valueLength = env->GetArrayLength(valueArray); in nativeBindBlob() local
500 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); in nativeBindBlob()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java860 final int valueLength = value.length(); in append() local
861 final int index = reserve(valueLength); in append()
862 value.getChars(0, valueLength, mChars, index); in append()
863 mLength += valueLength; in append()