Lines Matching refs:argbuf
1551 static VEC(const_char_p,heap) *argbuf;
1590 argbuf = VEC_alloc (const_char_p, heap, 10); in alloc_args()
1598 VEC_truncate (const_char_p, argbuf, 0); in clear_args()
1611 VEC_safe_push (const_char_p, heap, argbuf, arg); in store_arg()
1614 have_o_argbuf_index = VEC_length (const_char_p, argbuf); in store_arg()
2524 VEC_index (const_char_p, argbuf, 0), X_OK, false); in execute()
2526 VEC_replace (const_char_p, argbuf, 0, string); in execute()
2531 for (n_commands = 1, i = 0; VEC_iterate (const_char_p, argbuf, i, arg); i++) in execute()
2542 VEC_safe_push (const_char_p, heap, argbuf, 0); in execute()
2544 commands[0].prog = VEC_index (const_char_p, argbuf, 0); /* first command. */ in execute()
2545 commands[0].argv = VEC_address (const_char_p, argbuf); in execute()
2553 for (n_commands = 1, i = 0; VEC_iterate (const_char_p, argbuf, i, arg); i++) in execute()
2559 VEC_replace (const_char_p, argbuf, i, 0); /* Termination of in execute()
2561 commands[n_commands].prog = VEC_index (const_char_p, argbuf, i + 1); in execute()
2563 = &(VEC_address (const_char_p, argbuf))[i + 1]; in execute()
4184 unsigned int old_length = VEC_length (const_char_p, argbuf); in insert_wrapper()
4194 VEC_safe_grow (const_char_p, heap, argbuf, old_length + n); in insert_wrapper()
4195 memmove (VEC_address (const_char_p, argbuf) + n, in insert_wrapper()
4196 VEC_address (const_char_p, argbuf), in insert_wrapper()
4208 VEC_replace (const_char_p, argbuf, i, p); in insert_wrapper()
4229 if (VEC_length (const_char_p, argbuf) > 0 in do_spec()
4230 && !strcmp (VEC_last (const_char_p, argbuf), "|")) in do_spec()
4231 VEC_pop (const_char_p, argbuf); in do_spec()
4235 if (VEC_length (const_char_p, argbuf) > 0) in do_spec()
4331 if (VEC_length (const_char_p, argbuf) > 0) in do_self_spec()
4342 VEC_length (const_char_p, argbuf) + 1); in do_self_spec()
4344 memcpy (argbuf_copy + 1, VEC_address (const_char_p, argbuf), in do_self_spec()
4345 VEC_length (const_char_p, argbuf) * sizeof (const char *)); in do_self_spec()
4347 decode_cmdline_options_to_array (VEC_length (const_char_p, argbuf) + 1, in do_self_spec()
4535 if (VEC_length (const_char_p, argbuf) > 0 in do_spec_1()
4536 && !strcmp (VEC_last (const_char_p, argbuf), "|")) in do_spec_1()
4547 VEC_pop (const_char_p, argbuf); in do_spec_1()
4552 if (VEC_length (const_char_p, argbuf) > 0) in do_spec_1()
5056 unsigned int cur_index = VEC_length (const_char_p, argbuf); in do_spec_1()
5066 if (VEC_length (const_char_p, argbuf) != cur_index) in do_spec_1()
5067 record_temp_file (VEC_last (const_char_p, argbuf), 0, 1); in do_spec_1()
5375 save_argbuf = argbuf; in eval_spec_function()
5395 funcval = (*sf->func) (VEC_length (const_char_p, argbuf), in eval_spec_function()
5396 VEC_address (const_char_p, argbuf)); in eval_spec_function()
5399 VEC_free (const_char_p, heap, argbuf); in eval_spec_function()
5400 argbuf = save_argbuf; in eval_spec_function()
6354 if (VEC_length (const_char_p, argbuf) > 1) in main()
6356 else if (VEC_length (const_char_p, argbuf) == 1) in main()
6357 target_sysroot_suffix = xstrdup (VEC_last (const_char_p, argbuf)); in main()
6377 if (VEC_length (const_char_p, argbuf) > 1) in main()
6379 else if (VEC_length (const_char_p, argbuf) == 1) in main()
6380 target_sysroot_hdrs_suffix = xstrdup (VEC_last (const_char_p, argbuf)); in main()
6390 FOR_EACH_VEC_ELT (const_char_p, argbuf, ndx, arg) in main()
8232 if (VEC_length (const_char_p, argbuf) > 0 in compare_debug_dump_opt_spec_function()
8233 && strcmp (argv[VEC_length (const_char_p, argbuf) - 1], ".")) in compare_debug_dump_opt_spec_function()
8238 name = xstrdup (argv[VEC_length (const_char_p, argbuf) - 1]); in compare_debug_dump_opt_spec_function()
8245 if (VEC_length (const_char_p, argbuf) > 0) in compare_debug_dump_opt_spec_function()
8257 gcc_assert (VEC_length (const_char_p, argbuf) > 0); in compare_debug_dump_opt_spec_function()
8259 name = concat (VEC_last (const_char_p, argbuf), ext, NULL); in compare_debug_dump_opt_spec_function()
8303 if (VEC_length (const_char_p, argbuf) > 0) in compare_debug_self_opt_spec_function()
8305 VEC_last (const_char_p, argbuf), in compare_debug_self_opt_spec_function()