Lines Matching refs:start

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()
887 start = -1, cmd++; in _history_expand_command()
889 start = 1, cmd++; in _history_expand_command()
891 start = 0; in _history_expand_command()
893 start = start * 10 + *cmd++ - '0'; 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()
1044 size_t len, start, j; in history_expand() local
1048 start = j = i; in history_expand()
1079 len = i - start; in history_expand()
1080 ADD_STRING(&str[start], len, NULL); in history_expand()
1085 if (start == 0) in history_expand()
1124 history_arg_extract(int start, int end, const char *str) in history_arg_extract() argument
1139 if (start == '$') in history_arg_extract()
1140 start = (int)max; in history_arg_extract()
1145 if (start < 0) 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()
1182 int size = 1, idx = 0, i, start; in history_tokenize() local
1189 start = i; in history_tokenize()
1216 len = (size_t)i - (size_t)start; in history_tokenize()
1224 (void)strlcpy(temp, &str[start], len + 1); in history_tokenize()
2352 rl_delete_text(int start, int end) in rl_delete_text() argument
2358 return el_deletestr1(e, start, end); in rl_delete_text()