Searched refs:bsize (Results 1 - 25 of 110) sorted by relevance

12345

/macosx-10.10/Libinfo-459/rpc.subproj/
H A Dtypes.h86 #define mem_alloc(bsize) calloc(1, bsize)
87 #define mem_free(ptr, bsize) free(ptr)
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dbn_mp_prime_random_ex.c37 int res, err, bsize, maskOR_msb_offset; local
50 bsize = (size>>3) + ((size&7)?1:0);
52 /* we need a buffer of bsize bytes */
53 tmp = OPT_CAST(unsigned char) XMALLOC(bsize);
76 if (cb(tmp, bsize, dat) != bsize) {
87 tmp[bsize-1] |= maskOR_lsb;
90 if ((err = mp_read_unsigned_bin(a, tmp, bsize)) != MP_OKAY) { goto error; }
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-shell/
H A Dresult.c49 int bsize, len; local
57 bsize = BUFSIZ;
83 while ( bp + len + 1 - buf > bsize ) {
85 bsize += BUFSIZ;
86 buf = (char *) ch_realloc( buf, bsize );
/macosx-10.10/gpt-12/
H A Dboot.c117 off_t bsize, ofs; local
128 bsize = 65536 / secsz;
134 bsize = boot_size;
181 } else if (bsize * secsz < sb.st_size) {
188 gptboot = gpt_add_part(fd, &boot_uuid, 0, bsize, &entry);
199 bsize = (sb.st_size + secsz - 1) / secsz * secsz;
200 buf = calloc(1, bsize);
217 nbytes = write(fd, buf, bsize);
222 if (nbytes != bsize) {
/macosx-10.10/xar-254/xar/lib/
H A Dio.c122 size_t bsize; local
127 bsize = 4096;
129 bsize = strtol(opt, NULL, 0);
130 if( ((bsize == LONG_MAX) || (bsize == LONG_MIN)) && (errno == ERANGE) ) {
131 bsize = 4096;
135 return bsize;
256 size_t bsize, rsize; local
267 bsize = xar_io_get_rsize(x);
272 inbuf = malloc(bsize);
438 size_t bsize, def_bsize; local
542 size_t bsize; local
722 size_t bsize; local
817 long bsize; local
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-sock/
H A Dresult.c46 int bsize, len; local
54 bsize = BUFSIZ;
80 while ( bp + len + 1 - buf > bsize ) {
82 bsize += BUFSIZ;
83 buf = (char *) ch_realloc( buf, bsize );
/macosx-10.10/Security-57031.1.35/Security/include/securityd_client/
H A Dsec_xdr.h38 bool_t sec_mem_alloc(XDR *xdr, u_int bsize, uint8_t **data);
39 void sec_mem_free(XDR *xdr, void *ptr, u_int bsize);
56 void sec_xdr_arena_free(sec_xdr_arena_allocator_t *alloc, void *ptr, size_t bsize);
H A Dsec_xdr.c106 bool_t sec_mem_alloc(XDR *xdr, u_int bsize, uint8_t **data) argument
121 if (bsize > bytes_left)
125 allocator->offset += bsize;
130 allocator->offset = (uint8_t*)((size_t)allocator->offset + bsize);
135 void *alloc = calloc(1, bsize);
143 void sec_mem_free(XDR *xdr, void *ptr, u_int bsize) argument
175 void *ptr, size_t bsize)
174 sec_xdr_arena_free(sec_xdr_arena_allocator_t *arena, void *ptr, size_t bsize) argument
/macosx-10.10/Security-57031.1.35/Security/libsecurityd/lib/
H A Dsec_xdr.h38 bool_t sec_mem_alloc(XDR *xdr, u_int bsize, uint8_t **data);
39 void sec_mem_free(XDR *xdr, void *ptr, u_int bsize);
56 void sec_xdr_arena_free(sec_xdr_arena_allocator_t *alloc, void *ptr, size_t bsize);
H A Dsec_xdr.c106 bool_t sec_mem_alloc(XDR *xdr, u_int bsize, uint8_t **data) argument
121 if (bsize > bytes_left)
125 allocator->offset += bsize;
130 allocator->offset = (uint8_t*)((size_t)allocator->offset + bsize);
135 void *alloc = calloc(1, bsize);
143 void sec_mem_free(XDR *xdr, void *ptr, u_int bsize) argument
175 void *ptr, size_t bsize)
174 sec_xdr_arena_free(sec_xdr_arena_allocator_t *arena, void *ptr, size_t bsize) argument
/macosx-10.10/OpenSSL098-52/src/demos/
H A Db64.c84 int bsize=BSIZE,verbose=0; local
174 bsize=(int)n;
175 if (verbose) BIO_printf(bio_err,"bufsize=%d\n",bsize);
179 buff=(unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
243 inl=BIO_read(rbio,(char *)buff,bsize);
/macosx-10.10/misc_cmds-33/tsort/
H A Dtsort.c126 int bsize, ch, nused; local
172 bsize = b->b_bsize;
175 if (nused == bsize)
176 b->b_buf = grow_buf(b->b_buf, bsize *= 2);
181 b->b_bsize = bsize;
216 int bsize, i; local
237 bsize = n1->n_arcsize * sizeof(*n1->n_arcs) * 2;
238 n1->n_arcs = grow_buf(n1->n_arcs, bsize);
239 n1->n_arcsize = bsize / sizeof(*n1->n_arcs);
/macosx-10.10/cxxfilt-11/cxxfilt/include/coff/
H A Dia64.h48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon7717
H A Dexternal.h49 char bsize[4]; /* uninitialized data " " */ member in struct:external_aouthdr
65 char bsize[4]; /* Uninitialized data " ". */ member in struct:external_aouthdr64
H A Dapollo.h50 char bsize[4]; /* uninitialized data " " */ member in struct:__anon7683
/macosx-10.10/emacs-93/emacs/src/m/
H A Dgould.h148 #define bsize a_bss macro
/macosx-10.10/rsync-45/rsync/zlib/
H A Dzutil.c219 ulg bsize = (ulg)items*size; local
224 if (bsize < 65520L) {
225 buf = farmalloc(bsize);
228 buf = farmalloc(bsize + 16L);
/macosx-10.10/sudo-73/src/zlib/
H A Dzutil.c200 ulg bsize = (ulg)items*size; local
205 if (bsize < 65520L) {
206 buf = farmalloc(bsize);
209 buf = farmalloc(bsize + 16L);
/macosx-10.10/xnu-2782.1.97/libkern/zlib/
H A Dzutil.c247 ulg bsize = (ulg)items*size; local
252 if (bsize < 65520L) {
253 buf = farmalloc(bsize);
256 buf = farmalloc(bsize + 16L);
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dstk.c215 register size_t bsize; local
232 bsize = init+sizeof(struct frame);
235 bsize = roundof(bsize,STK_FSIZE/16);
238 bsize = roundof(bsize,STK_FSIZE);
239 bsize -= sizeof(struct frame);
240 if(!(fp=newof((char*)0,struct frame, 1,bsize)))
245 count(addsize,sizeof(*fp)+bsize);
251 fp->end = sp->stkend = cp+bsize;
[all...]
/macosx-10.10/diskdev_cmds-576/fstyp.tproj/
H A Dfstyp_udf.c94 int bsize; local
95 if (ioctl(fd, DKIOCGETBLOCKSIZE, (char*)&bsize) == -1) {
99 bsize = 2048; /* A standard default size */
101 retval = CheckUDF(fd, bsize) == 1;
102 if (retval == 0 && bsize != 2048) {
/macosx-10.10/BerkeleyDB-21/db/db_dump185/
H A Ddb_dump185.c34 int bsize; /* Bucket/Page Size */ member in struct:hashhdr185
58 int32_t bsize; /* Bucket/Page Size */ member in struct:hashhdr186
271 printf("db_pagesize=%lu\n", (u_long)hash186p->hdr.bsize);
276 printf("db_pagesize=%lu\n", (u_long)hash185p->hdr.bsize);
/macosx-10.10/cxxfilt-11/cxxfilt/include/aout/
H A Dencap.h58 long bsize; member in struct:coffheader
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A Dfsck_journal.h42 uint32_t bsize; member in struct:block_info
/macosx-10.10/text_cmds-88/cat/
H A Dcat.c242 static size_t bsize; local
250 bsize = MAX(sbuf.st_blksize, 1024);
251 if ((buf = malloc(bsize)) == NULL)
254 while ((nr = read(rfd, buf, bsize)) > 0)

Completed in 348 milliseconds

12345