/external/v8/build/android/gyp/ |
D | apkbuilder.py | 99 src_path = path_parts[0] 103 dest_path = os.path.basename(src_path) 104 return src_path, dest_path 119 src_path, dest_path = _SplitAssetPath(path) 120 if os.path.isdir(src_path): 121 for f in build_utils.FindInDirectory(src_path, '*'): 122 ret.append((f, os.path.join(dest_path, f[len(src_path) + 1:]))) 124 ret.append((src_path, dest_path)) 140 for src_path, dest_path in path_tuples: 143 os.path.splitext(src_path)[1] not in _NO_COMPRESS_EXTENSIONS) [all …]
|
D | locale_pak_resources.py | 65 for src_path in sources: 66 basename = os.path.basename(src_path) 78 mappings.append((src_path, os.path.join(dest_dir, res_name)))
|
D | package_resources.py | 187 src_path = '%s_%s' % (apk_path, '_'.join(config)) 189 yield src_path, dst_path 199 for src_path, dst_path in _GenerateDensitySplitPaths(apk_path): 200 shutil.move(src_path, dst_path)
|
/external/autotest/client/cros/ |
D | network_chroot.py | 223 src_path = os.path.join('/', rootdir) 225 if not os.path.exists(src_path): 227 elif os.path.islink(src_path): 228 link_path = os.readlink(src_path) 232 mount_arg = '%s,%s' % (src_path, src_path) 238 src_path = os.path.join('/', config_file) 240 if os.path.exists(src_path): 241 shutil.copyfile(src_path, dst_path)
|
/external/chromium-trace/catapult/hooks/ |
D | install.py | 15 def __init__(self, dst_path, src_path): argument 17 self.src_path = src_path 20 full_src_path = os.path.join(_TOP_PATH, self.src_path) 38 os.path.basename(self.src_path), full_dst_path)) 49 os.path.basename(self.src_path),
|
/external/lldb/source/Host/common/ |
D | FileSpec.cpp | 76 FileSpec::ResolveUsername (const char *src_path, char *dst_path, size_t dst_len) in ResolveUsername() argument 78 if (src_path == NULL || src_path[0] == '\0') in ResolveUsername() 88 if (src_path[0] != '~') in ResolveUsername() 90 size_t len = strlen (src_path); in ResolveUsername() 93 ::bcopy (src_path, dst_path, dst_len - 1); in ResolveUsername() 97 ::bcopy (src_path, dst_path, len + 1); in ResolveUsername() 102 const char *first_slash = ::strchr (src_path, '/'); in ResolveUsername() 108 user_name = src_path + 1; in ResolveUsername() 113 size_t user_name_len = first_slash - src_path - 1; in ResolveUsername() 114 ::memcpy (user_home, src_path + 1, user_name_len); in ResolveUsername() [all …]
|
/external/autotest/client/tools/ |
D | make_clean | 14 src_path = os.path.abspath(os.path.join('tests', dir, 'src')) 15 if not os.path.exists(src_path): 18 cmd = 'rm -rf ' + src_path 20 cmd = 'cd %s; make clean > /dev/null 2>&1 ' % src_path
|
/external/autotest/client/virt/tests/ |
D | image_copy.py | 32 src_path = os.path.join(mount_dest_dir, image) 34 cmd = 'cp %s %s' % (src_path, dst_path) 41 if not os.path.exists(src_path): 42 raise error.TestError('Could not find %s in NFS share' % src_path)
|
/external/v8/build/ |
D | host_prebuilt_jar.gypi | 26 'src_path': '<(jar_path)', 38 'message': 'Copy <(src_path) to <(dest_path)', 40 '<(src_path)', 46 'python', '<(DEPTH)/build/cp.py', '<(src_path)', '<(dest_path)',
|
/external/owasp/sanitizer/tools/ |
D | cut_release.py | 100 def copy_directory_structure_template(src_path, container_path): argument 103 replace_fields(os.path.basename(src_path))) 104 if os.path.isdir(src_path): 106 for child in os.listdir(src_path): 110 os.path.join(src_path, child), dest_path) 112 shutil.copyfile(src_path, dest_path)
|
/external/v8/build/android/gyp/util/ |
D | build_utils.py | 252 def AddToZipHermetic(zip_file, zip_path, src_path=None, data=None, argument 264 assert (src_path is None) != (data is None), ( 270 if src_path and os.path.islink(src_path): 273 zip_file.writestr(zipinfo, os.readlink(src_path)) 276 if src_path: 277 with file(src_path) as f: 311 AddToZipHermetic(outfile, zip_path, src_path=fs_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | powermetrics_power_monitor.py | 97 def ConstructMetric(out_path, src_path): argument 100 return RunningAverage(out_path, src_path, []) 122 for k in metric.src_path: 202 logging.info('Field missing from powermetrics output: %s', m.src_path)
|
/external/autotest/utils/ |
D | compile_gwt_clients.py | 30 src_path = os.path.join(_DEFAULT_APP_DIR, 'src') 32 for project in os.listdir(src_path): 34 project_path = os.path.join(src_path, project)
|
/external/lldb/include/lldb/Host/ |
D | FileSpec.h | 625 Resolve (const char *src_path, char *dst_path, size_t dst_len); 649 ResolveUsername (const char *src_path, char *dst_path, size_t dst_len);
|
/external/lldb/source/API/ |
D | SBFileSpec.cpp | 87 SBFileSpec::ResolvePath (const char *src_path, char *dst_path, size_t dst_len) in ResolvePath() argument 89 return lldb_private::FileSpec::Resolve (src_path, dst_path, dst_len); in ResolvePath()
|
/external/v8/build/android/incremental_install/ |
D | installer.py | 152 for src_path, dest_name in zip(dex_files, transformed_names): 155 if _HasClasses(src_path): 156 shutil.copy(src_path, os.path.join(temp_dir, dest_name))
|
/external/lldb/scripts/Python/interface/ |
D | SBFileSpec.i | 65 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
|
/external/lldb/include/lldb/API/ |
D | SBFileSpec.h | 52 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
|
/external/v8/build/android/pylib/perf/ |
D | test_runner.py | 306 src_path = os.path.join(absdir, filename) 309 contents.write(src_path, dst_path)
|
/external/autotest/server/hosts/ |
D | adb_host.py | 726 src_path = os.path.join(tmp_dir, os.path.basename(dest)) 729 self.teststation.send_file(source, src_path, 735 self.adb_run('push %s %s' % (src_path, dest))
|