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

/freebsd-12-stable/lib/libc/stdio/
H A Dgetline.c35 getline(char ** __restrict linep, size_t * __restrict linecapp, argument
39 return (getdelim(linep, linecapp, '\n', fp));
H A Dgetdelim.c64 * Expand *linep to hold len bytes (up to SSIZE_MAX + 1).
67 expandtofit(char ** __restrict linep, size_t len, size_t * __restrict capp) argument
81 newline = realloc(*linep, newcap);
85 *linep = newline;
111 getdelim(char ** __restrict linep, size_t * __restrict linecapp, int delim, argument
120 if (linep == NULL || linecapp == NULL) {
125 if (*linep == NULL)
130 if (!__sfeof(fp) || expandtofit(linep, 1, linecapp))
132 (*linep)[0] = '\0';
139 if (sappend(linep,
[all...]
/freebsd-12-stable/usr.sbin/ypldap/
H A Dentries.c45 char *linep; local
60 if ((linep = calloc(1, env->sc_user_line_len + 1)) == NULL) {
66 endp = linep;
94 env->sc_user_lines = linep;
98 if ((linep = calloc(1, env->sc_group_line_len + 1)) == NULL) {
104 endp = linep;
120 env->sc_group_lines = linep;
/freebsd-12-stable/contrib/binutils/gas/
H A Dinput-scrub.c495 as_where (char **namep, unsigned int *linep)
498 && (linep == NULL || logical_input_line >= 0))
501 if (linep != NULL)
502 *linep = logical_input_line;
507 if (linep != NULL)
508 *linep = physical_input_line;
513 if (linep != NULL)
514 *linep = 0;
490 as_where(char **namep, unsigned int *linep) argument
/freebsd-12-stable/bin/sh/
H A Dmknodes.c96 static char *linep; variable
145 if (*linep != '\0')
200 fp->decl = savestr(linep);
202 if (*linep)
395 p = linep;
402 linep = p;
410 while (*linep == ' ' || *linep == '\t')
411 linep++;
426 linep
[all...]
/freebsd-12-stable/libexec/revnetgroup/
H A Dparse_netgroup.c287 char *pos, *spos, *linep = NULL, *olinep = NULL; local
330 linep = (char *)malloc(olen + len + 1);
332 bcopy(olinep, linep, olen);
335 bcopy(pos, linep + olen, len);
337 *(linep + olen) = '\0';
338 olinep = linep;
350 lp->l_line = linep;
/freebsd-12-stable/release/picobsd/tinyware/msh/
H A Dsh4.c133 e.linep = cp;
159 sp = e.linep;
166 if (sp == e.linep)
168 *e.linep++ = 0;
186 *e.linep++ = c;
211 *e.linep++ = c;
213 *e.linep++ = 0;
258 s = e.linep;
260 *e.linep++ = c;
263 if (e.linep < eline
[all...]
H A Dsh5.c33 if(e.linep > elinep) {
H A Dsh3.c582 tp = e.linep;
588 if (tp != e.linep)
592 execve(e.linep, v, envp);
595 *v = e.linep;
597 *v = e.linep;
777 tp = e.linep;
780 if (tp != e.linep)
784 if ((i = open(e.linep, 0)) >= 0) {
825 for (cp = e.linep; !nl && cp < elinep-1; cp++)
833 setval(lookup(*wp), e.linep);
[all...]
H A Dsh2.c621 e.linep = line;
637 *e.linep++ = c;
652 *e.linep++ = c;
706 if (e.linep >= elinep)
709 *e.linep++ = c;
713 *e.linep++ = '\0';
728 *e.linep++ = c;
739 *e.linep++ = c;
741 *e.linep++ = c;
H A Dsh.h146 char *linep; member in struct:env
H A Dsh1.c232 e.linep = line;
/freebsd-12-stable/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c275 int *linep, int *colp)
282 assert(termp != 0 && linep != 0 && colp != 0);
286 TCB->drv->size(TCB, linep, colp);
304 *linep = (int) lines;
315 *linep = ((sp != 0 && sp->_filtered)
319 *linep, *colp));
330 *linep = ((sp != 0 && sp->_filtered)
335 *linep, *colp));
349 _nc_setenv_num("LINES", *linep);
363 *linep
271 _nc_get_screensize(SCREEN *sp, TERMINAL * termp, int *linep, int *colp) argument
[all...]
H A Dtinfo_driver.c337 drv_size(TERMINAL_CONTROL_BLOCK * TCB, int *linep, int *colp) argument
357 *linep = (int) lines;
368 *linep = ((sp != 0 && sp->_filtered)
372 *linep, *colp));
385 *linep = ((sp != 0 && sp->_filtered)
390 *linep, *colp));
405 _nc_setenv_num("LINES", *linep);
419 *linep = value;
420 T(("screen size: environment LINES = %d", *linep));
429 if (*linep <
[all...]
/freebsd-12-stable/usr.bin/lam/
H A Dlam.c77 static char *linep; variable
106 linep = line;
108 linep = gatherline(ip);
201 char *lp = linep;
218 char *lp = linep;
/freebsd-12-stable/lib/libc/rpc/
H A Dgetnetconfig.c111 char *linep; /* hold line read from netconfig */ member in struct:netconfig_list
344 list->linep = stringp;
423 free(q->linep);
449 char *linep; /* holds current netconfig line */ local
489 if ((linep = malloc(MAXNETCONFIGLINE)) == NULL) {
499 if ((stringp = fgets(linep, MAXNETCONFIGLINE, file)) == NULL) {
517 if (parse_ncp(linep, ncp) == -1) {
525 free(linep);
/freebsd-12-stable/sbin/mdmfs/
H A Dmdmfs.c452 char *linep; local
486 linep = fgetln(sfd, &linelen);
488 if (linep == NULL || linelen <= mdnamelen + 1 ||
490 strncmp(linep, mdname, mdnamelen) != 0)
492 linep += mdnamelen;
494 /* Can't use strlcpy because linep is not NULL-terminated. */
495 strncpy(linebuf, linep, linelen);
/freebsd-12-stable/lib/libc/gen/
H A Dgetnetgrent.c795 char *linep, *olinep, *pos, *spos; local
804 linep = NULL;
831 linep = NULL;
879 linep = malloc(olen + len + 1);
880 if (linep == NULL) {
888 bcopy(olinep, linep, olen);
891 bcopy(pos, linep + olen, len);
893 *(linep + olen) = '\0';
894 olinep = linep;
904 lp->l_line = linep;
[all...]
/freebsd-12-stable/contrib/less/
H A Dline.c1293 forw_raw_line(curr_pos, linep, line_lenp)
1295 char **linep;
1330 if (linep != NULL)
1331 *linep = linebuf.buf;
1342 back_raw_line(curr_pos, linep, line_lenp)
1344 char **linep;
1404 if (linep != NULL)
1405 *linep = &linebuf.buf[n];
H A Dfuncs.h206 public POSITION forw_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp));
207 public POSITION back_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp));
/freebsd-12-stable/usr.bin/sdiff/
H A Dsdiff.c1057 struct fileline *linep; local
1065 if (!(linep = malloc(sizeof(struct fileline))))
1067 linep->line = line1;
1068 STAILQ_INSERT_TAIL(&delqhead, linep, fileentries);
/freebsd-12-stable/sbin/routed/rtquery/
H A Drtquery.c865 parse_quote(char **linep, argument
875 pc = *linep;
917 *linep = pc-1;
/freebsd-12-stable/sbin/routed/
H A Dparms.c372 parse_quote(char **linep, /* look here */ argument
382 pc = *linep;
426 *linep = pc-1; /* say where we ended */
/freebsd-12-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c2248 char *endp, *linep, line[BUFSIZ]; local
2301 linep = line;
2302 while (*linep == ' ')
2303 linep++;
2304 rval = strtol(linep, &endp, 10);
/freebsd-12-stable/sys/kern/
H A Dsubr_witness.c2307 witness_save(struct lock_object *lock, const char **filep, int *linep) argument
2338 *linep = instance->li_line;

Completed in 381 milliseconds