Home | History | Annotate | Download | only in grep

Lines Matching defs:ln

191 	struct str ln;
221 ln.file = grep_malloc(strlen(fn) + 1);
222 strcpy(ln.file, fn);
223 ln.line_no = 0;
224 ln.len = 0;
226 ln.off = -1;
229 ln.off += ln.len + 1;
230 if ((ln.dat = grep_fgetln(f, &ln.len)) == NULL || ln.len == 0)
232 if (ln.len > 0 && ln.dat[ln.len - 1] == line_sep)
233 --ln.len;
234 ln.line_no++;
239 free(ln.file);
244 t = procline(&ln, f->binary);
260 printf("%s:", ln.file);
271 free(ln.file);