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

12

/freebsd-9.3-release/lib/libc/stdio/
H A Dgetline.c34 getline(char ** __restrict linep, size_t * __restrict linecapp, argument
38 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 (__sferror(fp) || expandtofit(linep, 1, linecapp))
131 (*linep)[0] = '\0';
137 if (sappend(linep,
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c199 _nc_get_screensize(SCREEN *sp, int *linep, int *colp) argument
209 *linep = (int) lines;
214 *linep = *colp = 0;
218 *linep = value;
223 T(("screen size: environment LINES = %d COLUMNS = %d", *linep, *colp));
226 if (*linep <= 0 || *colp <= 0) {
230 *linep = screendata[1];
232 *linep, *colp));
237 if (*linep <= 0 || *colp <= 0) {
253 if (*linep <
[all...]
/freebsd-9.3-release/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-9.3-release/usr.bin/lam/
H A Dlam.c70 char *linep; variable
88 linep = line;
90 linep = gatherline(ip);
179 char *lp = linep;
196 char *lp = linep;
/freebsd-9.3-release/bin/sh/
H A Dmknodes.c95 static char *linep; variable
142 if (*linep != '\0')
197 fp->decl = savestr(linep);
199 if (*linep)
383 p = linep;
390 linep = p;
398 while (*linep == ' ' || *linep == '\t')
399 linep++;
414 linep
[all...]
/freebsd-9.3-release/libexec/revnetgroup/
H A Dparse_netgroup.c289 char *pos, *spos, *linep = NULL, *olinep = NULL; local
332 linep = (char *)malloc(olen + len + 1);
334 bcopy(olinep, linep, olen);
337 bcopy(pos, linep + olen, len);
339 *(linep + olen) = '\0';
340 olinep = linep;
352 lp->l_line = linep;
/freebsd-9.3-release/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-9.3-release/lib/libc/gen/
H A Dgetnetgrent.c536 char *linep, *olinep, *pos, *spos; local
544 linep = NULL;
565 linep = NULL;
613 linep = malloc(olen + len + 1);
614 if (linep == NULL) {
620 bcopy(olinep, linep, olen);
623 bcopy(pos, linep + olen, len);
625 *(linep + olen) = '\0';
626 olinep = linep;
636 lp->l_line = linep;
[all...]
/freebsd-9.3-release/lib/libc/rpc/
H A Dgetnetconfig.c109 char *linep; /* hold line read from netconfig */ member in struct:netconfig_list
344 list->linep = stringp;
424 free(q->linep);
451 char *linep; /* holds current netconfig line */ local
491 if ((linep = malloc(MAXNETCONFIGLINE)) == NULL) {
501 if ((stringp = fgets(linep, MAXNETCONFIGLINE, file)) == NULL) {
519 if (parse_ncp(linep, ncp) == -1) {
527 free(linep);
/freebsd-9.3-release/contrib/cvs/diff/
H A Dcontext.c433 find_function (file, linenum, linep, lenp)
436 char const **linep;
453 *linep = line;
464 *linep = file->linbuf[i];
465 *lenp = file->linbuf[i + 1] - *linep;
/freebsd-9.3-release/contrib/less/
H A Dline.c1134 forw_raw_line(curr_pos, linep, line_lenp)
1136 char **linep;
1171 if (linep != NULL)
1172 *linep = linebuf;
1183 back_raw_line(curr_pos, linep, line_lenp)
1185 char **linep;
1245 if (linep != NULL)
1246 *linep = &linebuf[n];
/freebsd-9.3-release/sbin/mdmfs/
H A Dmdmfs.c364 char *linep, *linebuf; /* Line pointer, line buffer. */ local
397 linep = fgetln(sfd, &linelen);
398 if (linep == NULL && linelen < mdnamelen + 1)
401 assert(strncmp(linep, mdname, mdnamelen) == 0);
404 /* Can't use strlcpy because linep is not NULL-terminated. */
405 strncpy(linebuf, linep + mdnamelen, linelen);
/freebsd-9.3-release/sbin/routed/rtquery/
H A Drtquery.c863 parse_quote(char **linep, argument
873 pc = *linep;
915 *linep = pc-1;
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dfont.cpp552 char *linep = strchr(line, '\0'); local
554 if (*(--linep) == '\n')
555 *linep = '\0';
/freebsd-9.3-release/sbin/routed/
H A Dparms.c370 parse_quote(char **linep, /* look here */ argument
380 pc = *linep;
424 *linep = pc-1; /* say where we ended */
/freebsd-9.3-release/usr.sbin/newsyslog/
H A Dnewsyslog.c2177 char *endp, *linep, line[BUFSIZ]; local
2230 linep = line;
2231 while (*linep == ' ')
2232 linep++;
2233 rval = strtol(linep, &endp, 10);
/freebsd-9.3-release/usr.bin/csup/
H A Dstatus.c179 status_rdraw(struct status *st, char **linep) argument
258 *linep = line;
/freebsd-9.3-release/sys/kern/
H A Dsubr_witness.c2162 witness_save(struct lock_object *lock, const char **filep, int *linep) argument
2191 *linep = instance->li_line;
/freebsd-9.3-release/contrib/ncurses/ncurses/
H A Dllib-lncurses2648 int *linep,

Completed in 222 milliseconds

12