Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java185 int inLen) in processBlock() argument
190 return encodeBlock(in, inOff, inLen); in processBlock()
194 return decodeBlock(in, inOff, inLen); in processBlock()
201 int inLen) in encodeBlock() argument
204 if (inLen > getInputBlockSize()) in encodeBlock()
215 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
230 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
239 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock()
240 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
302 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument
[all …]
DOAEPEncoding.java126 int inLen) in processBlock() argument
131 return encodeBlock(in, inOff, inLen); in processBlock()
135 return decodeBlock(in, inOff, inLen); in processBlock()
142 int inLen) in encodeBlock() argument
150 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
155 block[block.length - inLen - 1] = 0x01; in encodeBlock()
209 int inLen) in decodeBlock() argument
212 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
/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/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.java88 int inLen) in convertInput() argument
90 if (inLen > (getInputBlockSize() + 1)) in convertInput()
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
101 if (inOff != 0 || inLen != in.length) in convertInput()
103 block = new byte[inLen]; in convertInput()
105 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
DDESedeWrapEngine.java139 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument
146 byte keyToBeWrapped[] = new byte[inLen]; in wrap()
148 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
211 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
225 if (inLen % blockSize != 0) in unwrap()
252 byte TEMP3[] = new byte[inLen]; in unwrap()
254 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
DRSABlindedEngine.java88 int inLen) in processBlock() argument
95 BigInteger input = core.convertInput(in, inOff, inLen); in processBlock()
/external/svox/pico/lib/
Dpicowa.c60 picoos_uint16 inLen; /* length of item in inBuf, 0 for empty buf */ member
97 wa->inLen = 0; in waInitialize()
292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
295 wa->inLen = 0; in waProcessWordgraph()
333 wa->inLen = 0; in waProcessWordgraph()
340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph()
343 wa->inLen = 0; in waProcessWordgraph()
391 wa->procState, wa->inLen, wa->outLen)); in waStep()
398 if (wa->inLen == 0) { /* is input buffer empty? */ in waStep()
406 wa->inLen = blen; in waStep()
[all …]
Dpicosa.c794 const picoos_uint16 inLen, in saGetNrVowel() argument
807 if (!picobase_get_next_utf8char(sInChar, inLen, &pos, cstr) || in saGetNrVowel()
812 for (nCount = 0; nCount < inLen; ) { in saGetNrVowel()
813 if (!picobase_get_next_utf8char(sInChar, inLen, &nCount, cstr)) { in saGetNrVowel()
/external/libopus/silk/
Dresampler.c178 …opus_int32 inLen /* I Number of input samples … in silk_resampler() argument
184 silk_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()
DSigProc_FIX.h67 …opus_int32 inLen /* I Number of input samples …
77 …opus_int32 inLen /* I Number of input samples …
87 …opus_int32 inLen /* I Number of input samples …
/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/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--) {
Dmd5.h61 void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java225 int inLen = 0; in encode() local
230 in[inLen++]=ch; in encode()
238 rc = encode(inLen,in,case_flags, outLen, output); in encode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java224 int inLen = 0; in encode() local
229 in[inLen++]=ch; in encode()
237 rc = encode(inLen,in,case_flags, outLen, output); in encode()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp634 SizeT inLen = inSize - inPos; in Decode() local
640 xzu.InBuf + inPos, &inLen, in Decode()
643 inPos += inLen; in Decode()
646 InSize += inLen; in Decode()
651 bool finished = ((inLen == 0 && outLen == 0) || res != SZ_OK); in Decode()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c924 size_t inLen =0; in TestCodepageFlush()
946 inLen = fread(inBuf, 1, 200, myCFile); in TestCodepageFlush()
949 if(inLen<=0) { in TestCodepageFlush()
955 for(i=0;i<(int32_t)inLen;i++) { in TestCodepageFlush()
971 if(inLen != 12) { in TestCodepageFlush()
972 log_err("Expected 12 bytes, read %d\n", inLen); in TestCodepageFlush()
974 log_verbose("OK: read %d bytes\n", inLen); in TestCodepageFlush()
/external/skia/tests/
DPathOpsExtendedTest.cpp596 size_t inLen = inData.count(); in initializeTests() local
597 inFile.read(inData.begin(), inLen); in initializeTests()