Home
last modified time | relevance | path

Searched refs:blockLength (Results 1 – 12 of 12) 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/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/aac/libAACenc/src/
Dmetadata_compressor.cpp168 INT blockLength; /*!< Block length in samples. */ member
394 const INT blockLength in tc2Coeff() argument
405 blockLengthFract = (FIXP_DBL)(blockLength<<(DFRACT_BITS-1-METADATA_LINT_BITS)); in tc2Coeff()
478 const INT blockLength, in FDK_DRC_Generator_Initialize() argument
488 drcComp->limDecay = FL2FXCONST_DBL( ((0.006f / 256) * blockLength) / METADATA_INT_SCALE ); in FDK_DRC_Generator_Initialize()
491 drcComp->blockLength = blockLength; in FDK_DRC_Generator_Initialize()
631 …p->fastAttack[i] = tc2Coeff(tabFastAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
632 …mp->fastDecay[i] = tc2Coeff(tabFastDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
633 …p->slowAttack[i] = tc2Coeff(tabSlowAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
634 …mp->slowDecay[i] = tc2Coeff(tabSlowDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength); in FDK_DRC_Generator_setDrcProfile()
[all …]
Dmetadata_compressor.h172 const INT blockLength,
/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/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/aac/libSBRenc/src/
Dton_corr.cpp177 int blockLength; in FDKsbrEnc_CalculateTonalityQuotas() local
201 blockLength = pBlockLength[0]; in FDKsbrEnc_CalculateTonalityQuotas()
203 while(k <= buffLen - blockLength) in FDKsbrEnc_CalculateTonalityQuotas()
205 …factor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefactor(&imagBuf[k-LPC_ORDER], LPC_OR… in FDKsbrEnc_CalculateTonalityQuotas()
208 scaleValues(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas()
209 scaleValues(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling); in FDKsbrEnc_CalculateTonalityQuotas()
212 autoCorrScaling += autoCorr2nd_cplx ( ac, realBuf+k, imagBuf+k, blockLength ); in FDKsbrEnc_CalculateTonalityQuotas()
300 blockLength = pBlockLength[1]; in FDKsbrEnc_CalculateTonalityQuotas()
/external/brotli/java/org/brotli/dec/
DDecode.java354 state.blockLength[treeType] = readBlockLength(state.blockLenTrees, in decodeBlockTypeAndLength()
478 state.blockLength[i] = 1 << 28; in readMetablockHuffmanCodesAndContextMaps()
484 state.blockLength[i] = readBlockLength(state.blockLenTrees, in readMetablockHuffmanCodesAndContextMaps()
630 if (state.blockLength[1] == 0) { in decompress()
633 state.blockLength[1]--; in decompress()
657 if (state.blockLength[0] == 0) { in decompress()
660 state.blockLength[0]--; in decompress()
678 if (state.blockLength[0] == 0) { in decompress()
684 state.blockLength[0]--; in decompress()
710 if (state.blockLength[2] == 0) { in decompress()
[all …]
DState.java33 final int[] blockLength = new int[3]; field in State
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp880 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength in findSameDataBlock() argument
884 dataLength-=blockLength; in findSameDataBlock()
887 if(equal_uint32(data+block, data+otherBlock, blockLength)) { in findSameDataBlock()
987 int32_t blockLength, overlap; in compactData() local
1000 blockLength=64; in compactData()
1001 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData()
1009 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData()
1016 start+=blockLength; in compactData()
1023 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1033 start+=blockLength; in compactData()
[all …]
/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()