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

1234567891011>>

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dset_sys_path.py37 import os namespace
42 sys.path.insert(0, os.path.join(os.path.split(__file__)[0], '..'))
/external/chromium_org/build/android/buildbot/
H A Denv_to_json.py9 import os namespace
11 print json.dumps(dict(os.environ))
/external/chromium_org/build/android/pylib/utils/
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))
H A Dhost_path_finder.py5 import os namespace
15 out_dir = os.path.join(
16 constants.DIR_SOURCE_ROOT, os.environ.get('CHROMIUM_OUT_DIR', 'out'))
18 lambda build_type: os.path.join(out_dir, build_type, file_name),
20 candidate_paths = filter(os.path.exists, candidate_paths)
21 candidate_paths = sorted(candidate_paths, key=os.path.getmtime, reverse=True)
/external/chromium_org/build/
H A Dgyp_chromium.py15 import os namespace
17 path = os.path.abspath(os.path.split(__file__)[0])
18 execfile(os.path.join(path, 'gyp_chromium'))
H A Dcheck_return_value.py9 import os namespace
13 devnull = open(os.devnull, 'wb')
H A Dcp.py12 import os namespace
19 return shutil.copy(src, os.path.normpath(dst))
H A Dinverse_depth.py6 import os namespace
12 return os.path.relpath(os.getcwd(), os.path.abspath(depth))
/external/chromium_org/google_apis/build/
H A Dcheck_internal.py12 import os namespace
17 if os.path.exists(sys.argv[1]):
/external/chromium_org/third_party/libyuv/
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/chromium_org/third_party/skia/
H A Dgyp_skia.py15 import os namespace
17 path = os.path.abspath(os.path.split(__file__)[0])
18 execfile(os.path.join(path, 'gyp_skia'))
/external/chromium_org/third_party/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/chromium_org/tools/clang/scripts/
H A Dposix-print-revision.py5 import os namespace
10 sys.exit(os.system(os.path.join(os.path.dirname(__file__), 'update.sh') +
/external/chromium_org/tools/gyp/test/restat/src/
H A Dtouch.py7 import os namespace
13 if os.path.exists(fname):
14 os.utime(fname, None)
/external/chromium_org/tools/gyp/test/variables/commands/repeated_multidir/
H A Dprint_cwd_basename.py7 import os namespace
8 import os.path namespace
10 print os.path.basename(os.getcwd())
/external/chromium_org/tools/gyp/test/win/idl-rules/
H A Didl_compiler.py9 import os namespace
13 basename, ext = os.path.splitext(sys.argv[1])
/external/chromium_org/tools/gyp/test/win/vs-macros/
H A Dtest_exists.py5 import os namespace
8 if not os.path.exists(sys.argv[1]):
/external/chromium_org/tools/profile_chrome/
H A D__init__.py5 import os namespace
9 sys.path.append(os.path.join(os.path.dirname(__file__),
10 os.pardir, os.pardir,
/external/chromium_org/v8/build/
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/harfbuzz_ng/test/shaping/
H A Dhb-diff4 import sys, os namespace
/external/libcxx/test/
H A Dmakemake.py14 import os namespace
19 for root, _dirs, files in os.walk('.'):
22 path = os.path.join(root, test)
23 out_name = os.path.splitext(path)[0] # trim .cpp
24 out_name = os.path.splitext(out_name)[0] # trim .pass
25 out_name = os.path.normpath(out_name)
27 with open(os.path.join(root, 'Android.mk'), 'w') as makefile:
28 makefile_path = os.path.normpath(os.path.join(
/external/skia/
H A Dgyp_skia.py15 import os namespace
17 path = os.path.abspath(os.path.split(__file__)[0])
18 execfile(os.path.join(path, 'gyp_skia'))
/external/chromium-trace/trace-viewer/build/
H A Dcheck_gyp.py5 import os namespace
25 for (dirpath, dirnames, filenames) in os.walk('src'):
28 known_files.append(os.path.join(dirpath, name))
H A Dfixjsstyle2 import os namespace
5 src_dir = os.path.join(os.path.dirname(__file__), '..')
7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags'))
8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter'))
13 os.chdir(src_dir)
H A Dgjslint2 import os namespace
5 src_dir = os.path.join(os.path.dirname(__file__), '..')
7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags'))
8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter'))
13 os.chdir(src_dir)

Completed in 516 milliseconds

1234567891011>>