/freebsd-10-stable/lib/libc/stdio/ |
H A D | getline.c | 34 getline(char ** __restrict linep, size_t * __restrict linecapp, argument 38 return (getdelim(linep, linecapp, '\n', fp));
|
H A D | getdelim.c | 62 * 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-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_setup.c | 199 _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-10-stable/contrib/binutils/gas/ |
H A D | input-scrub.c | 495 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-10-stable/usr.bin/lam/ |
H A D | lam.c | 70 static char *linep; variable 88 linep = line; 90 linep = gatherline(ip); 179 char *lp = linep; 196 char *lp = linep;
|
/freebsd-10-stable/bin/sh/ |
H A D | mknodes.c | 94 static char *linep; variable 143 if (*linep != '\0') 198 fp->decl = savestr(linep); 200 if (*linep) 393 p = linep; 400 linep = p; 408 while (*linep == ' ' || *linep == '\t') 409 linep++; 424 linep [all...] |
/freebsd-10-stable/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 285 char *pos, *spos, *linep = NULL, *olinep = NULL; local 328 linep = (char *)malloc(olen + len + 1); 330 bcopy(olinep, linep, olen); 333 bcopy(pos, linep + olen, len); 335 *(linep + olen) = '\0'; 336 olinep = linep; 348 lp->l_line = linep;
|
/freebsd-10-stable/release/picobsd/tinyware/msh/ |
H A D | sh4.c | 133 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 D | sh5.c | 33 if(e.linep > elinep) {
|
H A D | sh3.c | 582 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 D | sh2.c | 621 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 D | sh.h | 146 char *linep; member in struct:env
|
H A D | sh1.c | 232 e.linep = line;
|
/freebsd-10-stable/lib/libc/gen/ |
H A D | getnetgrent.c | 537 char *linep, *olinep, *pos, *spos; local 545 linep = NULL; 570 linep = NULL; 618 linep = malloc(olen + len + 1); 619 if (linep == NULL) { 627 bcopy(olinep, linep, olen); 630 bcopy(pos, linep + olen, len); 632 *(linep + olen) = '\0'; 633 olinep = linep; 643 lp->l_line = linep; [all...] |
/freebsd-10-stable/lib/libc/rpc/ |
H A D | getnetconfig.c | 109 char *linep; /* hold line read from netconfig */ member in struct:netconfig_list 342 list->linep = stringp; 421 free(q->linep); 447 char *linep; /* holds current netconfig line */ local 487 if ((linep = malloc(MAXNETCONFIGLINE)) == NULL) { 497 if ((stringp = fgets(linep, MAXNETCONFIGLINE, file)) == NULL) { 515 if (parse_ncp(linep, ncp) == -1) { 523 free(linep);
|
/freebsd-10-stable/sbin/mdmfs/ |
H A D | mdmfs.c | 364 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-10-stable/contrib/less/ |
H A D | line.c | 1230 forw_raw_line(curr_pos, linep, line_lenp) 1232 char **linep; 1267 if (linep != NULL) 1268 *linep = linebuf; 1279 back_raw_line(curr_pos, linep, line_lenp) 1281 char **linep; 1341 if (linep != NULL) 1342 *linep = &linebuf[n];
|
H A D | funcs.h | 191 public POSITION forw_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp)); 192 public POSITION back_raw_line LESSPARAMS ((POSITION curr_pos, char **linep, int *line_lenp));
|
/freebsd-10-stable/sbin/routed/rtquery/ |
H A D | rtquery.c | 863 parse_quote(char **linep, argument 873 pc = *linep; 915 *linep = pc-1;
|
/freebsd-10-stable/contrib/groff/src/libs/libgroff/ |
H A D | font.cpp | 552 char *linep = strchr(line, '\0'); local 554 if (*(--linep) == '\n') 555 *linep = '\0';
|
/freebsd-10-stable/sbin/routed/ |
H A D | parms.c | 370 parse_quote(char **linep, /* look here */ argument 380 pc = *linep; 424 *linep = pc-1; /* say where we ended */
|
/freebsd-10-stable/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 2195 char *endp, *linep, line[BUFSIZ]; local 2248 linep = line; 2249 while (*linep == ' ') 2250 linep++; 2251 rval = strtol(linep, &endp, 10);
|
/freebsd-10-stable/usr.bin/csup/ |
H A D | status.c | 179 status_rdraw(struct status *st, char **linep) argument 258 *linep = line;
|
/freebsd-10-stable/sys/kern/ |
H A D | subr_witness.c | 2229 witness_save(struct lock_object *lock, const char **filep, int *linep) argument 2260 *linep = instance->li_line;
|
/freebsd-10-stable/contrib/ncurses/ncurses/ |
H A D | llib-lncurses | 2648 int *linep,
|