/packages/apps/Bluetooth/src/com/android/bluetooth/ |
SignedLongLong.java | 52 int valueLength = value.length(); 53 if(valueLength == 0 || valueLength > 32) { 54 throw new NumberFormatException("invalid string length: " + valueLength); 56 if(valueLength <= 16){ 59 lsbStr = value.substring(valueLength-16, valueLength); 60 msbStr = value.substring(0, valueLength-16);
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1Tag.java | 65 public int getTaggedLength(int valueLength) { 69 return 1 + getLengthLength(valueLength) + valueLength; 77 * @param valueLength number of octets used to BER encode the value 79 static int getLengthLength(int valueLength) { 80 if (valueLength < 0) { 81 throw new IllegalArgumentException("valueLength=" + valueLength); 83 if (valueLength < (1 << 7)) { 86 } else if (valueLength < (1 << 8)) [all...] |
Asn1SequenceOf.java | 85 int valueLength = Asn1Tag.readLength(buf); 92 valueLength = Asn1Tag.readLength(buf); 97 ByteBuffer subBuf = ByteBuffer.wrap(buf.array(), buf.position(), valueLength); 102 buf.position(buf.position() + valueLength);
|
Asn1Choice.java | 39 public int getTaggedLength(int valueLength) { 40 return valueLength; 44 public void writeTagAndLength(ByteBuffer buf, boolean constructed, int valueLength) {
|
Asn1Sequence.java | 110 int valueLength = Asn1Tag.readLength(buf); 111 buf.limit(buf.position() + valueLength);
|
/external/icu/icu4c/source/i18n/ |
udat.cpp | 903 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 911 array[index].setTo(value, valueLength); 918 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 920 setSymbol(syms->fEras, syms->fErasCount, index, value, valueLength, errorCode); 925 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 927 setSymbol(syms->fEraNames, syms->fEraNamesCount, index, value, valueLength, errorCode); 932 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 934 setSymbol(syms->fMonths, syms->fMonthsCount, index, value, valueLength, errorCode); 939 const UChar *value, int32_t valueLength, UErrorCode &errorCode) 941 setSymbol(syms->fShortMonths, syms->fShortMonthsCount, index, value, valueLength, errorCode) [all...] |
/frameworks/base/drm/java/android/drm/ |
DrmUtils.java | 151 int valueLength = readByte(constraintData, index); 159 String strValue = readMultipleBytes(constraintData, valueLength, index); 163 index += valueLength;
|
/external/icu/icu4c/source/common/ |
uset_props.cpp | 110 const UChar *value, int32_t valueLength, 114 UnicodeString v(value, valueLength);
|
/frameworks/ml/nn/runtime/ |
ModelBuilder.cpp | 85 uint32_t valueLength = static_cast<uint32_t>(length); 87 if (neededLength != valueLength) { 88 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting " << valueLength 92 if (valueLength <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES) { 94 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); 95 mSmallOperandValues.resize(existingSize + extraBytes + valueLength); 99 memcpy(&mSmallOperandValues[operand.location.offset], buffer, valueLength); 105 operand.location = {.poolIndex = 0, .offset = 0, .length = valueLength};
|
/system/security/keystore/ |
blob.cpp | 133 Blob::Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, 136 if (valueLength > kValueSize) { 137 valueLength = kValueSize; 140 if (infoLength + valueLength > kValueSize) { 141 infoLength = kValueSize - valueLength; 144 mBlob.length = valueLength; 145 memcpy(mBlob.value, value, valueLength); 148 memcpy(mBlob.value + valueLength, info, infoLength);
|
blob.h | 88 Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength,
|
/external/icu/icu4c/source/tools/gendict/ |
gendict.cpp | 358 int32_t valueLength = fileLine.length() - valueStart; 359 if (valueLength > 15) { 365 fileLine.extract(valueStart, valueLength, s, 16, US_INV); 368 if (end == s || *end != 0 || (int32_t)uprv_strlen(s) != valueLength || value > 0xffffffff) {
|
/frameworks/base/core/java/android/net/nsd/ |
NsdServiceInfo.java | 376 int valueLength = in.readInt(); 377 valueArray = new byte[valueLength];
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
header_read_write_utils.cpp | 85 const int valueLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf, 88 value.insert(value.end(), valueBuffer.get(), valueBuffer.get() + valueLength);
|
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 211 private int valueLength; 849 * and valueLength fields and return a null result. This only works if 855 valueLength = 0; 902 valueLength += i; 922 valueLength += i; 983 if (valueLength == 0) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 792 final int valueLength = value.length(); 793 final int index = reserve(valueLength); 794 value.getChars(0, valueLength, mChars, index); 795 mLength += valueLength; [all...] |
/frameworks/base/core/jni/ |
android_database_SQLiteConnection.cpp | 413 jsize valueLength = env->GetStringLength(valueString); 415 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), 428 jsize valueLength = env->GetArrayLength(valueArray); 430 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Linux.cpp | [all...] |
/external/svox/pico/compat/jni/ |
com_android_tts_compat_SynthProxy.cpp | 509 size_t valueLength = env->GetStringUTFLength(value); 511 int result = engine->funcs->setProperty(engine, nameChars, valueChars, valueLength);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduComposer.java | 644 final int valueLength = valueStart.getLength(); 646 appendValueLength(valueLength); [all...] |
/external/icu/icu4c/source/common/unicode/ |
uset.h | 481 * @param valueLength the length of the value, or -1 if NULL 490 const UChar *value, int32_t valueLength, [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
udat.h | [all...] |
/frameworks/base/core/java/android/util/ |
JsonReader.java | 225 private int valueLength; 921 * and valueLength fields and return a null result. This only works if 927 valueLength = 0; 974 valueLength += i; 994 valueLength += i; [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cnmdptst.c | [all...] |
/external/libcups/cups/ |
auth.c | 703 auth_right.valueLength = 0;
|