Lines Matching refs:arg_index
274 int arg_index = 0; in ParseExpectation() local
275 while (argc > arg_index && strncmp("throws", argv[arg_index], 7)) { in ParseExpectation()
276 arg_index++; in ParseExpectation()
278 if (argc > arg_index) { in ParseExpectation()
280 arg_index++; in ParseExpectation()
281 if (argc > arg_index && !IsFlag(argv[arg_index])) { in ParseExpectation()
282 expects.type = argv[arg_index]; in ParseExpectation()
283 arg_index++; in ParseExpectation()
284 if (argc > arg_index && !IsFlag(argv[arg_index])) { in ParseExpectation()
285 expects.beg_pos = atoi(argv[arg_index]); // NOLINT in ParseExpectation()
286 arg_index++; in ParseExpectation()
287 if (argc > arg_index && !IsFlag(argv[arg_index])) { in ParseExpectation()
288 expects.end_pos = atoi(argv[arg_index]); // NOLINT in ParseExpectation()
305 int arg_index = 1; in main() local
306 if (argc <= arg_index) { in main()
310 const char* filename = argv[arg_index]; in main()
312 arg_index++; in main()
313 if (argc <= arg_index) { in main()
316 source = reinterpret_cast<const uint8_t*>(argv[arg_index]); in main()
319 arg_index++; in main()
321 ParseExpectation(argc - arg_index, argv + arg_index); in main()