Lines Matching full:start_index
1797 def consume_optional(start_index):
1800 option_tuple = option_string_indices[start_index]
1811 extras.append(arg_strings[start_index])
1812 return start_index + 1
1839 stop = start_index + 1
1854 start = start_index + 1
1874 def consume_positionals(start_index):
1877 selected_pattern = arg_strings_pattern[start_index:]
1883 args = arg_strings[start_index: start_index + arg_count]
1884 start_index += arg_count
1890 return start_index
1895 start_index = 0
1900 while start_index <= max_option_string_index:
1906 if index >= start_index])
1907 if start_index != next_option_string_index:
1908 positionals_end_index = consume_positionals(start_index)
1912 if positionals_end_index > start_index:
1913 start_index = positionals_end_index
1916 start_index = positionals_end_index
1920 if start_index not in option_string_indices:
1921 strings = arg_strings[start_index:next_option_string_index]
1923 start_index = next_option_string_index
1926 start_index = consume_optional(start_index)
1929 stop_index = consume_positionals(start_index)