• Home
  • Raw
  • Download

Lines Matching refs:__argv

996 	char **__argv = malloc(sizeof(const char *) * argc);  in have_cmd()  local
998 if (!__argv) in have_cmd()
1000 memcpy(__argv, argv, sizeof(const char *) * argc); in have_cmd()
1001 argc = parse_options(argc, (const char **)__argv, record_options, in have_cmd()
1003 free(__argv); in have_cmd()
1014 const char **__argv; in cmd_script() local
1093 __argv = malloc((argc + 6) * sizeof(const char *)); in cmd_script()
1094 if (!__argv) in cmd_script()
1097 __argv[j++] = "/bin/sh"; in cmd_script()
1098 __argv[j++] = rec_script_path; in cmd_script()
1100 __argv[j++] = "-a"; in cmd_script()
1101 __argv[j++] = "-q"; in cmd_script()
1102 __argv[j++] = "-o"; in cmd_script()
1103 __argv[j++] = "-"; in cmd_script()
1105 __argv[j++] = argv[i]; in cmd_script()
1106 __argv[j++] = NULL; in cmd_script()
1108 execvp("/bin/sh", (char **)__argv); in cmd_script()
1109 free(__argv); in cmd_script()
1116 __argv = malloc((argc + 4) * sizeof(const char *)); in cmd_script()
1117 if (!__argv) in cmd_script()
1120 __argv[j++] = "/bin/sh"; in cmd_script()
1121 __argv[j++] = rep_script_path; in cmd_script()
1123 __argv[j++] = argv[i]; in cmd_script()
1124 __argv[j++] = "-i"; in cmd_script()
1125 __argv[j++] = "-"; in cmd_script()
1126 __argv[j++] = NULL; in cmd_script()
1128 execvp("/bin/sh", (char **)__argv); in cmd_script()
1129 free(__argv); in cmd_script()
1145 __argv = malloc((argc + 2) * sizeof(const char *)); in cmd_script()
1146 if (!__argv) in cmd_script()
1148 __argv[j++] = "/bin/sh"; in cmd_script()
1149 __argv[j++] = script_path; in cmd_script()
1151 __argv[j++] = "-a"; in cmd_script()
1153 __argv[j++] = argv[i]; in cmd_script()
1154 __argv[j++] = NULL; in cmd_script()
1156 execvp("/bin/sh", (char **)__argv); in cmd_script()
1157 free(__argv); in cmd_script()