Searched refs:bufsiz (Results 26 - 50 of 71) sorted by relevance

123

/freebsd-11-stable/crypto/openssl/ssl/
H A Dssltest.c1961 size_t bufsiz = 256; /* small buffer for testing */ local
1963 if (!BIO_new_bio_pair(&server, bufsiz, &server_io, bufsiz))
1965 if (!BIO_new_bio_pair(&client, bufsiz, &client_io, bufsiz))
2333 long bufsiz; local
2348 bufsiz = count > 40 * 1024 ? 40 * 1024 : count;
2350 if ((cbuf = OPENSSL_malloc(bufsiz)) == NULL)
2352 if ((sbuf = OPENSSL_malloc(bufsiz)) == NULL)
2355 memset(cbuf, 0, bufsiz);
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_ht.c544 int bufsiz = MS(baparamset, IEEE80211_BAPS_BUFSIZ); local
554 rap->rxa_wnd = (bufsiz == 0) ?
555 IEEE80211_AGGR_BAWMAX : min(bufsiz, IEEE80211_AGGR_BAWMAX);
1810 int bufsiz; local
1815 bufsiz = MS(baparamset, IEEE80211_BAPS_BUFSIZ);
1816 tap->txa_wnd = (bufsiz == 0) ?
1817 IEEE80211_AGGR_BAWMAX : min(bufsiz, IEEE80211_AGGR_BAWMAX);
1881 int bufsiz, tid; local
1886 bufsiz = MS(baparamset, IEEE80211_BAPS_BUFSIZ);
1888 tap->txa_wnd = (bufsiz
1999 int tid, bufsiz; local
[all...]
/freebsd-11-stable/contrib/file/src/
H A Dcdf.c1270 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) argument
1276 return snprintf(buf, bufsiz, "%s", vn[i].n);
1277 return snprintf(buf, bufsiz, "%#x", p);
1281 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) argument
1296 len += snprintf(buf + len, bufsiz - len, "%dd+", days);
1297 if (CAST(size_t, len) >= bufsiz)
1302 len += snprintf(buf + len, bufsiz - len, "%.2d:", hours);
1303 if (CAST(size_t, len) >= bufsiz)
1307 len += snprintf(buf + len, bufsiz - len, "%.2d:", mins);
1308 if (CAST(size_t, len) >= bufsiz)
[all...]
H A Dfuncs.c735 file_printable(char *buf, size_t bufsiz, const char *str, size_t slen) argument
737 char *ptr, *eptr = buf + bufsiz - 1;
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Drcslex.c1031 size_t bufsiz = s;
1033 ssize_t r = read(fd, bufptr, bufsiz);
1040 status->st_size = s -= bufsiz;
1041 bufsiz = 0;
1046 bufsiz -= r;
1049 } while (bufsiz);
/freebsd-11-stable/sys/kern/
H A Dkern_cpuset.c639 size_t i, bytesp, bufsiz; local
643 bufsiz = CPUSETBUFSIZ;
646 bytesp = snprintf(tbuf, bufsiz, "%lx,", set->__bits[i]);
647 bufsiz -= bytesp;
650 snprintf(tbuf, bufsiz, "%lx", set->__bits[_NCPUWORDS - 1]);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dxml_libxml2.c205 int bufsiz; local
213 xmlDocDumpFormatMemory(doc, &buf, &bufsiz, 0);
/freebsd-11-stable/sys/cam/ata/
H A Data_xpt.c1749 if (cdai->provsiz > cdai->bufsiz)
1750 amt = cdai->bufsiz;
1760 if (cdai->provsiz > cdai->bufsiz)
1761 amt = cdai->bufsiz;
1768 device->physpath_len = cdai->bufsiz;
1770 if (cdai->bufsiz == 0)
1772 device->physpath = malloc(cdai->bufsiz, M_CAMXPT, M_NOWAIT);
1777 memcpy(device->physpath, cdai->buf, cdai->bufsiz);
1783 if (cdai->provsiz > cdai->bufsiz)
1784 amt = cdai->bufsiz;
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf.c8257 int *bufsiz,
8274 buf = realloc (buf, *bufsiz + newspace);
8275 dest = buf + *bufsiz;
8276 *bufsiz += newspace;
8306 int *bufsiz,
8316 ret = (*bed->elf_backend_write_core_note) (abfd, buf, bufsiz,
8336 return elfcore_write_note (abfd, buf, bufsiz,
8353 return elfcore_write_note (abfd, buf, bufsiz, argument
8363 int *bufsiz,
8374 ret = (*bed->elf_backend_write_core_note) (abfd, buf, bufsiz,
8247 elfcore_write_note(bfd *abfd, char *buf, int *bufsiz, const char *name, int type, const void *input, int size) argument
8296 elfcore_write_prpsinfo(bfd *abfd, char *buf, int *bufsiz, const char *fname, const char *psargs) argument
8402 elfcore_write_lwpstatus(bfd *abfd, char *buf, int *bufsiz, long pid, int cursig, const void *gregs) argument
8433 elfcore_write_pstatus(bfd *abfd, char *buf, int *bufsiz, long pid, int cursig ATTRIBUTE_UNUSED, const void *gregs ATTRIBUTE_UNUSED) argument
8469 elfcore_write_prfpreg(bfd *abfd, char *buf, int *bufsiz, const void *fpregs, int size) argument
8481 elfcore_write_thrmisc(bfd *abfd, char *buf, int *bufsiz, const char *tname, int size) argument
8497 elfcore_write_prxfpreg(bfd *abfd, char *buf, int *bufsiz, const void *xfpregs, int size) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dpa64solib.c1093 pa64_target_read_memory (void *buffer, CORE_ADDR ptr, size_t bufsiz, int ident) argument
1095 if (target_read_memory (ptr, buffer, bufsiz) != 0)
/freebsd-11-stable/sys/contrib/ngatm/netnatm/sig/
H A Dsig_print.c125 uni_print_api(char *buf, size_t bufsiz, u_int type, u_int cookie, argument
130 uni_print_init(buf, bufsiz, cx);
/freebsd-11-stable/usr.sbin/sesutil/
H A Dsesutil.c440 stri.bufsiz = sizeof(str);
444 stri.bufsiz = sizeof(str);
/freebsd-11-stable/crypto/openssl/apps/
H A Dapps.h225 int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data);
/freebsd-11-stable/crypto/openssh/
H A Dssh-keyscan.c482 size_t bufsiz; local
487 bufsiz = sizeof(buf);
489 while (bufsiz-- &&
/freebsd-11-stable/contrib/ntp/util/
H A Dntp-keygen.c274 size_t bufsiz
279 REQUIRE(bufsiz > 0);
281 len = readlink(fname, fname, (int)bufsiz);
286 if (len > (int)bufsiz - 1)
287 len = (int)bufsiz - 1;
/freebsd-11-stable/sbin/ping6/
H A Dping6.c1398 size_t bufsiz)
1415 if (strlcat((char *)buf, ".", bufsiz) >= bufsiz)
1431 if (strlcat(buf, cresult, bufsiz) >= bufsiz)
1442 if (strlcat(buf, cresult, bufsiz) >= bufsiz)
2767 "[-a addrtype] [-b bufsiz] [-c count] [-g gateway]\n"
1397 dnsdecode(const u_char **sp, const u_char *ep, const u_char *base, char *buf, size_t bufsiz) argument
/freebsd-11-stable/sys/contrib/ngatm/netnatm/msg/
H A Duni_ie.c246 uni_print_init(char *buf, size_t bufsiz, struct unicx *cx) argument
257 cx->bufsiz = bufsiz;
266 if(cx->bufsiz > 1) {
268 cx->bufsiz--;
279 if(cx->bufsiz > 1) {
281 n = vsnprintf(cx->buf, cx->bufsiz, fmt, ap);
284 if(n < cx->bufsiz) {
285 cx->bufsiz -= n;
288 cx->buf += cx->bufsiz
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h794 #define __sanitizer_syscall_pre_readlink(path, buf, bufsiz) \
796 (long)(bufsiz))
797 #define __sanitizer_syscall_post_readlink(res, path, buf, bufsiz) \
799 (long)(bufsiz))
1651 #define __sanitizer_syscall_pre_readlinkat(dfd, path, buf, bufsiz) \
1653 (long)(buf), (long)(bufsiz))
1654 #define __sanitizer_syscall_post_readlinkat(res, dfd, path, buf, bufsiz) \
1656 (long)(buf), (long)(bufsiz))
2451 void __sanitizer_syscall_pre_impl_readlink(long path, long buf, long bufsiz);
2453 long bufsiz);
[all...]
/freebsd-11-stable/include/arpa/
H A Dnameser.h654 int ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *);
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c3644 int bufsiz, error; local
3651 bufsiz = MS(baparamset, IEEE80211_BAPS_BUFSIZ);
3652 if (bufsiz == 0)
3653 bufsiz = IEEE80211_AGGR_BAWMAX;
3655 bas->bastream, bufsiz, bufsiz, tap->txa_start);
3666 "%s: create failed, error %d, bufsiz %d TID %d "
3667 "htparam 0x%x\n", __func__, error, bufsiz,
3675 "%s: bastream %p assigned to txq %d TID %d bufsiz %d "
3677 bas->txq, tap->txa_tid, bufsiz, n
[all...]
/freebsd-11-stable/sys/cam/
H A Dcam_periph.c849 if (ccb->cdai.bufsiz == 0)
853 lengths[0] = ccb->cdai.bufsiz;
1045 lengths[0] = ccb->cdai.bufsiz;
/freebsd-11-stable/usr.bin/xlint/lint1/
H A Dtree.c2282 tyname(char *buf, size_t bufsiz, type_t *tp) argument
2310 (void)snprintf(buf, bufsiz, "%s", s);
2313 (void)snprintf(buf, bufsiz, "%s to %s", s,
2317 (void)snprintf(buf, bufsiz, "%s %s", s,
2322 (void)snprintf(buf, bufsiz, "%s %s", s,
2326 (void)snprintf(buf, bufsiz, "%s of %s[%d]", s,
/freebsd-11-stable/contrib/libxo/libxo/
H A Dlibxo.c1092 xo_buf_utf8_len (xo_handle_t *xop, const char *buf, ssize_t bufsiz) argument
1103 if (len > bufsiz) {
1105 b, len, bufsiz);
1748 ssize_t bufsiz = sizeof(buf); local
1753 rc = vsnprintf(bp, bufsiz, fmt, va_local);
1754 if (rc > bufsiz) {
1755 bufsiz = rc + BUFSIZ;
1756 bp = alloca(bufsiz);
1759 rc = vsnprintf(bp, bufsiz, fmt, va_local);
1766 rc2 = snprintf(cp, bufsiz
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dmap.c1853 static int bufsiz = 0; local
1862 if (data.dsize + old.dsize + 2 > bufsiz)
1866 bufsiz = data.dsize + old.dsize + 2;
1867 buf = sm_pmalloc_x(bufsiz);
1869 (void) sm_strlcpyn(buf, bufsiz, 3,
2570 static int bufsiz = 0; local
2580 if (data.size + old.size + 2 > (size_t) bufsiz)
2584 bufsiz = data.size + old.size + 2;
2585 buf = sm_pmalloc_x(bufsiz);
2587 (void) sm_strlcpyn(buf, bufsiz,
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.c900 args->bufsiz);
904 UIO_USERSPACE, args->bufsiz);

Completed in 610 milliseconds

123