/freebsd-9.3-release/tools/regression/bpf/bpf_filter/tests/ |
H A D | test0069.h | 24 u_int buflen = 0; variable
|
H A D | test0070.h | 24 u_int buflen = 0; variable
|
H A D | test0072.h | 24 u_int buflen = 0; variable
|
H A D | test0073.h | 24 u_int buflen = 0; variable
|
H A D | test0074.h | 24 u_int buflen = sizeof(pkt); variable
|
H A D | test0075.h | 23 u_int buflen = sizeof(pkt); variable
|
H A D | test0077.h | 23 u_int buflen = sizeof(pkt); variable
|
H A D | test0081.h | 24 u_int buflen = sizeof(pkt); variable
|
H A D | test0083.h | 21 u_int buflen = sizeof(pkt); variable
|
/freebsd-9.3-release/tools/regression/pipe/ |
H A D | bigpipetest.c | 18 void write_frame(int fd, char *buf, unsigned long buflen) argument 23 while (buflen) { 35 i = write(fd, buf, buflen); 42 buflen -= i;
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_parse.h | 208 * representation is put into 'buf', which has at least *buflen bytes. 211 * Upon return, *buflen contains the length of the new binary data, and 216 * 0 Success; *buflen holds the length of the data 221 * ERANGE Output was longer than *buflen bytes 228 u_char *buf, int *buflen); 233 * The results are put into 'buf', which is at least buflen bytes long. 239 * ERANGE Output was longer than buflen bytes 242 const u_char *data, int *off, char *buf, int buflen); 247 * Store the result in 'buf', which is at least *buflen bytes long. 248 * Upon return *buflen contain [all...] |
H A D | ng_parse.c | 106 u_char *const buf, int *buflen, enum comptype ctype); 112 int *buflen, enum comptype ctype); 148 const char *string, int *off, u_char *buf, int *buflen) 150 return INVOKE(type, parse)(type, string, off, buf, buf, buflen); 169 ng_parse_getDefault(const struct ng_parse_type *type, u_char *buf, int *buflen) argument 175 return (*func)(type, buf, buf, buflen); 186 u_char *const buf, int *buflen) 188 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); 200 const u_char *const start, u_char *buf, int *buflen) 205 "{}", &off, start, buf, buflen, CT_STRUC 147 ng_parse(const struct ng_parse_type *type, const char *string, int *off, u_char *buf, int *buflen) argument 184 ng_struct_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 199 ng_struct_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 238 ng_fixedarray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 255 ng_fixedarray_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 287 ng_array_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 302 ng_array_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 334 ng_int8_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 385 ng_int8_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 429 ng_int16_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 481 ng_int16_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 525 ng_int32_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 580 ng_int32_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 624 ng_int64_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 675 ng_int64_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 719 ng_string_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 756 ng_string_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 782 ng_fixedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 819 ng_fixedstring_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 886 ng_sizedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 929 ng_sizedstring_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 954 ng_ipaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 989 ng_ipaddr_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 1016 ng_enaddr_parse(const struct ng_parse_type *type, const char *s, int *const off, const u_char *const start, u_char *const buf, int *const buflen) argument 1093 ng_bytearray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 1142 ng_bytearray_getDefault(const struct ng_parse_type *type, const u_char *const start, u_char *buf, int *buflen) argument 1199 ng_parse_composite(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen, const enum comptype ctype) argument 1467 ng_get_composite_elem_default(const struct ng_parse_type *type, int index, const u_char *const start, u_char *buf, int *buflen, const enum comptype ctype) argument [all...] |
/freebsd-9.3-release/usr.bin/lsvfs/ |
H A D | lsvfs.c | 46 size_t buflen; local 63 if (sysctlbyname("vfs.conflist", NULL, &buflen, NULL, 0) < 0) 65 xvfsp = malloc(buflen); 68 if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0) 70 cnt = buflen / sizeof(struct xvfsconf);
|
/freebsd-9.3-release/usr.sbin/ofwdump/ |
H A D | ofw_util.c | 125 ofw_firstprop(int fd, phandle_t node, char *buf, int buflen) argument 128 return (ofw_nextprop(fd, node, NULL, buf, buflen)); 132 ofw_nextprop(int fd, phandle_t node, const char *prev, char *buf, int buflen) argument 139 d.of_buflen = buflen; 161 ofw_getprop(int fd, phandle_t node, const char *name, void *buf, int buflen) argument 168 d.of_buflen = buflen; 176 int buflen) 183 d.of_buflen = buflen; 184 d.of_buf = ofw_malloc(buflen); 185 memcpy(d.of_buf, buf, buflen); 175 ofw_setprop(int fd, phandle_t node, const char *name, const void *buf, int buflen) argument 204 ofw_getprop_alloc(int fd, phandle_t node, const char *name, void **buf, int *buflen, int reserve) argument [all...] |
/freebsd-9.3-release/lib/libugidfw/ |
H A D | ugidfw.c | 60 bsde_rule_to_string(struct mac_bsdextended_rule *rule, char *buf, size_t buflen) argument 70 left = buflen; 511 size_t buflen, char *errstr){ 527 len = snprintf(errstr, buflen, 545 len = snprintf(errstr, buflen, 560 size_t buflen, char *errstr){ 576 len = snprintf(errstr, buflen, 594 len = snprintf(errstr, buflen, 609 struct mac_bsdextended_subject *subject, size_t buflen, char *errstr) 634 len = snprintf(errstr, buflen, "ui 510 bsde_parse_uidrange(char *spec, uid_t *min, uid_t *max, size_t buflen, char *errstr) argument 559 bsde_parse_gidrange(char *spec, gid_t *min, gid_t *max, size_t buflen, char *errstr) argument 608 bsde_parse_subject(int argc, char *argv[], struct mac_bsdextended_subject *subject, size_t buflen, char *errstr) argument 725 bsde_parse_type(char *spec, int *type, size_t buflen, char *errstr) argument 769 bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr) argument 786 bsde_parse_object(int argc, char *argv[], struct mac_bsdextended_object *object, size_t buflen, char *errstr) argument 946 bsde_parse_mode(int argc, char *argv[], mode_t *mode, size_t buflen, char *errstr) argument 994 bsde_parse_rule(int argc, char *argv[], struct mac_bsdextended_rule *rule, size_t buflen, char *errstr) argument 1065 bsde_parse_rule_string(const char *string, struct mac_bsdextended_rule *rule, size_t buflen, char *errstr) argument 1106 bsde_check_version(size_t buflen, char *errstr) argument 1128 bsde_get_rule_count(size_t buflen, char *errstr) argument 1150 bsde_get_rule_slots(size_t buflen, char *errstr) argument 1215 bsde_delete_rule(int rulenum, size_t buflen, char *errstr) argument 1248 bsde_set_rule(int rulenum, struct mac_bsdextended_rule *rule, size_t buflen, char *errstr) argument 1281 bsde_add_rule(int *rulenum, struct mac_bsdextended_rule *rule, size_t buflen, char *errstr) argument [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | krb4encpwd.c | 351 krb4encpwd_printsub(data, cnt, buf, buflen) 353 int cnt, buflen; 357 buf[buflen-1] = '\0'; /* make sure it's NULL terminated */ 358 buflen -= 1; 362 strlcpy((char *)buf, " REJECT ", buflen); 366 strlcpy((char *)buf, " ACCEPT ", buflen); 368 BUMP(buf, buflen); 371 ADDC(buf, buflen, '"'); 373 ADDC(buf, buflen, data[i]); 374 ADDC(buf, buflen, '"'); [all...] |
H A D | rsaencpwd.c | 406 rsaencpwd_printsub(data, cnt, buf, buflen) 408 int cnt, buflen; 412 buf[buflen-1] = '\0'; /* make sure it's NULL terminated */ 413 buflen -= 1; 417 strlcpy((char *)buf, " REJECT ", buflen); 421 strlcpy((char *)buf, " ACCEPT ", buflen); 423 BUMP(buf, buflen); 426 ADDC(buf, buflen, '"'); 428 ADDC(buf, buflen, data[i]); 429 ADDC(buf, buflen, '"'); [all...] |
/freebsd-9.3-release/bin/kenv/ |
H A D | kenv.c | 132 int buflen, envlen; local 138 buflen = envlen * 120 / 100; 139 buf = malloc(buflen + 1); 142 memset(buf, 0, buflen + 1); /* Be defensive */ 143 envlen = kenv(KENV_DUMP, NULL, buf, buflen); 148 if (envlen > buflen)
|
/freebsd-9.3-release/contrib/telnet/libtelnet/ |
H A D | kerberos.c | 420 kerberos4_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 425 buf[buflen-1] = '\0'; /* make sure its NULL terminated */ 426 buflen -= 1; 430 strncpy((char *)buf, " REJECT ", buflen); 434 strncpy((char *)buf, " ACCEPT ", buflen); 436 BUMP(buf, buflen); 439 ADDC(buf, buflen, '"'); 441 ADDC(buf, buflen, data[i]); 442 ADDC(buf, buflen, '"'); 443 ADDC(buf, buflen, '\ [all...] |
H A D | rsaencpwd.c | 405 rsaencpwd_printsub(data, cnt, buf, buflen) 407 int cnt, buflen; 412 buf[buflen-1] = '\0'; /* make sure its NULL terminated */ 413 buflen -= 1; 417 strncpy((char *)buf, " REJECT ", buflen); 421 strncpy((char *)buf, " ACCEPT ", buflen); 423 BUMP(buf, buflen); 426 ADDC(buf, buflen, '"'); 428 ADDC(buf, buflen, data[i]); 429 ADDC(buf, buflen, '"'); [all...] |
/freebsd-9.3-release/contrib/bind9/lib/lwres/ |
H A D | gethost.c | 230 char *buf, int buflen, int *error) 238 res = copytobuf(he, resbuf, buf, buflen); 250 struct hostent *resbuf, char *buf, int buflen, 259 res = copytobuf(he, resbuf, buf, buflen); 270 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) { argument 273 UNUSED(buflen); 296 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) { argument 316 if (len > buflen) { 229 lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, int *error) argument 249 lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error) argument
|
/freebsd-9.3-release/contrib/wpa/src/ap/ |
H A D | wps_hostapd.h | 30 char *buf, size_t buflen); 55 char *buf, size_t buflen) 53 hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr, char *buf, size_t buflen) argument
|
H A D | ieee802_11.h | 30 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen); 32 char *buf, size_t buflen); 35 size_t buflen) 42 char *buf, size_t buflen) 34 ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) argument 40 ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | fileupd.c | 45 extendline(char **buf, int * buflen, int needed) argument 47 if (needed > *buflen) { 52 *buflen = needed; 54 return *buflen; 58 extendarray(char ***buf, int * buflen, int needed) argument 60 if (needed > *buflen) { 65 *buflen = needed; 67 return *buflen;
|
/freebsd-9.3-release/sys/net/ |
H A D | bpf_filter.c | 171 * buflen is the amount of data present 174 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) argument 207 if (k > buflen || sizeof(int32_t) > buflen - k) { 211 if (buflen != 0) 231 if (k > buflen || sizeof(int16_t) > buflen - k) { 235 if (buflen != 0) 248 if (k >= buflen) { 252 if (buflen ! [all...] |