Home
last modified time | relevance | path

Searched refs:old_environ (Results 1 – 14 of 14) sorted by relevance

/external/autotest/cli/
Drpc_unittest.py19 self.old_environ = os.environ.copy()
26 os.environ.update(self.old_environ)
/external/autotest/client/common_lib/
Dtime_utils_unittest.py24 old_environ = os.environ.copy()
31 os.environ.update(old_environ)
/external/python/cpython3/Lib/distutils/tests/
Dsupport.py126 self.old_environ = deepcopy(os.environ)
129 for key, value in self.old_environ.items():
134 if key not in self.old_environ:
/external/python/cpython2/Lib/distutils/tests/
Dsupport.py134 self.old_environ = deepcopy(os.environ)
137 for key, value in self.old_environ.items():
142 if key not in self.old_environ:
/external/google-breakpad/src/testing/gtest/test/
Dgtest_test_utils.py253 old_environ = os.environ.copy()
272 _ReplaceEnvDict(os.environ, old_environ)
/external/python/cpython2/Lib/test/
Dtest_sysconfig.py43 self.old_environ = deepcopy(os.environ)
63 for key, value in self.old_environ.items():
68 if key not in self.old_environ:
Dtest_urllib2_localnet.py331 def restore_environ(old_environ): argument
333 os.environ.update(old_environ)
/external/googletest/googletest/test/
Dgtest_test_utils.py263 old_environ = os.environ.copy()
282 _ReplaceEnvDict(os.environ, old_environ)
/external/selinux/policycoreutils/newrole/
Dnewrole.c476 char **old_environ, const struct passwd *pw) in restore_environment() argument
486 environ = old_environ; in restore_environment()
1032 char **old_environ; in main() local
1073 old_environ = environ; in main()
1324 if (restore_environment(preserve_environment, old_environ, &pw)) { in main()
/external/libchrome/base/process/
Dlaunch_posix.cc326 char* const* old_environ = GetEnvironment(); in LaunchProcess() local
328 old_environ = &empty_environ; in LaunchProcess()
330 new_environ = AlterEnvironment(old_environ, options.environ); in LaunchProcess()
/external/python/cpython3/Lib/test/
Dtest_urllib2_localnet.py328 def restore_environ(old_environ): argument
330 os.environ.update(old_environ)
452 def restore_environ(old_environ): argument
454 os.environ.update(old_environ)
Dtest_builtin.py1027 old_environ = dict(os.environ)
1043 os.environ.update(old_environ)
Dtest_io.py2633 old_environ = dict(os.environ)
2648 os.environ.update(old_environ)
/external/python/google-api-python-client/tests/
Dtest_discovery.py477 self.old_environ = os.environ.copy()
480 os.environ = self.old_environ