Searched refs:bufsize (Results 151 - 175 of 461) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/one-true-awk/
H A Dlib.c114 int bufsize = *pbufsize, savebufsize = bufsize; local
149 c = readrec(&buf, &bufsize, infile);
164 *pbufsize = bufsize;
191 int bufsize = *pbufsize; local
206 if (rr-buf+1 > bufsize)
207 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 1"))
215 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, "readrec 2"))
220 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3"))
225 *pbufsize = bufsize;
[all...]
/freebsd-11-stable/crypto/openssl/apps/
H A Denc.c119 unsigned char *buff = NULL, *bufsize = NULL; local
228 else if (strcmp(*argv, "-bufsize") == 0) {
231 bufsize = (unsigned char *)*(++argv);
317 BIO_printf(bio_err, "%-14s buffer size\n", "-bufsize <n>");
362 if (bufsize != NULL) {
365 for (n = 0; *bufsize; bufsize++) {
366 i = *bufsize;
371 bufsize++;
375 if (*bufsize !
[all...]
/freebsd-11-stable/sbin/hastd/
H A Dparse.y736 size_t bufsize;
760 bufsize = sizeof(buf);
761 if (sysctlbyname("kern.hostuuid", buf, &bufsize, NULL, 0) < 0) {
771 bufsize = sizeof(hostid);
772 if (sysctlbyname("kern.hostid", &hostid, &bufsize, NULL, 0) < 0) {
806 size_t bufsize;
826 bufsize = sizeof(buf);
827 if (sysctlbyname("kern.hostuuid", buf, &bufsize, NULL, 0) < 0) {
835 bufsize = sizeof(hostid);
836 if (sysctlbyname("kern.hostid", &hostid, &bufsize, NUL
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Dsf-pcap.c402 p->bufsize = p->snapshot;
403 if (p->bufsize > 2048)
404 p->bufsize = 2048;
405 p->buffer = malloc(p->bufsize);
422 grow_buffer(pcap_t *p, u_int bufsize) argument
426 bigger_buffer = realloc(p->buffer, bufsize);
432 p->bufsize = bufsize;
600 if (hdr->caplen > p->bufsize) {
667 if (hdr->caplen > p->bufsize) {
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dhdspe.c173 sc->bufsize = HDSPE_DMASEGSIZE;
182 if (bus_dmamap_load(sc->dmat, sc->pmap, sc->pbuf, sc->bufsize,
195 if (bus_dmamap_load(sc->dmat, sc->rmap, sc->rbuf, sc->bufsize,
201 bzero(sc->pbuf, sc->bufsize);
202 bzero(sc->rbuf, sc->bufsize);
/freebsd-11-stable/sbin/restore/
H A Ddirs.c564 int bufsize; local
586 bufsize = 0;
598 if (bufsize < node.extsize) {
599 if (bufsize > 0)
602 bufsize = node.extsize;
604 bufsize = 0;
607 if (bufsize >= node.extsize) {
647 if (bufsize >= node.extsize) {
665 if (bufsize > 0)
/freebsd-11-stable/sys/crypto/via/
H A Dpadlock_hash.c79 uint16_t bufsize);
170 padlock_sha_update(struct padlock_sha_ctx *ctx, const uint8_t *buf, uint16_t bufsize) argument
173 if (ctx->psc_size - ctx->psc_offset < bufsize) {
174 ctx->psc_size = MAX(ctx->psc_size * 2, ctx->psc_size + bufsize);
180 bcopy(buf, ctx->psc_buf + ctx->psc_offset, bufsize);
181 ctx->psc_offset += bufsize;
/freebsd-11-stable/contrib/libdivsufsort/lib/
H A Ddivsufsort.c46 saidx_t i, j, k, t, m, bufsize; local
105 buf = SA + m, bufsize = (n - (2 * m)) / tmp;
110 curbuf = buf + tmp * bufsize;
129 curbuf, bufsize, 2, n, *(SA + k) == (m - 1));
133 buf = SA + m, bufsize = n - (2 * m);
139 buf, bufsize, 2, n, *(SA + i) == (m - 1));
/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt_rw.c415 int fdt_open_into(const void *fdt, void *buf, int bufsize) argument
441 err = fdt_move(fdt, buf, bufsize);
446 fdt_set_totalsize(buf, bufsize);
454 if (bufsize < newsize)
463 if ((tmp + newsize) > ((char *)buf + bufsize))
471 fdt_set_totalsize(buf, bufsize);
H A Dfdt.c242 int fdt_move(const void *fdt, void *buf, int bufsize) argument
246 if (fdt_totalsize(fdt) > bufsize)
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt_rw.c429 int fdt_open_into(const void *fdt, void *buf, int bufsize) argument
455 err = fdt_move(fdt, buf, bufsize);
460 fdt_set_totalsize(buf, bufsize);
468 if (bufsize < newsize)
477 if ((tmp + newsize) > ((char *)buf + bufsize))
485 fdt_set_totalsize(buf, bufsize);
H A Dfdt.c245 int fdt_move(const void *fdt, void *buf, int bufsize) argument
249 if (fdt_totalsize(fdt) > bufsize)
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dptimes.c490 char *timebuf, size_t bufsize)
504 if (bufsize < sizeof(NILVALUE)) {
514 strlcpy(timebuf, NILVALUE, bufsize);
534 chars = snprintf(timebuf, bufsize,
543 if (chars >= (int)bufsize) {
544 strlcpy(timebuf, NILVALUE, bufsize);
489 ptimeget_ctime_rfc5424(const struct ptime_data *ptime, char *timebuf, size_t bufsize) argument
/freebsd-11-stable/contrib/binutils/bfd/
H A Dihex.c246 size_t bufsize; local
259 bufsize = 0;
308 if (chars >= bufsize)
313 bufsize = chars;
544 size_t bufsize; local
551 bufsize = 0;
582 if (len * 2 > bufsize)
587 bufsize = len * 2;
/freebsd-11-stable/stand/efi/boot1/
H A Dufs_module.c140 load(const char *filepath, dev_info_t *dev, void **bufp, size_t *bufsize) argument
188 *bufsize = size;
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_hdmiaudio.c181 unsigned bufsize; local
183 bufsize = sndbuf_getsize(ch->buffer);
186 if (ch->pos >= bufsize)
187 ch->pos -= bufsize;
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-driver.h306 xge_hal_driver_tracebuf_read(int bufsize, char *retbuf, int *retsize);
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dkmem.h70 kmem_cache_t *kmem_cache_create(char *name, size_t bufsize, size_t align,
/freebsd-11-stable/lib/libfetch/
H A Dcommon.h52 size_t bufsize; /* buffer size */ member in struct:fetchconn
/freebsd-11-stable/contrib/serf/
H A Dserf_bucket_util.h207 * a buffer specified by @a buf, which is @a bufsize bytes long.
216 apr_size_t bufsize,
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c53 _dwarf_elf_apply_rel_reloc(Dwarf_Debug dbg, void *buf, uint64_t bufsize, argument
77 if (offset + size >= bufsize)
96 _dwarf_elf_apply_rela_reloc(Dwarf_Debug dbg, void *buf, uint64_t bufsize, argument
118 if (offset + size >= bufsize)
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dsave_v2trap.c301 maketrap_v2(community, buffer, bufsize, msg, msglen)
304 int bufsize;
322 if (basesize + 8 > bufsize)
325 memset(buffer, 0xff, bufsize);
H A Dsave_v1trap.c299 maketrap_v1(community, buffer, bufsize, msg, msglen, ipaddr, when)
302 int bufsize;
321 if (basesize + 8 > bufsize)
324 memset(buffer, 0xff, bufsize);
/freebsd-11-stable/contrib/unbound/util/
H A Dnetevent.h535 * @param bufsize: size of buffer to create for handlers.
551 size_t bufsize, struct sldns_buffer* spoolbuf,
558 * @param bufsize: size of buffer to create for handlers.
564 size_t bufsize, comm_point_callback_type* callback, void* callback_arg);
569 * @param bufsize: size of buffer to create for handlers.
577 size_t bufsize, comm_point_callback_type* callback,
584 * @param bufsize: size of buffer to create for handlers.
590 int fd, size_t bufsize,
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-driver.c86 xge_hal_driver_tracebuf_read(int bufsize, char *retbuf, int *retsize) argument
104 if (retbuf_off > bufsize)
114 if (retbuf_off > bufsize)

Completed in 417 milliseconds

1234567891011>>