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

1234

/macosx-10.9.5/postfix-252/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.9.5/tcl-102/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.9.5/cctools-845/include/coff/
H A Dbase_relocs.h43 uint32_t block_size; member in struct:base_relocation_block_header
/macosx-10.9.5/Heimdal-323.92.1/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.9.5/Libc-997.90.3/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.9.5/cctools-845/otool/
H A Dcoff_print.c54 uint32_t sect_nrelocs, sect_flags, block_size; local
79 printf("Block Size 0x%08x\n", h.block_size);
83 block_size = sizeof(struct base_relocation_block_header);
84 while(block_size < h.block_size && left > 0){
109 block_size += sizeof(struct base_relocation_entry);
/macosx-10.9.5/libarchive-29/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.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_factory.h125 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
126 .block_size = (ECB)->block_size, \
134 .size = ccn_sizeof_size(sizeof(struct _ccmode_cbc_key)) + ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
135 .block_size = (ECB)->block_size, \
180 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
181 .block_size = 1, \
189 .size = ccn_sizeof_size(sizeof(struct _ccmode_cfb_key)) + 2 * ccn_sizeof_size((ECB)->block_size) + ccn_sizeof_size((ECB)->size), \
190 .block_size
[all...]
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
64 unsigned long block_size; member in struct:ccmode_cfb8
79 unsigned long block_size; member in struct:ccmode_ctr
94 unsigned long block_size; member in struct:ccmode_ofb
111 unsigned long block_size; member in struct:ccmode_xts
140 unsigned long block_size; member in struct:ccmode_gcm
157 unsigned long block_size; member in struct:ccmode_omac
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_)
H A Dccmode.h30 return mode->block_size;
42 unsigned long numBlocks = (in_len / mode->block_size);
50 unsigned long numBlocks = (in_len / mode->block_size);
90 return mode->block_size;
102 cc_copy(mode->block_size, iv_ctx, iv);
104 cc_zero(mode->block_size, iv_ctx);
118 cccbc_iv_decl(mode->block_size, iv_ctx);
123 cc_zero(mode->block_size, iv_ctx);
142 return mode->block_size;
181 return mode->block_size;
[all...]
/macosx-10.9.5/OpenSSH-186/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.9.5/libutil-34/
H A Dwipefs.h36 extern int wipefs_alloc(int fd, size_t block_size, wipefs_ctx *handle);
H A Dwipefs.cpp131 wipefs_alloc(int fd, size_t block_size, wipefs_ctx *handle) argument
164 if (block_size == 0) {
165 block_size = nativeBlockSize;
167 if (block_size == 0 || totalSizeInBytes == 0) {
182 extMan->Init(block_size, nativeBlockSize, totalSizeInBytes);
/macosx-10.9.5/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.9.5/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.9.5/xnu-2422.115.4/bsd/dev/vn/
H A Dshadow.h52 uint32_t band_size, uint32_t block_size);
/macosx-10.9.5/smb-697.95.1/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.9.5/CommonCrypto-60049/lib/
H A DCommonDigest.c149 if(di) return di->block_size;
167 if(p->di) return p->di->block_size;
327 if (curlen == 0 && len >= di->block_size) {
328 uint64_t fullblocks = len / di->block_size;
330 uint64_t nbytes = fullblocks * di->block_size;
333 uint64_t n = CC_XMIN(len, (di->block_size - curlen));
336 if (curlen == di->block_size) {
350 if(di->block_size == 128) reserve = 16; // SHA384/512 reserves 16 bytes below.
352 /* if the length is currently above block_size - reserve bytes we append zeros
357 if (curlen > (di->block_size
[all...]
/macosx-10.9.5/xnu-2422.115.4/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.9.5/groff-38/groff/src/include/
H A Dsymbol.h30 static int block_size; member in class:symbol

Completed in 242 milliseconds

1234