/external/pdfium/testing/tools/ |
run_pixel_tests.py | 22 def generate_and_test(input_filename, source_dir, working_dir, 26 input_path = os.path.join(source_dir, input_root + '.in') 31 input_filename, source_dir, working_dir) 48 if image_differ.HasDifferences(input_filename, source_dir, working_dir): 63 source_dir = finder.TestingDir(os.path.join('resources', 'pixel')) 81 input_files = os.listdir(source_dir) 87 input_path = os.path.join(source_dir, input_filename) 91 if not generate_and_test(input_filename, source_dir, working_dir,
|
pngdiffer.py | 20 def GetActualFiles(self, input_filename, source_dir, working_dir): 23 input_filename, source_dir, working_dir) 41 def HasDifferences(self, input_filename, source_dir, working_dir, 44 input_filename, source_dir, working_dir) 70 def _GetTemplatePaths(self, input_filename, source_dir, working_dir): 74 source_dir, input_root + self.EXPECTED_TEMPLATE) 76 source_dir, input_root + self.PLATFORM_EXPECTED_TEMPLATE)
|
run_javascript_tests.py | 20 def generate_and_test(input_filename, source_dir, working_dir, 24 input_path = os.path.join(source_dir, input_root + '.in') 27 expected_path = os.path.join(source_dir, input_root + '_expected.txt') 56 source_dir = finder.TestingDir(os.path.join('resources', 'javascript')) 71 input_files = os.listdir(source_dir) 77 input_path = os.path.join(source_dir, input_filename) 79 if not generate_and_test(input_filename, source_dir, working_dir,
|
run_corpus_tests.py | 28 def test_one_file(input_filename, source_dir, working_dir, 31 input_path = os.path.join(source_dir, input_filename) 35 input_filename, source_dir, working_dir) 52 return not image_differ.HasDifferences(input_filename, source_dir, 64 input_filename, source_dir = test_case 65 result = test_one_file(input_filename, source_dir, working_dir, 70 return (result, output.getvalue(), input_filename, source_dir) 125 for source_dir, _, filename_list in os.walk(walk_from_dir): 128 input_path = os.path.join(source_dir, input_filename) 130 test_cases.append((input_filename, source_dir)) [all...] |
/external/autotest/client/profilers/pgo/ |
pgo.py | 11 as the source_dir below. 28 def initialize(self, source_dir='/tmp/pgo/chrome'): 29 self._source_dir = source_dir
|
/external/jsoncpp/devtools/ |
licenseupdater.py | 58 for source_dir in source_dirs: 59 cpp_sources = antglob.glob( source_dir,
|
batchbuild.py | 56 def __init__( self, desc, work_dir, source_dir ): 59 self.source_dir = source_dir 75 cmd = ['cmake'] + self.desc.cmake_args( ) + [os.path.abspath( self.source_dir )] 234 usage = r"""%prog WORK_DIR SOURCE_DIR CONFIG_JSON_PATH [CONFIG2_JSON_PATH...] 235 Build a given CMake based project located in SOURCE_DIR with multiple generators/options.dry_run 249 parser.error( "Missing one of WORK_DIR SOURCE_DIR CONFIG_JSON_PATH." ) 251 source_dir = args[1].rstrip('/\\') 270 builds.append( BuildData( build_desc, build_desc_work_dir, source_dir ) )
|
/external/v8/build/ |
vs_toolchain.py | 171 def _CopyRuntime2013(target_dir, source_dir, dll_pattern): 177 source = os.path.join(source_dir, dll) 181 def _CopyRuntime2015(target_dir, source_dir, dll_pattern, suffix): 187 source = os.path.join(source_dir, dll) 189 ucrt_src_dir = os.path.join(source_dir, 'api-ms-win-*.dll') 195 os.path.join(source_dir, 'ucrtbase' + suffix)) 198 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): 203 _CopyRuntime2015(target_dir, source_dir, '%s140' + suffix, suffix) 205 _CopyRuntime2013(target_dir, source_dir, 'msvc%s120' + suffix)
|
/external/v8/gypfiles/ |
vs_toolchain.py | 171 def _CopyRuntime2013(target_dir, source_dir, dll_pattern): 177 source = os.path.join(source_dir, dll) 181 def _CopyRuntime2015(target_dir, source_dir, dll_pattern, suffix): 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): 204 _CopyRuntime2015(target_dir, source_dir, '%s140' + suffix, suffix) 206 _CopyRuntime2013(target_dir, source_dir, 'msvc%s120' + suffix)
|
/external/v8/build/win/ |
copy_cdb_to_output.py | 30 def _CopyImpl(file_name, target_dir, source_dir, verbose=False): 35 source = os.path.join(source_dir, file_name)
|
/external/v8/tools/ |
verify_source_deps.py | 88 *[isources(source_dir) for source_dir in source_dirs]
|
/external/skia/tools/skp/ |
webpages_playback.py | 482 def upload_dir_contents(self, source_dir, **kwargs): 503 def upload_dir_contents(self, source_dir, **kwargs): 504 self.gs.upload_dir_contents(source_dir, self._bucket, **kwargs) 519 def upload_dir_contents(self, source_dir, dest_dir, **kwargs): 520 def copytree(source_dir, dest_dir): 523 for item in os.listdir(source_dir): 524 source = os.path.join(source_dir, item) 530 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/external/jsoncpp/ |
makerelease.py | 325 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/v8/build/util/ |
lastchange.py | 285 if opts.source_dir: 286 src_dir = opts.source_dir
|
/external/autotest/client/virt/ |
virt_utils.py | 504 def check_kvm_source_dir(source_dir): 512 @param source_dir: Source code path that will be inspected. 514 os.chdir(source_dir) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
bdist_rpm.py | 313 source_dir = rpm_dir['SOURCES'] 314 self.copy_file(source, source_dir) 318 self.copy_file(self.icon, source_dir)
|
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
bdist_rpm.py | 313 source_dir = rpm_dir['SOURCES'] 314 self.copy_file(source, source_dir) 318 self.copy_file(self.icon, source_dir)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_rpm.py | 313 source_dir = rpm_dir['SOURCES'] 314 self.copy_file(source, source_dir) 318 self.copy_file(self.icon, source_dir)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_rpm.py | 313 source_dir = rpm_dir['SOURCES'] 314 self.copy_file(source, source_dir) 318 self.copy_file(self.icon, source_dir)
|
/external/libyuv/files/ |
setup_links.py | 264 for source_dir in DIRECTORIES: 266 source_dir, None, check_fn=os.path.isdir,
|
/external/webrtc/ |
setup_links.py | 285 for source_dir in DIRECTORIES: 287 source_dir, None, check_fn=os.path.isdir,
|
/external/mesa3d/scons/ |
custom.py | 103 source_dir = node.get_dir()
|
/external/v8/tools/gyp/test/lib/ |
TestGyp.py | 193 def copy_test_configuration(self, source_dir, dest_dir): 195 Copies the test configuration from the specified source_dir 202 for root, dirs, files in os.walk(source_dir): 209 destination = source.replace(source_dir, dest_dir) 215 destination = source.replace(source_dir, dest_dir) [all...] |
/external/libchrome/base/files/ |
file_path_watcher_unittest.cc | 618 FilePath source_dir(temp_dir_.path().AppendASCII("source")); 619 FilePath source_subdir(source_dir.AppendASCII("subdir")); 636 ASSERT_TRUE(base::Move(source_dir, dest_dir));
|
/external/pdfium/tools/drmemory/scripts/ |
valgrind_test.py | 139 self._source_dir = self._options.source_dir
|