/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.hton.d | 29 #pragma D option bufsize=1000
|
H A D | tst.index.d | 29 #pragma D option bufsize=1000
|
H A D | tst.rw.d | 29 #pragma D option bufsize=1000
|
H A D | tst.strchr.d | 29 #pragma D option bufsize=1000
|
H A D | tst.copyin.d | 38 * Options and Tunables/bufsize; 44 #pragma D option bufsize=32
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.NegativeBufSize.d | 31 * Verify the behavior of variations in bufsize. 34 * Options and Tunables/bufsize 37 * assigned to bufsize. 38 * 1. 0 > bufsize. 39 * 2. 0 == bufsize. 40 * 3. 0 < bufsize <= 7 41 * 4. 8 <= bufsize <= 31 42 * 5. 32 <= bufsize <= 47 43 * 6. 48 <= bufsize <= 71 44 * 7. 72 <= bufsize [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.alignring.d | 35 * Options and Tunables/bufsize; 40 #pragma D option bufsize=4k
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 124 size_t bufsize = 128; local 132 r = getgrnam_r(gname, &grent, buffer, bufsize, &result); 137 bufsize *= 2; 139 allocated = malloc(bufsize); 193 size_t bufsize = 128; local 201 r = getpwnam_r(uname, &pwent, buffer, bufsize, &result); 206 bufsize *= 2; 208 allocated = malloc(bufsize);
|
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | f_int.c | 56 int i, j, k, m, n, again, bufsize; local 63 bufsize = BIO_gets(bp, buf, size); 65 if (bufsize < 1) 67 i = bufsize; 131 bufsize = BIO_gets(bp, buf, size);
|
/freebsd-current/lib/libc/gen/ |
H A D | getpwent.c | 507 getpwent_r(struct passwd *pwd, char *buffer, size_t bufsize, argument 536 pwd, buffer, bufsize, &ret_errno); 545 getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, argument 575 name, pwd, buffer, bufsize, &ret_errno); 584 getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, argument 614 uid, pwd, buffer, bufsize, &ret_errno); 663 size_t bufsize, struct passwd **res) 665 return (getpwnam_r(key.name, pwd, buffer, bufsize, res)); 671 size_t bufsize, struct passwd **res) 673 return (getpwuid_r(key.uid, pwd, buffer, bufsize, re 662 wrap_getpwnam_r(union key key, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument 670 wrap_getpwuid_r(union key key, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument 678 wrap_getpwent_r(union key key __unused, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument 802 size_t bufsize, namesize; local 953 pwdb_parse_entry_v3(char *buffer, size_t bufsize, struct passwd *pwd, int *errnop) argument 1024 pwdb_parse_entry_v4(char *buffer, size_t bufsize, struct passwd *pwd, int *errnop) argument 1099 size_t bufsize, linesize; local 1214 nis_map(char *domain, enum nss_lookup_type how, char *buffer, size_t bufsize, int *master) argument 1240 nis_adjunct(char *domain, const char *name, char *buffer, size_t bufsize) argument 1294 size_t bufsize; local 1465 compat_use_template(struct passwd *pwd, struct passwd *template, char *buffer, size_t bufsize) argument 1577 compat_redispatch(struct compat_state *st, enum nss_lookup_type how, enum nss_lookup_type lookup_how, const char *name, const char *lookup_name, uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, int *errnop) argument 1740 size_t bufsize; local [all...] |
/freebsd-current/contrib/diff/src/ |
H A D | io.c | 106 current->bufsize = sizeof (word); 107 current->buffer = xmalloc (current->bufsize); 111 current->bufsize = buffer_lcm (sizeof (word), 114 current->buffer = xmalloc (current->bufsize); 122 file_block_read (current, current->bufsize); 174 if (current->bufsize < cc) 176 current->bufsize = cc; 195 file_block_read (current, current->bufsize - current->buffered); 199 while (current->buffered == current->bufsize) 201 if (PTRDIFF_MAX / 2 - sizeof (word) < current->bufsize) [all...] |
/freebsd-current/usr.bin/m4/ |
H A D | gnum4.c | 190 static size_t bufsize = 0; variable 212 while (current + n > bufsize) { 213 if (bufsize == 0) 214 bufsize = 1024; 215 else if (bufsize <= SIZE_MAX/2) { 216 bufsize *= 2; 220 buffer = xrealloc(buffer, bufsize, NULL); 229 if (current +1 > bufsize) { 230 if (bufsize == 0) 231 bufsize [all...] |
/freebsd-current/lib/libc/locale/ |
H A D | ldpart.c | 60 size_t namesize, bufsize; local 98 bufsize = namesize + st.st_size; 99 if ((lbuf = malloc(bufsize)) == NULL) {
|
/freebsd-current/tools/regression/netinet6/inet6_rth/ |
H A D | test_subr.c | 44 set_funcname(char *bufp, size_t bufsize) argument 47 bufsize < FUNCNAMESIZE ? bufsize : FUNCNAMESIZE);
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | sbpf.c | 47 static int bufsize = 0, timeout = 1; variable 107 if (ioctl(fd, BIOCGBLEN, &bufsize) == -1) 112 buf = (u_char*)malloc(bufsize);
|
/freebsd-current/sys/amd64/vmm/ |
H A D | vmm_stat.c | 135 vmm_stat_desc_copy(int index, char *buf, int bufsize) argument 144 snprintf(buf, bufsize, "%s[%d]", 147 strlcpy(buf, vst->desc, bufsize);
|
/freebsd-current/sys/arm64/vmm/ |
H A D | vmm_stat.c | 131 vmm_stat_desc_copy(int index, char *buf, int bufsize) argument 140 snprintf(buf, bufsize, "%s[%d]", 143 strlcpy(buf, vst->desc, bufsize);
|
/freebsd-current/lib/libcasper/services/cap_pwd/ |
H A D | cap_pwd.c | 93 size_t bufsize) 103 &bufsize); 110 &bufsize); 114 &bufsize); 118 &bufsize); 122 &bufsize); 126 &bufsize); 137 uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, 181 error = passwd_unpack(nvl, pwd, buffer, bufsize); 185 assert(bufsize 92 passwd_unpack(const nvlist_t *nvl, struct passwd *pwd, char *buffer, size_t bufsize) argument 136 cap_getpwcommon_r(cap_channel_t *chan, const char *cmd, const char *login, uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument 247 cap_getpwent_r(cap_channel_t *chan, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument 256 cap_getpwnam_r(cap_channel_t *chan, const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument 265 cap_getpwuid_r(cap_channel_t *chan, uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument [all...] |
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_alloc.cpp | 26 /* NOTE: bufsize must be a signed datatype */ 30 typedef kmp_int32 bufsize; typedef 32 typedef kmp_int64 bufsize; typedef 35 typedef ssize_t bufsize; typedef 46 static void bpool(kmp_info_t *th, void *buffer, bufsize len); 47 static void *bget(kmp_info_t *th, bufsize size); 48 static void *bgetz(kmp_info_t *th, bufsize size); 49 static void *bgetr(kmp_info_t *th, void *buffer, bufsize newsize); 53 bufsize pool_incr); 106 static bufsize bget_bin_siz [all...] |
/freebsd-current/lib/libc/rpc/ |
H A D | getrpcent.c | 115 size_t bufsize; member in struct:rpcent_state 210 size_t bufsize; local 241 bufsize = va_arg(ap, size_t); 267 if (bufsize <= linesize + _ALIGNBYTES + sizeof(char *)) { 274 aliases_size = (buffer + bufsize - 387 size_t bufsize; local 422 bufsize = va_arg(ap, size_t); 513 if (bufsize <= resultbuflen + 1 + _ALIGNBYTES + 522 aliases_size = (buffer + bufsize - (char *)aliases) / 807 size_t bufsize, struc 806 getrpcbyname_r(const char *name, struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **result) argument 839 getrpcbynumber_r(int number, struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **result) argument 872 getrpcent_r(struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **result) argument 915 wrap_getrpcbyname_r(union key key, struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **res) argument 922 wrap_getrpcbynumber_r(union key key, struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **res) argument 929 wrap_getrpcent_r(union key key __unused, struct rpcent *rpc, char *buffer, size_t bufsize, struct rpcent **res) argument [all...] |
/freebsd-current/lib/libc/net/ |
H A D | getservent.c | 133 size_t bufsize; member in struct:servent_state 221 parse_result(struct servent *serv, char *buffer, size_t bufsize, argument 227 if (bufsize <= resultbuflen + _ALIGNBYTES + sizeof(char *)) { 232 aliases_size = (buffer + bufsize - (char *)aliases) / sizeof(char *); 296 size_t bufsize; local 323 bufsize = va_arg(ap, size_t); 364 bufsize, errnop); 370 bufsize, errnop); 375 compat_src, serv, buffer, bufsize, errnop); 386 rv = parse_result(serv, buffer, bufsize, lin 501 size_t bufsize; local 673 size_t bufsize; local 1111 getservbyname_r(const char *name, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument 1148 getservbyport_r(int port, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument 1185 getservent_r(struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument 1281 wrap_getservbyname_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument 1289 wrap_getservbyport_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument 1297 wrap_getservent_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument [all...] |
/freebsd-current/contrib/lib9p/ |
H A D | rfuncs.c | 56 * exceeds your indicated <bufsize>. 61 * In this case <bufsize> is ignored (recommended: pass 0 here). 64 r_basename(const char *path, char *buf, size_t bufsize) argument 128 if (len >= bufsize) { 142 * to a user supplied buffer <buf> of the given size <bufsize>. 151 * exceeds your indicated <bufsize>. 156 * In this case <bufsize> is ignored (recommended: pass 0 here). 159 r_dirname(const char *path, char *buf, size_t bufsize) argument 214 if (len >= bufsize) {
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | sendfile3.sh | 83 int bufsize = 4096; 118 if ((buf = malloc(bufsize)) == NULL) 119 err(1, "malloc(%d), %s:%d", bufsize, __FILE__, __LINE__); 125 if ((n = read(msgsock, buf, bufsize)) < 0)
|
H A D | sendfile.sh | 73 int bufsize = 4096; 109 if ((buf = malloc(bufsize)) == NULL) 110 err(1, "malloc(%d), %s:%d", bufsize, __FILE__, __LINE__); 116 if ((n = read(msgsock, buf, bufsize)) < 0)
|
/freebsd-current/stand/efi/boot1/ |
H A D | boot_module.h | 88 void **buf, size_t *bufsize);
|