Home | History | Annotate | Download | only in sed

Lines Matching refs:vec

842 reset_addresses(vec)
843 struct vector *vec;
848 for (cur_cmd = vec->v, n = vec->v_length; n--; cur_cmd++)
1366 shrink_program(vec, cur_cmd)
1367 struct vector *vec;
1370 struct sed_cmd *v = vec->v;
1371 struct sed_cmd *last_cmd = v + vec->v_length;
1378 cmd_cnt = v - vec->v;
1383 vec->v_length = v - vec->v;
1385 return (0 < vec->v_length) ? (vec->v + cmd_cnt) : CAST(struct sed_cmd *)0;
1389 /* Execute the program `vec' on the current input line.
1393 execute_program(vec, input)
1394 struct vector *vec;
1400 cur_cmd = vec->v;
1401 end_cmd = vec->v + vec->v_length;
1418 cur_cmd = vec->v + cur_cmd->x.jump_index;
1450 cur_cmd = vec->v;
1566 if (test_eof(input) || !read_pattern_space(input, vec, false))
1573 if (test_eof(input) || !read_pattern_space(input, vec, true))
1638 cur_cmd = vec->v + cur_cmd->x.jump_index;
1646 cur_cmd = vec->v + cur_cmd->x.jump_index;
1805 cur_cmd = shrink_program(vec, cur_cmd);
1808 end_cmd = vec->v + vec->v_length;