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

12345

/macosx-10.10/postfix-255/postfix/src/util/
H A Dfsspace.h16 unsigned long block_size; /* block size */ member in struct:fsspace
H A Dfsspace.c11 /* unsigned long block_size;
78 sp->block_size = 1024;
85 sp->block_size = fsbuf.f_bsize;
94 sp->block_size = fsbuf.f_frsize;
99 myname, path, sp->block_size, sp->block_free);
121 *argv, sp.block_size, sp.block_free);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Djdinput.c57 if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom) {
58 /* Provide 1/block_size scaling */
60 jdiv_round_up((long) cinfo->image_width, (long) cinfo->block_size);
62 jdiv_round_up((long) cinfo->image_height, (long) cinfo->block_size);
65 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 2) {
66 /* Provide 2/block_size scaling */
68 jdiv_round_up((long) cinfo->image_width * 2L, (long) cinfo->block_size);
70 jdiv_round_up((long) cinfo->image_height * 2L, (long) cinfo->block_size);
73 } else if (cinfo->scale_num * cinfo->block_size <= cinfo->scale_denom * 3) {
74 /* Provide 3/block_size scalin
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/corecrypto/ccdigest/src/
H A Dccdigest_update.c17 if (ccdigest_num(di, ctx) == 0 && len > di->block_size) {
18 unsigned long nblocks = len / di->block_size;
20 unsigned long nbytes = nblocks * di->block_size;
25 unsigned long n = di->block_size - ccdigest_num(di, ctx);
33 if (ccdigest_num(di, ctx) == di->block_size) {
/macosx-10.10/xnu-2782.1.97/osfmk/corecrypto/cchmac/src/
H A Dcchmac_init.c27 if (key_len <= di->block_size) {
42 if (key_len < di->block_size) {
43 CC_MEMSET(cchmac_data(di, hc) + key_len, 0x5c, di->block_size - key_len);
52 for (byte = 0; byte < di->block_size; ++byte) {
58 cchmac_nbits(di, hc) = di->block_size * 8;
H A Dcchmac_final.c18 cchmac_nbits(di, hc) = di->block_size * 8;
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Dexample_evp_cipher.c72 size_t block_size = 0; local
88 block_size = atoi(argv[1]);
89 if (block_size == 0)
111 ibuf = malloc(block_size);
112 obuf = malloc(block_size + EVP_CIPHER_block_size(c));
122 while ((ilen = fread(ibuf, 1, block_size, in)) > 0) {
/macosx-10.10/Libc-1044.1.2/regex/TRE/lib/
H A Dtre-mem.c109 int block_size; local
111 block_size = size * 8;
113 block_size = TRE_MEM_BLOCK_SIZE;
115 block_size));
122 l->data = xmalloc(block_size);
136 mem->n = block_size;
/macosx-10.10/libarchive-30/libarchive/libarchive/
H A Darchive_read_open_fd.c55 size_t block_size; member in struct:read_fd_data
69 archive_read_open_fd(struct archive *a, int fd, size_t block_size) argument
82 b = malloc(block_size);
89 mine->block_size = block_size;
119 bytes_read = read(mine->fd, mine->buffer, mine->block_size);
140 /* Reduce request to the next smallest multiple of block_size */
141 request = (request / mine->block_size) * mine->block_size;
H A Darchive_read_open_filename.c59 size_t block_size; member in struct:read_file_data
76 size_t block_size)
78 return (archive_read_open_filename(a, filename, block_size));
83 size_t block_size)
92 /* We used to invoke archive_read_open_fd(a,0,block_size)
120 b = malloc(block_size);
128 mine->block_size = block_size;
163 bytes_read = read(mine->fd, mine->buffer, mine->block_size);
188 /* Reduce request to the next smallest multiple of block_size */
75 archive_read_open_file(struct archive *a, const char *filename, size_t block_size) argument
82 archive_read_open_filename(struct archive *a, const char *filename, size_t block_size) argument
[all...]
H A Darchive_read_open_file.c55 size_t block_size; member in struct:read_FILE_data
73 size_t block_size = 128 * 1024; local
78 b = malloc(block_size);
85 mine->block_size = block_size;
115 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f);
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_impl.h22 unsigned long block_size; member in struct:ccmode_ecb
35 unsigned long block_size; member in struct:ccmode_cbc
49 unsigned long block_size; member in struct:ccmode_cfb
62 unsigned long block_size; member in struct:ccmode_cfb8
75 unsigned long block_size; member in struct:ccmode_ctr
88 unsigned long block_size; member in struct:ccmode_ofb
103 unsigned long block_size; member in struct:ccmode_xts
131 unsigned long block_size; member in struct:ccmode_gcm
150 unsigned long block_size; member in struct:ccmode_ccm
169 unsigned long block_size; member in struct:ccmode_omac
[all...]
H A Dccmode_factory.h127 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
128 .block_size = (ECB)->block_size, \
136 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
137 .block_size = (ECB)->block_size, \
182 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
183 .block_size = 1, \
191 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
192 .block_size
[all...]
H A Dcchmac.h27 #define cchmac_di_size(_di_) (cchmac_ctx_size((_di_)->state_size, (_di_)->block_size))
33 #define cchmac_di_decl(_di_, _name_) cchmac_ctx_decl((_di_)->state_size, (_di_)->block_size, _name_)
34 #define cchmac_di_clear(_di_, _name_) cchmac_ctx_clear((_di_)->state_size, (_di_)->block_size, _name_)
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-evp-cc.c169 unsigned int block_size = (unsigned int)ctx->cipher->block_size; local
175 while (len >= block_size) {
176 for (n = 0; n < block_size; ++n) {
179 if (cc_do_cipher(ctx, out, out, block_size) == 0) {
183 len -= block_size;
184 in += block_size;
185 out += block_size;
191 for (n = len; n < block_size; ++n) {
194 if (cc_do_cipher(ctx, out, out, block_size)
[all...]
/macosx-10.10/libutil-38/
H A Dwipefs.h36 extern int wipefs_alloc(int fd, size_t block_size, wipefs_ctx *handle);
/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A Devp_locl.h65 bl = ctx->cipher->block_size;\
105 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \
109 nid##_##nmode, block_size, key_len, iv_len, \
121 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \
124 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
141 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \
144 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
148 nid, block_size, key_len, iv_len, cbits, flags, \
150 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
156 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le
[all...]
/macosx-10.10/groff-38/groff/src/libs/libgroff/
H A Dsymbol.cpp32 int symbol::block_size = 0; member in class:symbol
138 if (block == 0 || block_size < len) {
139 block_size = len > BLOCK_SIZE ? len : BLOCK_SIZE;
140 block = new char [block_size];
145 block_size -= len;
/macosx-10.10/pdisk-9/
H A DATA_media.c194 int ATA_ReadBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address);
195 int ATA_WriteBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address);
201 int ATAPI_ReadBlock(UInt32 deviceID, UInt32 block_size, UInt32 block, UInt8 *address);
203 int ATAPI_ReadCapacity(UInt32 deviceID, unsigned long *block_size, unsigned long *blocks);
521 long block_size; local
539 block_size = a->m.grain;
540 block = offset / block_size;
541 block_count = count / block_size;
545 if (ATA_ReadBlock(a->id, &a->info, block_size, block, buffer) == 0) {
549 buffer += block_size;
564 long block_size; local
626 ATA_ReadBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address) argument
680 ATA_WriteBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address) argument
776 unsigned long block_size; local
832 long block_size; local
876 ATAPI_ReadBlock(UInt32 deviceID, UInt32 block_size, UInt32 block, UInt8 *address) argument
977 ATAPI_ReadCapacity(UInt32 deviceID, unsigned long *block_size, unsigned long *blocks) argument
[all...]
H A Ddeblock_media.c109 unsigned long block_size; local
117 block_size = media_granularity(m);
119 if (new_block_size == block_size) {
122 } else if (new_block_size > block_size) {
123 if ((new_block_size % block_size) == 0) {
128 a->next_block_size = block_size;
134 } else /* new_block_size < block_size */ {
135 if ((block_size % new_block_size) == 0) {
140 a->next_block_size = block_size;
141 a->buffer = malloc(block_size);
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/dev/vn/
H A Dshadow.h52 uint32_t band_size, uint32_t block_size);
/macosx-10.10/CommonCrypto-60061/lib/
H A DCommonDigest.c149 if(di) return di->block_size;
167 if(p->di) return p->di->block_size;
268 CC_XMEMCPY(&CC_c->data[0], ccdigest_data(di, cc_c), di->block_size); \
275 CC_XMEMCPY(ccdigest_data(di, cc_c), &CC_c->data[0], di->block_size); \
353 if (curlen == 0 && len >= di->block_size) {
354 uint64_t fullblocks = len / di->block_size;
356 uint64_t nbytes = fullblocks * di->block_size;
359 uint64_t n = CC_XMIN(len, (di->block_size - curlen));
362 if (curlen == di->block_size) {
376 if(di->block_size
[all...]
/macosx-10.10/smb-759.0/lib/librpc/
H A Drpc_helpers.hpp43 static inline unsigned block_size() { function in struct:rpc_mempool
61 ret.second = (T *)(void *)((uint8_t *)ret.first + rpc_mempool::block_size());
/macosx-10.10/xnu-2782.1.97/libkern/crypto/
H A Dcorecrypto_md5.c22 memcpy(md5_ctx->buffer, ccdigest_data(di, di_ctx), di->block_size);
31 ccdigest_num(di, di_ctx)=count%di->block_size;
33 memcpy(ccdigest_data(di, di_ctx), md5_ctx->buffer, di->block_size);
/macosx-10.10/groff-38/groff/src/include/
H A Dsymbol.h30 static int block_size; member in class:symbol

Completed in 287 milliseconds

12345