Searched refs:linep (Results 1 - 19 of 19) sorted by relevance

/freebsd-current/lib/libc/stdio/
H A Dgetline.c32 getline(char ** __restrict linep, size_t * __restrict linecapp, argument
36 return (getdelim(linep, linecapp, '\n', fp));
H A Dgetdelim.c62 * Expand *linep to hold len bytes (up to SSIZE_MAX + 1).
65 expandtofit(char ** __restrict linep, size_t len, size_t * __restrict capp) argument
79 newline = realloc(*linep, newcap);
83 *linep = newline;
109 getdelim(char ** __restrict linep, size_t * __restrict linecapp, int delim, argument
118 if (linep == NULL || linecapp == NULL) {
123 if (*linep == NULL)
128 if (!__sfeof(fp) || expandtofit(linep, 1, linecapp))
130 (*linep)[0] = '\0';
137 if (sappend(linep,
[all...]
/freebsd-current/usr.sbin/ypldap/
H A Dentries.c43 char *linep; local
57 if ((linep = calloc(1, env->sc_user_line_len + 1)) == NULL) {
63 endp = linep;
90 env->sc_user_lines = linep;
93 if ((linep = calloc(1, env->sc_group_line_len + 1)) == NULL) {
99 endp = linep;
114 env->sc_group_lines = linep;
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c280 int *linep, int *colp)
287 assert(termp != 0 && linep != 0 && colp != 0);
291 TCB->drv->td_size(TCB, linep, colp);
312 _nc_console_size(linep, colp);
313 T(("screen size: winconsole lines = %d columns = %d", *linep, *colp));
318 *linep = (int) lines;
335 *linep = ((sp != 0 && sp->_filtered)
339 *linep, *colp));
350 *linep = ((sp != 0 && sp->_filtered)
355 *linep, *col
276 _nc_get_screensize(SCREEN *sp, TERMINAL *termp, int *linep, int *colp) argument
[all...]
H A Dtinfo_driver.c418 drv_size(TERMINAL_CONTROL_BLOCK * TCB, int *linep, int *colp) argument
439 _nc_console_size(linep, colp);
440 T(("screen size: winconsole lines = %d columns = %d", *linep, *colp));
445 *linep = (int) lines;
456 *linep = ((sp != 0 && sp->_filtered)
460 *linep, *colp));
473 *linep = ((sp != 0 && sp->_filtered)
478 *linep, *colp));
493 _nc_setenv_num("LINES", *linep);
507 *linep
[all...]
/freebsd-current/usr.bin/lam/
H A Dlam.c63 static char *linep; variable
92 linep = line;
94 linep = gatherline(ip);
187 char *lp = linep;
204 char *lp = linep;
/freebsd-current/bin/sh/
H A Dmknodes.c82 static char *linep; variable
131 if (*linep != '\0')
186 fp->decl = savestr(linep);
188 if (*linep)
381 p = linep;
388 linep = p;
396 while (*linep == ' ' || *linep == '\t')
397 linep++;
412 linep
[all...]
/freebsd-current/libexec/revnetgroup/
H A Dparse_netgroup.c282 char *pos, *spos, *linep = NULL, *olinep = NULL; local
325 linep = (char *)malloc(olen + len + 1);
327 bcopy(olinep, linep, olen);
330 bcopy(pos, linep + olen, len);
332 *(linep + olen) = '\0';
333 olinep = linep;
345 lp->l_line = linep;
/freebsd-current/lib/libc/rpc/
H A Dgetnetconfig.c105 char *linep; /* hold line read from netconfig */ member in struct:netconfig_list
338 list->linep = stringp;
417 free(q->linep);
443 char *linep; /* holds current netconfig line */ local
483 if ((linep = malloc(MAXNETCONFIGLINE)) == NULL) {
493 if ((stringp = fgets(linep, MAXNETCONFIGLINE, file)) == NULL) {
511 if (parse_ncp(linep, ncp) == -1) {
519 free(linep);
/freebsd-current/contrib/less/
H A Dline.c1332 public POSITION forw_raw_line(POSITION curr_pos, char **linep, int *line_lenp) argument
1366 if (linep != NULL)
1367 *linep = linebuf.buf;
1377 public POSITION back_raw_line(POSITION curr_pos, char **linep, int *line_lenp) argument
1436 if (linep != NULL)
1437 *linep = &linebuf.buf[n];
1447 public int skip_columns(int cols, char **linep, int *line_lenp) argument
1449 char *line = *linep;
1470 bytes = line - *linep;
1471 *linep
[all...]
H A Dfuncs.h221 public POSITION forw_raw_line(POSITION curr_pos, char **linep, int *line_lenp);
222 public POSITION back_raw_line(POSITION curr_pos, char **linep, int *line_lenp);
223 public int skip_columns(int cols, char **linep, int *line_lenp);
/freebsd-current/lib/libc/gen/
H A Dgetnetgrent.c791 char *linep, *olinep, *pos, *spos; local
800 linep = NULL;
827 linep = NULL;
875 linep = malloc(olen + len + 1);
876 if (linep == NULL) {
884 bcopy(olinep, linep, olen);
887 bcopy(pos, linep + olen, len);
889 *(linep + olen) = '\0';
890 olinep = linep;
900 lp->l_line = linep;
[all...]
/freebsd-current/sbin/mdmfs/
H A Dmdmfs.c452 char *linep; local
487 linep = fgetln(sfd, &linelen);
489 if (linep == NULL || linelen <= mdnamelen + 1 ||
491 strncmp(linep, mdname, mdnamelen) != 0)
493 linep += mdnamelen;
495 /* Can't use strlcpy because linep is not NULL-terminated. */
496 strncpy(linebuf, linep, linelen);
/freebsd-current/usr.bin/sdiff/
H A Dsdiff.c1076 struct fileline *linep; local
1084 if (!(linep = malloc(sizeof(struct fileline))))
1086 linep->line = line1;
1087 STAILQ_INSERT_TAIL(&delqhead, linep, fileentries);
/freebsd-current/sbin/routed/rtquery/
H A Drtquery.c844 parse_quote(char **linep, argument
854 pc = *linep;
896 *linep = pc-1;
/freebsd-current/sbin/routed/
H A Dparms.c360 parse_quote(char **linep, /* look here */ argument
370 pc = *linep;
414 *linep = pc-1; /* say where we ended */
/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c2375 char *endp, *linep, line[BUFSIZ]; local
2428 linep = line;
2429 while (*linep == ' ')
2430 linep++;
2431 rval = strtol(linep, &endp, 10);
/freebsd-current/usr.bin/patch/
H A Dpch.c1222 char *linep = line; local
1243 line = linep;
/freebsd-current/sys/kern/
H A Dsubr_witness.c2359 witness_save(struct lock_object *lock, const char **filep, int *linep) argument
2367 *linep = 0;
2394 *linep = instance->li_line;

Completed in 226 milliseconds