Home
last modified time | relevance | path

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

12345678910>>...35

/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/
H A DSymmetricAlgorithmTest.cs86 Array.Copy (output, blockLength, block2, 0, blockLength); in TestDES_k64b64_ECB_None()
110 byte[] input = new byte [blockLength * 2 + (blockLength >> 1)]; in TestDES_k64b64_ECB_Zeros()
120 Array.Copy (output, blockLength, block2, 0, blockLength); in TestDES_k64b64_ECB_Zeros()
125 Array.Copy (output, blockLength, block3, 0, blockLength); in TestDES_k64b64_ECB_Zeros()
160 Array.Copy (output, blockLength, block2, 0, blockLength); in TestDES_k64b64_ECB_PKCS7()
365 Array.Copy (output, blockLength, block2, 0, blockLength); in TestRC2_k40b64_ECB_None()
399 Array.Copy (output, blockLength, block2, 0, blockLength); in TestRC2_k40b64_ECB_Zeros()
404 Array.Copy (output, blockLength, block3, 0, blockLength); in TestRC2_k40b64_ECB_Zeros()
439 Array.Copy (output, blockLength, block2, 0, blockLength); in TestRC2_k40b64_ECB_PKCS7()
644 Array.Copy (output, blockLength, block2, 0, blockLength); in TestRC2_k48b64_ECB_None()
[all …]
/dports/irc/ircII/ircii-20210314/source/rijndael/
H A Drijndaeltest-ref.c74 memset (block, 0, blockLength/8); in rijndaelVKKAT()
80 keyInst.blockLen = blockLength; in rijndaelVKKAT()
96 if (blockLength != r) { in rijndaelVKKAT()
102 keyInst.blockLen = blockLength; in rijndaelVKKAT()
145 keyInst.blockLen = blockLength; in rijndaelVTKAT()
192 keyInst.blockLen = blockLength; in rijndaelTKAT()
214 keyInst.blockLen = blockLength; in rijndaelTKAT()
250 switch (keyLength >= blockLength ? keyLength : blockLength) { in rijndaelIVKAT()
268 keyInst.blockLen = blockLength; in rijndaelIVKAT()
286 keyInst.blockLen = blockLength; in rijndaelIVKAT()
[all …]
/dports/sysutils/busybox/busybox-1.26.2/miscutils/
H A Drx.c78 unsigned blockLength = 0; in receive() local
108 if (blockLength >= 3 in receive()
109 && blockBuf[blockLength - 1] == PAD in receive()
113 while (blockLength in receive()
116 blockLength--; in receive()
122 if (full_write(file_fd, blockBuf, blockLength) != blockLength) { in receive()
159 for (i = 0; i < blockLength; i++) { in receive()
179 blockLength = 0; in receive()
200 for (i = 0; i < blockLength; i++) in receive()
212 length += blockLength; in receive()
[all …]
/dports/security/s2n/s2n-tls-1.1.2/tests/saw/HMAC/spec/
H A DHMAC.cry36 kinit : { pwBytes, blockLength, digest }
37 ( fin pwBytes, fin blockLength, fin digest )
40 -> [blockLength][8]
42 if `pwBytes > (`blockLength : [max (width pwBytes) (width blockLength)])
43 then take `{blockLength} (split (hash key) # (zero : [blockLength][8]))
44 else take `{blockLength} (key # (zero : [blockLength][8]))
49 hmac : { msgBytes, pwBytes, digest, blockLength }
50 ( fin pwBytes, fin digest, fin blockLength )
51 => ([blockLength + msgBytes][8] -> [8*digest])
52 -> ([blockLength + digest][8] -> [8*digest])
[all …]
/dports/databases/hsqldb/hsqldb-2.3.4/hsqldb/src/org/hsqldb/result/
H A DResultLob.java87 long blockLength; field in ResultLob
115 result.blockLength = length; in newLobGetBytesRequest()
128 result.blockLength = length; in newLobGetCharsRequest()
206 result.blockLength = length; in newLobSetResponse()
259 result.blockLength = otherId; in newLobGetCharPatternPositionRequest()
271 result.blockLength = length; in newLobCreateBlobRequest()
284 result.blockLength = length; in newLobCreateClobRequest()
326 result.blockLength = length; in newLobTruncateResponse()
339 result.blockLength = length; in newLobGetRequest()
462 if (blockLength >= 0) { in writeBody()
[all …]
/dports/java/servingxml/servingxml-1.1.2/servingxml-framework/src/main/java/com/servingxml/components/flatfile/scanner/bytes/
H A DInputStreamRecordBlock.java28 private final int blockLength; field in InputStreamRecordBlock
34 this.blockLength = BLOCK_LENGTH; in InputStreamRecordBlock()
38 public InputStreamRecordBlock(InputStream is, int blockLength) { in InputStreamRecordBlock() argument
39 super(new byte[blockLength],0,0,Integer.MAX_VALUE); in InputStreamRecordBlock()
40 this.blockLength = blockLength; in InputStreamRecordBlock()
48 int maxBytes = ((n+reserved)/blockLength)*blockLength + blockLength; in read()
/dports/java/servingxml/servingxml-1.1.2/servingxml-framework/src/main/java/com/servingxml/components/flatfile/scanner/characters/
H A DReaderRecordBlock.java28 private final int blockLength; field in ReaderRecordBlock
34 this.blockLength = BLOCK_LENGTH; in ReaderRecordBlock()
38 public ReaderRecordBlock(Reader is, int blockLength) { in ReaderRecordBlock() argument
39 super(new char[blockLength],0,0,Integer.MAX_VALUE); in ReaderRecordBlock()
40 this.blockLength = blockLength; in ReaderRecordBlock()
48 int maxChars = ((n+reserved)/blockLength)*blockLength + blockLength; in read()
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/core/
H A Dgcc.c719 blockLength -= 2; in gcc_read_client_core_data()
725 blockLength -= 2; in gcc_read_client_core_data()
731 blockLength -= 4; in gcc_read_client_core_data()
737 blockLength -= 2; in gcc_read_client_core_data()
743 blockLength -= 2; in gcc_read_client_core_data()
750 blockLength -= 2; in gcc_read_client_core_data()
773 blockLength -= 1; in gcc_read_client_core_data()
779 blockLength -= 1; in gcc_read_client_core_data()
785 blockLength -= 4; in gcc_read_client_core_data()
791 blockLength -= 4; in gcc_read_client_core_data()
[all …]
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DFdsLoader.cpp20 uint32_t blockLength = 1; in AddGaps() local
22 case 1: blockLength = 56; break; //Disk header in AddGaps()
23 case 2: blockLength = 2; break; //File count in AddGaps()
24 case 3: blockLength = 16; break; //File header in AddGaps()
43 j += blockLength; in AddGaps()
86 uint32_t blockLength = 1; in RebuildFdsFile() local
88 case 1: blockLength = 56; break; //Disk header in RebuildFdsFile()
89 case 2: blockLength = 2; break; //File count in RebuildFdsFile()
91 case 4: blockLength = 1 + fileSize; break; in RebuildFdsFile()
94 gapNeeded -= blockLength; in RebuildFdsFile()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Security/Mono.Security.Authenticode/
H A DAuthenticodeBase.cs62 private int blockLength; field in Mono.Security.Authenticode.AuthenticodeBase
131 blockLength = fs.Read (fileblock, 0, fileblock.Length); in ProcessFirstBlock()
133 if (blockLength < 64) in ProcessFirstBlock()
190 fs.Position = blockLength; in GetHash()
199 if (dirSecurityOffset < blockLength) { in GetHash()
200 blockLength = dirSecurityOffset; in GetHash()
203 n = dirSecurityOffset - blockLength; in GetHash()
216 if (coffSymbolTableOffset < blockLength) { in GetHash()
217 blockLength = coffSymbolTableOffset; in GetHash()
220 n = coffSymbolTableOffset - blockLength; in GetHash()
[all …]
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/torrent/data/
H A Dblock_list.cc48 BlockList::BlockList(const Piece& piece, uint32_t blockLength) : in BlockList() argument
62 base_type::resize((m_piece.length() + blockLength - 1) / blockLength); in BlockList()
68 for (iterator itr = begin(), last = end() - 1; itr != last; ++itr, offset += blockLength) { in BlockList()
70 itr->set_piece(Piece(m_piece.index(), offset, blockLength)); in BlockList()
74 …e(m_piece.index(), offset, (m_piece.length() % blockLength) ? m_piece.length() % blockLength : blo… in BlockList()
/dports/biology/bedtools/bedtools2-2.30.0/src/utils/BlockedIntervals/
H A DBlockedIntervals.cpp28 int blockLength = 0; in GetBamBlocks() local
37 blockLength += cigItr->Length; in GetBamBlocks()
42 blockLength += cigItr->Length; in GetBamBlocks()
44 bedBlocks.push_back( BED(chrom, currPosition, currPosition + blockLength, in GetBamBlocks()
46 currPosition += cigItr->Length + blockLength; in GetBamBlocks()
47 blockLength = 0; in GetBamBlocks()
52 blockLength += cigItr->Length; in GetBamBlocks()
54 bedBlocks.push_back( BED(chrom, currPosition, currPosition + blockLength, in GetBamBlocks()
56 currPosition += cigItr->Length + blockLength; in GetBamBlocks()
57 blockLength = 0; in GetBamBlocks()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/geckoview/src/thirdparty/java/com/google/android/exoplayer2/upstream/cache/
H A DCacheUtil.java147 long blockLength = cache.getCachedBytes(key, start, left); in internalCache() local
149 if (blockLength > 0) { in internalCache()
150 counters.alreadyCachedBytes += blockLength; in internalCache()
153 blockLength = -blockLength; in internalCache()
156 blockLength == Long.MAX_VALUE ? C.LENGTH_UNSET : blockLength, key); in internalCache()
160 if (read < blockLength) { in internalCache()
164 } else if (blockLength == Long.MAX_VALUE) { in internalCache()
168 counters.downloadedBytes += blockLength; in internalCache()
171 start += blockLength; in internalCache()
173 left -= blockLength; in internalCache()
/dports/biology/bamtools/bamtools-2.5.2/src/api/internal/io/
H A DBgzfStream_p.cpp72 const std::size_t blockLength = DeflateBlock(0); in Close() local
73 m_device->Write(m_compressedBlock.Buffer, blockLength); in Close()
93 std::size_t BgzfStream::DeflateBlock(int32_t blockLength) in DeflateBlock() argument
113 int inputLength = blockLength; in DeflateBlock()
184 int remaining = blockLength - inputLength; in DeflateBlock()
222 if (numBytesWritten != static_cast<int64_t>(blockLength)) { in FlushBlock()
230 m_blockAddress += blockLength; in FlushBlock()
243 zs.avail_in = blockLength - 16; in InflateBlock()
392 if (blockLength < Constants::BGZF_BLOCK_HEADER_LENGTH) { in ReadBlock()
412 const std::size_t newBlockLength = InflateBlock(blockLength); in ReadBlock()
[all …]
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/macs/
H A DHMac.java26 private int blockLength; field in HMac
94 this.blockLength = byteLength; in HMac()
95 this.inputPad = new byte[blockLength]; in HMac()
96 this.outputBuf = new byte[blockLength + digestSize]; in HMac()
117 if (keyLength > blockLength) in init()
134 System.arraycopy(inputPad, 0, outputBuf, 0, blockLength); in init()
136 xorPad(inputPad, blockLength, IPAD); in init()
137 xorPad(outputBuf, blockLength, OPAD); in init()
143 ((Digest)opadState).update(outputBuf, 0, blockLength); in init()
177 digest.doFinal(outputBuf, blockLength); in doFinal()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/cache/
H A DCacheUtil.java147 long blockLength = cache.getCachedBytes(key, start, left); in internalCache() local
149 if (blockLength > 0) { in internalCache()
150 counters.alreadyCachedBytes += blockLength; in internalCache()
153 blockLength = -blockLength; in internalCache()
156 blockLength == Long.MAX_VALUE ? C.LENGTH_UNSET : blockLength, key); in internalCache()
160 if (read < blockLength) { in internalCache()
164 } else if (blockLength == Long.MAX_VALUE) { in internalCache()
168 counters.downloadedBytes += blockLength; in internalCache()
171 start += blockLength; in internalCache()
173 left -= blockLength; in internalCache()
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/cache/
H A DCacheUtil.java87 long blockLength = in getCached() local
90 if (blockLength > 0) { in getCached()
93 blockLength = -blockLength; in getCached()
98 position += blockLength; in getCached()
200 long blockLength = in cache() local
202 if (blockLength > 0) { in cache()
206 blockLength = -blockLength; in cache()
207 long length = blockLength == Long.MAX_VALUE ? C.LENGTH_UNSET : blockLength; in cache()
221 if (read < blockLength) { in cache()
229 position += blockLength; in cache()
[all …]
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/cache/
H A DCacheUtil.java87 long blockLength = in getCached() local
90 if (blockLength > 0) { in getCached()
93 blockLength = -blockLength; in getCached()
98 position += blockLength; in getCached()
200 long blockLength = in cache() local
202 if (blockLength > 0) { in cache()
206 blockLength = -blockLength; in cache()
207 long length = blockLength == Long.MAX_VALUE ? C.LENGTH_UNSET : blockLength; in cache()
221 if (read < blockLength) { in cache()
229 position += blockLength; in cache()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/cache/
H A DCacheUtil.java87 long blockLength = in getCached() local
90 if (blockLength > 0) { in getCached()
93 blockLength = -blockLength; in getCached()
98 position += blockLength; in getCached()
200 long blockLength = in cache() local
202 if (blockLength > 0) { in cache()
206 blockLength = -blockLength; in cache()
207 long length = blockLength == Long.MAX_VALUE ? C.LENGTH_UNSET : blockLength; in cache()
221 if (read < blockLength) { in cache()
229 position += blockLength; in cache()
[all …]
/dports/archivers/libcomprex/libcomprex-0.3.3/modules/archive/zip/
H A Dextra.c43 __parseUnixextra(char *buffer, int counter, unsigned short blockLength, ZipUnixExtra **new_extra, i… in __parseUnixextra() argument
59 remaining = blockLength - counter; in __parseUnixextra()
72 remaining = blockLength - counter; in __parseUnixextra()
116 unsigned short blockLength; in cxZipFindExtra() local
127 blockLength = cxZipGet16(buffer, &counter); in cxZipFindExtra()
133 __parseUnixextra(buffer, counter, blockLength, in cxZipFindExtra()
137 __parseUnixextra(buffer, counter, blockLength, in cxZipFindExtra()
141 __parseUnixextra(buffer, counter, blockLength, in cxZipFindExtra()
155 counter = counter + blockLength; in cxZipFindExtra()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/awt/image/gif/
H A Dgifdecoder.c184 int blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage() local
251 blockh, remain, blockLength + 1); in Java_sun_awt_image_GifImageDecoder_parseImage()
252 if (len > blockLength + 1) len = blockLength + 1; in Java_sun_awt_image_GifImageDecoder_parseImage()
258 remain += blockLength; in Java_sun_awt_image_GifImageDecoder_parseImage()
261 blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage()
263 blockLength = block[remain]; in Java_sun_awt_image_GifImageDecoder_parseImage()
265 if (blockLength == 0) { in Java_sun_awt_image_GifImageDecoder_parseImage()
326 fprintf(stdout, "flushing %d bytes\n", blockLength); in Java_sun_awt_image_GifImageDecoder_parseImage()
329 blockh, 0, blockLength + 1) != 0 in Java_sun_awt_image_GifImageDecoder_parseImage()
336 blockLength = block[blockLength]; in Java_sun_awt_image_GifImageDecoder_parseImage()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libawt/awt/image/gif/
H A Dgifdecoder.c184 int blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage() local
251 blockh, remain, blockLength + 1); in Java_sun_awt_image_GifImageDecoder_parseImage()
252 if (len > blockLength + 1) len = blockLength + 1; in Java_sun_awt_image_GifImageDecoder_parseImage()
258 remain += blockLength; in Java_sun_awt_image_GifImageDecoder_parseImage()
261 blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage()
263 blockLength = block[remain]; in Java_sun_awt_image_GifImageDecoder_parseImage()
265 if (blockLength == 0) { in Java_sun_awt_image_GifImageDecoder_parseImage()
326 fprintf(stdout, "flushing %d bytes\n", blockLength); in Java_sun_awt_image_GifImageDecoder_parseImage()
329 blockh, 0, blockLength + 1) != 0 in Java_sun_awt_image_GifImageDecoder_parseImage()
336 blockLength = block[blockLength]; in Java_sun_awt_image_GifImageDecoder_parseImage()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/awt/image/gif/
H A Dgifdecoder.c184 int blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage() local
251 blockh, remain, blockLength + 1); in Java_sun_awt_image_GifImageDecoder_parseImage()
252 if (len > blockLength + 1) len = blockLength + 1; in Java_sun_awt_image_GifImageDecoder_parseImage()
258 remain += blockLength; in Java_sun_awt_image_GifImageDecoder_parseImage()
261 blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage()
263 blockLength = block[remain]; in Java_sun_awt_image_GifImageDecoder_parseImage()
265 if (blockLength == 0) { in Java_sun_awt_image_GifImageDecoder_parseImage()
326 fprintf(stdout, "flushing %d bytes\n", blockLength); in Java_sun_awt_image_GifImageDecoder_parseImage()
329 blockh, 0, blockLength + 1) != 0 in Java_sun_awt_image_GifImageDecoder_parseImage()
336 blockLength = block[blockLength]; in Java_sun_awt_image_GifImageDecoder_parseImage()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libawt/awt/image/gif/
H A Dgifdecoder.c184 int blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage() local
251 blockh, remain, blockLength + 1); in Java_sun_awt_image_GifImageDecoder_parseImage()
252 if (len > blockLength + 1) len = blockLength + 1; in Java_sun_awt_image_GifImageDecoder_parseImage()
258 remain += blockLength; in Java_sun_awt_image_GifImageDecoder_parseImage()
261 blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage()
263 blockLength = block[remain]; in Java_sun_awt_image_GifImageDecoder_parseImage()
265 if (blockLength == 0) { in Java_sun_awt_image_GifImageDecoder_parseImage()
326 fprintf(stdout, "flushing %d bytes\n", blockLength); in Java_sun_awt_image_GifImageDecoder_parseImage()
329 blockh, 0, blockLength + 1) != 0 in Java_sun_awt_image_GifImageDecoder_parseImage()
336 blockLength = block[blockLength]; in Java_sun_awt_image_GifImageDecoder_parseImage()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/native/libawt/awt/image/gif/
H A Dgifdecoder.c184 int blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage() local
251 blockh, remain, blockLength + 1); in Java_sun_awt_image_GifImageDecoder_parseImage()
252 if (len > blockLength + 1) len = blockLength + 1; in Java_sun_awt_image_GifImageDecoder_parseImage()
258 remain += blockLength; in Java_sun_awt_image_GifImageDecoder_parseImage()
261 blockLength = 0; in Java_sun_awt_image_GifImageDecoder_parseImage()
263 blockLength = block[remain]; in Java_sun_awt_image_GifImageDecoder_parseImage()
265 if (blockLength == 0) { in Java_sun_awt_image_GifImageDecoder_parseImage()
326 fprintf(stdout, "flushing %d bytes\n", blockLength); in Java_sun_awt_image_GifImageDecoder_parseImage()
329 blockh, 0, blockLength + 1) != 0 in Java_sun_awt_image_GifImageDecoder_parseImage()
336 blockLength = block[blockLength]; in Java_sun_awt_image_GifImageDecoder_parseImage()
[all …]

12345678910>>...35