/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 43 self.old_environ = deepcopy(os.environ) 64 if os.environ.get(key) != value: 65 os.environ[key] = value 67 for key in os.environ.keys(): 69 del os.environ[key] 285 env = os.environ.copy() 307 env = os.environ.copy()
|
test_platform.py | 137 with test_support.EnvironmentVarGuard() as environ: 138 if 'PROCESSOR_ARCHITEW6432' in environ: 139 del environ['PROCESSOR_ARCHITEW6432'] 140 environ['PROCESSOR_ARCHITECTURE'] = 'foo' 144 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ntpath.py | 285 if 'HOME' in os.environ: 286 userhome = os.environ['HOME'] 287 elif 'USERPROFILE' in os.environ: 288 userhome = os.environ['USERPROFILE'] 289 elif not 'HOMEPATH' in os.environ: 293 drive = os.environ['HOMEDRIVE'] 296 userhome = join(drive, os.environ['HOMEPATH']) 353 if var in os.environ: 354 res = res + os.environ[var] 367 if var in os.environ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 43 self.old_environ = deepcopy(os.environ) 64 if os.environ.get(key) != value: 65 os.environ[key] = value 67 for key in os.environ.keys(): 69 del os.environ[key] 285 env = os.environ.copy() 307 env = os.environ.copy()
|
test_platform.py | 137 with test_support.EnvironmentVarGuard() as environ: 138 if 'PROCESSOR_ARCHITEW6432' in environ: 139 del environ['PROCESSOR_ARCHITEW6432'] 140 environ['PROCESSOR_ARCHITECTURE'] = 'foo' 144 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
ccompiler.py | 35 if 'CC' in os.environ:
36 cc = os.environ['CC']
37 if 'CXX' in os.environ:
38 cxx = os.environ['CXX']
39 if 'LDSHARED' in os.environ:
40 ldshared = os.environ['LDSHARED']
41 if 'CPP' in os.environ:
42 cpp = os.environ['CPP']
45 if 'LDFLAGS' in os.environ:
46 ldshared = ldshared + ' ' + os.environ['LDFLAGS'] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
ntpath.py | 313 if 'HOME' in os.environ:
314 userhome = os.environ['HOME']
315 elif 'USERPROFILE' in os.environ:
316 userhome = os.environ['USERPROFILE']
317 elif not 'HOMEPATH' in os.environ:
321 drive = os.environ['HOMEDRIVE']
324 userhome = join(drive, os.environ['HOMEPATH'])
356 return os.environ[var.encode(encoding)].decode(encoding)
359 return os.environ[var]
|
/external/python/cpython2/Lib/ |
ntpath.py | 295 if 'HOME' in os.environ: 296 userhome = os.environ['HOME'] 297 elif 'USERPROFILE' in os.environ: 298 userhome = os.environ['USERPROFILE'] 299 elif not 'HOMEPATH' in os.environ: 303 drive = os.environ['HOMEDRIVE'] 306 userhome = join(drive, os.environ['HOMEPATH']) 338 return os.environ[var.encode(encoding)].decode(encoding) 341 return os.environ[var]
|
/cts/hostsidetests/theme/ |
generate_images.py | 167 if 'ANDROID_SDK_ROOT' not in os.environ: 171 sdk_path = os.environ['ANDROID_SDK_ROOT'] 205 if 'ANDROID_BUILD_TOP' not in os.environ or 'ANDROID_HOST_OUT' not in os.environ: 209 theme_apk = os.path.join(os.environ['ANDROID_HOST_OUT'], 215 out_path = os.path.join(os.environ['ANDROID_BUILD_TOP'],
|
/development/scripts/ |
gdbclient.py | 73 target_device = os.environ["TARGET_PRODUCT"] 160 root = os.environ["ANDROID_BUILD_TOP"] 217 if env not in os.environ: 227 root = os.environ["ANDROID_BUILD_TOP"] 228 sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols")
|
usb-reset-by-serial.py | 71 if "LANG" not in os.environ: 73 os.environ["LANG"] = "en_US.UTF-8" 74 os.environ["LANGUAGE"] = "en_US:"
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_platform.py | 137 with test_support.EnvironmentVarGuard() as environ:
138 if 'PROCESSOR_ARCHITEW6432' in environ:
139 del environ['PROCESSOR_ARCHITEW6432']
140 environ['PROCESSOR_ARCHITECTURE'] = 'foo'
144 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/external/protobuf/python/ |
setup.py | 24 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 25 protoc = os.environ['PROTOC'] 154 os.environ["CONFORMANCE_PYTHON_EXTRA_FAILURES"] = ( 210 os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'cpp'
|
/external/python/cpython2/Lib/distutils/tests/ |
support.py | 134 self.old_environ = deepcopy(os.environ) 138 if os.environ.get(key) != value: 139 os.environ[key] = value 141 for key in os.environ.keys(): 143 del os.environ[key]
|
/external/python/cpython2/Lib/test/ |
test_platform.py | 166 with test_support.EnvironmentVarGuard() as environ: 167 if 'PROCESSOR_ARCHITEW6432' in environ: 168 del environ['PROCESSOR_ARCHITEW6432'] 169 environ['PROCESSOR_ARCHITECTURE'] = 'foo' 173 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/external/python/cpython2/Tools/scripts/ |
h2py.py | 47 searchdirs=os.environ['include'].split(';') 50 searchdirs=os.environ['INCLUDE'].split(';') 54 searchdirs=os.environ['BEINCLUDES'].split(';') 56 searchdirs=os.environ['C_INCLUDE_PATH'].split(':') 63 os.environ['MULTIARCH']))
|
/external/python/cpython3/Lib/distutils/tests/ |
support.py | 126 self.old_environ = deepcopy(os.environ) 130 if os.environ.get(key) != value: 131 os.environ[key] = value 133 for key in tuple(os.environ.keys()): 135 del os.environ[key]
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_platform.py | 137 with test_support.EnvironmentVarGuard() as environ: 138 if 'PROCESSOR_ARCHITEW6432' in environ: 139 del environ['PROCESSOR_ARCHITEW6432'] 140 environ['PROCESSOR_ARCHITECTURE'] = 'foo' 144 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_platform.py | 137 with test_support.EnvironmentVarGuard() as environ: 138 if 'PROCESSOR_ARCHITEW6432' in environ: 139 del environ['PROCESSOR_ARCHITEW6432'] 140 environ['PROCESSOR_ARCHITECTURE'] = 'foo' 144 environ['PROCESSOR_ARCHITEW6432'] = 'bar'
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
support.py | 134 self.old_environ = deepcopy(os.environ) 138 if os.environ.get(key) != value: 139 os.environ[key] = value 141 for key in os.environ.keys(): 143 del os.environ[key]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
support.py | 134 self.old_environ = deepcopy(os.environ) 138 if os.environ.get(key) != value: 139 os.environ[key] = value 141 for key in os.environ.keys(): 143 del os.environ[key]
|
/external/python/cpython3/Lib/test/ |
test_wsgiref.py | 48 def hello_app(environ,start_response): 56 def header_app(environ, start_response): 62 environ['HTTP_X_TEST_HEADER'], environ['QUERY_STRING'], 63 environ['PATH_INFO'] 161 def bad_app(environ,start_response): 176 def bad_app(environ, start_response): 235 # PEP3333 says environ variables are decoded as latin1. 259 def app(environ, start_response): 526 os_environ = dict(os.environ.items() [all...] |
/bionic/libc/kernel/tools/ |
utils.py | 33 if "ANDROID_BUILD_TOP" in os.environ: 37 root = os.environ["ANDROID_BUILD_TOP"] 40 return os.environ["ANDROID_BUILD_TOP"]
|
/development/gsi/gsi_util/ |
build.py | 50 if not os.environ.get('ANDROID_BUILD_TOP'): 64 build_top = os.environ['ANDROID_BUILD_TOP'] 82 host_out = os.environ['ANDROID_HOST_OUT']
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
checkextensions_win32.py | 84 os.environ['PYTHONPREFIX'] = prefix
102 os.environ['dsp_path'] = os.path.split(dsp)[0]
103 os.environ['ini_path'] = os.path.split(mapFileName)[0]
|