Lines Matching refs:lines_before
98 static int lines_before;
123 if ((lines_before || lines_after) && did_print_line &&
228 int prevpos = (curpos == 0) ? lines_before - 1 : curpos - 1;
232 if (lines_before && before_buf[prevpos] != NULL) {
233 int first_buf_entry_line_num = linenum - lines_before;
240 idx = (idx + 1) % lines_before;
249 idx = (idx + 1) % lines_before;
271 } else if (lines_before) {
275 curpos = (curpos + 1) % lines_before;
410 lines_before = xatoi_u(slines_before);
415 lines_before = 0;
417 } else if (lines_before > 0)
418 before_buf = xzalloc(lines_before * sizeof(char *));