Home
last modified time | relevance | path

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

1234

/trueos/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 …]
/trueos/sys/contrib/libfdt/
HDfdt_ro.c241 int *lenp) in fdt_get_property_by_offset() argument
247 if (lenp) in fdt_get_property_by_offset()
248 *lenp = err; in fdt_get_property_by_offset()
254 if (lenp) in fdt_get_property_by_offset()
255 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
263 int namelen, int *lenp) in fdt_get_property_namelen() argument
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { in fdt_get_property_namelen()
279 if (lenp) in fdt_get_property_namelen()
280 *lenp = offset; in fdt_get_property_namelen()
286 const char *name, int *lenp) in fdt_get_property() argument
[all …]
HDlibfdt.h343 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
412 int *lenp);
428 int namelen, int *lenp);
458 const char *name, int *lenp);
461 int *lenp) in fdt_get_property_w() argument
464 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
499 const char **namep, int *lenp);
513 const char *name, int namelen, int *lenp);
543 const char *name, int *lenp);
545 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
HDfdt.c95 const uint32_t *tagp, *lenp; in fdt_next_tag() local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
120 if (!lenp) in fdt_next_tag()
124 + fdt32_to_cpu(*lenp); in fdt_next_tag()
/trueos/contrib/dtc/libfdt/
HDfdt_ro.c241 int *lenp) in fdt_get_property_by_offset() argument
247 if (lenp) in fdt_get_property_by_offset()
248 *lenp = err; in fdt_get_property_by_offset()
254 if (lenp) in fdt_get_property_by_offset()
255 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
263 int namelen, int *lenp) in fdt_get_property_namelen() argument
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { in fdt_get_property_namelen()
279 if (lenp) in fdt_get_property_namelen()
280 *lenp = offset; in fdt_get_property_namelen()
286 const char *name, int *lenp) in fdt_get_property() argument
[all …]
HDlibfdt.h365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
434 int *lenp);
450 int namelen, int *lenp);
480 const char *name, int *lenp);
483 int *lenp) in fdt_get_property_w() argument
486 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
521 const char **namep, int *lenp);
535 const char *name, int namelen, int *lenp);
565 const char *name, int *lenp);
567 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
HDfdt.c95 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
120 if (!lenp) in fdt_next_tag()
124 + fdt32_to_cpu(*lenp); in fdt_next_tag()
/trueos/contrib/less/
HDcvt.c58 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 = edst - odst;
/trueos/lib/libc/stdio/
HDfgetwln.c44 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) in fgetwln_l() argument
67 *lenp = len; in fgetwln_l()
72 *lenp = 0; in fgetwln_l()
76 fgetwln(FILE * __restrict fp, size_t *lenp) in fgetwln() argument
78 return fgetwln_l(fp, lenp, __get_locale()); in fgetwln()
HDfgetln.c79 fgetln(FILE *fp, size_t *lenp) in fgetln() argument
89 *lenp = 0; in fgetln()
105 *lenp = len = p - fp->_p; in fgetln()
153 *lenp = len; in fgetln()
161 *lenp = 0; /* ??? */ in fgetln()
/trueos/contrib/libreadline/
HDtilde.c266 isolate_tilde_prefix (fname, lenp) in isolate_tilde_prefix() argument
268 int *lenp;
281 if (lenp)
282 *lenp = i;
292 tilde_find_word (fname, flags, lenp)
294 int flags, *lenp;
303 if (lenp)
304 *lenp = 0;
311 if (lenp)
312 *lenp = x;
HDnls.c203 find_codeset (name, lenp) in find_codeset() argument
205 size_t *lenp;
220 *lenp = strlen (language);
241 *lenp = cp - result;
245 *lenp = strlen (language);
/trueos/contrib/nvi/common/
HDline.c42 size_t *lenp, /* Length store. */ in db_eget() argument
51 if (!db_get(sp, lno, 0, pp, lenp)) in db_eget()
87 size_t *lenp) /* Length store. */ in db_get() argument
127 if (lenp != NULL) in db_get()
128 *lenp = tp->len; in db_get()
146 if (lenp != NULL) in db_get()
147 *lenp = ep->c_len; in db_get()
167 err3: if (lenp != NULL) in db_get()
168 *lenp = 0; in db_get()
199 if (lenp != NULL) in db_get()
[all …]
HDmsg.c794 size_t *lenp) in msg_cmsg() argument
798 return (msg_cat(sp, "268|confirm? [ynq]", lenp)); in msg_cmsg()
800 return (msg_cat(sp, "269|Press any key to continue: ", 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()
[all …]
/trueos/lib/libstand/
HDbootparam.c337 u_int32_t *lenp; local
342 lenp = (u_int32_t*) *pkt;
343 *pkt += sizeof(*lenp);
344 *lenp = htonl(len);
359 u_int32_t *lenp; local
365 lenp = (u_int32_t*) *pkt;
366 *pkt += sizeof(*lenp);
367 slen = ntohl(*lenp);
/trueos/contrib/dtc/
HDutil.c51 int lenp = strlen(path); in join_path() local
57 len = lenp + lenn + 2; in join_path()
58 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
64 memcpy(str, path, lenp); in join_path()
66 str[lenp] = '/'; in join_path()
67 lenp++; in join_path()
69 memcpy(str+lenp, name, lenn+1); in join_path()
/trueos/contrib/openpam/lib/libpam/
HDopenpam_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()
HDopenpam_readlinev.c53 openpam_readlinev(FILE *f, int *lineno, int *lenp) in openpam_readlinev() argument
101 if (lenp != NULL) in openpam_readlinev()
102 *lenp = wordvlen; in openpam_readlinev()
HDopenpam_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()
/trueos/lib/libprocstat/
HDcore.c64 enum psc_type type, void *buf, size_t *lenp);
151 size_t *lenp) in procstat_core_get() argument
245 len = MIN(len, *lenp); in procstat_core_get()
265 len = *lenp; in procstat_core_get()
271 *lenp = len; in procstat_core_get()
352 void *args, size_t *lenp) in get_args() argument
390 nchr = MIN(ARG_MAX, *lenp); in get_args()
430 *lenp = done; in get_args()
/trueos/crypto/openssh/
HDssh-dss.c47 ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp, in ssh_dss_sign() argument
88 if (lenp != NULL) in ssh_dss_sign()
89 *lenp = SIGBLOB_LEN; in ssh_dss_sign()
100 if (lenp != NULL) in ssh_dss_sign()
101 *lenp = len; in ssh_dss_sign()
HDssh-ed25519.c35 ssh_ed25519_sign(const Key *key, u_char **sigp, u_int *lenp, in ssh_ed25519_sign() argument
68 if (lenp != NULL) in ssh_ed25519_sign()
69 *lenp = len; in ssh_ed25519_sign()
/trueos/usr.bin/grep/
HDfile.c181 grep_fgetln(struct file *f, size_t *lenp) in grep_fgetln() argument
195 *lenp = 0; in grep_fgetln()
206 *lenp = len; in grep_fgetln()
235 *lenp = len; in grep_fgetln()
239 *lenp = 0; in grep_fgetln()
/trueos/contrib/telnet/libtelnet/
HDenc_des.c413 cfb64_keyid(int dir, unsigned char *kp, int *lenp) in cfb64_keyid() argument
415 return(fb64_keyid(dir, kp, lenp, &fb[CFB])); in cfb64_keyid()
419 ofb64_keyid(int dir, unsigned char *kp, int *lenp) in ofb64_keyid() argument
421 return(fb64_keyid(dir, kp, lenp, &fb[OFB])); in ofb64_keyid()
425 fb64_keyid(int dir, unsigned char *kp, int *lenp, struct fb *fbp) in fb64_keyid() argument
429 if (*lenp != 1 || (*kp != '\0')) { in fb64_keyid()
430 *lenp = 0; in fb64_keyid()
/trueos/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()

1234