Lines Matching refs:envp
116 HChar **VG_(env_setenv) ( HChar ***envp, const HChar* varname, in VG_()
119 HChar **env = (*envp); in VG_()
139 *envp = env; in VG_()
150 oldenv = *envp; in VG_()
152 *envp = newenv; in VG_()
230 void VG_(env_remove_valgrind_env_stuff)(HChar** envp, Bool ro_strings, in VG_()
244 for (i = 0; envp[i] != NULL; i++) { in VG_()
245 if (VG_(strncmp)(envp[i], "LD_PRELOAD=", 11) == 0) { in VG_()
247 envp[i] = VG_(strdup)("libcproc.erves.1", envp[i]); in VG_()
248 ld_preload_str = &envp[i][11]; in VG_()
250 if (VG_(strncmp)(envp[i], "LD_LIBRARY_PATH=", 16) == 0) { in VG_()
252 envp[i] = VG_(strdup)("libcproc.erves.2", envp[i]); in VG_()
253 ld_library_path_str = &envp[i][16]; in VG_()
255 if (VG_(strncmp)(envp[i], "DYLD_INSERT_LIBRARIES=", 22) == 0) { in VG_()
257 envp[i] = VG_(strdup)("libcproc.erves.3", envp[i]); in VG_()
258 dyld_insert_libraries_str = &envp[i][22]; in VG_()
272 VG_(env_unsetenv)(envp, VALGRIND_LAUNCHER, free_fn); in VG_()
275 VG_(env_unsetenv)(envp, "DYLD_SHARED_REGION", free_fn); in VG_()
450 HChar** envp; in VG_() local
453 envp = VG_(env_clone)(VG_(client_envp)); in VG_()
454 VG_(env_remove_valgrind_env_stuff)( envp, True /*ro_strings*/, NULL ); in VG_()
457 (UWord)filename, (UWord)argv, (UWord)envp); in VG_()
469 HChar **envp = VG_(env_clone)(VG_(client_envp)); in VG_() local
470 for (HChar **p = envp; *p != NULL; p++) { in VG_()
473 VG_(env_remove_valgrind_env_stuff)(envp, /* ro_strings */ False, VG_(free)); in VG_()
480 for (HChar **p = envp; *p != NULL; p++) { in VG_()
503 for (HChar **p = envp; *p != NULL; p++) { in VG_()
515 for (HChar **p = envp; *p != NULL; p++) { in VG_()
518 VG_(free)(envp); in VG_()