Searched refs:lenp (Results 26 - 50 of 104) sorted by relevance

12345

/freebsd-current/contrib/nvi/common/
H A Dmsg.c774 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 Dng_parse.h511 * 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 Dng_parse.c121 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 Dnetaddr.h66 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 Denc_des.c417 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 Denc_des.c407 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 Dsshbuf.h189 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 Dssh-ecdsa.c227 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 Dauthfd.h64 u_char **sigp, size_t *lenp,
H A Dssh-sk-client.c231 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 Dssh-dss.c260 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 Dssh-rsa.c392 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 Din6_cksum.c148 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 Dex_util.c53 ex_getline(SCR *sp, FILE *fp, size_t *lenp) argument
77 *lenp = off;
/freebsd-current/lib/libiscsiutil/
H A Dkeys.c107 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 Dspl-proc.c64 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 Dip6opt.c501 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 Dobjset.c243 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 Dkrb5_mech.c124 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 Dpcap-npf.c160 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 Dvmware_guestrpc.c151 vmware_guestrpc_recv_len(int channel, size_t *lenp) argument
159 *lenp = VMW_GUESTRPC_EBX(p);
/freebsd-current/sys/powerpc/powernv/
H A Dopal_console.c140 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 Dpnp.c525 * 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 Dsmb_trantcp.c74 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 Dif.c164 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;

Completed in 247 milliseconds

12345