Home
last modified time | relevance | path

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

12345678910>>...16

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java93 return inLength; in encrypt()
95 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
106 return inLength; in implEncrypt()
108 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
119 return inLength; in decrypt()
121 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
132 return inLength; in implDecrypt()
134 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
149 return inLength; in decryptWithOriginalKey()
165 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java74 return inLength; in encrypt()
76 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
97 return inLength; in implEncrypt()
99 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
110 return inLength; in decrypt()
112 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
123 return inLength; in implDecrypt()
125 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
140 return inLength; in decryptWithOriginalKey()
156 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java93 return inLength; in encrypt()
95 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
106 return inLength; in implEncrypt()
108 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
119 return inLength; in decrypt()
121 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
132 return inLength; in implDecrypt()
134 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
149 return inLength; in decryptWithOriginalKey()
165 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java74 return inLength; in encrypt()
76 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
97 return inLength; in implEncrypt()
99 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
110 return inLength; in decrypt()
112 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
123 return inLength; in implDecrypt()
125 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
140 return inLength; in decryptWithOriginalKey()
156 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java74 return inLength; in encrypt()
76 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
97 return inLength; in implEncrypt()
99 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
110 return inLength; in decrypt()
112 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
123 return inLength; in implDecrypt()
125 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
140 return inLength; in decryptWithOriginalKey()
156 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java74 return inLength; in encrypt()
76 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
97 return inLength; in implEncrypt()
99 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
110 return inLength; in decrypt()
112 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
123 return inLength; in implDecrypt()
125 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
140 return inLength; in decryptWithOriginalKey()
156 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DCipherBlockChainingSubstitutions.java74 return inLength; in encrypt()
76 return encrypt(realReceiver, in, inOffset, inLength, out, outOffset); in encrypt()
97 return inLength; in implEncrypt()
99 return implEncrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implEncrypt()
110 return inLength; in decrypt()
112 return decrypt(realReceiver, in, inOffset, inLength, out, outOffset); in decrypt()
123 return inLength; in implDecrypt()
125 return implDecrypt(realReceiver, in, inOffset, inLength, out, outOffset); in implDecrypt()
140 return inLength; in decryptWithOriginalKey()
156 return inLength; in implDecryptWithOriginalKey()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/context/
H A Dctx_sha2.c213 IN_LENGTH_SHORT_Z const int inLength,
228 ( hashState != HASH_STATE_END && inLength <= 0 ) )
255 IN_BUFFER( inLength ) const void *inBuffer,
256 IN_LENGTH_SHORT const int inLength )
262 assert( isReadPtr( inBuffer, inLength ) );
264 if( outBufMaxLength < 32 || inLength <= 0 )
286 IN_LENGTH_SHORT_Z const int inLength,
302 ( hashState != HASH_STATE_END && inLength <= 0 ) )
331 IN_LENGTH_SHORT const int inLength )
337 assert( isReadPtr( inBuffer, inLength ) );
[all …]
H A Dctx_sha.c141 IN_BUFFER_OPT( inLength ) const void *inBuffer,
142 IN_LENGTH_SHORT_Z const int inLength,
153 assert( inBuffer == NULL || isReadPtr( inBuffer, inLength ) );
156 ( hashState != HASH_STATE_END && inLength <= 0 ) )
166 SHA1_Update( shaInfo, ( BYTE * ) inBuffer, inLength );
171 SHA1_Update( shaInfo, ( BYTE * ) inBuffer, inLength );
183 IN_BUFFER( inLength ) const void *inBuffer,
184 IN_LENGTH_SHORT const int inLength )
190 assert( isReadPtr( inBuffer, inLength ) );
192 if( outBufMaxLength < 20 || inLength <= 0 )
[all …]
H A Dctx_md5.c152 IN_BUFFER_OPT( inLength ) const void *inBuffer,
153 IN_LENGTH_SHORT_Z const int inLength,
164 assert( inBuffer == NULL || isReadPtr( inBuffer, inLength ) );
167 ( hashState != HASH_STATE_END && inLength <= 0 ) )
177 MD5_Update( md5Info, ( BYTE * ) inBuffer, inLength );
182 MD5_Update( md5Info, ( BYTE * ) inBuffer, inLength );
194 IN_BUFFER( inLength ) const void *inBuffer,
195 IN_LENGTH_SHORT const int inLength )
201 assert( isReadPtr( inBuffer, inLength ) );
203 if( outBufMaxLength < 16 || inLength <= 0 )
[all …]
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/glTF/
H A DglTFCommon.cpp52 if (inLength % 4 != 0) { in DecodeBase64()
53 …ase64 encoded data: \"", std::string(in, std::min(size_t(32), inLength)), "\", length:", inLength); in DecodeBase64()
56 if (inLength < 4) { in DecodeBase64()
61 int nEquals = int(in[inLength - 1] == '=') + in DecodeBase64()
62 int(in[inLength - 2] == '='); in DecodeBase64()
64 size_t outLength = (inLength * 3) / 4 - nEquals; in DecodeBase64()
70 for (i = 0; i + 4 < inLength; i += 4) { in DecodeBase64()
96 size_t outLength = ((inLength + 2) / 3) * 4; in EncodeBase64()
101 for (size_t i = 0; i < inLength; i += 3) { in EncodeBase64()
106 if (i + 1 < inLength) { in EncodeBase64()
[all …]
/dports/java/sablevm-classpath/sablevm-classpath-1.13/javax/crypto/
H A DCipherOutputStream.java62 private int inLength; field in CipherOutputStream
95 inLength = 0; in CipherOutputStream()
136 len = cipher.doFinal(inBuffer[0], 0, inLength, outBuffer); in close()
189 inBuffer[1][inLength++] = (byte) b; in write()
190 if (inLength == inBuffer[1].length) in write()
227 int l = Math.min(inBuffer[1].length - inLength, len - count); in write()
228 System.arraycopy(buf, off+count, inBuffer[1], inLength, l); in write()
230 inLength += l; in write()
231 if (inLength == inBuffer[1].length) in write()
253 inLength = 0; in process()
[all …]
/dports/graphics/openexr/openexr-3.1.4/src/lib/OpenEXR/
H A DImfRle.cpp25 rleCompress (int inLength, const char in[], signed char out[]) in rleCompress() argument
27 const char *inEnd = in + inLength; in rleCompress()
89 rleUncompress (int inLength, int maxLength, const signed char in[], char out[]) in rleUncompress() argument
93 while (inLength > 0) in rleUncompress()
98 inLength -= count + 1; in rleUncompress()
105 if (inLength < 0) in rleUncompress()
115 inLength -= 2; in rleUncompress()
122 if (inLength < 0) in rleUncompress()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/glTF/
H A DglTFCommon.cpp49 size_t DecodeBase64(const char* in, size_t inLength, uint8_t*& out) { in DecodeBase64() argument
50 ai_assert(inLength % 4 == 0); in DecodeBase64()
52 if (inLength < 4) { in DecodeBase64()
57 int nEquals = int(in[inLength - 1] == '=') + in DecodeBase64()
58 int(in[inLength - 2] == '='); in DecodeBase64()
60 size_t outLength = (inLength * 3) / 4 - nEquals; in DecodeBase64()
66 for (i = 0; i + 4 < inLength; i += 4) { in DecodeBase64()
92 size_t outLength = ((inLength + 2) / 3) * 4; in EncodeBase64()
97 for (size_t i = 0; i < inLength; i += 3) { in EncodeBase64()
102 if (i + 1 < inLength) { in EncodeBase64()
[all …]
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dxts.cpp369 if (inLength < BlockSize()) in ProcessLastBlock()
381 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastPlainBlock()
386 outLength = inLength; in ProcessLastPlainBlock()
392 return inLength; in ProcessLastPlainBlock()
401 inString += head; inLength -= head; in ProcessLastPlainBlock()
422 const size_t len = inLength-blockSize; in ProcessLastPlainBlock()
446 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastCipherBlock()
451 outLength = inLength; in ProcessLastCipherBlock()
457 return inLength; in ProcessLastCipherBlock()
466 inString += head; inLength -= head; in ProcessLastCipherBlock()
[all …]
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dxts.cpp373 if (inLength < BlockSize()) in ProcessLastBlock()
385 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastPlainBlock()
390 outLength = inLength; in ProcessLastPlainBlock()
396 return inLength; in ProcessLastPlainBlock()
405 inString += head; inLength -= head; in ProcessLastPlainBlock()
426 const size_t len = inLength-blockSize; in ProcessLastPlainBlock()
450 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastCipherBlock()
455 outLength = inLength; in ProcessLastCipherBlock()
461 return inLength; in ProcessLastCipherBlock()
470 inString += head; inLength -= head; in ProcessLastCipherBlock()
[all …]
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dxts.cpp373 if (inLength < BlockSize()) in ProcessLastBlock()
385 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastPlainBlock()
390 outLength = inLength; in ProcessLastPlainBlock()
396 return inLength; in ProcessLastPlainBlock()
405 inString += head; inLength -= head; in ProcessLastPlainBlock()
426 const size_t len = inLength-blockSize; in ProcessLastPlainBlock()
450 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastCipherBlock()
455 outLength = inLength; in ProcessLastCipherBlock()
461 return inLength; in ProcessLastCipherBlock()
470 inString += head; inLength -= head; in ProcessLastCipherBlock()
[all …]
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dxts.cpp373 if (inLength < BlockSize()) in ProcessLastBlock()
385 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastPlainBlock()
390 outLength = inLength; in ProcessLastPlainBlock()
396 return inLength; in ProcessLastPlainBlock()
405 inString += head; inLength -= head; in ProcessLastPlainBlock()
426 const size_t len = inLength-blockSize; in ProcessLastPlainBlock()
450 CRYPTOPP_ASSERT(outLength >= inLength); in ProcessLastCipherBlock()
455 outLength = inLength; in ProcessLastCipherBlock()
461 return inLength; in ProcessLastCipherBlock()
470 inString += head; inLength -= head; in ProcessLastCipherBlock()
[all …]
/dports/games/scid/scid/src/
H A Dfilter.cpp26 packBytemap (const byte * inBuffer, byte * outBuffer, uint inLength);
30 uint inLength, uint outLength);
175 const byte * endPtr = inBuffer + inLength; in packBytemap()
200 while (inPtr < endPtr && outBytes <= inLength) { in packBytemap()
249 if (outBytes > inLength) { in packBytemap()
251 std::memcpy (outBuffer + 1, inBuffer, inLength); in packBytemap()
252 return (inLength + 1); in packBytemap()
259 printf ("RLE: %u -> %u (%.2f%%)\n", inLength, outBytes, in packBytemap()
260 (float)outBytes * 100.0 / inLength); in packBytemap()
283 if (inLength == 0) { return ERROR_Corrupt; } in unpackBytemap()
[all …]
/dports/multimedia/assimp/assimp-5.1.3/code/AssetLib/FBX/
H A DFBXUtil.cpp135 size_t ComputeDecodedSizeBase64(const char* in, size_t inLength) in ComputeDecodedSizeBase64() argument
137 if (inLength < 2) in ComputeDecodedSizeBase64()
141 const size_t equals = size_t(in[inLength - 1] == '=') + size_t(in[inLength - 2] == '='); in ComputeDecodedSizeBase64()
142 const size_t full_length = (inLength * 3) >> 2; // div by 4 in ComputeDecodedSizeBase64()
150 size_t DecodeBase64(const char* in, size_t inLength, uint8_t* out, size_t maxOutLength) in DecodeBase64() argument
152 if (maxOutLength == 0 || inLength < 2) { in DecodeBase64()
155 …const size_t realLength = inLength - size_t(in[inLength - 1] == '=') - size_t(in[inLength - 2] == … in DecodeBase64()
/dports/games/scid/scid/src/mtbgen/
H A Dbytepack.h134 uint inLength, uint outLength);
141 ASSERT (inLength <= MaxBufferSize); in Pack()
158 const byte * endPtr = inBuffer + inLength; in Pack()
170 while (inPtr < endPtr && outBytes <= inLength) { in Pack()
262 if (outBytes > inLength) { in Pack()
268 uint len = inLength; in Pack()
270 return inLength + 1; in Pack()
281 uint inLength, uint outLength) in Unpack() argument
285 if (inLength == 0 || inLength > MaxBufferSize+1) { in Unpack()
295 int inBytesLeft = inLength - 1; in Unpack()
[all …]
/dports/devel/upp/upp/bazaar/plugin/assimp/code/FBX/
H A DFBXUtil.cpp137 size_t ComputeDecodedSizeBase64(const char* in, size_t inLength) in ComputeDecodedSizeBase64() argument
139 if (inLength < 2) in ComputeDecodedSizeBase64()
143 const size_t equals = size_t(in[inLength - 1] == '=') + size_t(in[inLength - 2] == '='); in ComputeDecodedSizeBase64()
144 const size_t full_length = (inLength * 3) >> 2; // div by 4 in ComputeDecodedSizeBase64()
152 size_t DecodeBase64(const char* in, size_t inLength, uint8_t* out, size_t maxOutLength) in DecodeBase64() argument
154 if (maxOutLength == 0 || inLength < 2) { in DecodeBase64()
157 …const size_t realLength = inLength - size_t(in[inLength - 1] == '=') - size_t(in[inLength - 2] == … in DecodeBase64()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/code/FBX/
H A DFBXUtil.cpp137 size_t ComputeDecodedSizeBase64(const char* in, size_t inLength) in ComputeDecodedSizeBase64() argument
139 if (inLength < 2) in ComputeDecodedSizeBase64()
143 const size_t equals = size_t(in[inLength - 1] == '=') + size_t(in[inLength - 2] == '='); in ComputeDecodedSizeBase64()
144 const size_t full_length = (inLength * 3) >> 2; // div by 4 in ComputeDecodedSizeBase64()
152 size_t DecodeBase64(const char* in, size_t inLength, uint8_t* out, size_t maxOutLength) in DecodeBase64() argument
154 if (maxOutLength == 0 || inLength < 2) { in DecodeBase64()
157 …const size_t realLength = inLength - size_t(in[inLength - 1] == '=') - size_t(in[inLength - 2] == … in DecodeBase64()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/code/FBX/
H A DFBXUtil.cpp137 size_t ComputeDecodedSizeBase64(const char* in, size_t inLength) in ComputeDecodedSizeBase64() argument
139 if (inLength < 2) in ComputeDecodedSizeBase64()
143 const size_t equals = size_t(in[inLength - 1] == '=') + size_t(in[inLength - 2] == '='); in ComputeDecodedSizeBase64()
144 const size_t full_length = (inLength * 3) >> 2; // div by 4 in ComputeDecodedSizeBase64()
152 size_t DecodeBase64(const char* in, size_t inLength, uint8_t* out, size_t maxOutLength) in DecodeBase64() argument
154 if (maxOutLength == 0 || inLength < 2) { in DecodeBase64()
157 …const size_t realLength = inLength - size_t(in[inLength - 1] == '=') - size_t(in[inLength - 2] == … in DecodeBase64()
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Pdf/PDFWriter/
H A DUnicodeString.cpp192 if(inLength < 2) in FromUTF16()
196 return FromUTF16BE(inString+2,inLength-2); in FromUTF16()
198 return FromUTF16LE(inString+2,inLength-2); in FromUTF16()
213 if(inLength % 2 != 0) in FromUTF16BE()
219 for(unsigned long i = 0; i < inLength-1 && PDFHummus::eSuccess == status; i+=2) in FromUTF16BE()
228 if(i>=inLength-1) in FromUTF16BE()
265 if(inLength % 2 != 0) in FromUTF16LE()
271 for(unsigned long i = 0; i < inLength-1 && PDFHummus::eSuccess == status; i+=2) in FromUTF16LE()
280 if(i>=inLength-1) in FromUTF16LE()
311 for(unsigned long i = 0; i < inLength && PDFHummus::eSuccess == status; ++i) in FromUTF16UShort()
[all …]

12345678910>>...16