/external/valgrind/main/memcheck/tests/ |
H A D | execve2.c | 4 int main ( int argc, char** argv, char** envp ) 9 execve("../../tests/true", NULL, envp);
|
H A D | execve1.stderr.exp | 11 Syscall param execve(envp[i]) points to unaddressable byte(s)
|
/external/webkit/Tools/MIDLWrapper/ |
H A D | MIDLWrapper.cpp | 11 int wmain(int argc, wchar_t* argv[], wchar_t* envp[]) argument 18 for (int i = 0; envp[i]; ++i) 19 if (!wcsncmp(envp[i], L"PATH=", 5)) { 29 wchar_t* vcbin = wcsstr(envp[pathIndex], L"Tools\\vcbin"); 38 wchar_t* afterLeadingSemiColon = wcsrchr(envp[pathIndex], ';'); 40 afterLeadingSemiColon = envp[pathIndex] + 5; // +5 for the length of "PATH=" 46 size_t pathLength = wcslen(envp[pathIndex]); 50 trailingSemiColon = envp[pathIndex] + pathLength; 60 wchar_t* s = envp[pathIndex]; 68 envp[pathInde [all...] |
/external/llvm/lib/Support/ |
H A D | Program.cpp | 28 const char** envp, 34 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) 43 const char** envp, 48 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg); 26 ExecuteAndWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned secondsToWait, unsigned memoryLimit, std::string* ErrMsg) argument 41 ExecuteNoWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned memoryLimit, std::string* ErrMsg) argument
|
/external/qemu/ |
H A D | cache-utils.c | 24 static void ppc_init_cacheline_sizes(char **envp) argument 28 while (*envp++); 30 for (auxv = (unsigned long *) envp; *auxv != QEMU_AT_NULL; auxv += 2) { 85 void qemu_cache_utils_init(char **envp) argument 87 ppc_init_cacheline_sizes(envp); 90 void qemu_cache_utils_init(char **envp) argument 92 (void) envp;
|
H A D | cache-utils.h | 12 void qemu_cache_utils_init(char **envp); 38 #define qemu_cache_utils_init(envp) do { (void) (envp); } while (0)
|
/external/kernel-headers/original/linux/ |
H A D | kmod.h | 39 extern int call_usermodehelper_keys(char *path, char *argv[], char *envp[], 43 call_usermodehelper(char *path, char **argv, char **envp, int wait) argument 45 return call_usermodehelper_keys(path, argv, envp, NULL, wait);
|
H A D | kobject.h | 116 int (*uevent)(struct kset *kset, struct kobject *kobj, char **envp, 266 int add_uevent_var(char **envp, int num_envp, int *cur_index, 273 static inline int add_uevent_var(char **envp, int num_envp, int *cur_index, argument
|
/external/valgrind/main/none/tests/darwin/ |
H A D | apple-main-arg.c | 12 int main(int argc, char *argv[], char *envp[], char *apple[]) argument 18 for (i = 0; envp[i]; i++) 21 // envp[i]==NULL; envp[i+1]==apple[0]==executable_path 22 assert(envp[i+1] == apple[0]);
|
/external/openssh/openbsd-compat/ |
H A D | setproctitle.c | 73 char **envp = environ; local 86 for (i = 0; envp[i] != NULL; i++) 89 environ = envp; /* put it back */ 101 for (i = 0; envp[i] != NULL; i++) { 102 if (lastargv + 1 == envp[i]) 103 lastargv = envp[i] + strlen(envp[i]); 114 for (i = 0; envp[i] != NULL; i++) 115 environ[i] = strdup(envp[i]);
|
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA1/ |
H A D | SDL_main.cpp | 49 extern "C" int main (int argc, char *argv[], char *envp[]); 88 char** envp=0; local 91 __crt0(argc,argv,envp); 111 int ret = main(argc, argv, envp); /* !! process exits here if there is "exit()" in main! */
|
/external/valgrind/main/coregrind/ |
H A D | pub_core_initimg.h | 77 HChar** envp; member in struct:_IICreateImageInfo 101 HChar** envp; member in struct:_IICreateImageInfo
|
H A D | vg_preloaded.c | 109 /* Scrubbing DYLD_INSERT_LIBRARIES from envp during exec is insufficient, 140 Char **envp = (Char**)*_NSGetEnviron(); local 141 env_unsetenv(envp, "VALGRIND_LAUNCHER"); 142 env_unsetenv(envp, "DYLD_SHARED_REGION"); 144 env_unsetenv(envp, "DYLD_INSERT_LIBRARIES");
|
H A D | launcher-darwin.c | 200 int main(int argc, char** argv, char** envp) argument 358 for (i = 0; envp[i]; i++) 359 ; /* executable path is after last envp item */ 360 /* envp[i] == NULL ; envp[i+1] == executable_path */ 361 if (envp[i+1][0] != '/') { 365 if (strlen(launcher_name) + strlen(envp[i+1]) > PATH_MAX) 367 strcat(launcher_name, envp[i+1]); 378 for (j = 0; envp[j]; j++) 384 new_env[i] = envp[ [all...] |
H A D | m_libcproc.c | 64 envp[] as extracted from the client's stack at startup-time. */ 113 Char **VG_(env_setenv) ( Char ***envp, const Char* varname, const Char *val ) argument 115 Char **env = (*envp); 136 *envp = env; 148 oldenv = *envp; 150 *envp = newenv; 224 void VG_(env_remove_valgrind_env_stuff)(Char** envp) argument 245 for (i = 0; envp[i] != NULL; i++) { 246 if (VG_(strncmp)(envp[i], "LD_PRELOAD=", 11) == 0) 247 ld_preload_str = VG_(arena_strdup)(VG_AR_CORE, "libcproc.erves.1", &envp[ 324 Char** envp; local [all...] |
H A D | pub_core_libcproc.h | 72 extern Char **VG_(env_setenv) ( Char ***envp, const Char* varname,
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_Exec.java | 36 public static Object[] runJava(List<String> args, String[] envp, argument 55 return run(executable, args, envp, displayOutput); 61 public static Object[] run(String command, List<String> args, String[] envp, argument 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); 105 execJava(String[] args, String[] classpath, String[] envp, boolean displayOutput) argument 156 execJavaCommon(String[] args, String[] classpath, String[] envp, boolean displayOutput, boolean appendToSystemClassPath) argument 210 exec(String command, List<String> args, String[] envp, boolean displayOutput) argument [all...] |
/external/clang/examples/clang-interpreter/ |
H A D | main.cpp | 45 static int Execute(llvm::Module *Mod, char * const *envp) { argument 66 return EE->runFunctionAsMain(EntryFn, Args, envp); 69 int main(int argc, const char **argv, char * const *envp) { argument 149 Res = Execute(Module, envp);
|
/external/ipsec-tools/ |
H A D | setup.c | 576 static char *get_env(char * const *envp, char *key) argument 579 while (*envp && (strncmp(*envp, key, length) || (*envp)[length] != '=')) { 580 ++envp; 582 return *envp ? &(*envp)[length + 1] : ""; 586 extern const char *android_hook(char **envp); 588 int privsep_script_exec(char *script, int name, char * const *envp) argument 600 struct sockaddr *addr4 = str2saddr(get_env(envp, "INTERNAL_ADDR [all...] |
H A D | main.c | 105 const char *android_hook(char **envp) argument 111 while (*envp && strncmp(*envp, "INTERNAL_WINS4_LIST=", 20)) { 112 ++envp; 114 if (!*envp) { 122 sprintf(*envp, "INTERFACE=%s", ifr.ifr_name);
|
/external/openssh/ |
H A D | session.h | 80 void child_set_env(char ***envp, u_int *envsizep, const char *name,
|
/external/dbus/dbus/ |
H A D | dbus-spawn-win.c | 76 char **envp; member in struct:DBusBabysitter 124 sitter->envp = NULL; 200 if (sitter->envp != NULL) 202 char **e = sitter->envp; 206 dbus_free (sitter->envp); 207 sitter->envp = NULL; 511 build_env_string (char** envp) argument 513 return compose_string (envp, '\0'); 517 spawn_program (char* name, char** argv, char** envp) argument 535 env_string = build_env_string(envp); 619 _dbus_spawn_async_with_babysitter(DBusBabysitter **sitter_p, char **argv, char **envp, DBusSpawnChildSetupFunc child_setup, void *user_data, DBusError *error) argument [all...] |
H A D | dbus-sysdeps-wince-glue.c | 291 char **envp; local 307 for (envp = environ; *envp != 0; envp++) 310 char *ep = *envp; 330 char **envp; local 332 for (envp = environ; *envp != 0; envp++) 335 char *ep = *envp; [all...] |
/external/llvm/lib/Support/Windows/ |
H A D | Program.inc | 155 const char** envp, 210 if (envp) { 217 for (unsigned i = 0; envp[i]; i++) 218 len += strlen(envp[i]) + 1; 224 for (unsigned i = 0; envp[i]; i++) { 225 const char *ev = envp[i];
|
/external/ipsec-tools/src/racoon/ |
H A D | 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) [all...] |