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

1234

/freebsd-10.3-release/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;
111 if (lenp != NULL)
112 *lenp = (int) (edst - odst);
/freebsd-10.3-release/lib/libc/stdio/
H A Dfgetwln.c46 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) argument
69 *lenp = len;
74 *lenp = 0;
78 fgetwln(FILE * __restrict fp, size_t *lenp) argument
80 return fgetwln_l(fp, lenp, __get_locale());
H A Dfgetln.c79 fgetln(FILE *fp, size_t *lenp) argument
89 *lenp = 0;
105 *lenp = len = p - fp->_p;
153 *lenp = len;
161 *lenp = 0; /* ??? */
/freebsd-10.3-release/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
101 if (lenp != NULL)
102 *lenp = wordvlen;
116 * 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-10.3-release/lib/libprocstat/
H A Dcore.h50 void * buf, size_t *lenp);
/freebsd-10.3-release/usr.sbin/rtadvd/
H A Dcontrol.c346 size_t *lenp; local
353 lenp = (size_t *)p;
354 len = *lenp++;
355 p = (char *)lenp;
368 lenp = (size_t *)p;
369 len = *lenp++;
370 p = (char *)lenp;
383 lenp = (size_t *)p;
384 len = *lenp++;
385 p = (char *)lenp;
406 size_t *lenp; local
[all...]
/freebsd-10.3-release/crypto/openssh/
H A Dsshbuf-getput-basic.c95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) argument
103 if (lenp != NULL)
104 *lenp = 0;
116 if (lenp != NULL)
117 *lenp = len;
122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
130 if (lenp != NULL)
131 *lenp = 0;
136 if (lenp != NULL)
137 *lenp
148 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
179 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) argument
429 sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) argument
[all...]
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 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 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-10.3-release/contrib/bsnmp/lib/
H A Dsnmppriv.h39 asn_len_t *lenp);
/freebsd-10.3-release/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-10.3-release/sys/contrib/libfdt/
H A Dfdt.c95 const uint32_t *tagp, *lenp; local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
120 if (!lenp)
124 + fdt32_to_cpu(*lenp);
H A Dfdt_ro.c241 int *lenp)
247 if (lenp)
248 *lenp = err;
254 if (lenp)
255 *lenp = fdt32_to_cpu(prop->len);
263 int namelen, int *lenp)
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
279 if (lenp)
280 *lenp = offset;
286 const char *name, int *lenp)
239 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
260 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
284 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
292 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
304 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
317 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
H A Dlibfdt.h326 * @lenp: pointer to an integer variable (will be overwritten) or NULL
329 * device tree node at structure block offset nodeoffset. If lenp is
331 * pointed to by lenp.
335 * If lenp is non-NULL, *lenp contains the length of that name (>=0)
337 * if lenp is non-NULL *lenp contains an error code (<0):
343 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
390 * @lenp: pointer to an integer variable (will be overwritten) or NULL
394 * offset. If lenp i
459 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
544 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
/freebsd-10.3-release/contrib/dtc/libfdt/
H A Dfdt_ro.c241 int *lenp)
247 if (lenp)
248 *lenp = err;
254 if (lenp)
255 *lenp = fdt32_to_cpu(prop->len);
263 int namelen, int *lenp)
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
279 if (lenp)
280 *lenp = offset;
286 const char *name, int *lenp)
239 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument
260 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument
284 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
292 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
304 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
317 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
H A Dlibfdt.h348 * @lenp: pointer to an integer variable (will be overwritten) or NULL
351 * device tree node at structure block offset nodeoffset. If lenp is
353 * pointed to by lenp.
357 * If lenp is non-NULL, *lenp contains the length of that name (>=0)
359 * if lenp is non-NULL *lenp contains an error code (<0):
365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
412 * @lenp: pointer to an integer variable (will be overwritten) or NULL
416 * offset. If lenp i
481 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
566 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
[all...]
H A Dfdt.c95 const fdt32_t *tagp, *lenp; local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
120 if (!lenp)
124 + fdt32_to_cpu(*lenp);
/freebsd-10.3-release/lib/libstand/
H A Dbootparam.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);
/freebsd-10.3-release/contrib/dtc/
H A Dutil.c51 int lenp = strlen(path); local
57 len = lenp + lenn + 2;
58 if ((lenp > 0) && (path[lenp-1] == '/')) {
64 memcpy(str, path, lenp);
66 str[lenp] = '/';
67 lenp++;
69 memcpy(str+lenp, name, lenn+1);

Completed in 318 milliseconds

1234