Home
last modified time | relevance | path

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

123

/external/libyuv/files/
Dsetup_links.py202 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/
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/chromium-trace/catapult/tracing/third_party/symbols/symbols/
Delf_symbolizer.py340 source_path = None
345 source_path = m.group(1)
355 if source_path and not posixpath.isabs(source_path):
356 path = self._symbolizer.disambiguation_table.get(source_path)
359 source_path = path if disambiguated else source_path
363 if source_path and not was_ambiguous:
364 source_path = os.path.abspath(source_path)
366 if source_path and self._symbolizer.strip_base_path:
368 source_path = re.sub('^' + self._symbolizer.strip_base_path,
369 self._symbolizer.source_root_path or '', source_path)
[all …]
/external/v8/build/android/pylib/symbols/
Delf_symbolizer.py341 source_path = None
346 source_path = m.group(1)
356 if source_path and not posixpath.isabs(source_path):
357 path = self._symbolizer.disambiguation_table.get(source_path)
360 source_path = path if disambiguated else source_path
364 if source_path and not was_ambiguous:
365 source_path = os.path.abspath(source_path)
367 if source_path and self._symbolizer.strip_base_path:
369 source_path = re.sub('^' + self._symbolizer.strip_base_path,
370 self._symbolizer.source_root_path or '', source_path)
[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)
/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/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/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/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/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/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/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/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/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/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/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/v8/build/toolchain/mac/
Dsetup_toolchain.py9 def CopyTool(source_path): argument
12 with open(source_path) as source_file:
/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/v8/build/android/gyp/
Djava_cpp_enum.py235 for source_path in source_paths:
236 enum_definitions = DoParseHeaderFile(source_path)
241 source_path)
246 output = GenerateOutput(source_path, enum_definition)
255 def GenerateOutput(source_path, enum_definition): argument
288 'SOURCE_PATH': 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/chromium-trace/catapult/netlog_viewer/
Dnetlog_viewer_project.py24 for source_path in source_paths:
25 for dirpath, _, filenames in os.walk(source_path):

123