Home
last modified time | relevance | path

Searched refs:source_path (Results 1 – 25 of 46) sorted by relevance

12

/external/webrtc/
Dsetup_links.py223 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/autotest/scheduler/
Ddrone_utility.py392 def copy_file_or_directory(self, source_path, destination_path): argument
399 if self._same_file(source_path, destination_path):
402 if source_path.endswith('/'):
404 assert os.path.isdir(source_path)
406 for filename in os.listdir(source_path):
408 os.path.join(source_path, filename),
410 elif os.path.isdir(source_path):
411 shutil.copytree(source_path, destination_path, symlinks=True)
412 elif os.path.islink(source_path):
414 link_to = os.readlink(source_path)
[all …]
Ddrones.py197 def send_file_to(self, drone, source_path, destination_path, argument
200 self.queue_call('copy_file_or_directory', source_path,
203 self.queue_call('send_file_to', drone.hostname, source_path,
227 def send_file_to(self, drone, source_path, destination_path, argument
230 self.queue_call('copy_file_or_directory', source_path,
233 drone.queue_call('get_file_from', self.hostname, source_path,
236 self.queue_call('send_file_to', drone.hostname, source_path,
Dsite_drone_manager.py22 def copy_to_results_repository(self, process, source_path, argument
44 special_task = source_path.startswith(HOSTS_JOB_SUBDIR)
45 parse_log = source_path.endswith(PARSE_LOG)
49 source_path, destination_path)
Ddrone_manager.py851 def _copy_results_helper(self, process, source_path, destination_path, argument
855 process, source_path, destination_path,
857 full_source = self.absolute_path(source_path)
869 def copy_to_results_repository(self, process, source_path, argument
876 destination_path = source_path
877 self._copy_results_helper(process, source_path, destination_path,
881 def copy_results_on_drone(self, process, source_path, destination_path): argument
885 self._copy_results_helper(process, source_path, destination_path)
/external/libcxx/test/libcxx/test/
Dformat.py35 source_path = testSuite.getSourcePath(path_in_suite)
36 for filename in os.listdir(source_path):
41 filepath = os.path.join(source_path, filename)
102 source_path = test.getSourcePath()
110 source_path, out=exec_path, object_file=object_path,
118 local_cwd = os.path.dirname(source_path)
143 source_path = test.getSourcePath()
144 with open(source_path, 'r') as f:
154 cmd, out, err, rc = self.cxx.compile(source_path, out=os.devnull,
/external/libvpx/libvpx/build/make/
Dversion.sh22 source_path=${1:-.}
27 if [ -d "${source_path}/.git" ]; then
29 export GIT_DIR="${source_path}/.git"
34 for p in "${source_path}" "${source_path}/.."; do
Dconfigure.sh244 source_path=${0%/*}
246 if [ -z "$source_path" ] || [ "$source_path" = "." ]; then
247 source_path="`pwd`"
426 SRC_PATH="$source_path"
427 SRC_PATH_BARE=$source_path
430 ASM_CONVERSION=${asm_conversion_cmd:-${source_path}/build/make/ads2gas.pl}
900 asm_conversion_cmd="${source_path}/build/make/ads2gas.pl"
908 asm_conversion_cmd="${source_path}/build/make/ads2armasm_ms.pl"
925 LD="${source_path}/build/make/armlink_adapter.sh"
1046 asm_conversion_cmd="${source_path}/build/make/ads2gas_apple.pl"
[all …]
/external/chromium-trace/catapult/catapult_build/
Ddev_server.py88 source_path = kwargs.pop('_source_path', None)
92 data_files_relative_to_top = _GetFilesIn(source_path)
206 for mapped_path, source_path in pd.GetTestDataPaths(args):
207 self._all_mapped_test_data_paths.append((mapped_path, source_path))
211 '_source_path': source_path,
216 defaults={'_top_path': source_path}))
232 for source_path in self._all_source_paths:
233 full_source_path = os.path.abspath(source_path)
244 for mapped_path, source_path in self._all_mapped_test_data_paths:
245 if not filename.startswith(source_path):
[all …]
/external/libvpx/libvpx/
Dconfigure16 source_path=${0%/*}
17 . "${source_path}/build/make/configure.sh"
164 [ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
172 if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; then
174 if [ -f "${source_path}/vpx_config.h" ]; then
193 [ -d "${source_path}/vp8" ] || disable_feature vp8
194 [ -d "${source_path}/vp9" ] || disable_feature vp9
195 [ -d "${source_path}/vp10" ] || disable_feature vp10
459 if [ -f "${source_path}/build/make/version.sh" ]; then
460 ver=`"$source_path/build/make/version.sh" --bare "$source_path"`
[all …]
/external/jsoncpp/devtools/
Dtarball.py35 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/
Ddiscovery.py85 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/llvm/utils/lit/lit/formats/
Dbase.py16 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)
Dgoogletest.py77 source_path = testSuite.getSourcePath(path_in_suite)
78 for filename in os.listdir(source_path):
79 filepath = os.path.join(source_path, filename)
/external/jsoncpp/scons-tools/
Dtargz.py47 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/third_party/py_vulcanize/py_vulcanize/
Dresource_loader.py55 for source_path in self.source_paths:
56 if absolute_path.startswith(source_path):
57 candidate_paths.append(source_path)
146 for source_path in self.source_paths:
148 source_path, os.path.normpath(relative_raw_script_path))
151 source_path, possible_absolute_path)
/external/chromium-trace/catapult/perf_insights/
Dperf_insights_project.py48 for source_path in source_paths:
49 for dirpath, _, filenames in os.walk(source_path):
116 for source_path in self.source_paths:
117 candidate = os.path.abspath(os.path.join(source_path, href[1:]))
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Ds3put148 source_path, offset, bytes, debug, cb, num_cb, argument
154 print("_upload_part(%s, %s, %s)" % (source_path, offset, bytes))
165 with FileChunkIO(source_path, 'r', offset=offset,
187 def multipart_upload(bucketname, aws_key, aws_secret, source_path, keyname, argument
207 source_size = os.stat(source_path).st_size
219 part_num, source_path, offset, bytes,
/external/autotest/server/site_tests/power_DeferForFlashrom/
Dpower_DeferForFlashrom.py45 def create_temp_file(self, base_name, source_path, size): argument
54 logging.info('Creating %d-byte temp file from %s', size, source_path)
59 (source_path, temp_file, size))
/external/libcxx/test/libcxx/android/test/
Dformat.py55 def _build(self, exec_path, source_path, compile_only=False, argument
59 self, exec_path, source_path, compile_only, use_verify)
71 src_dir = os.path.dirname(source_path)
/external/squashfs-tools/squashfs-tools/
Dsort.c108 int add_sort_list(char *path, int priority, int source, char *source_path[]) in add_sort_list() argument
132 int res = asprintf(&filename, "%s/%s", source_path[i], path); in add_sort_list()
217 int read_sort_file(char *filename, int source, char *source_path[]) in read_sort_file() argument
318 source_path); in read_sort_file()
/external/llvm/utils/lit/tests/Inputs/test-data/
Dlit.cfg15 source_path = test.getSourcePath()
18 cfg.read(source_path)
/external/autotest/server/
Dcrashcollect.py128 source_path = log_path
133 source_path = os.path.join(tmpdir, os.path.basename(log_path))
134 host.get_file(source_path, dest_path, preserve_perm=False)
/external/chromium-trace/catapult/dashboard/
Ddashboard_project.py27 for source_path in source_paths:
28 for dirpath, _, filenames in os.walk(source_path):
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor_util/
Dmove.py28 os.rename(move.source_path, move.target_path)
52 def source_path(self): member in _Move

12