/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | file_util_unittest.py | 23 source_path = os.path.join(self._tempdir, 'source') 24 with open(source_path, 'w') as f: 30 file_util.CopyFileWithIntermediateDirectories(source_path, dest_path) 35 source_path = os.path.join(self._tempdir, 'source') 36 with open(source_path, 'w') as f: 42 file_util.CopyFileWithIntermediateDirectories(source_path, dest_path) 47 source_path = os.path.join(self._tempdir, 'source') 48 with open(source_path, 'w') as f: 55 file_util.CopyFileWithIntermediateDirectories(source_path, dest_path) 59 source_path = os.path.join(self._tempdir, 'source') [all …]
|
D | file_util.py | 10 def CopyFileWithIntermediateDirectories(source_path, dest_path): argument 17 assert os.path.exists(source_path) 23 shutil.copy(source_path, dest_path)
|
/external/libyuv/files/ |
D | setup_links.py | 202 def __init__(self, source_path, link_path): argument 205 self._source_path = source_path 222 source_path = os.path.abspath(self._source_path) 225 source_path = os.path.relpath(self._source_path, 228 os.symlink(source_path, os.path.abspath(self._link_path)) 239 def symlink(source_path, link_path): argument 240 flag = 1 if os.path.isdir(source_path) else 0 242 unicode(link_path), unicode(source_path), flag): 245 'creating symlinks.' % source_path) 261 for source_path, link_path in FILES.iteritems(): [all …]
|
/external/webrtc/ |
D | setup_links.py | 223 def __init__(self, source_path, link_path): argument 226 self._source_path = source_path 243 source_path = os.path.abspath(self._source_path) 246 source_path = os.path.relpath(self._source_path, 249 os.symlink(source_path, os.path.abspath(self._link_path)) 260 def symlink(source_path, link_path): argument 261 flag = 1 if os.path.isdir(source_path) else 0 263 unicode(link_path), unicode(source_path), flag): 266 'creating symlinks.' % source_path) 282 for source_path, link_path in FILES.iteritems(): [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_py_compile.py | 55 self.source_path = os.path.join(self.directory, '_test.py') 56 self.pyc_path = self.source_path + 'c' 57 self.cache_path = importlib.util.cache_from_source(self.source_path) 63 drive = os.path.splitdrive(self.source_path)[0] 66 with open(self.source_path, 'w') as file: 75 py_compile.compile(self.source_path, self.pyc_path) 89 py_compile.compile(self.source_path, self.pyc_path) 97 py_compile.compile(self.source_path, os.devnull) 100 py_compile.compile(self.source_path) 105 py_compile.compile(os.path.basename(self.source_path), [all …]
|
/external/autotest/scheduler/ |
D | drone_utility.py | 261 def copy_file_or_directory(self, source_path, destination_path): argument 268 if self._same_file(source_path, destination_path): 271 if source_path.endswith('/'): 273 assert os.path.isdir(source_path) 275 for filename in os.listdir(source_path): 277 os.path.join(source_path, filename), 279 elif os.path.isdir(source_path): 281 shutil.copytree(source_path, destination_path, symlinks=True) 290 elif os.path.islink(source_path): 292 link_to = os.readlink(source_path) [all …]
|
D | drones.py | 178 def send_file_to(self, drone, source_path, destination_path, argument 181 self.queue_call('copy_file_or_directory', source_path, 184 self.queue_call('send_file_to', drone.hostname, source_path, 208 def send_file_to(self, drone, source_path, destination_path, argument 211 self.queue_call('copy_file_or_directory', source_path, 214 drone.queue_call('get_file_from', self.hostname, source_path, 217 self.queue_call('send_file_to', drone.hostname, source_path,
|
/external/python/cpython2/Lib/test/ |
D | test_py_compile.py | 14 self.source_path = os.path.join(self.directory, '_test.py') 15 self.pyc_path = self.source_path + 'c' 21 drive = os.path.splitdrive(self.source_path)[0] 25 with open(self.source_path, 'w') as file: 34 py_compile.compile(self.source_path, self.pyc_path) 39 py_compile.compile(os.path.basename(self.source_path), 44 py_compile.compile(os.path.relpath(self.source_path),
|
D | test_compileall.py | 16 self.source_path = os.path.join(self.directory, '_test.py') 17 self.bc_path = self.source_path + ('c' if __debug__ else 'o') 18 with open(self.source_path, 'w') as file: 22 shutil.copyfile(self.source_path, self.source_path2) 30 mtime = int(os.stat(self.source_path).st_mtime) 38 py_compile.compile(self.source_path) 64 compileall.compile_file(self.source_path, force=False, quiet=True)
|
/external/libvpx/libvpx/build/make/ |
D | version.sh | 22 source_path=${1:-.} 27 if [ -e "${source_path}/.git" ]; then 30 export GIT_DIR="${source_path}/.git" 35 for p in "${source_path}" "${source_path}/.."; do
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ |
D | TestFormats.py | 59 source_path = testSuite.getSourcePath(path_in_suite) 60 for filename in os.listdir(source_path): 66 filepath = os.path.join(source_path, filename) 105 source_path = testSuite.getSourcePath(path_in_suite) 106 for filename in os.listdir(source_path): 112 filepath = os.path.join(source_path, filename) 185 test.source_path = path 205 cmd.append(test.source_path) 232 print >>tmp, '#include "%s"' % test.source_path
|
/external/libcxx/utils/libcxx/test/ |
D | format.py | 63 source_path = testSuite.getSourcePath(path_in_suite) 64 for filename in os.listdir(source_path): 69 filepath = os.path.join(source_path, filename) 177 source_path = test.getSourcePath() 185 source_path, out=exec_path, object_file=object_path, 193 local_cwd = os.path.dirname(source_path) 226 source_path = test.getSourcePath() 228 with open(source_path, 'r') as f: 256 cmd, out, err, rc = test_cxx.compile(source_path, out=os.devnull)
|
/external/jsoncpp/devtools/ |
D | tarball.py | 35 source_path = source 37 os.path.walk(source_path, visit, tar) 39 path_in_tar = archive_name(source_path) 40 tar.add(source_path, path_in_tar ) # filename, arcname
|
/external/llvm/utils/lit/lit/ |
D | discovery.py | 85 source_path = ts.getSourcePath(path_in_suite) 86 cfgpath = os.path.join(source_path, litConfig.local_config_name) 127 source_path = ts.getSourcePath(path_in_suite) 128 if not os.path.exists(source_path): 132 if not os.path.isdir(source_path): 148 for filename in os.listdir(source_path): 154 file_sourcepath = os.path.join(source_path, filename)
|
/external/libvpx/libvpx/ |
D | configure | 16 source_path=${0%/*} 17 . "${source_path}/build/make/configure.sh" 166 [ -f "${source_path}/${t}.mk" ] && enable_feature ${t} 177 if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; then 179 if [ -f "${source_path}/vpx_config.h" ]; then 198 [ -d "${source_path}/vp8" ] || disable_codec vp8 199 [ -d "${source_path}/vp9" ] || disable_codec vp9 469 if [ -f "${source_path}/build/make/version.sh" ]; then 470 ver=`"$source_path/build/make/version.sh" --bare "$source_path"` 592 check_header vpx/vpx_integer.h -I${source_path} && enable_feature vpx_ports [all …]
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 363 source_path = source_from_cache(bytecode_path) 365 source_path = bytecode_path[:-1] 366 return source_path if _path_isfile(source_path) else bytecode_path 523 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument 528 if source_path is not None: 529 _imp._fix_co_filename(code, source_path) 758 def _cache_bytecode(self, source_path, cache_path, data): argument 800 source_path = self.get_filename(fullname) 807 bytecode_path = cache_from_source(source_path) 812 st = self.path_stats(source_path) [all …]
|
/external/llvm/utils/lit/lit/formats/ |
D | base.py | 16 source_path = testSuite.getSourcePath(path_in_suite) 17 for filename in os.listdir(source_path): 23 filepath = os.path.join(source_path, filename) 80 test.source_path = path 100 cmd.append(test.source_path)
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/formats/ |
D | base.py | 15 source_path = testSuite.getSourcePath(path_in_suite) 16 for filename in os.listdir(source_path): 22 filepath = os.path.join(source_path, filename) 79 test.source_path = path 99 cmd.append(test.source_path)
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
D | discovery.py | 105 source_path = ts.getSourcePath(path_in_suite) 106 cfgpath = chooseConfigFileFromDir(source_path, litConfig.local_config_names) 147 source_path = ts.getSourcePath(path_in_suite) 148 if not os.path.exists(source_path): 152 if not os.path.isdir(source_path): 168 for filename in os.listdir(source_path): 174 file_sourcepath = os.path.join(source_path, filename)
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 47 source_path = str(source) 49 os.path.walk(source_path, visit, tar) 51 tar.add(source_path, archive_name(source_path) ) # filename, arcname
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | resource_loader.py | 55 for source_path in self.source_paths: 56 if absolute_path.startswith(source_path): 57 candidate_paths.append(source_path) 147 for source_path in self.source_paths: 149 source_path, os.path.normpath(relative_raw_script_path)) 152 source_path, possible_absolute_path)
|
/external/skia/tools/ |
D | imgcvt.cpp | 22 const char* source_path = argc > 1 ? argv[1] : nullptr; in main() local 23 if (!source_path) { in main() 40 auto blob = SkData::MakeFromFileName(source_path); in main() 76 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main()
|
/external/skqp/tools/ |
D | imgcvt.cpp | 22 const char* source_path = argc > 1 ? argv[1] : nullptr; in main() local 23 if (!source_path) { in main() 40 auto blob = SkData::MakeFromFileName(source_path); in main() 76 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main()
|
/external/autotest/client/bin/result_tools/ |
D | runner.py | 127 def collect_last_summary(host, source_path, dest_path, argument 151 host.run('test -f %s' % source_path, timeout=_FIND_DIR_SUMMARY_TIMEOUT) 161 source_dir = os.path.dirname(source_path) if is_source_file else source_path
|
/external/python/cpython3/Lib/distutils/command/ |
D | check.py | 123 source_path = StringIO() 129 reporter = SilentReporter(source_path, 137 document = nodes.document(settings, reporter, source=source_path) 138 document.note_source(source_path, -1)
|