Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java26 private int blockLength; field in HMac
100 this.blockLength = byteLength; in HMac()
101 this.inputPad = new byte[blockLength]; in HMac()
102 this.outputBuf = new byte[blockLength + digestSize]; in HMac()
123 if (keyLength > blockLength) in init()
140 System.arraycopy(inputPad, 0, outputBuf, 0, blockLength); in init()
142 xorPad(inputPad, blockLength, IPAD); in init()
143 xorPad(outputBuf, blockLength, OPAD); in init()
149 ((Digest)opadState).update(outputBuf, 0, blockLength); in init()
183 digest.doFinal(outputBuf, blockLength); in doFinal()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/
DHMac.java28 private int blockLength; field in HMac
102 this.blockLength = byteLength; in HMac()
103 this.inputPad = new byte[blockLength]; in HMac()
104 this.outputBuf = new byte[blockLength + digestSize]; in HMac()
125 if (keyLength > blockLength) in init()
142 System.arraycopy(inputPad, 0, outputBuf, 0, blockLength); in init()
144 xorPad(inputPad, blockLength, IPAD); in init()
145 xorPad(outputBuf, blockLength, OPAD); in init()
151 ((Digest)opadState).update(outputBuf, 0, blockLength); in init()
185 digest.doFinal(outputBuf, blockLength); in doFinal()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java443 private int allocDataBlock(int blockLength) { in allocDataBlock() argument
445 int newTop = newBlock + blockLength; in allocDataBlock()
548 char[] q, int qStart, int blockLength) { in findSameBlock() argument
550 length -= blockLength; in findSameBlock()
553 if (equalBlocks(p, pStart, q, qStart, blockLength)) { in findSameBlock()
562 int value, int blockLength) { in findAllSameBlock() argument
564 limit -= blockLength; in findAllSameBlock()
569 if (i == blockLength) { in findAllSameBlock()
586 private static int getOverlap(int[] p, int length, int[] q, int qStart, int blockLength) { in getOverlap() argument
587 int overlap = blockLength - 1; in getOverlap()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java436 private int allocDataBlock(int blockLength) { in allocDataBlock() argument
438 int newTop = newBlock + blockLength; in allocDataBlock()
541 char[] q, int qStart, int blockLength) { in findSameBlock() argument
543 length -= blockLength; in findSameBlock()
546 if (equalBlocks(p, pStart, q, qStart, blockLength)) { in findSameBlock()
555 int value, int blockLength) { in findAllSameBlock() argument
557 limit -= blockLength; in findAllSameBlock()
562 if (i == blockLength) { in findAllSameBlock()
579 private static int getOverlap(int[] p, int length, int[] q, int qStart, int blockLength) { in getOverlap() argument
580 int overlap = blockLength - 1; in getOverlap()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc103 uint16_t blockLength = 0; in AddReceivedRedPacket() local
122 blockLength = in AddReceivedRedPacket()
124 blockLength += (incoming_rtp_packet[header.headerLength + 3]); in AddReceivedRedPacket()
133 if (blockLength > payload_data_length - (REDHeaderLength + 1)) { in AddReceivedRedPacket()
142 if (blockLength > 0) { in AddReceivedRedPacket()
159 blockLength); in AddReceivedRedPacket()
161 received_packet->pkt->length = blockLength; in AddReceivedRedPacket()
173 REDHeaderLength + blockLength, in AddReceivedRedPacket()
174 payload_data_length - REDHeaderLength - blockLength); in AddReceivedRedPacket()
177 payload_data_length - REDHeaderLength - blockLength; in AddReceivedRedPacket()
Drtp_sender_audio.cc298 size_t blockLength = fragmentation->fragmentationLength[1]; in SendAudio() local
301 if (blockLength > 0x3ff) { // block length 10 bits 1023 bytes in SendAudio()
304 uint32_t REDheader = (timestampOffset << 10) + blockLength; in SendAudio()
/external/icu/icu4c/source/common/
Dumutablecptrie.cpp90 int32_t allocDataBlock(int32_t blockLength);
401 int32_t MutableCodePointTrie::allocDataBlock(int32_t blockLength) { in allocDataBlock() argument
403 int32_t newTop = newBlock + blockLength; in allocDataBlock()
587 const uint16_t *q, int32_t qStart, int32_t blockLength) { in findSameBlock() argument
589 length -= blockLength; in findSameBlock()
593 if (equalBlocks(p + pStart, q, blockLength)) { in findSameBlock()
602 uint32_t value, int32_t blockLength) { in findAllSameBlock() argument
604 limit -= blockLength; in findAllSameBlock()
609 if (i == blockLength) { in findAllSameBlock()
628 const UIntB *q, int32_t qStart, int32_t blockLength) { in getOverlap() argument
[all …]
Dutrie2_builder.cpp923 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength in findSameDataBlock() argument
927 dataLength-=blockLength; in findSameDataBlock()
930 if(equal_uint32(data+block, data+otherBlock, blockLength)) { in findSameDataBlock()
1034 int32_t blockLength, overlap; in compactData() local
1047 blockLength=64; in compactData()
1048 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
1056 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
1063 start+=blockLength; in compactData()
1070 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1083 start+=blockLength; in compactData()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoder.java203 private final long blockLength; field in HuffmanDecoder.UncompressedState
206 private UncompressedState(long blockLength) { in UncompressedState() argument
207 this.blockLength = blockLength; in UncompressedState()
212 return read < blockLength ? STORED : INITIAL; in state()
218 int max = (int) Math.min(blockLength - read, len); in read()
241 return read < blockLength; in hasData()
246 return (int) Math.min(blockLength - read, reader.bitsAvailable() / Byte.SIZE); in available()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java644 private int findSameDataBlock(int dataLength, int otherBlock, int blockLength) { in findSameDataBlock() argument
648 dataLength-=blockLength; in findSameDataBlock()
651 if(equal_int(data, block, otherBlock, blockLength)) { in findSameDataBlock()
743 int blockLength, overlap; in compactData() local
756 blockLength=64; in compactData()
757 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
765 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
772 start+=blockLength; in compactData()
779 movedStart=findSameDataBlock(newStart, start, blockLength); in compactData()
788 start+=blockLength; in compactData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java642 private int findSameDataBlock(int dataLength, int otherBlock, int blockLength) { in findSameDataBlock() argument
646 dataLength-=blockLength; in findSameDataBlock()
649 if(equal_int(data, block, otherBlock, blockLength)) { in findSameDataBlock()
741 int blockLength, overlap; in compactData() local
754 blockLength=64; in compactData()
755 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
763 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
770 start+=blockLength; in compactData()
777 movedStart=findSameDataBlock(newStart, start, blockLength); in compactData()
786 start+=blockLength; in compactData()
[all …]
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp168 INT blockLength; /*!< Block length in samples. */ member
356 const INT blockLength) { in tc2Coeff() argument
367 (FIXP_DBL)(blockLength << (DFRACT_BITS - 1 - METADATA_LINT_BITS)); in tc2Coeff()
404 for (i = 0; i < drcComp->blockLength; i++) { in findPeakLevels()
416 for (i = 0; i < drcComp->blockLength; i++) { in findPeakLevels()
530 for (i = 0; i < drcComp->blockLength; i++) { in findPeakLevels()
619 for (i = 0; i < drcComp->blockLength; i++) { in findPeakLevels()
843 for (i = 0; i < drcComp->blockLength; i++) { in findPeakLevels()
1032 const INT blockLength, const UINT sampleRate, in FDK_DRC_Generator_Initialize() argument
1040 FL2FXCONST_DBL(((0.006f / 256) * blockLength) / METADATA_INT_SCALE); in FDK_DRC_Generator_Initialize()
[all …]
Dmetadata_compressor.h181 const INT blockLength, const UINT sampleRate,
/external/aac/libSBRenc/src/
Dton_corr.cpp191 int blockLength; in FDKsbrEnc_CalculateTonalityQuotas() local
215 blockLength = pBlockLength[0]; in FDKsbrEnc_CalculateTonalityQuotas()
217 while (k <= buffLen - blockLength) { in FDKsbrEnc_CalculateTonalityQuotas()
219 getScalefactor(&realBuf[k - LPC_ORDER], LPC_ORDER + blockLength), in FDKsbrEnc_CalculateTonalityQuotas()
220 getScalefactor(&imagBuf[k - LPC_ORDER], LPC_ORDER + blockLength)); in FDKsbrEnc_CalculateTonalityQuotas()
223 scaleValues(&realBuf[k - LPC_ORDER], LPC_ORDER + blockLength, in FDKsbrEnc_CalculateTonalityQuotas()
225 scaleValues(&imagBuf[k - LPC_ORDER], LPC_ORDER + blockLength, in FDKsbrEnc_CalculateTonalityQuotas()
230 autoCorr2nd_cplx(ac, realBuf + k, imagBuf + k, blockLength); in FDKsbrEnc_CalculateTonalityQuotas()
333 blockLength = pBlockLength[1]; in FDKsbrEnc_CalculateTonalityQuotas()
/external/brotli/csharp/org/brotli/dec/
DDecode.cs411 …state.blockLength[treeType] = ReadBlockLength(state.blockLenTrees, treeType * Org.Brotli.Dec.Huffm… in DecodeBlockTypeAndLength()
552 state.blockLength[i] = 1 << 28; in ReadMetablockHuffmanCodesAndContextMaps()
557 …state.blockLength[i] = ReadBlockLength(state.blockLenTrees, i * Org.Brotli.Dec.Huffman.HuffmanMaxT… in ReadMetablockHuffmanCodesAndContextMaps()
708 if (state.blockLength[1] == 0) in Decompress()
712 state.blockLength[1]--; in Decompress()
739 if (state.blockLength[0] == 0) in Decompress()
743 state.blockLength[0]--; in Decompress()
764 if (state.blockLength[0] == 0) in Decompress()
769 state.blockLength[0]--; in Decompress()
798 if (state.blockLength[2] == 0) in Decompress()
[all …]
DState.cs36 internal readonly int[] blockLength = new int[3]; field in Org.Brotli.Dec.State
/external/lz4/examples/
DdictionaryRandomAccess.c163 int blockLength = MIN(length, (decBytes - offset)); in test_decompress() local
164 write_bin(outFp, decBuf + offset, (size_t)blockLength); in test_decompress()
166 length -= blockLength; in test_decompress()
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp1814 int blockLength = self->streamInfo.frameSize; in aacDecoder_DecodeFrame() local
1829 self->streamInfo.numChannels, blockLength, in aacDecoder_DecodeFrame()