Home
last modified time | relevance | path

Searched refs:oldenv (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/test/Analysis/cert/
Dpos34-c.cpp43 static char *oldenv; in test_heap_memory() local
54 if (oldenv != NULL) { in test_heap_memory()
55 free(oldenv); /* avoid memory leak */ in test_heap_memory()
57 oldenv = env; in test_heap_memory()
/external/curl/tests/
Druntests.pl317 my %oldenv;
3506 foreach my $var (keys %oldenv) {
3507 if($oldenv{$var} eq 'notset') {
3511 $ENV{$var} = $oldenv{$var};
3513 delete $oldenv{$var};
3574 $oldenv{$var} = ($ENV{$var})?"$ENV{$var}":'notset';
4058 if(%oldenv) {
4059 foreach my $var (keys %oldenv) {
4060 if($oldenv{$var} eq 'notset') {
4064 $ENV{$var} = "$oldenv{$var}";
/external/minijail/
Dlibminijail.c2551 const char *oldenv = getenv(kLdPreloadEnvVar); in setup_preload()
2553 if (!oldenv) in setup_preload()
2554 oldenv = ""; in setup_preload()
2557 if (asprintf(&newenv, "%s%s%s", oldenv, oldenv[0] != '\0' ? " " : "", in setup_preload()
/external/toybox/toys/pending/
Dsh.c932 char **oldenv = environ, *s, *ss = str ? : pl2str(TT.ff->pl->next, 0); in run_subshell() local
949 environ = oldenv; in run_subshell()
2272 **sss = 0, **oldenv = environ, **argv2; in sh_exec() local
2314 environ = oldenv; in sh_exec()