| /freebsd-12.1/sys/contrib/libfdt/ |
| H A D | fdt_ro.c | 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_() 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 D | libfdt.h | 548 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 D | fdt.c | 96 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-12.1/usr.sbin/rtadvd/ |
| H A D | control.c | 348 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-12.1/contrib/dtc/libfdt/ |
| H A D | fdt_ro.c | 279 if (lenp) in fdt_get_property_by_offset() 280 *lenp = err; in fdt_get_property_by_offset() 286 if (lenp) in fdt_get_property_by_offset() 311 if (lenp) in fdt_get_property_namelen() 312 *lenp = offset; in fdt_get_property_namelen() 624 int *lenp) in fdt_stringlist_get() argument 631 if (lenp) in fdt_stringlist_get() 632 *lenp = length; in fdt_stringlist_get() 644 if (lenp) in fdt_stringlist_get() 651 if (lenp) in fdt_stringlist_get() [all …]
|
| H A D | libfdt.h | 540 int *lenp); 556 int namelen, int *lenp); 587 const char *name, int *lenp); 590 int *lenp) in fdt_get_property_w() argument 628 const char **namep, int *lenp); 642 const char *name, int namelen, int *lenp); 645 int *lenp) in fdt_getprop_namelen_w() argument 648 namelen, lenp); in fdt_getprop_namelen_w() 680 const char *name, int *lenp); 682 const char *name, int *lenp) in fdt_getprop_w() argument [all …]
|
| H A D | fdt.c | 96 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()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | sshbuf-getput-basic.c | 106 if (lenp != NULL) in sshbuf_get_string() 107 *lenp = 0; in sshbuf_get_string() 119 if (lenp != NULL) in sshbuf_get_string() 120 *lenp = len; in sshbuf_get_string() 134 *lenp = 0; in sshbuf_get_string_direct() 140 *lenp = len; in sshbuf_get_string_direct() 152 size_t *lenp) in sshbuf_peek_string_direct() argument 160 *lenp = 0; in sshbuf_peek_string_direct() 177 *lenp = len; in sshbuf_peek_string_direct() 191 *lenp = 0; in sshbuf_get_cstring() [all …]
|
| H A D | ssh-xmss.c | 39 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 D | ssh-ed25519.c | 36 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 D | ssh-ecdsa.c | 50 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 D | ssh-dss.c | 52 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 D | sshkey.h | 138 int, u_char **retp, size_t *lenp); 237 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, 242 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 247 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 252 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 257 int ssh_xmss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
|
| H A D | packet.h | 197 int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp); 198 int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 199 int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp); 200 int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp); 205 const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
|
| /freebsd-12.1/contrib/less/ |
| H A D | cvt.c | 58 cvt_text(odst, osrc, chpos, lenp, ops) in cvt_text() argument 62 int *lenp; 71 if (lenp != NULL) 72 src_end = osrc + *lenp; 111 if (lenp != NULL) 112 *lenp = (int) (edst - odst);
|
| /freebsd-12.1/lib/libc/stdio/ |
| H A D | fgetwln.c | 48 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 D | fgetln.c | 87 fgetln(FILE *fp, size_t *lenp) in fgetln() argument 98 *lenp = 0; in fgetln() 112 *lenp = len = p - fp->_p; in fgetln() 162 *lenp = len; in fgetln() 172 *lenp = 0; /* ??? */ in fgetln()
|
| /freebsd-12.1/contrib/nvi/common/ |
| H A D | line.c | 42 size_t *lenp, /* Length store. */ in db_eget() argument 51 if (!db_get(sp, lno, 0, pp, lenp)) in db_eget() 126 if (lenp != NULL) in db_get() 127 *lenp = tp->len; in db_get() 145 if (lenp != NULL) in db_get() 146 *lenp = ep->c_len; in db_get() 164 err3: if (lenp != NULL) in db_get() 165 *lenp = 0; in db_get() 191 if (lenp != NULL) in db_get() 192 *lenp = wlen; in db_get() [all …]
|
| H A D | msg.c | 794 size_t *lenp) in msg_cmsg() argument 798 return (msg_cat(sp, "268|confirm? [ynq]", lenp)); in msg_cmsg() 804 lenp)); in msg_cmsg() 806 return (msg_cat(sp, "161|Press Enter to continue: ", lenp)); in msg_cmsg() 808 return (msg_cat(sp, "275| cont?", lenp)); in msg_cmsg() 811 "271|Press any key to continue [q to quit]: ", lenp)); in msg_cmsg() 832 size_t *lenp) in msg_cat() argument 850 if (lenp != NULL) in msg_cat() 851 *lenp = strlen(p); in msg_cat() 855 if (lenp != NULL) in msg_cat() [all …]
|
| /freebsd-12.1/stand/libsa/ |
| H A D | bootparam.c | 327 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-12.1/contrib/dtc/ |
| H A D | util.c | 81 int lenp = strlen(path); in join_path() local 87 len = lenp + lenn + 2; in join_path() 88 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path() 94 memcpy(str, path, lenp); in join_path() 96 str[lenp] = '/'; in join_path() 97 lenp++; in join_path() 99 memcpy(str+lenp, name, lenn+1); in join_path()
|
| /freebsd-12.1/lib/libprocstat/ |
| H A D | core.c | 86 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-12.1/contrib/openpam/lib/libpam/ |
| H A D | openpam_readline.c | 58 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 D | openpam_readlinev.c | 53 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 D | openpam_readword.c | 54 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()
|