/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
D | HMac.java | 26 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/ |
D | HMac.java | 28 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/ |
D | CacheUtil.java | 87 long blockLength = in getCached() local 90 if (blockLength > 0) { in getCached() 91 bytesAlreadyCached += blockLength; in getCached() 93 blockLength = -blockLength; in getCached() 94 if (blockLength == Long.MAX_VALUE) { in getCached() 98 position += blockLength; in getCached() 99 bytesLeft -= bytesLeft == C.LENGTH_UNSET ? 0 : blockLength; in getCached() 185 long blockLength = in cache() local 187 if (blockLength > 0) { in cache() 191 blockLength = -blockLength; in cache() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | MutableCodePointTrie.java | 426 private int allocDataBlock(int blockLength) { in allocDataBlock() argument 428 int newTop = newBlock + blockLength; in allocDataBlock() 531 char[] q, int qStart, int blockLength) { in findSameBlock() argument 533 length -= blockLength; in findSameBlock() 536 if (equalBlocks(p, pStart, q, qStart, blockLength)) { in findSameBlock() 545 int value, int blockLength) { in findAllSameBlock() argument 547 limit -= blockLength; in findAllSameBlock() 552 if (i == blockLength) { in findAllSameBlock() 569 private static int getOverlap(int[] p, int length, int[] q, int qStart, int blockLength) { in getOverlap() argument 570 int overlap = blockLength - 1; in getOverlap() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MutableCodePointTrie.java | 434 private int allocDataBlock(int blockLength) { in allocDataBlock() argument 436 int newTop = newBlock + blockLength; in allocDataBlock() 539 char[] q, int qStart, int blockLength) { in findSameBlock() argument 541 length -= blockLength; in findSameBlock() 544 if (equalBlocks(p, pStart, q, qStart, blockLength)) { in findSameBlock() 553 int value, int blockLength) { in findAllSameBlock() argument 555 limit -= blockLength; in findAllSameBlock() 560 if (i == blockLength) { in findAllSameBlock() 577 private static int getOverlap(int[] p, int length, int[] q, int qStart, int blockLength) { in getOverlap() argument 578 int overlap = blockLength - 1; in getOverlap() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | fec_receiver_impl.cc | 103 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()
|
D | rtp_sender_audio.cc | 298 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/ |
D | umutablecptrie.cpp | 95 int32_t allocDataBlock(int32_t blockLength); 406 int32_t MutableCodePointTrie::allocDataBlock(int32_t blockLength) { in allocDataBlock() argument 408 int32_t newTop = newBlock + blockLength; in allocDataBlock() 592 const uint16_t *q, int32_t qStart, int32_t blockLength) { in findSameBlock() argument 594 length -= blockLength; in findSameBlock() 598 if (equalBlocks(p + pStart, q, blockLength)) { in findSameBlock() 607 uint32_t value, int32_t blockLength) { in findAllSameBlock() argument 609 limit -= blockLength; in findAllSameBlock() 614 if (i == blockLength) { in findAllSameBlock() 633 const UIntB *q, int32_t qStart, int32_t blockLength) { in getOverlap() argument [all …]
|
D | utrie2_builder.cpp | 925 findSameDataBlock(const uint32_t *data, int32_t dataLength, int32_t otherBlock, int32_t blockLength… in findSameDataBlock() argument 929 dataLength-=blockLength; in findSameDataBlock() 932 if(equal_uint32(data+block, data+otherBlock, blockLength)) { in findSameDataBlock() 1036 int32_t blockLength, overlap; in compactData() local 1049 blockLength=64; in compactData() 1050 blockCount=blockLength>>UTRIE2_SHIFT_2; in compactData() 1058 blockLength=UTRIE2_DATA_BLOCK_LENGTH; in compactData() 1065 start+=blockLength; in compactData() 1072 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData() 1085 start+=blockLength; in compactData() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/ |
D | HuffmanDecoder.java | 203 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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2Writable.java | 642 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/ |
D | Trie2Writable.java | 644 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/libAACenc/src/ |
D | metadata_compressor.cpp | 168 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 …]
|
D | metadata_compressor.h | 181 const INT blockLength, const UINT sampleRate,
|
/external/aac/libSBRenc/src/ |
D | ton_corr.cpp | 191 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/lz4/examples/ |
D | dictionaryRandomAccess.c | 163 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/brotli/csharp/org/brotli/dec/ |
D | Decode.cs | 411 …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 …]
|
D | State.cs | 36 internal readonly int[] blockLength = new int[3]; field in Org.Brotli.Dec.State
|
/external/aac/libAACdec/src/ |
D | aacdecoder_lib.cpp | 1862 int blockLength = self->streamInfo.frameSize; in aacDecoder_DecodeFrame() local 1877 self->streamInfo.numChannels, blockLength, in aacDecoder_DecodeFrame()
|