Lines Matching full:start_index
1839 def consume_optional(start_index):
1842 option_tuple = option_string_indices[start_index]
1853 extras.append(arg_strings[start_index])
1854 return start_index + 1
1881 stop = start_index + 1
1896 start = start_index + 1
1916 def consume_positionals(start_index):
1919 selected_pattern = arg_strings_pattern[start_index:]
1925 args = arg_strings[start_index: start_index + arg_count]
1926 start_index += arg_count
1932 return start_index
1937 start_index = 0
1942 while start_index <= max_option_string_index:
1948 if index >= start_index])
1949 if start_index != next_option_string_index:
1950 positionals_end_index = consume_positionals(start_index)
1954 if positionals_end_index > start_index:
1955 start_index = positionals_end_index
1958 start_index = positionals_end_index
1962 if start_index not in option_string_indices:
1963 strings = arg_strings[start_index:next_option_string_index]
1965 start_index = next_option_string_index
1968 start_index = consume_optional(start_index)
1971 stop_index = consume_positionals(start_index)