/external/libmojo/mojo/ |
H A D | PRESUBMIT.py | 11 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 D | fileutil.py | 6 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 D | zip_utils.py | 6 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 D | download_vs_toolchain.py | 16 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 D | configutil.py | 6 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 D | sort_includes.py | 12 import os namespace 21 ext = os.path.splitext(f.name)[1]
|
/external/python/cpython2/Demo/comparisons/ |
H A D | systemtest.py | 19 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 D | makedir.py | 8 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 D | unixserver.py | 4 import os namespace 24 os.unlink(FILE)
|
/external/python/cpython2/Lib/distutils/ |
H A D | debug.py | 1 import os namespace 7 DEBUG = os.environ.get('DISTUTILS_DEBUG')
|
/external/python/cpython2/Lib/plat-mac/ |
H A D | appletrunner.py | 9 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 D | tf_inherit_check.py | 6 import os namespace 13 os.write(fd, "blat") 14 except os.error:
|
/external/python/cpython2/PC/VC6/ |
H A D | rmpyc.py | 5 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 D | rmpyc.py | 5 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 D | rmpyc.py | 5 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 D | rmpyc.py | 5 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 D | vs9to8.py | 2 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 D | rmpyc.py | 5 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 D | byteyears.py | 9 import sys, os, time namespace 16 statfunc = os.lstat 18 statfunc = os.stat 46 except os.error, msg:
|
H A D | crlf.py | 4 import sys, os namespace 8 if os.path.isdir(filename):
|
H A D | lfcr.py | 5 import sys, re, os namespace 9 if os.path.isdir(filename):
|
H A D | lll.py | 8 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 D | which.py | 10 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 D | main_utils.py | 6 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 D | cp.py | 8 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):
|