/external/valgrind/memcheck/tests/ |
thread_alloca.c | 34 int main(int argc, char **argv, char** envp) 58 for (j = 0; envp[j]; j++) 63 new_env[i] = envp[i];
|
execve1.stderr.exp | 11 Syscall param execve(envp[i]) points to unaddressable byte(s)
|
/external/valgrind/coregrind/ |
vg_preloaded.c | 121 /* Scrubbing DYLD_INSERT_LIBRARIES from envp during exec is insufficient, 152 HChar **envp = (HChar**)*_NSGetEnviron(); local 153 env_unsetenv(envp, "VALGRIND_LAUNCHER"); 154 env_unsetenv(envp, "DYLD_SHARED_REGION"); 156 env_unsetenv(envp, "DYLD_INSERT_LIBRARIES"); 312 char **envp, 340 err = posix_spawn(&pid, command, NULL, &attr, argv, envp ? envp : environ);
|
launcher-darwin.c | 204 int main(int argc, char** argv, char** envp) 362 for (i = 0; envp[i]; i++) 363 ; /* executable path is after last envp item */ 364 /* envp[i] == NULL ; envp[i+1] == executable_path */ 365 if (envp[i+1][0] != '/') { 369 if (strlen(launcher_name) + strlen(envp[i+1]) > PATH_MAX) 371 strcat(launcher_name, envp[i+1]); 382 for (j = 0; envp[j]; j++) 388 new_env[i] = envp[i] [all...] |
m_libcproc.c | 63 envp[] as extracted from the client's stack at startup-time. */ 116 HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname, 119 HChar **env = (*envp); 139 *envp = env; 150 oldenv = *envp; 152 *envp = newenv; 226 If the ro_strings option is set to True then all strings referenced by envp 230 void VG_(env_remove_valgrind_env_stuff)(HChar** envp, Bool ro_strings, 244 for (i = 0; envp[i] != NULL; i++) { 245 if (VG_(strncmp)(envp[i], "LD_PRELOAD=", 11) == 0) 450 HChar** envp; local 472 HChar **envp = VG_(env_clone)(VG_(client_envp)); local [all...] |
pub_core_libcproc.h | 72 extern HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname,
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Exec.java | 36 public static Object[] runJava(List<String> args, String[] envp, 55 return run(executable, args, envp, displayOutput); 61 public static Object[] run(String command, List<String> args, String[] envp, 64 Object[] arr = exec(command, args, envp, displayOutput); 106 String[] envp, boolean displayOutput) 109 execJavaCommon(args, classpath, envp, displayOutput, false); 157 String[] envp, 207 return exec(executable, execArgs, envp, displayOutput); 211 String[] envp, 232 envp); [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
exec.c | 75 char **argv, **envp; local 93 envp = va_arg(ap, char **); 95 return (execve(name, argv, envp)); 132 execvpe(const char *name, char *const *argv, char *const *envp) 202 retry: (void)execve(bp, argv, envp); 220 (void)execve(_PATH_BSHELL, memp, envp);
|
/external/bison/lib/ |
spawni.c | 99 char *const envp[], int use_path) 112 script_execute (const char *file, char *const argv[], char *const envp[]) 131 execve (new_argv[0], new_argv, envp); 142 char *const envp[], int use_path) 294 execve (file, argv, envp); 297 script_execute (file, argv, envp); 345 execve (startp, argv, envp); 348 script_execute (startp, argv, envp);
|
/external/libunwind/tests/ |
forker.c | 33 main (int argc, char **argv, char **envp) 56 execve (program, child_argv, envp);
|
/external/selinux/libselinux/src/ |
setexecfilecon.c | 60 const char *filename, char *const argv[], char *const envp[]) 68 return execve(filename, argv, envp);
|
/libcore/ojluni/src/main/java/java/lang/ |
Runtime.java | 429 * <tt>exec(command, envp)</tt> 431 * <tt>{@link #exec(String, String[], File) exec}(command, envp, null)</tt>. 435 * @param envp array of strings, each element of which 453 * or one of the elements of <code>envp</code> is <code>null</code> 461 public Process exec(String command, String[] envp) throws IOException { 462 return exec(command, envp, null); 470 * <tt>exec(command, envp, dir)</tt> 472 * <tt>{@link #exec(String[], String[], File) exec}(cmdarray, envp, dir)</tt>, 485 * @param envp array of strings, each element of which 507 * or one of the elements of <code>envp</code> is <code>null</code [all...] |
/bionic/libc/bionic/ |
libc_init_dynamic.cpp | 109 exit(slingshot(args.argc, args.argv, args.envp));
|
libc_init_common.cpp | 104 environ = args.envp; 317 __sanitize_environment_variables(args.envp); 321 environ = args.envp;
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 53 static int Execute(std::unique_ptr<llvm::Module> Mod, char *const *envp) { 77 return EE->runFunctionAsMain(EntryFn, Args, envp); 80 int main(int argc, const char **argv, char * const *envp) { 168 Res = Execute(std::move(Module), envp);
|
/external/fio/arch/ |
arch.h | 73 static inline int arch_init(char *envp[])
|
/external/iproute2/tc/ |
e_bpf.c | 46 char **envp; local 49 for (num = 0, envp = environ; *envp != NULL; envp++)
|
/external/ipsec-tools/ |
setup.c | 585 static char *get_env(char * const *envp, char *key) 588 while (*envp && (strncmp(*envp, key, length) || (*envp)[length] != '=')) { 589 ++envp; 591 return *envp ? &(*envp)[length + 1] : ""; 595 extern const char *android_hook(char **envp); 597 int privsep_script_exec(char *script, int name, char * const *envp) 609 struct sockaddr *addr4 = str2saddr(get_env(envp, "INTERNAL_ADDR4") [all...] |
main.c | 105 const char *android_hook(char **envp) 111 while (*envp && strncmp(*envp, "INTERNAL_WINS4_LIST=", 20)) { 112 ++envp; 114 if (!*envp) { 122 sprintf(*envp, "INTERFACE=%s", ifr.ifr_name);
|
/external/valgrind/none/tests/ |
allexec.c | 42 int main(int argc, char **argv, char **envp)
|
/external/dhcpcd-6.8.2/compat/ |
posix_spawn.c | 87 char *const argv[], char *const envp[]) 112 execve(path, argv, envp);
|
/external/dbus/dbus/ |
dbus-spawn-win.c | 77 char **envp; member in struct:DBusBabysitter 127 sitter->envp = NULL; 220 if (sitter->envp != NULL) 222 char **e = sitter->envp; 226 dbus_free (sitter->envp); 227 sitter->envp = NULL; 536 build_env_string (char** envp) 538 return compose_string (envp, '\0'); 542 spawn_program (char* name, char** argv, char** envp) 560 env_string = build_env_string(envp); [all...] |
/ndk/sources/host-tools/make-3.81/ |
remote-cstms.c | 136 ENVP. It gets standard input from STDIN_FD. On failure, return 143 start_remote_job (char **argv, char **envp, int stdin_fd, 178 envp, retport, waybill); 255 exec_command (new_argv, envp);
|
/external/ipsec-tools/src/racoon/ |
privsep.c | 379 char **envp = NULL; local 388 * We expect: script, name, envp[], void 415 * Allocate the arrays for envp 417 envp = racoon_malloc((envc + 1) * sizeof(char *)); 418 if (envp == NULL) { 424 bzero(envp, (envc + 1) * sizeof(char *)); 428 * Populate script, name and envp 441 envp[i++] = bufs[count]; 447 script, name, envp); 454 if ((unsafe_env(envp) == 0) & [all...] |
/libcore/ojluni/src/main/native/ |
UNIXProcess_md.c | 532 const char *const envp[]) 542 execve(argv[0], (char **) argv, (char **) envp); 555 const char *const envp[]) 559 execve(file, (char **) argv, (char **) envp); 561 execve_as_traditional_shell_script(file, argv, envp); 564 environ = (char **) envp; 579 const char *const envp[]) 581 if (envp == NULL || (char **) envp == environ) { 592 execve_with_shell_fallback(file, argv, envp); [all...] |