Lines Matching refs:argbuf
1932 static vec<const_char_p> argbuf; variable
1972 argbuf.create (10); in alloc_args()
1980 argbuf.truncate (0); in clear_args()
1993 argbuf.safe_push (arg); in store_arg()
2927 argbuf[0], X_OK, false); in execute()
2929 argbuf[0] = string; in execute()
2934 for (n_commands = 1, i = 0; argbuf.iterate (i, &arg); i++) in execute()
2945 argbuf.safe_push (0); in execute()
2947 commands[0].prog = argbuf[0]; /* first command. */ in execute()
2948 commands[0].argv = argbuf.address (); in execute()
2956 for (n_commands = 1, i = 0; argbuf.iterate (i, &arg); i++) in execute()
2962 argbuf[i] = 0; /* Termination of in execute()
2964 commands[n_commands].prog = argbuf[i + 1]; in execute()
2966 = &(argbuf.address ())[i + 1]; in execute()
4845 unsigned int old_length = argbuf.length (); in insert_wrapper()
4855 argbuf.safe_grow (old_length + n); in insert_wrapper()
4856 memmove (argbuf.address () + n, in insert_wrapper()
4857 argbuf.address (), in insert_wrapper()
4869 argbuf[i] = p; in insert_wrapper()
4890 if (argbuf.length () > 0 in do_spec()
4891 && !strcmp (argbuf.last (), "|")) in do_spec()
4892 argbuf.pop (); in do_spec()
4896 if (argbuf.length () > 0) in do_spec()
4992 if (argbuf.length () > 0) in do_self_spec()
5003 argbuf.length () + 1); in do_self_spec()
5005 memcpy (argbuf_copy + 1, argbuf.address (), in do_self_spec()
5006 argbuf.length () * sizeof (const char *)); in do_self_spec()
5008 decode_cmdline_options_to_array (argbuf.length () + 1, in do_self_spec()
5202 if (argbuf.length () > 0 in do_spec_1()
5203 && !strcmp (argbuf.last (), "|")) in do_spec_1()
5214 argbuf.pop (); in do_spec_1()
5219 if (argbuf.length () > 0) in do_spec_1()
5725 unsigned int cur_index = argbuf.length (); in do_spec_1()
5736 if (argbuf.length () != cur_index) in do_spec_1()
5737 record_temp_file (argbuf.last (), 0, 1); in do_spec_1()
6071 save_argbuf = argbuf; in eval_spec_function()
6103 funcval = (*sf->func) (argbuf.length (), in eval_spec_function()
6104 argbuf.address ()); in eval_spec_function()
6107 argbuf.release (); in eval_spec_function()
6108 argbuf = save_argbuf; in eval_spec_function()
7574 if (argbuf.length () > 1) in set_up_specs()
7576 else if (argbuf.length () == 1) in set_up_specs()
7577 target_sysroot_suffix = xstrdup (argbuf.last ()); in set_up_specs()
7598 if (argbuf.length () > 1) in set_up_specs()
7600 else if (argbuf.length () == 1) in set_up_specs()
7601 target_sysroot_hdrs_suffix = xstrdup (argbuf.last ()); in set_up_specs()
7611 FOR_EACH_VEC_ELT (argbuf, ndx, arg) in set_up_specs()
9737 if (argbuf.length () > 0 in compare_debug_dump_opt_spec_function()
9738 && strcmp (argv[argbuf.length () - 1], ".")) in compare_debug_dump_opt_spec_function()
9743 name = xstrdup (argv[argbuf.length () - 1]); in compare_debug_dump_opt_spec_function()
9750 if (argbuf.length () > 0) in compare_debug_dump_opt_spec_function()
9762 gcc_assert (argbuf.length () > 0); in compare_debug_dump_opt_spec_function()
9764 name = concat (argbuf.last (), ext, NULL); in compare_debug_dump_opt_spec_function()
9813 if (argbuf.length () > 0) in compare_debug_self_opt_spec_function()
9815 argbuf.last (), in compare_debug_self_opt_spec_function()
10170 argbuf.truncate (0); in finalize()