Searched refs:end_line (Results 1 – 2 of 2) sorted by relevance
111 int end_line; /* 'sed 1,3p' 0 == one line only. -1 = last line ($). -2-N = +N */ member538 if (sed_cmd->end_line || sed_cmd->end_match) in parse_cmd_args()559 if (sed_cmd->end_line || sed_cmd->end_match) in parse_cmd_args()682 sed_cmd->end_line = -2 - idx; in add_cmd()685 idx = get_address(cmdstr, &sed_cmd->end_line, &sed_cmd->end_match); in add_cmd()691 sed_cmd->end_line_orig = sed_cmd->end_line; in add_cmd()1100 sed_cmd->end_line = sed_cmd->end_line_orig; in process_files()1105 dbg("match2:%d", (!sed_cmd->beg_line && !sed_cmd->end_line in process_files()1108 && (sed_cmd->end_line || sed_cmd->end_match in process_files()1119 || (!sed_cmd->beg_line && !sed_cmd->end_line in process_files()[all …]
695 static char *end_line(char *p) // return pointer to NL of cur line in end_line() function707 p = end_line(p); in dollar_line()725 p = end_line(p); in next_line()741 q = end_line(q); in end_screen()757 stop = end_line(stop); in count_lines()759 start = end_line(start); in count_lines()868 end_scr = end_line(end_scr); in sync_cursor()1824 dot = end_line(dot); // return pointer to last char cur line in dot_end()2158 if (autoindent && indentcol && r == end_line(p)) { in char_insert()2721 regmatch[0].rm_eo = end_line(q) - q; in regex_search()[all …]