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

1234

/freebsd-10.0-release/lib/libc/stdio/
H A Dfgetwln.c44 fgetwln_l(FILE * __restrict fp, size_t *lenp, locale_t locale) argument
67 *lenp = len;
72 *lenp = 0;
76 fgetwln(FILE * __restrict fp, size_t *lenp) argument
78 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.0-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 = edst - odst;
/freebsd-10.0-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
127 if (lenp != NULL)
128 *lenp = len;
170 * If =lenp is not =NULL, the length of the word (after quotes and
/freebsd-10.0-release/lib/libprocstat/
H A Dcore.h50 void * buf, size_t *lenp);
/freebsd-10.0-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.0-release/contrib/dtc/
H A Dutil.c50 int lenp = strlen(path); local
56 len = lenp + lenn + 2;
57 if ((lenp > 0) && (path[lenp-1] == '/')) {
63 memcpy(str, path, lenp);
65 str[lenp] = '/';
66 lenp++;
68 memcpy(str+lenp, name, lenn+1);
/freebsd-10.0-release/contrib/bsnmp/lib/
H A Dsnmppriv.h39 asn_len_t *lenp);
/freebsd-10.0-release/contrib/dtc/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.0-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.0-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.0-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.0-release/crypto/openssh/
H A Dssh-dss.c46 ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp, argument
86 if (lenp != NULL)
87 *lenp = SIGBLOB_LEN;
98 if (lenp != NULL)
99 *lenp = len;
H A Dssh-ecdsa.c47 ssh_ecdsa_sign(const Key *key, u_char **sigp, u_int *lenp, argument
85 if (lenp != NULL)
86 *lenp = len;
/freebsd-10.0-release/contrib/groff/src/libs/libbib/
H A Dsearch.cpp97 int search_list_iterator::next(const char **pp, int *lenp, reference_id *ridp) argument
102 if (iter->next(searcher, pp, lenp, ridp))
/freebsd-10.0-release/contrib/nvi/common/
H A Dline.c42 size_t *lenp, /* Length store. */
51 if (!db_get(sp, lno, 0, pp, lenp))
87 size_t *lenp) /* Length store. */
127 if (lenp != NULL)
128 *lenp = tp->len;
146 if (lenp != NULL)
147 *lenp = ep->c_len;
167 err3: if (lenp != NULL)
168 *lenp = 0;
199 if (lenp !
38 db_eget( SCR *sp, recno_t lno, CHAR_T **pp, size_t *lenp, int *isemptyp) argument
82 db_get( SCR *sp, recno_t lno, u_int32_t flags, CHAR_T **pp, size_t *lenp) argument
589 db_rget( SCR *sp, recno_t lno, char **pp, size_t *lenp) argument
[all...]
H A Dmsg.c794 size_t *lenp)
798 return (msg_cat(sp, "268|confirm? [ynq]", lenp));
800 return (msg_cat(sp, "269|Press any key to continue: ", lenp));
804 lenp));
806 return (msg_cat(sp, "161|Press Enter to continue: ", lenp));
808 return (msg_cat(sp, "275| cont?", lenp));
811 "271|Press any key to continue [q to quit]: ", lenp));
832 size_t *lenp)
850 if (lenp != NULL)
851 *lenp
791 msg_cmsg( SCR *sp, cmsg_t which, size_t *lenp) argument
829 msg_cat( SCR *sp, const char *str, size_t *lenp) argument
[all...]
/freebsd-10.0-release/usr.bin/grep/
H A Dfile.c179 grep_fgetln(struct file *f, size_t *lenp) argument
193 *lenp = 0;
204 *lenp = len;
233 *lenp = len;
237 *lenp = 0;

Completed in 179 milliseconds

1234