/freebsd-current/contrib/nvi/common/ |
H A D | msg.c | 774 msg_cmsg(SCR *sp, cmsg_t which, size_t *lenp) argument 778 return (msg_cat(sp, "268|confirm? [ynq]", lenp)); 780 return (msg_cat(sp, "269|Press any key to continue: ", lenp)); 784 lenp)); 786 return (msg_cat(sp, "161|Press Enter to continue: ", lenp)); 788 return (msg_cat(sp, "275| cont?", lenp)); 791 "271|Press any key to continue [q to quit]: ", lenp)); 809 msg_cat(SCR *sp, const char *str, size_t *lenp) argument 828 if (lenp != NULL) 829 *lenp [all...] |
/freebsd-current/sys/netgraph/ |
H A D | ng_parse.h | 511 * and '*lenp' the length. If error, '*startp' points at the 515 int *startp, int *lenp); 522 * not a string token, or parse or other error. Otherwise, *lenp contains 527 int *lenp, int *slenp);
|
H A D | ng_parse.c | 121 static int ng_parse_skip_value(const char *s, int off, int *lenp); 1642 ng_parse_skip_value(const char *s, int off0, int *lenp) argument 1671 *lenp = off - off0; 1678 * and *lenp the length. 1681 ng_parse_get_token(const char *s, int *startp, int *lenp) argument 1690 *lenp = 0; 1693 *lenp = 1; 1696 *lenp = 1; 1699 *lenp = 1; 1702 *lenp 1727 ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) argument [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | netaddr.h | 66 isc_netaddr_masktoprefixlen(const isc_netaddr_t *s, unsigned int *lenp); 68 * Convert a netmask in 's' into a prefix length in '*lenp'.
|
/freebsd-current/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | enc_des.c | 417 int cfb64_keyid(int dir, unsigned char *kp, int *lenp) argument 419 return(fb64_keyid(dir, kp, lenp, &fb[CFB])); 422 int ofb64_keyid(int dir, unsigned char *kp, int *lenp) argument 424 return(fb64_keyid(dir, kp, lenp, &fb[OFB])); 427 int fb64_keyid(int dir, unsigned char *kp, int *lenp, struct fb *fbp) argument 431 if (*lenp != 1 || (*kp != '\0')) { 432 *lenp = 0;
|
/freebsd-current/contrib/telnet/libtelnet/ |
H A D | enc_des.c | 407 cfb64_keyid(int dir, unsigned char *kp, int *lenp) argument 409 return(fb64_keyid(dir, kp, lenp, &fb[CFB])); 413 ofb64_keyid(int dir, unsigned char *kp, int *lenp) argument 415 return(fb64_keyid(dir, kp, lenp, &fb[OFB])); 419 fb64_keyid(int dir, unsigned char *kp, int *lenp, struct fb *fbp) argument 423 if (*lenp != 1 || (*kp != '\0')) { 424 *lenp = 0;
|
/freebsd-current/crypto/openssh/ |
H A D | sshbuf.h | 189 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp); 190 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp); 202 size_t *lenp); 209 size_t *lenp); 217 const u_char **valp, size_t *lenp);
|
H A D | ssh-ecdsa.c | 227 u_char **sigp, size_t *lenp, 239 if (lenp != NULL) 240 *lenp = 0; 279 if (lenp != NULL) 280 *lenp = len; 226 ssh_ecdsa_sign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t dlen, const char *alg, const char *sk_provider, const char *sk_pin, u_int compat) argument
|
H A D | authfd.h | 64 u_char **sigp, size_t *lenp,
|
H A D | ssh-sk-client.c | 231 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, 238 *lenp = 0; 267 if ((r = sshbuf_get_string(resp, sigp, lenp)) != 0) { 282 freezero(*sigp, *lenp); 284 *lenp = 0; 230 sshsk_sign(const char *provider, struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat, const char *pin) argument
|
H A D | ssh-dss.c | 260 u_char **sigp, size_t *lenp, 271 if (lenp != NULL) 272 *lenp = 0; 318 if (lenp != NULL) 319 *lenp = len; 259 ssh_dss_sign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, const char *sk_provider, const char *sk_pin, u_int compat) argument
|
H A D | ssh-rsa.c | 392 u_char **sigp, size_t *lenp, 403 if (lenp != NULL) 404 *lenp = 0; 463 if (lenp != NULL) 464 *lenp = len; 391 ssh_rsa_sign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, const char *sk_provider, const char *sk_pin, u_int compat) argument
|
/freebsd-current/sys/netinet6/ |
H A D | in6_cksum.c | 148 in6_cksumdata(void *data, int *lenp, uint8_t *residp, int rlen) argument 156 KASSERT(*lenp >= 0, ("%s: negative len %d", __func__, *lenp)); 159 len = *lenp; 228 *lenp = len & 1;
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_util.c | 53 ex_getline(SCR *sp, FILE *fp, size_t *lenp) argument 77 *lenp = off;
|
/freebsd-current/lib/libiscsiutil/ |
H A D | keys.c | 107 keys_save(struct keys *keys, char **datap, size_t *lenp) argument 135 *lenp = len;
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-proc.c | 64 void __user *buffer, size_t *lenp, loff_t *ppos) 76 *ppos += *lenp; 83 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); 92 void __user *buffer, size_t *lenp, loff_t *ppos) 105 *ppos += *lenp; 131 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); 139 void __user *buffer, size_t *lenp, loff_t *ppos) 153 proc_dostring(&dummy, write, buffer, lenp, ppos); 63 proc_domemused(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 91 proc_doslab(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 138 proc_dohostid(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/freebsd-current/lib/libc/net/ |
H A D | ip6opt.c | 501 socklen_t *lenp, void **databufp) 537 *lenp = optlen - 2; 550 socklen_t *lenp, void **databufp) 577 *lenp = optlen - 2; 500 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, u_int8_t *typep, socklen_t *lenp, void **databufp) argument 549 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, u_int8_t type, socklen_t *lenp, void **databufp) argument
|
/freebsd-current/usr.sbin/makefs/zfs/ |
H A D | objset.c | 243 objset_space_alloc(zfs_opt_t *zfs, zfs_objset_t *os, off_t *lenp) argument 247 loc = vdev_space_alloc(zfs, lenp); 248 os->space += *lenp;
|
/freebsd-current/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 124 get_uint16(const uint8_t **pp, size_t *lenp) argument 129 if (*lenp < 2) 134 *lenp = *lenp - 2; 140 get_uint32(const uint8_t **pp, size_t *lenp) argument 145 if (*lenp < 4) 150 *lenp = *lenp - 4; 156 get_data(const uint8_t **pp, size_t *lenp, struct krb5_data *dp) argument 158 size_t sz = get_uint32(pp, lenp); 181 get_address(const uint8_t **pp, size_t *lenp, struct krb5_address *ka) argument 195 get_keyblock(const uint8_t **pp, size_t *lenp, struct krb5_keyblock *kk) argument [all...] |
/freebsd-current/contrib/libpcap/ |
H A D | pcap-npf.c | 160 oid_get_request(ADAPTER *adapter, bpf_u_int32 oid, void *data, size_t *lenp, argument 167 * It should be big enough to hold "*lenp" bytes of data; it 172 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp); 183 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */ 194 *lenp = oid_data_arg->Length; 199 memcpy(data, oid_data_arg->Data, *lenp); 351 pcap_oid_get_request_npf(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp) argument 355 return (oid_get_request(pw->adapter, oid, data, lenp, p->errbuf)); 360 size_t *lenp) 367 * It should be big enough to hold "*lenp" byte 359 pcap_oid_set_request_npf(pcap_t *p, bpf_u_int32 oid, const void *data, size_t *lenp) argument [all...] |
/freebsd-current/sys/x86/x86/ |
H A D | vmware_guestrpc.c | 151 vmware_guestrpc_recv_len(int channel, size_t *lenp) argument 159 *lenp = VMW_GUESTRPC_EBX(p);
|
/freebsd-current/sys/powerpc/powernv/ |
H A D | opal_console.c | 140 uart_opal_real_map_outbuffer(uint64_t *bufferp, uint64_t *lenp) argument 152 opalcons_buffer.size = *(uint64_t *)(*lenp) = 153 min(sizeof(opalcons_buffer.tmpbuf), *(uint64_t *)(*lenp)); 155 *(uint64_t *)(*lenp)); 157 *lenp = (uint64_t)&opalcons_buffer.size;
|
/freebsd-current/sys/isa/ |
H A D | pnp.c | 525 * bytes already in the buffer should be passed in '*lenp'. The memory 527 * number of bytes of resources in '*spacep' and '*lenp' respectively. 534 pnp_read_bytes(int amount, u_char **resourcesp, int *spacep, int *lenp) argument 539 int len = *lenp; 569 *lenp = len; 579 * in '*spacep' and '*lenp' respectively. 582 pnp_read_resources(u_char **resourcesp, int *spacep, int *lenp) argument 625 *lenp = len;
|
/freebsd-current/sys/netsmb/ |
H A D | smb_trantcp.c | 74 static int nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, 288 nbssn_recvhdr(struct nbpcb *nbp, int *lenp, argument 323 *lenp = len; 328 nbssn_recv(struct nbpcb *nbp, struct mbuf **mpp, int *lenp, argument 442 *lenp = len;
|
/freebsd-current/usr.sbin/rtadvd/ |
H A D | if.c | 164 get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter) argument 170 *lenp = 0; 217 *lenp = rtm->rtm_msglen; 241 *lenp = ifam->ifam_msglen; 247 *lenp = rtm->rtm_msglen;
|