Searched defs:os (Results 1 - 25 of 4816) sorted by relevance

1234567891011>>

/external/autotest/frontend/
H A Dsetup_django_readonly_environment.py8 import os namespace
11 os.environ.setdefault('DJANGO_SETTINGS_MODULE',
/external/autotest/client/tools/
H A Dmake_clean2 import os namespace
5 if not os.path.exists(top_dir):
7 for dir in os.listdir(top_dir):
10 py = os.path.join (top_dir, dir, dir + '.py')
11 if not os.path.exists(py):
13 ret = os.system('grep -q "preserve_srcdir = " ' + py)
14 src_path = os.path.abspath(os.path.join('tests', dir, 'src'))
15 if not os.path.exists(src_path):
23 os
[all...]
/external/chromium-trace/catapult/devil/devil/utils/
H A Dfile_utils.py5 import os namespace
16 if not os.path.exists(os.path.dirname(dest_file)):
17 os.makedirs(os.path.dirname(dest_file))
26 os.remove(dest_file)
/external/harfbuzz_ng/test/shaping/
H A Dhb-diff4 import sys, os namespace
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dfile_utils.py5 import os namespace
16 if not os.path.exists(os.path.dirname(dest_file)):
17 os.makedirs(os.path.dirname(dest_file))
26 os.remove(dest_file)
H A Dhost_utils.py5 import os namespace
10 running_size = os.path.getsize(path)
11 if os.path.isdir(path):
12 for root, dirs, files in os.walk(path):
13 running_size += sum([os.path.getsize(os.path.join(root, f))
/external/libyuv/files/
H A Dgyp_libyuv.py25 import os namespace
27 path = os.path.abspath(os.path.split(__file__)[0])
28 execfile(os.path.join(path, 'gyp_libyuv'))
/external/python/cpython2/Tools/freeze/
H A Dmakemakefile.py3 import os namespace
18 base = os.path.basename(file)
/external/python/cpython3/Lib/distutils/
H A Ddebug.py1 import os namespace
5 DEBUG = os.environ.get('DISTUTILS_DEBUG')
/external/python/cpython3/Lib/test/test_asyncio/
H A Decho.py1 import os namespace
5 buf = os.read(0, 1024)
8 os.write(1, buf)
H A Decho2.py1 import os namespace
4 buf = os.read(0, 1024)
5 os.write(1, b'OUT:'+buf)
6 os.write(2, b'ERR:'+buf)
H A Decho3.py1 import os namespace
5 buf = os.read(0, 1024)
9 os.write(1, b'OUT:'+buf)
11 os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))
/external/python/cpython3/Tools/freeze/
H A Dmakemakefile.py3 import os namespace
17 base = os.path.basename(file)
/external/skia/gn/
H A Dcheckdir.py8 import os namespace
13 print os.path.isdir(dirpath)
H A Dgen_plist_ios.py8 import os namespace
15 out, app = os.path.split(app)
18 with open(os.path.join(out, app + '_Info.plist'), 'w') as f:
/external/skqp/gn/
H A Dcheckdir.py8 import os namespace
13 print os.path.isdir(dirpath)
H A Dgen_plist_ios.py8 import os namespace
15 out, app = os.path.split(app)
18 with open(os.path.join(out, app + '_Info.plist'), 'w') as f:
/external/v8/gypfiles/
H A Dgyp_v8.py38 import os namespace
40 path = os.path.abspath(os.path.split(__file__)[0])
41 execfile(os.path.join(path, 'gyp_v8'))
/external/webrtc/webrtc/build/
H A Dgyp_webrtc.py21 import os namespace
23 path = os.path.abspath(os.path.split(__file__)[0])
24 execfile(os.path.join(path, 'gyp_webrtc'))
/external/autotest/client/bin/
H A Dharness_standalone.py8 import os, harness namespace
23 self.autodir = os.path.abspath(os.environ['AUTODIR'])
/external/autotest/client/bin/result_tools/
H A Dresult_info_lib.py8 import os namespace
12 """Get the os.stat of the file at the given path.
15 @return: os.stat of the file. Return None if file doesn't exist.
18 return os.stat(path)
/external/autotest/client/bin/self-test/
H A Dtest_redirect2 import os namespace
8 os.system ("echo About to redirect stdout 2")
9 os.system ("date")
12 os.system ("echo This should go into the stdout logfile 2")
15 os.system ("date")
19 os.system ("echo stdout all done 2")
20 os.system ("date")
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
H A Dcommon.py7 import os, sys namespace
8 dirname = os.path.dirname(sys.modules[__name__].__file__)
9 cros_dir = os.path.abspath(os.path.join(dirname, "..", ".."))
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dcommon.py7 import os, sys namespace
8 dirname = os.path.dirname(sys.modules[__name__].__file__)
9 cros_dir = os.path.abspath(os.path.join(dirname, ".."))
/external/autotest/client/common_lib/
H A Dmail.py1 import os, email, smtplib namespace

Completed in 555 milliseconds

1234567891011>>