Home
last modified time | relevance | path

Searched refs:totalLen (Results 1 – 18 of 18) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/
DXXHash32.java52 private int totalLen; field in XXHash32
74 totalLen = 0; in reset()
89 totalLen += len; in update()
121 if (totalLen > BUF_SIZE) { in getValue()
130 hash += totalLen; in getValue()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DByteArrayBuilder.java151 int totalLen = _pastLen + _currBlockPtr; in toByteArray() local
153 if (totalLen == 0) { // quick check: nothing aggregated? in toByteArray()
156 byte[] result = new byte[totalLen]; in toByteArray()
166 if (offset != totalLen) { // just a sanity check in toByteArray()
167 …throw new RuntimeException("Internal error: total len assumed to be "+totalLen+", copied "+offset+… in toByteArray()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipher.java182 int totalLen = inputLen + buffered + (finalUsed ? modeBlockSize : 0); in getOutputSizeForFinal() local
186 totalLen += ((totalLen % modeBlockSize != 0) || isEncrypting()) in getOutputSizeForFinal()
189 return totalLen - (totalLen % modeBlockSize); in getOutputSizeForFinal()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipher.java178 int totalLen = inputLen + buffered + (finalUsed ? modeBlockSize : 0); in getOutputSizeForFinal() local
182 totalLen += ((totalLen % modeBlockSize != 0) || isEncrypting()) in getOutputSizeForFinal()
185 return totalLen - (totalLen % modeBlockSize); in getOutputSizeForFinal()
/external/guava/android/guava/src/com/google/common/io/
DByteStreams.java168 private static byte[] toByteArrayInternal(InputStream in, Queue<byte[]> bufs, int totalLen) in toByteArrayInternal() argument
174 totalLen < MAX_ARRAY_LEN; in toByteArrayInternal()
176 byte[] buf = new byte[Math.min(bufSize, MAX_ARRAY_LEN - totalLen)]; in toByteArrayInternal()
183 return combineBuffers(bufs, totalLen); in toByteArrayInternal()
186 totalLen += r; in toByteArrayInternal()
199 private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { in combineBuffers() argument
200 byte[] result = new byte[totalLen]; in combineBuffers()
201 int remaining = totalLen; in combineBuffers()
205 int resultOffset = totalLen - remaining; in combineBuffers()
/external/guava/guava/src/com/google/common/io/
DByteStreams.java168 private static byte[] toByteArrayInternal(InputStream in, Queue<byte[]> bufs, int totalLen) in toByteArrayInternal() argument
174 totalLen < MAX_ARRAY_LEN; in toByteArrayInternal()
176 byte[] buf = new byte[Math.min(bufSize, MAX_ARRAY_LEN - totalLen)]; in toByteArrayInternal()
183 return combineBuffers(bufs, totalLen); in toByteArrayInternal()
186 totalLen += r; in toByteArrayInternal()
199 private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { in combineBuffers() argument
200 byte[] result = new byte[totalLen]; in combineBuffers()
201 int remaining = totalLen; in combineBuffers()
205 int resultOffset = totalLen - remaining; in combineBuffers()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp483 unsigned totalLen = nameLen + propsLen; in SetMethodToProp() local
485 totalLen++; in SetMethodToProp()
487 totalLen++; in SetMethodToProp()
488 if (totalLen + 5 >= pos) in SetMethodToProp()
490 pos -= totalLen; in SetMethodToProp()
499 temp[pos + totalLen - 1] = ' '; in SetMethodToProp()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8JsonGenerator.java1338 … private final void _writeStringSegments(char[] cbuf, int offset, int totalLen) throws IOException in _writeStringSegments() argument
1341 int len = Math.min(_outputMaxContiguous, totalLen); in _writeStringSegments()
1347 totalLen -= len; in _writeStringSegments()
1348 } while (totalLen > 0); in _writeStringSegments()
1351 … private final void _writeStringSegments(String text, int offset, int totalLen) throws IOException in _writeStringSegments() argument
1354 int len = Math.min(_outputMaxContiguous, totalLen); in _writeStringSegments()
1360 totalLen -= len; in _writeStringSegments()
1361 } while (totalLen > 0); in _writeStringSegments()
1796 private final void _writeUTF8Segments(byte[] utf8, int offset, int totalLen) in _writeUTF8Segments() argument
1800 int len = Math.min(_outputMaxContiguous, totalLen); in _writeUTF8Segments()
[all …]
/external/bcc/src/cc/frontends/p4/test/testprograms/
Dbasic_routing.p430 totalLen : 16;
66 ipv4.totalLen;
DcompositeKey.p414 totalLen : 16;
Dsimple.p417 totalLen : 16;
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DStdDateFormat.java639 final int totalLen = dateStr.length(); in _parseAsISO8601() local
642 if ((_timezone != null) && ('Z' != dateStr.charAt(totalLen-1))) { in _parseAsISO8601()
648 if (totalLen <= 10) { in _parseAsISO8601()
694 if ((totalLen > 16) && dateStr.charAt(16) == ':') { in _parseAsISO8601()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java749 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in insertOp() local
751 for (int i = totalLen - 1; i >= pos; i--) in insertOp()
757 m_ops.setOp(OpMap.MAPINDEX_LENGTH,totalLen + length); in insertOp()
771 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in appendOp() local
773 m_ops.setOp(totalLen, op); in appendOp()
774 m_ops.setOp(totalLen + OpMap.MAPINDEX_LENGTH, length); in appendOp()
775 m_ops.setOp(OpMap.MAPINDEX_LENGTH, totalLen + length); in appendOp()
/external/protobuf/objectivec/
DGPBDescriptor.m59 size_t totalLen =
62 totalLen += 1;
64 char buffer[totalLen];
76 buffer[totalLen - 2] = ':';
79 buffer[totalLen - 1] = 0;
/external/skqp/src/gpu/ops/
DGrDashOp.cpp133 SkScalar totalLen = pts[1].fX - pts[0].fX; in calc_end_adjustment() local
134 SkScalar temp = totalLen / srcIntervalLen; in calc_end_adjustment()
136 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()
/external/skia/src/gpu/ops/
DGrDashOp.cpp134 SkScalar totalLen = pts[1].fX - pts[0].fX; in calc_end_adjustment() local
135 SkScalar temp = totalLen / srcIntervalLen; in calc_end_adjustment()
137 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyAssetManager.java773 final int totalLen = typedResources.size() * STYLE_NUM_ENTRIES; in getTypedArray() local
774 final int[] data = new int[totalLen]; in getTypedArray()
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp653 UINT8 totalLen = ArrayOfAIDs[selectCnt][0]; in ALA_SelectAla() local
666 while(cnt <= totalLen) in ALA_SelectAla()