Lines Matching refs:j
1044 size_t len, start, j; in history_expand() local
1048 start = j = i; in history_expand()
1050 for (; str[j]; j++) { in history_expand()
1051 if (str[j] == '\\' && in history_expand()
1052 str[j + 1] == history_expansion_char) { in history_expand()
1053 len = strlen(&str[j + 1]) + 1; in history_expand()
1054 memmove(&str[j], &str[j + 1], len); in history_expand()
1058 if (isspace((unsigned char) str[j]) in history_expand()
1059 || str[j] == qchar) in history_expand()
1062 if (str[j] == history_expansion_char in history_expand()
1063 && !strchr(history_no_expand_chars, str[j + 1]) in history_expand()
1066 (int)j) == 0)) in history_expand()
1070 if (str[j] && loop_again) { in history_expand()
1071 i = j; in history_expand()
1072 qchar = (j > 0 && str[j - 1] == '"' )? '"':0; in history_expand()
1073 j++; in history_expand()
1074 if (str[j] == history_expansion_char) in history_expand()
1075 j++; in history_expand()
1083 len = j - i; in history_expand()
1091 ret = _history_expand_command (str, i, (j - i), &tmp); in history_expand()
1100 i = j; in history_expand()
2398 size_t len, max, i, j, min; in rl_completion_matches() local
2429 for (j = 0; a[j] && a[j] == b[j]; j++) in rl_completion_matches()
2431 if (min > j) in rl_completion_matches()
2432 min = j; in rl_completion_matches()