Home
last modified time | relevance | path

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

12

/external/autotest/client/bin/
Dlocal_host_unittest.py207 source_dir = os.path.join(self.tmpdir.name, 'dir')
208 os.mkdir(source_dir)
209 open(os.path.join(source_dir, 'file'), 'w').close()
213 host.get_file(source_dir, dest_dir)
222 source_dir = os.path.join(self.tmpdir.name, 'dir')
223 os.mkdir(source_dir)
224 open(os.path.join(source_dir, 'file'), 'w').close()
229 host.get_file(source_dir, dest_dir)
238 source_dir = os.path.join(self.tmpdir.name, 'dir')
239 os.mkdir(source_dir)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/llvm-lit/
Dllvm-lit.in8 def map_config(source_dir, site_config):
10 source_dir = os.path.realpath(source_dir)
11 source_dir = os.path.normcase(source_dir)
13 config_map[source_dir] = site_config
/external/pdfium/testing/tools/
Dpngdiffer.py17 def GetActualFiles(self, input_filename, source_dir, working_dir): argument
19 path_templates = PathTemplates(input_filename, source_dir, working_dir)
35 def HasDifferences(self, input_filename, source_dir, working_dir): argument
36 path_templates = PathTemplates(input_filename, source_dir, working_dir)
69 def Regenerate(self, input_filename, source_dir, working_dir, platform_only): argument
70 path_templates = PathTemplates(input_filename, source_dir, working_dir)
106 def __init__(self, input_filename, source_dir, working_dir): argument
111 source_dir, input_root + EXPECTED_TEMPLATE)
113 source_dir, input_root + PLATFORM_EXPECTED_TEMPLATE)
Dtest_runner.py32 input_filename, source_dir = test_case
33 result = this.GenerateAndTest(input_filename, source_dir);
34 return (result, input_filename, source_dir)
49 def GenerateAndTest(self, input_filename, source_dir): argument
51 expected_txt_path = os.path.join(source_dir, input_root + '_expected.txt')
56 actual_images = self.image_differ.GetActualFiles(input_filename, source_dir,
64 raised_exception = self.Generate(source_dir, input_filename, input_root,
82 if self.image_differ.HasDifferences(input_filename, source_dir,
88 self.image_differ.Regenerate(input_filename, source_dir,
99 def Generate(self, source_dir, input_filename, input_root, pdf_path): argument
[all …]
/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_exec_anatomy.py15 def run(source_dir, target_dir): argument
22 execute(['cmake', source_dir])
47 source_dir = os.path.normpath(os.path.join(this_dir, '..', 'exec'))
49 expected, result = run(source_dir, tmp_dir)
/external/v8/gypfiles/
Dvs_toolchain.py171 def _CopyRuntime2013(target_dir, source_dir, dll_pattern): argument
177 source = os.path.join(source_dir, dll)
181 def _CopyRuntime2015(target_dir, source_dir, dll_pattern, suffix): argument
187 source = os.path.join(source_dir, dll)
189 ucrt_src_dir = os.path.join(source_dir, 'api-ms-win-*.dll')
196 os.path.join(source_dir, 'ucrtbase' + suffix))
199 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): argument
204 _CopyRuntime2015(target_dir, source_dir, '%s140' + suffix, suffix)
206 _CopyRuntime2013(target_dir, source_dir, 'msvc%s120' + suffix)
/external/vulkan-validation-layers/build-android/
Dbuild.py252 source_dir = properties['source_dir']
255 src = os.path.join(source_dir, d)
261 print(source_dir, ':', dest_dir, ":", f)
265 if os.path.exists(os.path.join(source_dir, f)):
266 install_file(f, source_dir, dest_dir)
268 print(source_dir, ':', dest_dir, ":", f, "SKIPPED")
/external/toolchain-utils/android_bench_suite/
Dbuild_bench.py168 def build_bench(bench, source_dir): argument
177 source_dir=source_dir))
208 source_dir = config.bench_dict[bench]
216 build_bench(bench, source_dir)
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/
Dopt-viewer.py46 def __init__(self, source_dir, output_dir, filename, no_highlight): argument
52 fn = os.path.join(source_dir, filename)
208 def _render_file(source_dir, output_dir, ctx, no_highlight, entry): argument
212 SourceFileRenderer(source_dir, output_dir, filename, no_highlight).render(remarks)
232 source_dir, argument
258 …_render_file_bound = functools.partial(_render_file, source_dir, output_dir, context, no_highlight)
334 args.source_dir,
/external/skqp/tools/skp/
Dwebpages_playback.py440 def upload_dir_contents(self, source_dir, dest_dir): argument
471 def upload_dir_contents(self, source_dir, dest_dir): argument
473 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))])
489 def upload_dir_contents(self, source_dir, dest_dir): argument
490 def copytree(source_dir, dest_dir): argument
493 for item in os.listdir(source_dir):
494 source = os.path.join(source_dir, item)
500 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
/external/jsoncpp/devtools/
Dbatchbuild.py56 def __init__( self, desc, work_dir, source_dir ): argument
59 self.source_dir = source_dir
75 cmd = ['cmake'] + self.desc.cmake_args( ) + [os.path.abspath( self.source_dir )]
251 source_dir = args[1].rstrip('/\\')
270 builds.append( BuildData( build_desc, build_desc_work_dir, source_dir ) )
Dlicenseupdater.py58 for source_dir in source_dirs:
59 cpp_sources = antglob.glob( source_dir,
/external/skia/tools/skp/
Dwebpages_playback.py446 def upload_dir_contents(self, source_dir, dest_dir): argument
477 def upload_dir_contents(self, source_dir, dest_dir): argument
479 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))])
495 def upload_dir_contents(self, source_dir, dest_dir): argument
496 def copytree(source_dir, dest_dir): argument
499 for item in os.listdir(source_dir):
500 source = os.path.join(source_dir, item)
506 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
/external/tensorflow/tensorflow/tools/git/
Dgen_git_source.py268 def raw_generate(output_file, source_dir, git_tag_override=None): argument
282 git_version = get_git_version(source_dir, git_tag_override)
335 if args.source_dir is not None:
336 source_path = args.source_dir
/external/python/setuptools/setuptools/tests/
Dtest_wheel.py88 with tempdir() as source_dir:
89 build_files(file_defs, source_dir)
91 '-q', 'bdist_wheel'), cwd=source_dir)
92 yield glob.glob(os.path.join(source_dir, 'dist', '*.whl'))[0]
/external/u-boot/test/py/tests/
Dtest_ut.py11 fn = u_boot_console.config.source_dir + '/testflash.bin'
18 fn = u_boot_console.config.source_dir + '/spi.bin'
/external/u-boot/test/py/
Dconftest.py92 source_dir = os.path.dirname(os.path.dirname(test_py_dir))
102 build_dir = source_dir + '/build-' + board_type
123 if build_dir != source_dir:
134 runner.run(cmd, cwd=source_dir)
174 ubconfig.source_dir = source_dir
/external/autotest/client/bin/result_tools/
Drunner.py161 source_dir = os.path.dirname(source_path) if is_source_file else source_path
166 summary_pattern = os.path.join(source_dir, 'dir_summary_*.json')
173 'summary for %s', source_dir)
/external/grpc-grpc/tools/distrib/python/
Dmake_grpcio_tools.py144 for source_dir, _, files in os.walk(source):
146 os.path.join(target, os.path.relpath(source_dir, source)))
154 os.path.join(source_dir, relative_file))
/external/autotest/client/profilers/pgo/
Dpgo.py28 def initialize(self, source_dir='/tmp/pgo/chrome'): argument
29 self._source_dir = source_dir
/external/jsoncpp/
Dmakerelease.py325 source_dir = 'jsoncpp-src-' + release_version
326 source_tarball_path = 'dist/%s.tar.gz' % source_dir
328 tarball.make_tarball( source_tarball_path, [export_dir], export_dir, prefix_dir=source_dir )
330 amalgamation_tarball_path = 'dist/%s-amalgamation.tar.gz' % source_dir
340 distcheck_top_dir = distcheck_dir + '/' + source_dir
/external/e2fsprogs/misc/
Dcreate_inode.h41 const char *source_dir, ext2_ino_t root);
43 const char *source_dir, ext2_ino_t root,
Dcreate_inode.c782 const char *source_dir, ext2_ino_t root, in __populate_fs() argument
799 if (chdir(source_dir) < 0) { in __populate_fs()
803 source_dir); in __populate_fs()
812 _("while scanning directory \"%s\""), source_dir); in __populate_fs()
1023 const char *source_dir, ext2_ino_t root, in populate_fs2() argument
1048 retval = __populate_fs(fs, parent_ino, source_dir, root, &hdlinks, in populate_fs2()
1057 const char *source_dir, ext2_ino_t root) in populate_fs() argument
1059 return populate_fs2(fs, parent_ino, source_dir, root, NULL); in populate_fs()
/external/eigen/
DINSTALL22 Let's call this directory 'source_dir' (where this INSTALL file is).
28 cmake source_dir
/external/vulkan-validation-layers/scripts/
Dexternal_revision_generator.py67 def get_commit_id_from_git(git_binary, source_dir): argument
68 …value = subprocess.check_output([git_binary, "rev-parse", "HEAD"], cwd=source_dir).decode('utf-8')…

12