Searched defs:os (Results 51 - 75 of 3570) sorted by relevance

1234567891011>>

/external/libmojo/mojo/
H A DPRESUBMIT.py11 import os.path namespace
17 third_party_path = os.path.join(
20 mojo_public_bindings_pylib_path = os.path.join(
23 mojo_python_bindings_path = os.path.join(
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/
H A Dfileutil.py6 import os.path namespace
9 """A wrapper for os.makedirs that does not error if the directory already
12 if not os.path.exists(path) or always_try_to_create:
14 os.makedirs(path)
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dzip_utils.py6 import os namespace
18 if os.path.isdir(path):
19 for dir_path, _, file_names in os.walk(path):
20 dir_arc_path = os.path.join(arc_path, os.path.relpath(dir_path, path))
24 file_path = os.path.join(dir_path, f)
25 file_arc_path = os.path.join(dir_arc_path, f)
/external/libyuv/files/
H A Ddownload_vs_toolchain.py16 import os namespace
20 checkout_root = os.path.dirname(os.path.realpath(__file__))
21 sys.path.insert(0, os.path.join(checkout_root, 'build'))
22 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
/external/llvm/utils/llvm-build/llvmbuild/
H A Dconfigutil.py6 import os namespace
39 output_parent_path = os.path.dirname(os.path.abspath(output_path))
40 if not os.path.exists(output_parent_path):
41 os.makedirs(output_parent_path)
44 if os.path.exists(output_path):
/external/llvm/utils/
H A Dsort_includes.py12 import os namespace
21 ext = os.path.splitext(f.name)[1]
/external/python/cpython2/Demo/comparisons/
H A Dsystemtest.py19 import os namespace
26 dummy = os.readlink
35 os.chdir(prefix)
43 names = os.listdir('.')
44 except os.error, msg:
49 if name == os.curdir or name == os.pardir:
52 mode = os.lstat(name)[ST_MODE]
53 except os.error:
58 os
[all...]
/external/python/cpython2/Demo/scripts/
H A Dmakedir.py8 import sys, os namespace
15 if p and not os.path.isdir(p):
16 head, tail = os.path.split(p)
18 os.mkdir(p, 0777)
/external/python/cpython2/Demo/sockets/
H A Dunixserver.py4 import os namespace
24 os.unlink(FILE)
/external/python/cpython2/Lib/distutils/
H A Ddebug.py1 import os namespace
7 DEBUG = os.environ.get('DISTUTILS_DEBUG')
/external/python/cpython2/Lib/plat-mac/
H A Dappletrunner.py9 import os namespace
12 realmain = os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])),
14 if os.path.exists(realmain):
20 os.execve(sys.executable, sys.argv, os.environ)
/external/python/cpython2/Lib/test/
H A Dtf_inherit_check.py6 import os namespace
13 os.write(fd, "blat")
14 except os.error:
/external/python/cpython2/PC/VC6/
H A Drmpyc.py5 import os namespace
6 from os.path import join
9 for root, dirs, files in os.walk(root):
20 os.remove(join(root, name))
/external/python/cpython2/PC/VS7.1/
H A Drmpyc.py5 import os namespace
6 from os.path import join
9 for root, dirs, files in os.walk(root):
20 os.remove(join(root, name))
/external/python/cpython2/PC/VS8.0/
H A Drmpyc.py5 import os namespace
6 from os.path import join
9 for root, dirs, files in os.walk(root):
20 os.remove(join(root, name))
/external/python/cpython2/PC/VS9.0/
H A Drmpyc.py5 import os namespace
6 from os.path import join
9 for root, dirs, files in os.walk(root):
20 os.remove(join(root, name))
H A Dvs9to8.py2 import os namespace
5 for name in os.listdir(src):
6 path, ext = os.path.splitext(name)
10 filename = os.path.normpath(os.path.join(src, name))
11 destname = os.path.normpath(os.path.join(dest, name))
/external/python/cpython2/PCbuild/
H A Drmpyc.py5 import os namespace
6 from os.path import join
9 for root, dirs, files in os.walk(root):
20 os.remove(join(root, name))
/external/python/cpython2/Tools/scripts/
H A Dbyteyears.py9 import sys, os, time namespace
16 statfunc = os.lstat
18 statfunc = os.stat
46 except os.error, msg:
H A Dcrlf.py4 import sys, os namespace
8 if os.path.isdir(filename):
H A Dlfcr.py5 import sys, re, os namespace
9 if os.path.isdir(filename):
H A Dlll.py8 import sys, os namespace
11 for name in os.listdir(dirname):
12 if name not in (os.curdir, os.pardir):
13 full = os.path.join(dirname, name)
14 if os.path.islink(full):
15 print name, '->', os.readlink(full)
18 if not args: args = [os.curdir]
H A Dwhich.py10 import sys, os namespace
17 pathlist = os.environ['PATH'].split(os.pathsep)
29 filename = os.path.join(dir, prog)
31 st = os.stat(filename)
32 except os.error:
51 sts = os.system('ls ' + longlist + ' ' + filename)
/external/r8/tools/benchmarks/
H A Dmain_utils.py6 import os namespace
8 TOOLS_DIR = os.path.abspath(
9 os.path.normpath(os.path.join(__file__, '..', '..')))
13 return imp.load_source('utils', os.path.join(TOOLS_DIR, 'utils.py'))
/external/skia/gn/
H A Dcp.py8 import os namespace
14 if os.path.exists(dst):
15 if os.path.isdir(dst):
18 os.remove(dst)
20 if os.path.isdir(src):

Completed in 7291 milliseconds

1234567891011>>