Lines Matching refs:new_argv
680 char **new_argv, *str_start, *str_end, *str, *s, *quote; in prepend_options_from_env() local
693 new_argv = malloc(sizeof(char *) * (argc + space_count + 3 + envlen)); in prepend_options_from_env()
694 if (new_argv == NULL) in prepend_options_from_env()
697 new_argv[0] = orig_argv[0]; in prepend_options_from_env()
698 str_start = str = (char *) (new_argv + argc + space_count + 3); in prepend_options_from_env()
707 new_argv[i] = str; in prepend_options_from_env()
716 new_argv[i] = str + 1; in prepend_options_from_env()
735 new_argv[i] = str; in prepend_options_from_env()
739 memcpy(new_argv + i, orig_argv + 1, sizeof(char *) * (argc - 1)); in prepend_options_from_env()
740 new_argv[i + argc] = NULL; in prepend_options_from_env()
743 return new_argv; in prepend_options_from_env()