Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-13.1/sys/contrib/libfdt/
H A Dfdt_ro.c298 if (lenp) in fdt_get_property_by_offset_()
299 *lenp = err; in fdt_get_property_by_offset_()
305 if (lenp) in fdt_get_property_by_offset_()
319 if (lenp) in fdt_get_property_by_offset()
351 if (lenp) in fdt_get_property_namelen_()
352 *lenp = offset; in fdt_get_property_namelen_()
365 if (lenp) in fdt_get_property_namelen()
701 if (lenp) in fdt_stringlist_get()
714 if (lenp) in fdt_stringlist_get()
721 if (lenp) in fdt_stringlist_get()
[all …]
H A Dlibfdt.h548 int *lenp);
565 int namelen, int *lenp);
597 const char *name, int *lenp);
600 int *lenp) in fdt_get_property_w() argument
639 const char **namep, int *lenp);
655 const char *name, int namelen, int *lenp);
658 int *lenp) in fdt_getprop_namelen_w() argument
661 namelen, lenp); in fdt_getprop_namelen_w()
694 const char *name, int *lenp);
696 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
H A Dfdt.c96 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
121 if (!lenp) in fdt_next_tag()
125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
126 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
127 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
/freebsd-13.1/usr.sbin/rtadvd/
H A Dcontrol.c348 size_t *lenp; in cm_bin2pl() local
356 len = *lenp++; in cm_bin2pl()
357 p = (char *)lenp; in cm_bin2pl()
371 len = *lenp++; in cm_bin2pl()
372 p = (char *)lenp; in cm_bin2pl()
386 len = *lenp++; in cm_bin2pl()
387 p = (char *)lenp; in cm_bin2pl()
408 size_t *lenp; in cm_pl2bin() local
438 *lenp++ = '\0'; in cm_pl2bin()
449 *lenp++ = '\0'; in cm_pl2bin()
[all …]
/freebsd-13.1/sys/powerpc/powernv/
H A Dopal_dbg.c103 uint64_t lenp, bufp; in uart_opal_dbg_getc() local
107 lenp = vtophys(&len); in uart_opal_dbg_getc()
110 lenp = (uint64_t)&len; in uart_opal_dbg_getc()
114 err = opal_call(OPAL_CONSOLE_READ, termnum, lenp, bufp); in uart_opal_dbg_getc()
129 uint64_t lenp, bufp; in uart_opal_dbg_putc() local
134 lenp = vtophys(&len); in uart_opal_dbg_putc()
137 lenp = (uint64_t)&len; in uart_opal_dbg_putc()
142 err = opal_call(OPAL_CONSOLE_WRITE, termnum, lenp, bufp); in uart_opal_dbg_putc()
/freebsd-13.1/crypto/openssh/
H A Dsshbuf-getput-basic.c195 if (lenp != NULL) in sshbuf_get_string()
196 *lenp = 0; in sshbuf_get_string()
208 if (lenp != NULL) in sshbuf_get_string()
209 *lenp = len; in sshbuf_get_string()
223 *lenp = 0; in sshbuf_get_string_direct()
229 *lenp = len; in sshbuf_get_string_direct()
241 size_t *lenp) in sshbuf_peek_string_direct() argument
249 *lenp = 0; in sshbuf_peek_string_direct()
266 *lenp = len; in sshbuf_peek_string_direct()
280 *lenp = 0; in sshbuf_get_cstring()
[all …]
H A Dssh-xmss.c39 ssh_xmss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_xmss_sign() argument
48 if (lenp != NULL) in ssh_xmss_sign()
49 *lenp = 0; in ssh_xmss_sign()
88 if (lenp != NULL) in ssh_xmss_sign()
89 *lenp = len; in ssh_xmss_sign()
101 if (lenp != NULL) in ssh_xmss_sign()
102 *lenp = 0; in ssh_xmss_sign()
H A Dssh-ed25519.c36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ed25519_sign() argument
45 if (lenp != NULL) in ssh_ed25519_sign()
46 *lenp = 0; in ssh_ed25519_sign()
80 if (lenp != NULL) in ssh_ed25519_sign()
81 *lenp = len; in ssh_ed25519_sign()
H A Dssh-ecdsa.c50 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ecdsa_sign() argument
61 if (lenp != NULL) in ssh_ecdsa_sign()
62 *lenp = 0; in ssh_ecdsa_sign()
101 if (lenp != NULL) in ssh_ecdsa_sign()
102 *lenp = len; in ssh_ecdsa_sign()
H A Dssh-dss.c52 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_dss_sign() argument
62 if (lenp != NULL) in ssh_dss_sign()
63 *lenp = 0; in ssh_dss_sign()
109 if (lenp != NULL) in ssh_dss_sign()
110 *lenp = len; in ssh_dss_sign()
H A Dpacket.h200 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
201 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
202 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
203 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
209 const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
H A Dsshkey.h175 int, u_char **retp, size_t *lenp);
287 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
292 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
297 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
306 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
315 int ssh_xmss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
H A Dsshbuf.h204 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
205 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
217 size_t *lenp);
224 size_t *lenp);
232 const u_char **valp, size_t *lenp);
/freebsd-13.1/contrib/less/
H A Dcvt.c58 cvt_text(odst, osrc, chpos, lenp, ops) in cvt_text() argument
62 int *lenp;
71 if (lenp != NULL)
72 src_end = osrc + *lenp;
115 if (lenp != NULL)
116 *lenp = (int) (edst - odst);
/freebsd-13.1/lib/libc/stdio/
H A Dfgetwln.c48 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) in fgetwln_l() argument
83 *lenp = len; in fgetwln_l()
90 *lenp = 0; in fgetwln_l()
96 fgetwln(FILE * __restrict fp, size_t *lenp) in fgetwln() argument
98 return fgetwln_l(fp, lenp, __get_locale()); in fgetwln()
H A Dfgetln.c80 fgetln(FILE *fp, size_t *lenp) in fgetln() argument
91 *lenp = 0; in fgetln()
105 *lenp = len = p - fp->_p; in fgetln()
155 *lenp = len; in fgetln()
162 *lenp = 0; /* ??? */ in fgetln()
/freebsd-13.1/contrib/nvi/common/
H A Dline.c37 size_t *lenp, /* Length store. */ in db_eget() argument
46 if (!db_get(sp, lno, 0, pp, lenp)) in db_eget()
120 if (lenp != NULL) in db_get()
121 *lenp = tp->len; in db_get()
139 if (lenp != NULL) in db_get()
140 *lenp = ep->c_len; in db_get()
158 err3: if (lenp != NULL) in db_get()
159 *lenp = 0; in db_get()
185 if (lenp != NULL) in db_get()
186 *lenp = wlen; in db_get()
[all …]
H A Dmsg.c774 msg_cmsg(SCR *sp, cmsg_t which, size_t *lenp) in msg_cmsg() argument
778 return (msg_cat(sp, "268|confirm? [ynq]", lenp)); in msg_cmsg()
784 lenp)); in msg_cmsg()
786 return (msg_cat(sp, "161|Press Enter to continue: ", lenp)); in msg_cmsg()
788 return (msg_cat(sp, "275| cont?", lenp)); in msg_cmsg()
791 "271|Press any key to continue [q to quit]: ", lenp)); in msg_cmsg()
809 msg_cat(SCR *sp, const char *str, size_t *lenp) in msg_cat() argument
828 if (lenp != NULL) in msg_cat()
829 *lenp = strlen(p); in msg_cat()
833 if (lenp != NULL) in msg_cat()
[all …]
/freebsd-13.1/stand/libsa/
H A Dbootparam.c327 uint32_t *lenp; in xdr_string_encode() local
332 lenp = (uint32_t *) *pkt; in xdr_string_encode()
333 *pkt += sizeof(*lenp); in xdr_string_encode()
334 *lenp = htonl(len); in xdr_string_encode()
346 uint32_t *lenp; in xdr_string_decode() local
352 lenp = (uint32_t *) *pkt; in xdr_string_decode()
353 *pkt += sizeof(*lenp); in xdr_string_decode()
354 slen = ntohl(*lenp); in xdr_string_decode()
/freebsd-13.1/lib/libprocstat/
H A Dcore.c86 enum psc_type type, void *buf, size_t *lenp);
173 size_t *lenp) in procstat_core_get() argument
228 len = MIN(len, *lenp); in procstat_core_get()
248 len = *lenp; in procstat_core_get()
254 *lenp -= len; in procstat_core_get()
258 *lenp = len; in procstat_core_get()
263 *lenp = curlen; in procstat_core_get()
344 void *args, size_t *lenp) in get_args() argument
382 nchr = MIN(ARG_MAX, *lenp); in get_args()
422 *lenp = done; in get_args()
/freebsd-13.1/contrib/openpam/lib/libpam/
H A Dopenpam_readline.c58 openpam_readline(FILE *f, int *lineno, size_t *lenp) in openpam_readline() argument
101 if (lenp != NULL) in openpam_readline()
102 *lenp = len; in openpam_readline()
H A Dopenpam_readlinev.c53 openpam_readlinev(FILE *f, int *lineno, int *lenp) in openpam_readlinev() argument
103 if (lenp != NULL) in openpam_readlinev()
104 *lenp = wordvlen; in openpam_readlinev()
H A Dopenpam_readword.c54 openpam_readword(FILE *f, int *lineno, size_t *lenp) in openpam_readword() argument
143 if (lenp != NULL) in openpam_readword()
144 *lenp = len; in openpam_readword()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-proc.c59 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_domemused() argument
71 *ppos += *lenp; in proc_domemused()
78 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_domemused()
87 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doslab() argument
100 *ppos += *lenp; in proc_doslab()
126 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_doslab()
134 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dohostid() argument
148 proc_dostring(&dummy, write, buffer, lenp, ppos); in proc_dohostid()
/freebsd-13.1/contrib/telnet/libtelnet/
H A Denc_des.c409 cfb64_keyid(int dir, unsigned char *kp, int *lenp) in cfb64_keyid() argument
411 return(fb64_keyid(dir, kp, lenp, &fb[CFB])); in cfb64_keyid()
415 ofb64_keyid(int dir, unsigned char *kp, int *lenp) in ofb64_keyid() argument
417 return(fb64_keyid(dir, kp, lenp, &fb[OFB])); in ofb64_keyid()
421 fb64_keyid(int dir, unsigned char *kp, int *lenp, struct fb *fbp) in fb64_keyid() argument
425 if (*lenp != 1 || (*kp != '\0')) { in fb64_keyid()
426 *lenp = 0; in fb64_keyid()

1234