Home
last modified time | relevance | path

Searched refs:p_line (Results 1 – 8 of 8) sorted by relevance

/mirbsd/src/usr.bin/patch/
Dpch.c60 static char **p_line = NULL;/* the text of the hunk */ variable
131 if (p_line == NULL) in set_hunkmax()
132 p_line = malloc((size_t) hunkmax * sizeof(char *)); in set_hunkmax()
152 if (p_line == NULL || p_len == NULL || p_char == NULL) in grow_hunkmax()
155 new_p_line = realloc(p_line, new_hunkmax * sizeof(char *)); in grow_hunkmax()
157 free(p_line); in grow_hunkmax()
169 p_line = new_p_line; in grow_hunkmax()
171 if (p_line != NULL && p_len != NULL && p_char != NULL) { in grow_hunkmax()
501 free(p_line[p_end]); in another_hunk()
546 p_line[p_end] = NULL; in another_hunk()
[all …]
/mirbsd/src/usr.bin/xlint/lint1/
Derr.c400 (void)printf("%s:%d: ", fn, curr_pos.p_line); in verror()
420 (void)printf("%s:%d: warning: ", fn, curr_pos.p_line); in vwarning()
446 (void)fprintf(stderr, "%s:%d: lint error: ", fn, curr_pos.p_line); in lerror()
471 (void)printf("%s:%d: ", fn, curr_pos.p_line); in message()
514 if (pos->p_line == lineno) in excerpt()
517 if (fp == NULL || file != pos->p_file || pos->p_line < lineno) { in excerpt()
529 while (lineno < pos->p_line && (buf = fgetln(fp, &len))) { in excerpt()
Demit1.c236 outint(csrc_pos.p_line); in outsym()
240 outint(sym->s_dpos.p_line); in outsym()
302 outint(posp->p_line); in outfdef()
304 outint(csrc_pos.p_line); in outfdef()
309 outint(posp->p_line); in outfdef()
395 outint(csrc_pos.p_line); in outcall()
399 outint(curr_pos.p_line); in outcall()
578 outint(csrc_pos.p_line); in outusg()
582 outint(curr_pos.p_line); in outusg()
Dscan.l168 curr_pos.p_line++;
170 csrc_pos.p_line++;
1036 curr_pos.p_line = (int)ln - 1; in directive()
1038 csrc_pos.p_line = (int)ln - 1; in directive()
Dlint1.h42 int p_line; member
/mirbsd/src/usr.bin/xlint/lint2/
Dmsg.c117 line = posp->p_line; in mkpos()
Dlint2.h91 u_short p_line; /* line number in p_src */ member
Dread.c173 pos.p_line = (u_short)cline; in readfile()