Home
last modified time | relevance | path

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

1234

/freebsd-13-stable/sys/contrib/libfdt/
HDfdt_ro.c292 int *lenp) in fdt_get_property_by_offset_() argument
298 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_()
306 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset_()
313 int *lenp) in fdt_get_property_by_offset() argument
319 if (lenp) in fdt_get_property_by_offset()
320 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_by_offset()
324 return fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_by_offset()
331 int *lenp, in fdt_get_property_namelen_() argument
[all …]
HDlibfdt.h449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
548 int *lenp);
565 int namelen, int *lenp);
597 const char *name, int *lenp);
600 int *lenp) in fdt_get_property_w() argument
603 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
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()
[all …]
HDfdt.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-stable/usr.sbin/rtadvd/
HDcontrol.c346 size_t *lenp; in cm_bin2pl() local
353 lenp = (size_t *)p; in cm_bin2pl()
354 len = *lenp++; in cm_bin2pl()
355 p = (char *)lenp; in cm_bin2pl()
368 lenp = (size_t *)p; in cm_bin2pl()
369 len = *lenp++; in cm_bin2pl()
370 p = (char *)lenp; in cm_bin2pl()
383 lenp = (size_t *)p; in cm_bin2pl()
384 len = *lenp++; in cm_bin2pl()
385 p = (char *)lenp; in cm_bin2pl()
[all …]
/freebsd-13-stable/sys/powerpc/powernv/
HDopal_dbg.c101 uint64_t lenp, bufp; in uart_opal_dbg_getc() local
105 lenp = vtophys(&len); in uart_opal_dbg_getc()
108 lenp = (uint64_t)&len; in uart_opal_dbg_getc()
112 err = opal_call(OPAL_CONSOLE_READ, termnum, lenp, bufp); in uart_opal_dbg_getc()
127 uint64_t lenp, bufp; in uart_opal_dbg_putc() local
132 lenp = vtophys(&len); in uart_opal_dbg_putc()
135 lenp = (uint64_t)&len; in uart_opal_dbg_putc()
140 err = opal_call(OPAL_CONSOLE_WRITE, termnum, lenp, bufp); in uart_opal_dbg_putc()
/freebsd-13-stable/crypto/openssh/
HDsshbuf-getput-basic.c187 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string() argument
195 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()
214 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct() argument
222 if (lenp != NULL) in sshbuf_get_string_direct()
223 *lenp = 0; in sshbuf_get_string_direct()
228 if (lenp != NULL) in sshbuf_get_string_direct()
229 *lenp = len; in sshbuf_get_string_direct()
[all …]
HDssh-xmss.c202 u_char **sigp, size_t *lenp, in ssh_xmss_sign() argument
212 if (lenp != NULL) in ssh_xmss_sign()
213 *lenp = 0; in ssh_xmss_sign()
252 if (lenp != NULL) in ssh_xmss_sign()
253 *lenp = len; in ssh_xmss_sign()
265 if (lenp != NULL) in ssh_xmss_sign()
266 *lenp = 0; in ssh_xmss_sign()
HDpacket.h203 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
204 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
205 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
206 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
212 const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
HDssh-ed25519.c147 u_char **sigp, size_t *lenp, in ssh_ed25519_sign() argument
157 if (lenp != NULL) in ssh_ed25519_sign()
158 *lenp = 0; in ssh_ed25519_sign()
192 if (lenp != NULL) in ssh_ed25519_sign()
193 *lenp = len; in ssh_ed25519_sign()
HDsshbuf.h190 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
191 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
203 size_t *lenp);
210 size_t *lenp);
218 const u_char **valp, size_t *lenp);
/freebsd-13-stable/lib/libc/stdio/
HDfgetwln.c46 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) in fgetwln_l() argument
81 *lenp = len; in fgetwln_l()
88 *lenp = 0; in fgetwln_l()
94 fgetwln(FILE * __restrict fp, size_t *lenp) in fgetwln() argument
96 return fgetwln_l(fp, lenp, __get_locale()); in fgetwln()
HDfgetln.c78 fgetln(FILE *fp, size_t *lenp) in fgetln() argument
89 *lenp = 0; in fgetln()
103 *lenp = len = p - fp->_p; in fgetln()
153 *lenp = len; in fgetln()
160 *lenp = 0; /* ??? */ in fgetln()
/freebsd-13-stable/contrib/less/
HDcvt.c53 …vt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *lenp, int ops) in cvt_text() argument
61 if (lenp != NULL) in cvt_text()
62 src_end = osrc + *lenp; in cvt_text()
109 if (lenp != NULL) in cvt_text()
110 *lenp = ptr_diff(edst, odst); in cvt_text()
/freebsd-13-stable/contrib/nvi/common/
HDline.c37 size_t *lenp, /* Length store. */ in db_eget() argument
46 if (!db_get(sp, lno, 0, pp, lenp)) in db_eget()
81 size_t *lenp) /* Length store. */ in db_get() argument
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()
[all …]
HDmsg.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()
780 return (msg_cat(sp, "269|Press any key to continue: ", 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()
[all …]
/freebsd-13-stable/stand/libsa/
HDbootparam.c325 uint32_t *lenp; in xdr_string_encode() local
330 lenp = (uint32_t *) *pkt; in xdr_string_encode()
331 *pkt += sizeof(*lenp); in xdr_string_encode()
332 *lenp = htonl(len); in xdr_string_encode()
344 uint32_t *lenp; in xdr_string_decode() local
350 lenp = (uint32_t *) *pkt; in xdr_string_decode()
351 *pkt += sizeof(*lenp); in xdr_string_decode()
352 slen = ntohl(*lenp); in xdr_string_decode()
/freebsd-13-stable/lib/libprocstat/
HDcore.c84 enum psc_type type, void *buf, size_t *lenp);
171 size_t *lenp) in procstat_core_get() argument
226 len = MIN(len, *lenp); in procstat_core_get()
246 len = *lenp; in procstat_core_get()
252 *lenp -= len; in procstat_core_get()
256 *lenp = len; in procstat_core_get()
261 *lenp = curlen; in procstat_core_get()
342 void *args, size_t *lenp) in get_args() argument
380 nchr = MIN(ARG_MAX, *lenp); in get_args()
420 *lenp = done; in get_args()
/freebsd-13-stable/contrib/openpam/lib/libpam/
HDopenpam_readline.c56 openpam_readline(FILE *f, int *lineno, size_t *lenp) in openpam_readline() argument
99 if (lenp != NULL) in openpam_readline()
100 *lenp = len; in openpam_readline()
HDopenpam_readlinev.c51 openpam_readlinev(FILE *f, int *lineno, int *lenp) in openpam_readlinev() argument
99 if (lenp != NULL) in openpam_readlinev()
100 *lenp = wordvlen; in openpam_readlinev()
HDopenpam_readword.c52 openpam_readword(FILE *f, int *lineno, size_t *lenp) in openpam_readword() argument
140 if (lenp != NULL) in openpam_readword()
141 *lenp = len; in openpam_readword()
/freebsd-13-stable/contrib/telnet/libtelnet/
HDenc_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()
/freebsd-13-stable/sys/netinet6/
HDin6_cksum.c151 in6_cksumdata(void *data, int *lenp, uint8_t *residp, int rlen) in in6_cksumdata() argument
159 KASSERT(*lenp >= 0, ("%s: negative len %d", __func__, *lenp)); in in6_cksumdata()
162 len = *lenp; in in6_cksumdata()
231 *lenp = len & 1; in in6_cksumdata()
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/spl/
HDspl-proc.c63 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_domemused() argument
75 *ppos += *lenp; in proc_domemused()
82 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_domemused()
91 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doslab() argument
104 *ppos += *lenp; in proc_doslab()
130 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_doslab()
138 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dohostid() argument
152 proc_dostring(&dummy, write, buffer, lenp, ppos); in proc_dohostid()
/freebsd-13-stable/crypto/heimdal/appl/telnet/libtelnet/
HDenc_des.c417 int cfb64_keyid(int dir, unsigned char *kp, int *lenp) in cfb64_keyid() argument
419 return(fb64_keyid(dir, kp, lenp, &fb[CFB])); in cfb64_keyid()
422 int ofb64_keyid(int dir, unsigned char *kp, int *lenp) in ofb64_keyid() argument
424 return(fb64_keyid(dir, kp, lenp, &fb[OFB])); in ofb64_keyid()
427 int fb64_keyid(int dir, unsigned char *kp, int *lenp, struct fb *fbp) in fb64_keyid() argument
431 if (*lenp != 1 || (*kp != '\0')) { in fb64_keyid()
432 *lenp = 0; in fb64_keyid()
/freebsd-13-stable/tools/build/cross-build/
HDfgetwln_fallback.c48 fgetwln(FILE *stream, size_t *lenp) in fgetwln() argument
87 *lenp = wused; in fgetwln()

1234