Lines Matching refs:end
111 char *history_arg_extract(int start, int end, const char *str);
824 int start, end, idx, has_mods = 0; in _history_expand_command() local
883 start = end = -1; in _history_expand_command()
885 start = end = 1, cmd++; in _history_expand_command()
898 end = 0; in _history_expand_command()
900 end = end * 10 + *cmd++ - '0'; in _history_expand_command()
903 end = -1; in _history_expand_command()
906 end = -2; in _history_expand_command()
909 end = -1, cmd++; in _history_expand_command()
911 end = start; in _history_expand_command()
913 tmp = history_arg_extract(start, end, aptr? aptr:ptr); in _history_expand_command()
1124 history_arg_extract(int start, int end, const char *str) in history_arg_extract() argument
1141 if (end == '$') in history_arg_extract()
1142 end = (int)max; in history_arg_extract()
1143 if (end < 0) in history_arg_extract()
1144 end = (int)max + end + 1; in history_arg_extract()
1146 start = end; in history_arg_extract()
1148 if (start < 0 || end < 0 || (size_t)start > max || in history_arg_extract()
1149 (size_t)end > max || start > end) in history_arg_extract()
1152 for (i = (size_t)start, len = 0; i <= (size_t)end; i++) in history_arg_extract()
1159 for (i = (size_t)start, len = 0; i <= (size_t)end; i++) { in history_arg_extract()
1162 if (i < (size_t)end) in history_arg_extract()
2352 rl_delete_text(int start, int end) in rl_delete_text() argument
2358 return el_deletestr1(e, start, end); in rl_delete_text()