Searched refs:blocksize (Results 1 - 25 of 112) sorted by relevance

12345

/macosx-10.9.5/CPANInternal-140/Crypt-Rijndael/t/
H A Dblocksize.t7 ok( defined &Crypt::Rijndael::blocksize );
9 is( Crypt::Rijndael->blocksize, 16 )
/macosx-10.9.5/CPANInternal-140/Crypt-Rijndael-1.10/t/
H A Dblocksize.t7 ok( defined &Crypt::Rijndael::blocksize );
9 is( Crypt::Rijndael->blocksize, 16 )
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dcrypto-evp.c99 size_t i, blocksize; local
107 blocksize = EVP_CIPHER_CTX_block_size(c);
109 if (len < blocksize) {
113 } else if (len == blocksize) {
127 i = ((len - 1) / blocksize) * blocksize;
129 p += i - blocksize;
131 memcpy(ivec2, p, blocksize);
134 tmp[i] = p[i + blocksize] ^ ivec2[i];
135 for (; i < blocksize;
[all...]
H A Dcrypto-aes.c174 if (result.checksum.length < crypto->et->blocksize)
183 ret = krb5_data_alloc(out, crypto->et->blocksize);
199 crypto->et->blocksize,
201 crypto->et->blocksize,
205 if (moved != crypto->et->blocksize)
228 size_t blocksize; local
240 blocksize = 16; /* XXX only for aes now */
242 if (len < blocksize) {
246 } else if (len == blocksize) {
396 if (result.checksum.length < crypto->et->blocksize)
[all...]
/macosx-10.9.5/shell_cmds-175/hexdump/
H A Dhexdump.c56 int blocksize; /* data block size */ variable
74 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) {
76 if (blocksize < tfs->bcnt)
77 blocksize = tfs->bcnt;
H A Ddisplay.c96 * blocksize, and no partial block ever found.
140 blocksize - address % blocksize);
247 if ((curp = calloc(1, blocksize)) == NULL)
249 if ((savp = calloc(1, blocksize)) == NULL)
255 address += blocksize;
258 for (need = blocksize, nread = 0;;) {
267 if (need == blocksize)
309 bcmp(curp, savp, blocksize) != 0) {
317 address += blocksize;
[all...]
/macosx-10.9.5/libarchive-29/libarchive/libarchive/test/
H A Dtest_write_format_tar.c37 size_t blocksize; local
40 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) {
45 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
46 assertA(0 == archive_write_set_bytes_in_last_block(a, (int)blocksize));
47 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
49 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
82 assert(((2048 - 1)/blocksize
[all...]
H A Dtest_write_open_memory.c49 size_t blocksize = 94; local
53 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
57 if (i < (511/blocksize)*blocksize)
H A Dtest_write_compress_program.c39 int blocksize = 1024;
58 assertA(0 == archive_write_set_bytes_per_block(a, blocksize));
59 assertA(0 == archive_write_set_bytes_in_last_block(a, blocksize));
60 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
62 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/transfer/
H A Dcopyops.tcl43 # -blocksize n
54 # -blocksize n
89 -blocksize -
103 -blocksize, -progress,\
142 upvar 0 settings(-blocksize) blocksize
145 if {$blocksize < $size} {
146 set n $blocksize
158 fcopy $in $out -size $blocksize -command \
161 $blocksize
[all...]
H A Ddsource.tcl35 method transmit {sock blocksize done} {}
111 method transmit {sock blocksize done} {
115 -blocksize $blocksize \
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dgetbsize.c47 long n, max, mul, blocksize; local
84 fmterr: warnx("%s: unknown blocksize", p);
91 warnx("maximum blocksize is %ldG", MAXB / GB);
94 if ((blocksize = n * mul) < 512) {
95 underflow: warnx("minimum blocksize is 512");
97 blocksize = n = 512;
100 blocksize = n = 512;
104 *blocksizep = blocksize;
/macosx-10.9.5/Heimdal-323.92.1/appl/rsh/
H A Dcommon.c48 size_t blocksize; local
50 krb5_crypto_getblocksize(context, crypto, &blocksize);
52 ivec_in[0] = malloc(blocksize);
53 memset(ivec_in[0], client, blocksize);
56 ivec_in[1] = malloc(blocksize);
57 memset(ivec_in[1], 2 | client, blocksize);
61 ivec_out[0] = malloc(blocksize);
62 memset(ivec_out[0], !client, blocksize);
65 ivec_out[1] = malloc(blocksize);
66 memset(ivec_out[1], 2 | !client, blocksize);
[all...]
/macosx-10.9.5/CommonCrypto-60049/libcn/
H A DCommonBuffering.c51 size_t blocksize = bufRef->chunksize; local
60 inputUsing = CC_XMIN(blocksize - bufRef->bufferPos, inputLen);
63 if(bufRef->bufferPos < blocksize) {
66 pFunc(ctx, bufRef->buf, blocksize, output, &outputLen);
72 inputUsing = inputLen - inputLen % blocksize;
80 if(inputLen > blocksize) {
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/random/YarrowCoreLib/src/
H A Dcomp.c115 uInt blocksize; local
125 blocksize = _MIN(inplen,BUFSIZE);
126 memmove(buf,inp,blocksize);
127 ctx->spaceused = blocksize;
134 blocksize = _MIN(shifts*SHIFTSIZE,ctx->spaceused);
135 memmove(buf,buf+blocksize,BUFSIZE-blocksize);
136 ctx->spaceused = ctx->spaceused - blocksize;
/macosx-10.9.5/CPANInternal-140/Digest-SHA/src/
H A Dhmac.c37 if (keylen <= h->osha->blocksize / 8)
51 for (i = 0; i < h->osha->blocksize / 8; i++)
53 shawrite(h->key, h->osha->blocksize, h->osha);
54 for (i = 0; i < h->isha->blocksize / 8; i++)
56 shawrite(h->key, h->isha->blocksize, h->isha);
/macosx-10.9.5/bash-92/bash-3.2/lib/malloc/
H A Dstats.c51 v.blocksize = 0;
56 v.blocksize = 1 << (size + 3);
85 result.bytesfree += v.nfree * v.blocksize;
86 result.bytesused += v.nused * v.blocksize;
105 fprintf (fp, "%8lu\t%4d\t%6d\t%5d\t%8d\t%d %5d %8d\n", (unsigned long)v.blocksize, v.nfree, v.nused, v.nmal, v.nmorecore, v.nlesscore, v.nsplit, v.ncoalesce);
106 totfree += v.nfree * v.blocksize;
107 totused += v.nused * v.blocksize;
H A Dmstats.h91 u_bits32_t blocksize; member in struct:bucket_stats
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/os2/
H A Dreadwrite.c39 ULONG blocksize; local
74 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
75 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
76 thefile->bufpos += blocksize;
77 pos += blocksize;
78 size -= blocksize;
137 int blocksize; local
156 blocksize = size > thefile->bufsize - thefile->bufpos ? thefile->bufsize - thefile->bufpos : size;
157 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
158 thefile->bufpos += blocksize;
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/os2/
H A Dreadwrite.c39 ULONG blocksize; local
74 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
75 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
76 thefile->bufpos += blocksize;
77 pos += blocksize;
78 size -= blocksize;
137 int blocksize; local
156 blocksize = size > thefile->bufsize - thefile->bufpos ? thefile->bufsize - thefile->bufpos : size;
157 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
158 thefile->bufpos += blocksize;
[all...]
/macosx-10.9.5/file_cmds-230/ls/
H A Dls.h43 extern long blocksize; /* block size units */
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/des/
H A Ddes.tcl127 proc ::DES::Pad {data blocksize {fill \0}} {
130 set data [string repeat $fill $blocksize]
131 } elseif {($len % $blocksize) != 0} {
132 set pad [expr {$blocksize - ($len % $blocksize)}]
154 set blocksize 8
155 set opts(-iv) [string repeat \0 $blocksize]
213 set data [Pad [lindex $args 0] $blocksize]
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/examples/
H A Dmillions.py54 self.blocksize = blocksize
55 self.lower = self.blocksize *2/3
56 self.upper = self.blocksize *2 - self.lower
83 if not self.recnos or len(v[-1].data) >= self.blocksize:
148 bs = self.blocksize
182 blocksize = 10000 # default size for append, but not mandatory variable
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dreadwrite.c33 apr_uint64_t blocksize; local
71 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
72 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
73 thefile->bufpos += blocksize;
74 pos += blocksize;
75 size -= blocksize;
153 int blocksize; local
174 blocksize = size > thefile->bufsize - thefile->bufpos ?
176 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
177 thefile->bufpos += blocksize;
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/win32/
H A Dreadwrite.c181 apr_size_t blocksize; local
215 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
216 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
217 thefile->bufpos += blocksize;
218 pos += blocksize;
219 size -= blocksize;
260 apr_size_t blocksize; local
281 blocksize = size > thefile->bufsize - thefile->bufpos ?
283 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
284 thefile->bufpos += blocksize;
[all...]

Completed in 306 milliseconds

12345