Searched refs:sz (Results 176 - 200 of 562) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/kern/
H A Dkern_ctf.c71 size_t sz; local
222 sz = u32[CTF_HDR_STRTAB_U32] + u32[CTF_HDR_STRLEN_U32] +
235 sz = shdr[i].sh_size;
242 ctftab = malloc(sz, M_LINKER, M_WAITOK);
276 zs.avail_out = sz - sizeof(ctf_hdr);
/freebsd-10-stable/sys/powerpc/mambo/
H A Dmambo_disk.c198 size_t sz; local
219 sz = sc->disk->d_sectorsize;
220 end = bp->bio_pblkno + (bp->bio_bcount / sz);
224 (block - bp->bio_pblkno) * sz;
247 bp->bio_resid = (end - block) * sz;
/freebsd-10-stable/sys/sparc64/sparc64/
H A Ddump_machdep.c60 buf_write(struct dumperinfo *di, char *ptr, size_t sz) argument
65 while (sz) {
67 if (len > sz)
68 len = sz;
72 sz -= len;
/freebsd-10-stable/crypto/openssl/crypto/dso/
H A Ddso_dlfcn.c111 static int dlfcn_pathbyaddr(void *addr, char *path, int sz);
422 static int dlfcn_pathbyaddr(void *addr, char *path, int sz) argument
440 if (sz <= 0)
442 if (len >= sz)
443 len = sz - 1;
H A Ddso_dl.c90 static int dl_pathbyaddr(void *addr, char *path, int sz);
341 static int dl_pathbyaddr(void *addr, char *path, int sz) argument
360 if (sz <= 0)
362 if (len >= sz)
363 len = sz - 1;
/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf.c33 size_t sz; local
202 sz = roundup(1223 + SSHBUF_SIZE_INC * 3, SSHBUF_SIZE_INC);
203 ASSERT_INT_EQ(sshbuf_set_max_size(p1, sz), 0);
204 ASSERT_SIZE_T_EQ(sshbuf_max_size(p1), sz); local
205 ASSERT_SIZE_T_EQ(sshbuf_avail(p1), sz - 1223);
/freebsd-10-stable/lib/libedit/
H A Dhist.c58 el->el_history.sz = EL_BUFSIZ;
103 el->el_history.sz);
205 el->el_history.sz = newsz;
/freebsd-10-stable/tools/tools/bus_autoconf/
H A Dbus_sections.c119 uint16_t sz; local
142 sz = psub->bit_size;
145 return ((ptr[off] >> rem) & ((1 << sz) - 1));
/freebsd-10-stable/contrib/ntp/sntp/libopts/
H A Dstack.c202 size_t sz = sizeof(*pAL); local
209 sz += sizeof(char *) * ((size_t)pAL->allocCt - MIN_ARG_ALLOC_CT);
210 pAL = (tArgList *)AGREALOC(VOIDP(pAL), sz, "expanded opt arg stack");
/freebsd-10-stable/sys/boot/efi/loader/
H A Dmain.c103 UINTN sz; local
110 sz = 0;
112 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0);
114 hin = (EFI_HANDLE *)malloc(sz);
115 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz,
129 hin_end = &hin[sz / sizeof(*hin)];
438 UINTN sz; local
461 sz = 0;
462 status = BS->GetMemoryMap(&sz, 0, &key, &dsz, &dver);
467 map = malloc(sz);
[all...]
/freebsd-10-stable/contrib/gcc/config/soft-fp/
H A Dop-1.h52 #define _FP_FRAC_SRST_1(X,S,N,sz) __FP_FRAC_SRST_1(X##_f, S, N, sz)
53 #define _FP_FRAC_SRS_1(X,N,sz) __FP_FRAC_SRS_1(X##_f, N, sz)
55 #define __FP_FRAC_SRST_1(X,S,N,sz) \
62 #define __FP_FRAC_SRS_1(X,N,sz) \
/freebsd-10-stable/contrib/apr-util/dbd/
H A Dapr_dbd_sqlite2.c49 size_t sz; member in struct:apr_dbd_results_t
104 (*results)->sz = fields;
125 if ((n < 0) || (n >= res->sz)) {
161 * The sqlite result is an array such that the first res->sz elements are
179 row->data = res->res + res->sz + (res->sz * row->n);
186 if ((n < 0) || (n >= row->res->sz)) {
196 if ((n < 0) || (n >= row->res->sz)) {
525 return res->sz;
H A Dapr_dbd_freetds.c76 size_t sz; member in struct:apr_dbd_results_t
89 int *sz; member in struct:apr_dbd_prepared_t
170 res->sz = dbnumcols(sql->proc);
176 res->vars = apr_palloc(pool, res->sz * sizeof(freetds_cell_t*));
177 for (i=1; i <= res->sz; ++i) {
404 stmt->sz = apr_palloc(pool, n*sizeof(int));
409 int sz = 0; local
442 sz = 10*sz + (query[i]-'\0');
480 sprintf(pquery+strlen(pquery), " @arg%d varchar(%d)", i, stmt->sz[
[all...]
/freebsd-10-stable/contrib/mdocml/
H A Dtbl_html.c36 html_tbl_len(size_t sz, void *arg) argument
39 return(sz);
H A Dlibroff.h51 size_t sz; member in struct:eqn_node
/freebsd-10-stable/lib/libutil/
H A Dlogin_cap.c71 size_t sz = strlen(str) + 1; /* realloc() only if necessary */ local
72 if (sz <= internal_stringsz)
74 else if ((p = realloc(internal_string, sz)) != NULL) {
75 internal_stringsz = sz;
83 allocarray(size_t sz) argument
87 if (sz <= internal_arraysz)
89 else if ((p = realloc(internal_array, sz * sizeof(char*))) != NULL) {
90 internal_arraysz = sz;
/freebsd-10-stable/sys/arm/arm/
H A Dminidump_machdep.c104 blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) argument
129 while (sz) {
135 if (len > sz)
136 len = sz;
154 sz -= len;
161 sz -= len;
181 blk_write_cont(struct dumperinfo *di, vm_paddr_t pa, size_t sz) argument
185 error = blk_write(di, 0, pa, sz);
/freebsd-10-stable/sys/sys/
H A Duio.h98 int copyout_map(struct thread *td, vm_offset_t *addr, size_t sz);
99 int copyout_unmap(struct thread *td, vm_offset_t addr, size_t sz);
/freebsd-10-stable/bin/pax/
H A Dbuf_subs.c672 int sz = MINFBSZ; local
682 sz = (int)sb.st_blksize;
685 rem = sz;
703 if ((res = file_write(ofd,bufpt,cnt,&rem,&isem,sz,fnm)) <= 0) {
761 int sz = MINFBSZ; local
777 sz = sb.st_blksize;
780 rem = sz;
791 res = file_write(fd2, buf, cnt, &rem, &isem, sz, fnm);
/freebsd-10-stable/usr.bin/sort/
H A Dfile.c199 size_t sz; local
201 sz = strlen(tmpdir) + 1 + strlen(fn) + 32 + 1;
202 ret = sort_malloc(sz);
218 fl->sz = 0;
232 if (fl->count >= fl->sz || (fl->fns == NULL)) {
233 fl->sz = (fl->sz) * 2 + 1;
234 fl->fns = sort_realloc(fl->fns, fl->sz *
280 fl->sz = 0;
630 size_t sz local
700 size_t sz; local
1536 size_t sz = 0; local
[all...]
/freebsd-10-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c430 size_t sz; local
440 sz = v[0].iov_len;
453 sz = v[0].iov_len;
459 n = evbuffer_reserve_space(buf, sz+128, v, 2);
462 sz = v[0].iov_len + v[1].iov_len;
463 tt_int_op(sz, >=, v[0].iov_len+128);
473 n = evbuffer_reserve_space(buf, sz+128, v, 3);
478 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len;
482 n = evbuffer_reserve_space(buf, sz+128, v, 2);
956 size_t sz; local
[all...]
/freebsd-10-stable/crypto/openssl/crypto/bio/
H A Dbss_dgram.c268 } sz = { local
280 sz.i = sizeof(timeout);
282 (void *)&timeout, &sz.i) < 0) {
289 sz.i = sizeof(data->socket_timeout);
291 &(data->socket_timeout), (void *)&sz) < 0) {
293 } else if (sizeof(sz.s) != sizeof(sz.i) && sz.i == 0)
294 OPENSSL_assert(sz.s <= sizeof(data->socket_timeout));
771 } sz local
828 } sz = { local
[all...]
/freebsd-10-stable/libexec/pppoed/
H A Dpppoed.c255 int sz, int debug)
353 if (sz >= sizeof(struct ether_header)) {
364 syslog(LOG_INFO, "Sending original request to %s (%d bytes)", path, sz);
365 if (NgSendData(ds, ngc.ourhook, request, sz) == -1) {
505 int ch, cs, ds, ret, optF, optd, optn, sz, f; local
652 switch (sz = NgRecvData(ds, response, sizeof response, rhook)) {
663 ptr = dbuf = alloca(sz * 2 + 1);
664 for (f = 0; f < sz; f++, ptr += 2)
667 syslog(LOG_INFO, "Got %d bytes of data: %s", sz, dbuf);
670 if (sz <
253 Spawn(const char *prog, const char *acname, const char *provider, const char *exec, struct ngm_connect ngc, int cs, int ds, void *request, int sz, int debug) argument
[all...]
/freebsd-10-stable/usr.sbin/ppp/
H A Dphysical.c199 p->input.sz = 0;
538 rbuff = p->input.buf + p->input.sz;
541 n = physical_Read(p, rbuff, sizeof p->input.buf - p->input.sz);
543 p->link.name, n, (int)(sizeof p->input.buf - p->input.sz), p->fd);
555 rbuff -= p->input.sz;
556 n += p->input.sz;
564 p->input.sz = n - (rbuff - p->input.buf);
572 link_PullPacket(&p->link, rbuff, p->input.sz, bundle);
573 p->input.sz = 0;
575 bcopy(rbuff, p->input.buf, p->input.sz);
662 unsigned biggest, sz, n; local
680 int sz; local
[all...]
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c67 * Write a copy of the hostname into `hostname, sz' and return a guess
72 guess_domain (char *hostname_str, size_t sz) argument
79 if (gethostname (hostname_str, sz) < 0) {
80 strlcpy (hostname_str, "", sz);
96 strlcpy (hostname_str, ai->ai_canonname, sz);

Completed in 220 milliseconds

1234567891011>>