Home
last modified time | relevance | path

Searched refs:totalLength (Results 1 – 23 of 23) sorted by relevance

/external/wycheproof/java/com/google/security/wycheproof/testcases/
DCipherInputStreamTest.java112 int totalLength = 0; in testEncrypt() local
115 length = cis.read(result, totalLength, result.length - totalLength); in testEncrypt()
117 totalLength += length; in testEncrypt()
119 } while (length >= 0 && totalLength != result.length); in testEncrypt()
136 int totalLength = 0; in testDecrypt() local
139 length = cis.read(result, totalLength, result.length - totalLength); in testDecrypt()
141 totalLength += length; in testDecrypt()
143 } while (length >= 0 && totalLength != result.length); in testDecrypt()
170 int totalLength = 0; in testCorruptDecrypt() local
173 length = cis.read(result, totalLength, result.length - totalLength); in testCorruptDecrypt()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java57 private long totalLength; field in GCMBlockCipher
213 this.totalLength = 0; in init()
246 return totalLength + newInputLen + bufOff; in getTotalInputSizeAfterNewInput()
426 if (totalLength == 0) in doFinal()
483 long c = ((totalLength * 8) + 127) >>> 7; in doFinal()
504 Pack.longToBigEndian(totalLength * 8, X, 8); in doFinal()
563 totalLength = 0; in reset()
594 if (totalLength == 0) in processBlock()
614 totalLength += BLOCK_SIZE; in processBlock()
634 totalLength += len; in processPartial()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java55 private long totalLength; field in GCMBlockCipher
211 this.totalLength = 0; in init()
244 return totalLength + newInputLen + bufOff; in getTotalInputSizeAfterNewInput()
424 if (totalLength == 0) in doFinal()
481 long c = ((totalLength * 8) + 127) >>> 7; in doFinal()
502 Pack.longToBigEndian(totalLength * 8, X, 8); in doFinal()
561 totalLength = 0; in reset()
592 if (totalLength == 0) in processBlock()
612 totalLength += BLOCK_SIZE; in processBlock()
632 totalLength += len; in processPartial()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java117 private final int totalLength; field in RopeByteString
136 totalLength = leftLength + right.size(); in RopeByteString()
255 checkIndex(index, totalLength); in byteAt()
267 return totalLength; in size()
288 return totalLength >= minLengthByDepth[treeDepth]; in isBalanced()
307 final int length = checkRange(beginIndex, endIndex, totalLength); in substring()
314 if (length == totalLength) { in substring()
451 if (totalLength != otherByteString.size()) { in equals()
454 if (totalLength == 0) { in equals()
505 if (pos >= totalLength) { in equalsFragments()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__1.py20 totalLength = len(data)
30 if textOffset > totalLength:
46 nextTextOffset = totalLength
61 if nextTextOffset > totalLength:
64 nextTextOffset = totalLength
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DRandomHelper.java52 String buildRandomFileName(int averageNodeLength, int totalLength) { in buildRandomFileName() argument
55 while (buf.length() < totalLength) { in buildRandomFileName()
56 int remaining = totalLength - buf.length(); in buildRandomFileName()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2008-09-29-ReMatBug.ll42 %8 = getelementptr i8* %bufptr.0.lcssa, i32 %totalLength.0.ph ; <i8*> [#uses=1]
47 %totalLength.0.ph = add i32 0, %totalLength.1.ph ; <i32> [#uses=2]
61 %totalLength.1.ph = phi i32 [ 0, %bb4 ], [ %totalLength.0.ph, %bb35 ] ; <i32> [#uses=1]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2008-09-29-ReMatBug.ll42 %8 = getelementptr i8, i8* %bufptr.0.lcssa, i32 %totalLength.0.ph ; <i8*> [#uses=1]
47 %totalLength.0.ph = add i32 0, %totalLength.1.ph ; <i32> [#uses=2]
61 %totalLength.1.ph = phi i32 [ 0, %bb4 ], [ %totalLength.0.ph, %bb35 ] ; <i32> [#uses=1]
/external/llvm/test/CodeGen/X86/
D2008-09-29-ReMatBug.ll42 %8 = getelementptr i8, i8* %bufptr.0.lcssa, i32 %totalLength.0.ph ; <i8*> [#uses=1]
47 %totalLength.0.ph = add i32 0, %totalLength.1.ph ; <i32> [#uses=2]
61 %totalLength.1.ph = phi i32 [ 0, %bb4 ], [ %totalLength.0.ph, %bb35 ] ; <i32> [#uses=1]
/external/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp54 int totalLength = 0; in setSource() local
60 totalLength += length[i]; in setSource()
64 totalLength += (int)strlen(string[i]); in setSource()
68 mSource = new char[totalLength + 1]; in setSource()
88 mSource[totalLength] = '\0'; in setSource()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DCachedPathIteratorFactory.java65 float totalLength = 0; in CachedPathIteratorFactory() local
115 totalLength += mSegmentsLength[i]; in CachedPathIteratorFactory()
118 mTotalLength = totalLength; in CachedPathIteratorFactory()
210 float totalLength = 0; in getFlatPathLength() local
222 totalLength += in getFlatPathLength()
232 return totalLength; in getFlatPathLength()
DShadowPath.java119 float totalLength = 0; in approximate() local
127 totalLength += (float) currentPoint.distance(previousPoint); in approximate()
144 result[i * 3] = walkedDistance / totalLength; in approximate()
DShadowPathParser.java101 int totalLength = s.length(); in getFloats() local
106 while (startPosition < totalLength) { in getFloats()
/external/skia/src/gpu/
DGrTRecorder.h208 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength; in alloc_back() local
213 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) { in alloc_back()
215 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock); in alloc_back()
225 header->fTotalLength = totalLength; in alloc_back()
228 fTailBlock->fBack += totalLength; in alloc_back()
/external/skqp/src/gpu/
DGrTRecorder.h208 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength; in alloc_back() local
213 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) { in alloc_back()
215 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock); in alloc_back()
225 header->fTotalLength = totalLength; in alloc_back()
228 fTailBlock->fBack += totalLength; in alloc_back()
/external/icu/icu4c/source/i18n/
Dcollationsettings.cpp196 int32_t totalLength = codesLength + rangesLength; in setReorderArrays() local
197 U_ASSERT(totalLength > 0); in setReorderArrays()
198 if(totalLength <= reorderCodesCapacity) { in setReorderArrays()
202 int32_t capacity = (totalLength + 3) & ~3; // round up to a multiple of 4 ints in setReorderArrays()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateItemCounts.java386 charCount.newCount.add(prefix, totalLength(set2)); in compare()
390 charCount.deletedCount.add(prefix, -totalLength(set1)); in compare()
397 … charCount.changedCount.add(prefix, (totalLength(set2minus1) + totalLength(set1minus2) + 1) / 2); in compare()
398 charCount.unchangedCount.add(prefix, totalLength(set2and1)); in compare()
405 charCount.unchangedCount.add(prefix, totalLength(set2)); in compare()
420 private static long totalLength(Set<String> set2) { in totalLength() method in GenerateItemCounts
/external/testng/src/main/java/org/testng/internal/
DParameters.java173 int totalLength = parameterTypes.length; in checkParameterTypes() local
186 totalLength--; in checkParameterTypes()
190 if (parameterNames.length != totalLength) { in checkParameterTypes()
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp610 int totalLength = nChars; in DrawDeviceText() local
619 totalLength += 2; in DrawDeviceText()
637 size_t len = totalLength; in DrawDeviceText()
/external/bcc/tests/lua/
Dluaunit.lua432 local totalLength = 0
434 totalLength = totalLength + string.len( v )
435 if totalLength >= M.LINE_LENGTH then
445 totalLength = totalLength + TABLE_TOSTRING_SEP_LEN * (count - 1)
447 dispOnMultLines = totalLength + 2 >= M.LINE_LENGTH
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp387 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() local
389 indexLength, dataLength, totalLength); in utrie_printLengths()
396 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() local
398 which, trie->name, indexLength, dataLength, countInitial(trie), totalLength); in utrie2_printLengths()
Ducptrie.cpp576 long totalLength=(long)sizeof(UCPTrieHeader)+indexLength*2+ in ucptrie_printLengths() local
580 which, trie->name, indexLength, dataLength, countNull(trie), totalLength); in ucptrie_printLengths()
/external/mesa3d/src/mesa/main/
Dshaderapi.c1900 GLsizei i, totalLength; in shader_source() local
1947 totalLength = offsets[count - 1] + 2; in shader_source()
1948 source = malloc(totalLength * sizeof(GLcharARB)); in shader_source()
1960 source[totalLength - 1] = '\0'; in shader_source()
1961 source[totalLength - 2] = '\0'; in shader_source()