Home
last modified time | relevance | path

Searched refs:inLen (Results 1 – 25 of 38) sorted by relevance

12

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java133 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument
136 if (in.length < (inOff + inLen)) in processBytes()
140 data.write(in, inOff, inLen); in processBytes()
204 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument
211 output = new byte[inLen + macSize]; in processPacket()
215 if (inLen < macSize) in processPacket()
219 output = new byte[inLen - macSize]; in processPacket()
222 processPacket(in, inOff, inLen, output, 0); in processPacket()
240 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) in processPacket() argument
255 if (inLen >= limitLen) in processPacket()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java131 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument
134 if (in.length < (inOff + inLen)) in processBytes()
138 data.write(in, inOff, inLen); in processBytes()
202 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument
209 output = new byte[inLen + macSize]; in processPacket()
213 if (inLen < macSize) in processPacket()
217 output = new byte[inLen - macSize]; in processPacket()
220 processPacket(in, inOff, inLen, output, 0); in processPacket()
238 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) in processPacket() argument
253 if (inLen >= limitLen) in processPacket()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java194 int inLen) in processBlock() argument
199 return encodeBlock(in, inOff, inLen); in processBlock()
203 return decodeBlock(in, inOff, inLen); in processBlock()
210 int inLen) in encodeBlock() argument
213 if (inLen > getInputBlockSize()) in encodeBlock()
224 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
239 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
248 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock()
249 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
312 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument
[all …]
DOAEPEncoding.java131 int inLen) in processBlock() argument
136 return encodeBlock(in, inOff, inLen); in processBlock()
140 return decodeBlock(in, inOff, inLen); in processBlock()
147 int inLen) in encodeBlock() argument
150 if (inLen > getInputBlockSize()) in encodeBlock()
160 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
165 block[block.length - inLen - 1] = 0x01; in encodeBlock()
219 int inLen) in decodeBlock() argument
222 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java192 int inLen) in processBlock() argument
197 return encodeBlock(in, inOff, inLen); in processBlock()
201 return decodeBlock(in, inOff, inLen); in processBlock()
208 int inLen) in encodeBlock() argument
211 if (inLen > getInputBlockSize()) in encodeBlock()
222 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
237 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
246 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock()
247 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
310 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument
[all …]
DOAEPEncoding.java129 int inLen) in processBlock() argument
134 return encodeBlock(in, inOff, inLen); in processBlock()
138 return decodeBlock(in, inOff, inLen); in processBlock()
145 int inLen) in encodeBlock() argument
148 if (inLen > getInputBlockSize()) in encodeBlock()
158 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
163 block[block.length - inLen - 1] = 0x01; in encodeBlock()
217 int inLen) in decodeBlock() argument
220 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java88 int inLen) in wrap() argument
95 int n = inLen / 8; in wrap()
97 if ((n * 8) != inLen) in wrap()
102 byte[] block = new byte[inLen + iv.length]; in wrap()
106 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
139 int inLen) in unwrap() argument
147 int n = inLen / 8; in unwrap()
149 if ((n * 8) != inLen) in unwrap()
154 byte[] block = new byte[inLen - iv.length]; in unwrap()
159 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
DRSACoreEngine.java89 int inLen) in convertInput() argument
91 if (inLen > (getInputBlockSize() + 1)) in convertInput()
95 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
102 if (inOff != 0 || inLen != in.length) in convertInput()
104 block = new byte[inLen]; in convertInput()
106 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
DDESedeWrapEngine.java140 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument
147 byte keyToBeWrapped[] = new byte[inLen]; in wrap()
149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
212 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
226 if (inLen % blockSize != 0) in unwrap()
253 byte TEMP3[] = new byte[inLen]; in unwrap()
255 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
DRSABlindedEngine.java89 int inLen) in processBlock() argument
96 BigInteger input = core.convertInput(in, inOff, inLen); in processBlock()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java90 int inLen) in wrap() argument
97 int n = inLen / 8; in wrap()
99 if ((n * 8) != inLen) in wrap()
104 byte[] block = new byte[inLen + iv.length]; in wrap()
108 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
141 int inLen) in unwrap() argument
149 int n = inLen / 8; in unwrap()
151 if ((n * 8) != inLen) in unwrap()
156 byte[] block = new byte[inLen - iv.length]; in unwrap()
161 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
DRSACoreEngine.java90 int inLen) in convertInput() argument
92 if (inLen > (getInputBlockSize() + 1)) in convertInput()
96 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
103 if (inOff != 0 || inLen != in.length) in convertInput()
105 block = new byte[inLen]; in convertInput()
107 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
DDESedeWrapEngine.java142 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument
149 byte keyToBeWrapped[] = new byte[inLen]; in wrap()
151 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
214 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
228 if (inLen % blockSize != 0) in unwrap()
255 byte TEMP3[] = new byte[inLen]; in unwrap()
257 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
/external/libopus/silk/
Dresampler.c178 …opus_int32 inLen /* I Number of input samples … in silk_resampler() argument
184 celt_assert( inLen >= S->Fs_in_kHz ); in silk_resampler()
196 …silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in… in silk_resampler()
200 … silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); in silk_resampler()
204 …silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); in silk_resampler()
208 …silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16… in silk_resampler()
212 silk_memcpy( S->delayBuf, &in[ inLen - S->inputDelay ], S->inputDelay * sizeof( opus_int16 ) ); in silk_resampler()
Dresampler_down2_3.c43 …opus_int32 inLen /* I Number of input samples … in silk_resampler_down2_3() argument
58 nSamplesIn = silk_min( inLen, RESAMPLER_MAX_BATCH_SIZE_IN ); in silk_resampler_down2_3()
90 inLen -= nSamplesIn; in silk_resampler_down2_3()
92 if( inLen > 0 ) { in silk_resampler_down2_3()
Dresampler_private_IIR_FIR.c69 opus_int32 inLen /* I Number of input samples */ in silk_resampler_private_IIR_FIR() argument
86 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_IIR_FIR()
94 inLen -= nSamplesIn; in silk_resampler_private_IIR_FIR()
96 if( inLen > 0 ) { in silk_resampler_private_IIR_FIR()
Dresampler_private.h49 opus_int32 inLen /* I Number of input samples */
57 opus_int32 inLen /* I Number of input samples */
Dresampler_down2.c40 …opus_int32 inLen /* I Number of input samples … in silk_resampler_down2() argument
43 opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 ); in silk_resampler_down2()
Dresampler_private_down_FIR.c149 opus_int32 inLen /* I Number of input samples */ in silk_resampler_private_down_FIR() argument
169 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_down_FIR()
181 inLen -= nSamplesIn; in silk_resampler_private_down_FIR()
183 if( inLen > 1 ) { in silk_resampler_private_down_FIR()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DWrapper.java14 public byte[] wrap(byte[] in, int inOff, int inLen); in wrap() argument
16 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DWrapper.java18 public byte[] wrap(byte[] in, int inOff, int inLen); in wrap() argument
20 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
/external/cldr/tools/java/org/unicode/cldr/util/
DWikipediaOfficialLanguages.java182 int inLen = getStartLen(comments, "in "); in getRegionSet() local
183 if (inLen == 0) { in getRegionSet()
184 inLen = getStartLen(comments, "minority language in "); in getRegionSet()
186 if (inLen == 0) { in getRegionSet()
189 comments = comments.substring(inLen); in getRegionSet()
/external/ppp/pppd/
Dmd5.c122 void MD5_Update (mdContext, inBuf, inLen) in MD5_Update() argument
125 unsigned int inLen;
135 if ((mdContext->i[0] + ((UINT4)inLen << 3)) < mdContext->i[0])
137 mdContext->i[0] += ((UINT4)inLen << 3);
138 mdContext->i[1] += ((UINT4)inLen >> 29);
140 while (inLen--) {
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Denhancer_interface.c40 size_t inLen=iLBCdec_inst->blockl+120; in WebRtcIlbcfix_EnhancerInterface() local
105 enh_buf+ENH_BUFL-inLen, /* Input samples */ in WebRtcIlbcfix_EnhancerInterface()
106 inLen + ENH_BUFL_FILTEROVERHEAD, in WebRtcIlbcfix_EnhancerInterface()
108 inLen / 2, in WebRtcIlbcfix_EnhancerInterface()
/external/iperf3/src/
Dunits.c268 void unit_snprintf(char *s, int inLen, in unit_snprintf() argument
349 snprintf(s, inLen, format, inNum, suffix); in unit_snprintf()

12