Home
last modified time | relevance | path

Searched refs:actualLength (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DByteArray.java103 int actualLength = Math.min(length, this.filledLength - index); in get() local
104 return this.internalGet(index, b, offset, actualLength); in get()
188 int actualLength = Math.min(length, this.size() - index); in put() local
189 int bytesWritten = this.internalPut(index, b, offset, actualLength); in put()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DByteArray.java103 int actualLength = Math.min(length, this.filledLength - index); in get() local
104 return this.internalGet(index, b, offset, actualLength); in get()
188 int actualLength = Math.min(length, this.size() - index); in put() local
189 int bytesWritten = this.internalPut(index, b, offset, actualLength); in put()
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2.cpp134 int32_t actualLength; in utrie2_openFromSerialized() local
183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
185 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized()
187 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized()
189 if(length<actualLength) { in utrie2_openFromSerialized()
202 trie->length=actualLength; in utrie2_openFromSerialized()
233 *pActualLength=actualLength; in utrie2_openFromSerialized()
Ducptrie.cpp86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() local
88 actualLength += tempTrie.dataLength * 2; in ucptrie_openFromBinary()
90 actualLength += tempTrie.dataLength * 4; in ucptrie_openFromBinary()
92 actualLength += tempTrie.dataLength; in ucptrie_openFromBinary()
94 if (length < actualLength) { in ucptrie_openFromBinary()
140 *pActualLength = actualLength; in ucptrie_openFromBinary()
Dutrie.cpp938 int32_t actualLength, latin1Length, i, limit; in utrie_unserializeDummy() local
956 actualLength=trie->indexLength*2; in utrie_unserializeDummy()
958 actualLength+=trie->dataLength*2; in utrie_unserializeDummy()
960 actualLength+=trie->dataLength*4; in utrie_unserializeDummy()
964 if(length<actualLength) { in utrie_unserializeDummy()
966 return actualLength; in utrie_unserializeDummy()
1043 return actualLength; in utrie_unserializeDummy()
/third_party/icu/icu4c/source/common/
Dutrie2.cpp134 int32_t actualLength; in utrie2_openFromSerialized() local
183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
185 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized()
187 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized()
189 if(length<actualLength) { in utrie2_openFromSerialized()
202 trie->length=actualLength; in utrie2_openFromSerialized()
233 *pActualLength=actualLength; in utrie2_openFromSerialized()
Ducptrie.cpp86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() local
88 actualLength += tempTrie.dataLength * 2; in ucptrie_openFromBinary()
90 actualLength += tempTrie.dataLength * 4; in ucptrie_openFromBinary()
92 actualLength += tempTrie.dataLength; in ucptrie_openFromBinary()
94 if (length < actualLength) { in ucptrie_openFromBinary()
140 *pActualLength = actualLength; in ucptrie_openFromBinary()
Dutrie.cpp938 int32_t actualLength, latin1Length, i, limit; in utrie_unserializeDummy() local
956 actualLength=trie->indexLength*2; in utrie_unserializeDummy()
958 actualLength+=trie->dataLength*2; in utrie_unserializeDummy()
960 actualLength+=trie->dataLength*4; in utrie_unserializeDummy()
964 if(length<actualLength) { in utrie_unserializeDummy()
966 return actualLength; in utrie_unserializeDummy()
1043 return actualLength; in utrie_unserializeDummy()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutrie2.cpp134 int32_t actualLength; in utrie2_openFromSerialized() local
183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
185 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized()
187 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized()
189 if(length<actualLength) { in utrie2_openFromSerialized()
202 trie->length=actualLength; in utrie2_openFromSerialized()
233 *pActualLength=actualLength; in utrie2_openFromSerialized()
Ducptrie.cpp86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() local
88 actualLength += tempTrie.dataLength * 2; in ucptrie_openFromBinary()
90 actualLength += tempTrie.dataLength * 4; in ucptrie_openFromBinary()
92 actualLength += tempTrie.dataLength; in ucptrie_openFromBinary()
94 if (length < actualLength) { in ucptrie_openFromBinary()
140 *pActualLength = actualLength; in ucptrie_openFromBinary()
Dutrie.cpp938 int32_t actualLength, latin1Length, i, limit; in utrie_unserializeDummy() local
956 actualLength=trie->indexLength*2; in utrie_unserializeDummy()
958 actualLength+=trie->dataLength*2; in utrie_unserializeDummy()
960 actualLength+=trie->dataLength*4; in utrie_unserializeDummy()
964 if(length<actualLength) { in utrie_unserializeDummy()
966 return actualLength; in utrie_unserializeDummy()
1043 return actualLength; in utrie_unserializeDummy()
/third_party/node/deps/icu-small/source/common/
Dutrie2.cpp134 int32_t actualLength; in utrie2_openFromSerialized() local
183 actualLength=(int32_t)sizeof(UTrie2Header)+tempTrie.indexLength*2; in utrie2_openFromSerialized()
185 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized()
187 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized()
189 if(length<actualLength) { in utrie2_openFromSerialized()
202 trie->length=actualLength; in utrie2_openFromSerialized()
233 *pActualLength=actualLength; in utrie2_openFromSerialized()
Ducptrie.cpp86 int32_t actualLength = (int32_t)sizeof(UCPTrieHeader) + tempTrie.indexLength * 2; in ucptrie_openFromBinary() local
88 actualLength += tempTrie.dataLength * 2; in ucptrie_openFromBinary()
90 actualLength += tempTrie.dataLength * 4; in ucptrie_openFromBinary()
92 actualLength += tempTrie.dataLength; in ucptrie_openFromBinary()
94 if (length < actualLength) { in ucptrie_openFromBinary()
140 *pActualLength = actualLength; in ucptrie_openFromBinary()
Dutrie.cpp938 int32_t actualLength, latin1Length, i, limit; in utrie_unserializeDummy() local
956 actualLength=trie->indexLength*2; in utrie_unserializeDummy()
958 actualLength+=trie->dataLength*2; in utrie_unserializeDummy()
960 actualLength+=trie->dataLength*4; in utrie_unserializeDummy()
964 if(length<actualLength) { in utrie_unserializeDummy()
966 return actualLength; in utrie_unserializeDummy()
1043 return actualLength; in utrie_unserializeDummy()
/third_party/skia/src/core/
DSkData.cpp73 const size_t actualLength = length + sizeof(SkData); in PrivateNewWithCopy() local
74 SkASSERT_RELEASE(length < actualLength); // Check for overflow. in PrivateNewWithCopy()
76 void* storage = ::operator new (actualLength); in PrivateNewWithCopy()
/third_party/flutter/skia/src/core/
DSkData.cpp71 const size_t actualLength = length + sizeof(SkData); in PrivateNewWithCopy() local
72 SkASSERT_RELEASE(length < actualLength); // Check for overflow. in PrivateNewWithCopy()
74 void* storage = ::operator new (actualLength); in PrivateNewWithCopy()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCodePointTrie.java221 int actualLength = indexLength * 2; in fromBinary() local
223 actualLength += dataLength * 2; in fromBinary()
225 actualLength += dataLength * 4; in fromBinary()
227 actualLength += dataLength; in fromBinary()
229 if (bytes.remaining() < actualLength) { in fromBinary()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointTrie.java229 int actualLength = indexLength * 2; in fromBinary() local
231 actualLength += dataLength * 2; in fromBinary()
233 actualLength += dataLength * 4; in fromBinary()
235 actualLength += dataLength; in fromBinary()
237 if (bytes.remaining() < actualLength) { in fromBinary()
/third_party/icu/icu4c/source/test/cintltst/
Duformattedvaluetst.c203 int32_t actualLength = u_strlen(actualString); in checkFormattedValueString() local
204 assertIntEquals(message, actualLength, length); in checkFormattedValueString()
Dspooftest.c205 int32_t actualLength = 0; in TestUSpoofCAPI() local
225 sc2 = uspoof_openFromSerialized(buf, serializedSize+10, &actualLength, &status); in TestUSpoofCAPI()
228 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil.js3027 var actualLength = nationalNumber.length;
3029 numberDesc.possibleLengthArray().indexOf(actualLength) == -1) {
3477 var actualLength = number.length;
3480 if (localLengths.indexOf(actualLength) > -1) {
3485 if (minimumLength == actualLength) {
3487 } else if (minimumLength > actualLength) {
3489 } else if (possibleLengths[possibleLengths.length - 1] < actualLength) {
3493 return (possibleLengths.indexOf(actualLength, 1) > -1) ?
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2327 int actualLength = nationalNumber.length();
2329 if (possibleLengths.size() > 0 && !possibleLengths.contains(actualLength)) {
2644 int actualLength = number.length();
2647 if (localLengths.contains(actualLength)) {
2652 if (minimumLength == actualLength) {
2654 } else if (minimumLength > actualLength) {
2656 } else if (possibleLengths.get(possibleLengths.size() - 1) < actualLength) {
2660 return possibleLengths.subList(1, possibleLengths.size()).contains(actualLength)
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java2608 int actualLength = Utf8.encode(value, encodedBytes, 0, maxLength); in writeStringNoTag() local
2609 writeUInt32NoTag(actualLength); in writeStringNoTag()
2610 writeLazy(encodedBytes, 0, actualLength); in writeStringNoTag()
2923 int actualLength = Utf8.encode(value, encodedBytes, 0, maxLength); in writeStringNoTag() local
2924 writeUInt32NoTag(actualLength); in writeStringNoTag()
2925 writeLazy(encodedBytes, 0, actualLength); in writeStringNoTag()
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp133 size_t actualLength = sizeof(length) + length + 1; in duplicateAndPrefixStringValue() local
134 char* newString = static_cast<char*>(malloc(actualLength)); in duplicateAndPrefixStringValue()
141 newString[actualLength - 1U] = in duplicateAndPrefixStringValue()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp1159 GLsizei actualLength; in getProgramBinary() local
1165 …GLU_CHECK_CALL(glGetProgramBinary(program, (GLsizei)out.data.size(), &actualLength, &format, &(out… in getProgramBinary()
1167 TCU_CHECK(actualLength == binaryLength); in getProgramBinary()

12