Searched refs:lenp (Results 1 - 25 of 92) sorted by relevance

1234

/freebsd-11-stable/lib/libc/stdio/
H A Dfgetwln.c46 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) argument
81 *lenp = len;
88 *lenp = 0;
94 fgetwln(FILE * __restrict fp, size_t *lenp) argument
96 return fgetwln_l(fp, lenp, __get_locale());
H A Dfgetln.c85 fgetln(FILE *fp, size_t *lenp) argument
96 *lenp = 0;
110 *lenp = len = p - fp->_p;
160 *lenp = len;
170 *lenp = 0; /* ??? */
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_readline.c58 openpam_readline(FILE *f, int *lineno, size_t *lenp) argument
101 if (lenp != NULL)
102 *lenp = len;
128 * If =lenp is not =NULL, the length of the line (not including the
H A Dopenpam_readlinev.c53 openpam_readlinev(FILE *f, int *lineno, int *lenp) argument
103 if (lenp != NULL)
104 *lenp = wordvlen;
118 * If =lenp is not =NULL, the number of words on the line is stored in the
H A Dopenpam_readword.c54 openpam_readword(FILE *f, int *lineno, size_t *lenp) argument
143 if (lenp != NULL)
144 *lenp = len;
186 * If =lenp is not =NULL, the length of the word (after quotes and
/freebsd-11-stable/contrib/less/
H A Dcvt.c58 cvt_text(odst, osrc, chpos, lenp, ops)
62 int *lenp;
71 if (lenp != NULL)
72 src_end = osrc + *lenp;
115 if (lenp != NULL)
116 *lenp = (int) (edst - odst);
/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt_ro.c273 int *lenp)
279 if (lenp)
280 *lenp = err;
286 if (lenp)
287 *lenp = fdt32_to_cpu(prop->len);
295 int namelen, int *lenp)
302 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
311 if (lenp)
312 *lenp = offset;
318 const char *name, int *lenp)
271 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
292 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
316 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
324 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
336 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
349 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
622 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
[all...]
H A Dlibfdt.h425 * @lenp: pointer to an integer variable (will be overwritten) or NULL
428 * device tree node at structure block offset nodeoffset. If lenp is
430 * pointed to by lenp.
434 * If lenp is non-NULL, *lenp contains the length of that name
437 * if lenp is non-NULL *lenp contains an error code (<0):
444 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
518 * @lenp: pointer to an integer variable (will be overwritten) or NULL
522 * offset. If lenp i
588 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
643 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
681 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
H A Dfdt.c96 const fdt32_t *tagp, *lenp; local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
121 if (!lenp)
125 + fdt32_to_cpu(*lenp);
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dcontrol.c348 size_t *lenp; local
355 lenp = (size_t *)p;
356 len = *lenp++;
357 p = (char *)lenp;
370 lenp = (size_t *)p;
371 len = *lenp++;
372 p = (char *)lenp;
385 lenp = (size_t *)p;
386 len = *lenp++;
387 p = (char *)lenp;
408 size_t *lenp; local
[all...]
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt_ro.c292 int *lenp)
298 if (lenp)
299 *lenp = err;
305 if (lenp)
306 *lenp = fdt32_to_cpu(prop->len);
313 int *lenp)
319 if (lenp)
320 *lenp = -FDT_ERR_BADVERSION;
324 return fdt_get_property_by_offset_(fdt, offset, lenp);
331 int *lenp,
290 fdt_get_property_by_offset_(const void *fdt, int offset, int *lenp) argument
311 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
327 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) argument
357 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
375 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
383 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
401 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
419 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
692 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
[all...]
H A Dfdt.c96 const fdt32_t *tagp, *lenp; local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
121 if (!lenp)
125 + fdt32_to_cpu(*lenp);
126 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 &&
127 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0)
H A Dlibfdt.h430 * @lenp: pointer to an integer variable (will be overwritten) or NULL
433 * device tree node at structure block offset nodeoffset. If lenp is
435 * pointed to by lenp.
439 * If lenp is non-NULL, *lenp contains the length of that name
442 * if lenp is non-NULL *lenp contains an error code (<0):
449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
523 * @lenp: pointer to an integer variable (will be overwritten) or NULL
527 * offset. If lenp i
598 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
656 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
695 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dsshbuf-getput-basic.c97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) argument
105 if (lenp != NULL)
106 *lenp = 0;
118 if (lenp != NULL)
119 *lenp = len;
124 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
132 if (lenp != NULL)
133 *lenp = 0;
138 if (lenp != NULL)
139 *lenp
150 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
181 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) argument
431 sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
[all...]
H A Dssh-ed25519.c36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument
45 if (lenp != NULL)
46 *lenp = 0;
80 if (lenp != NULL)
81 *lenp = len;
H A Dssh-ecdsa.c48 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument
58 if (lenp != NULL)
59 *lenp = 0;
97 if (lenp != NULL)
98 *lenp = len;
H A Dkey.c109 key_to_blob(const Key *key, u_char **blobp, u_int *lenp) argument
117 if (lenp != NULL)
118 *lenp = 0;
128 if (lenp != NULL)
129 *lenp = blen;
134 key_sign(const Key *key, u_char **sigp, u_int *lenp, argument
143 if (lenp != NULL)
144 *lenp = 0;
155 if (lenp != NULL)
156 *lenp
[all...]
H A Dssh-dss.c50 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, argument
59 if (lenp != NULL)
60 *lenp = 0;
97 if (lenp != NULL)
98 *lenp = SIGBLOB_LEN;
117 if (lenp != NULL)
118 *lenp = len;
H A Dssh_api.h96 const u_char *ssh_packet_payload(struct ssh *ssh, size_t *lenp);
/freebsd-11-stable/contrib/bsnmp/lib/
H A Dsnmppriv.h39 asn_len_t *lenp);
/freebsd-11-stable/lib/libprocstat/
H A Dcore.h53 void * buf, size_t *lenp);
/freebsd-11-stable/contrib/libreadline/
H A Dnls.c203 find_codeset (name, lenp)
205 size_t *lenp;
220 *lenp = strlen (language);
241 *lenp = cp - result;
245 *lenp = strlen (language);
H A Dtilde.c266 isolate_tilde_prefix (fname, lenp)
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
[all...]
/freebsd-11-stable/stand/libsa/
H A Dbootparam.c327 uint32_t *lenp; local
332 lenp = (uint32_t *) *pkt;
333 *pkt += sizeof(*lenp);
334 *lenp = htonl(len);
346 uint32_t *lenp; local
352 lenp = (uint32_t *) *pkt;
353 *pkt += sizeof(*lenp);
354 slen = ntohl(*lenp);
/freebsd-11-stable/usr.sbin/uefisign/
H A Duefisign.h81 void receive_chunk(void **bufp, size_t *lenp, int pipefd);

Completed in 291 milliseconds

1234