/freebsd-11-stable/contrib/one-true-awk/ |
H A D | lib.c | 114 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 D | enc.c | 119 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 D | parse.y | 736 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 D | sf-pcap.c | 402 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 D | hdspe.c | 173 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 D | dirs.c | 564 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 D | padlock_hash.c | 79 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 D | divsufsort.c | 46 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 D | fdt_rw.c | 415 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 D | fdt.c | 242 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 D | fdt_rw.c | 429 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 D | fdt.c | 245 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 D | ptimes.c | 490 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 D | ihex.c | 246 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 D | ufs_module.c | 140 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 D | a10_hdmiaudio.c | 181 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 D | xgehal-driver.h | 306 xge_hal_driver_tracebuf_read(int bufsize, char *retbuf, int *retsize);
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kmem.h | 70 kmem_cache_t *kmem_cache_create(char *name, size_t bufsize, size_t align,
|
/freebsd-11-stable/lib/libfetch/ |
H A D | common.h | 52 size_t bufsize; /* buffer size */ member in struct:fetchconn
|
/freebsd-11-stable/contrib/serf/ |
H A D | serf_bucket_util.h | 207 * 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 D | libdwarf_elf_init.c | 53 _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 D | save_v2trap.c | 301 maketrap_v2(community, buffer, bufsize, msg, msglen) 304 int bufsize; 322 if (basesize + 8 > bufsize) 325 memset(buffer, 0xff, bufsize);
|
H A D | save_v1trap.c | 299 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 D | netevent.h | 535 * @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 D | xgehal-driver.c | 86 xge_hal_driver_tracebuf_read(int bufsize, char *retbuf, int *retsize) argument 104 if (retbuf_off > bufsize) 114 if (retbuf_off > bufsize)
|