/external/libjpeg-turbo/gtest/ |
D | djpeg-gtest-wrapper.cpp | 69 base::FilePath output_path(GetTargetDirectory()); in TEST_P() local 70 output_path = output_path.AppendASCII(std::get<1>(GetParam())); in TEST_P() 80 std::string arg8 = output_path.MaybeAsASCII(); in TEST_P() 91 EXPECT_TRUE(CompareFileAndMD5(output_path, std::get<2>(GetParam()))); in TEST_P() 102 base::FilePath output_path(GetTargetDirectory()); in TEST() local 103 output_path = output_path.AppendASCII("testout_420_islow_256.bmp"); in TEST() 112 std::string arg7 = output_path.MaybeAsASCII(); in TEST() 124 EXPECT_TRUE(CompareFileAndMD5(output_path, EXPECTED_MD5)); in TEST() 131 base::FilePath output_path(GetTargetDirectory()); in TEST() local 132 output_path = output_path.AppendASCII("testout_420_islow_565.bmp"); in TEST() [all …]
|
D | cjpeg-gtest-wrapper.cpp | 37 base::FilePath output_path(GetTargetDirectory()); in TEST() local 38 output_path = output_path.AppendASCII("testout_rgb_islow.jpg"); in TEST() 47 std::string arg7 = output_path.MaybeAsASCII(); in TEST() 59 EXPECT_TRUE(CompareFileAndMD5(output_path, EXPECTED_MD5)); in TEST() 66 base::FilePath output_path(GetTargetDirectory()); in TEST() local 67 output_path = output_path.AppendASCII("testout_422_ifast_opt.jpg"); in TEST() 76 std::string arg7 = output_path.MaybeAsASCII(); in TEST() 88 EXPECT_TRUE(CompareFileAndMD5(output_path, EXPECTED_MD5)); in TEST() 97 base::FilePath output_path(GetTargetDirectory()); in TEST() local 98 output_path = output_path.AppendASCII("testout_420_q100_ifast_prog.jpg"); in TEST() [all …]
|
D | jpegtran-gtest-wrapper.cpp | 37 base::FilePath output_path(GetTargetDirectory()); in TEST() local 38 output_path = output_path.AppendASCII("testout_rgb_islow2.jpg"); in TEST() 46 std::string arg6 = output_path.MaybeAsASCII(); in TEST() 58 EXPECT_TRUE(CompareFileAndMD5(output_path, EXPECTED_MD5)); in TEST() 65 base::FilePath output_path(GetTargetDirectory()); in TEST() local 66 output_path = output_path.AppendASCII("testout_crop.jpg"); in TEST() 74 std::string arg6 = output_path.MaybeAsASCII(); in TEST() 86 EXPECT_TRUE(CompareFileAndMD5(output_path, EXPECTED_MD5)); in TEST() 94 base::FilePath output_path(GetTargetDirectory()); in TEST() local 95 output_path = output_path.AppendASCII("testout_420_islow_ari2.jpg"); in TEST() [all …]
|
/external/fonttools/Lib/fontTools/cu2qu/ |
D | cli.py | 38 def _font_to_quadratic(input_path, output_path=None, **kwargs): argument 42 logger.info("Saving %s", output_path) 43 if output_path: 44 ufo.save(output_path) 47 elif output_path: 48 _copytree(input_path, output_path) 58 def _copytree(input_path, output_path): argument 59 if _samepath(input_path, output_path): 62 if os.path.exists(output_path): 63 shutil.rmtree(output_path) [all …]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | command_parser_test.py | 103 args, output_path = command_parser.extract_output_file_path(["pt", "a:0"]) 105 self.assertIsNone(output_path) 108 args, output_path = command_parser.extract_output_file_path( 111 self.assertEqual(output_path, "/tmp/foo.txt") 114 args, output_path = command_parser.extract_output_file_path( 117 self.assertEqual(output_path, "/tmp/foo.txt") 125 args, output_path = command_parser.extract_output_file_path( 128 self.assertEqual(output_path, "/tmp/foo.txt") 131 args, output_path = command_parser.extract_output_file_path( 134 self.assertEqual(output_path, "/tmp/foo.txt") [all …]
|
/external/crosvm/tools/infra/ |
D | binary_size | 67 output_path = ( 74 if len(output_path.split("/")) > 2 and output_path.split("/")[0] == output_path.split("/")[1]: 75 output_path = "/".join(output_path.split("/")[1:]) 78 size_dict_for_gerrit = {output_path: file_size} 90 "test_name": output_path,
|
/external/llvm/utils/llvm-build/llvmbuild/ |
D | main.py | 203 def write_components(self, output_path): argument 257 directory_path = os.path.join(output_path, subpath[1:]) 319 def write_library_table(self, output_path, enabled_optional_components): argument 385 make_install_dir(os.path.dirname(output_path)) 386 f = open(output_path+'.new', 'w') 428 if not os.path.isfile(output_path): 429 os.rename(output_path+'.new', output_path) 430 elif filecmp.cmp(output_path, output_path+'.new'): 431 os.remove(output_path+'.new') 433 os.remove(output_path) [all …]
|
D | configutil.py | 8 def configure_file(input_path, output_path, substitutions): argument 39 output_parent_path = os.path.dirname(os.path.abspath(output_path)) 44 if os.path.exists(output_path): 47 f = open(output_path, "rb") 60 f = open(output_path, "wb")
|
/external/pdfium/testing/tools/ |
D | safetynet_image.py | 34 def __init__(self, build_dir, output_path, two_labels, num_workers, argument 49 self.output_path = output_path 71 html_path = os.path.join(self.output_path, 'compare.html') 73 self.diff_path = os.path.join(self.output_path, 'diff') 77 self.image_locations = ImageLocations(self.output_path, self.diff_path, 176 return os.path.relpath(absolute_path, start=self.output_path) 245 def __init__(self, output_path, diff_path, two_labels): argument 254 self.output_path = output_path 282 image_path_matcher = os.path.join(self.output_path, label, '*.*.png')
|
/external/cronet/net/tools/ |
D | stitch_net_log_files.py | 55 output_path = None 59 output_path = sys.argv[2] 65 output_path = m.group(1) 67 output_path = os.path.abspath(output_path) 70 sys.stdout.write("Writing log file to: %s\n" % output_path) 74 with open(output_path, "w") as stitched_file:
|
/external/perfetto/tools/ |
D | gen_ui_imports | 52 def gen_imports(input_dir, output_path): argument 57 output_dir = os.path.dirname(output_path) 75 with open(output_path, 'w') as f: 87 output_path = args.out 93 output_dir = os.path.dirname(output_path) 97 if os.path.isdir(output_path): 101 success = gen_imports(input_dir, output_path)
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | test_data_generation.py | 142 output_path = self._MakeDir(base_output_path, config_name) 149 output_path=output_path) 152 reference_signal_filepath, output_path): argument 164 self._apm_output_paths[config_name] = os.path.abspath(output_path) 169 output_path = os.path.join( 172 data_access.MakeDirectory(output_path) 173 return output_path 196 output_path = self._MakeDir(base_output_path, config_name) 211 output_path=output_path) 271 output_path = self._MakeDir(base_output_path, config_name) [all …]
|
D | eval_scores.py | 99 def Run(self, output_path): argument 106 output_path, self._score_filename_prefix + self.NAME + '.txt') 114 self._Run(output_path) 116 def _Run(self, output_path): argument 154 def _Run(self, output_path): argument 178 def _Run(self, output_path): argument 219 def _Run(self, output_path): argument 220 echo_detector_out_filepath = os.path.join(output_path, 283 def _Run(self, output_path): argument 284 polqa_out_filepath = os.path.join(output_path, 'polqa.out') [all …]
|
D | simulation.py | 245 output_path = os.path.join( 252 data_access.MakeDirectory(output_path) 253 logging.debug('output path: <%s>', output_path) 258 echo_test_data_cache_path, output_path, 292 output_path, argument 295 self._annotator.Save(output_path, annotation_name) 299 echo_test_data_cache_path, output_path, config_filepath, argument 323 base_output_path=output_path) 371 output_path=evaluation_output_path) 382 output_path=evaluation_output_path, [all …]
|
D | echo_path_simulation.py | 31 def Simulate(self, output_path): argument 67 def Simulate(self, output_path): argument 91 def Simulate(self, output_path): argument 97 output_path, 'linear_echo_{}.wav'.format(impulse_response_hash)) 128 def Simulate(self, output_path): argument
|
/external/openscreen/tools/ |
D | curlish.py | 19 def curlish(download_url, output_path): argument 23 if not output_path or not download_url: 27 print('downloading from "{}" to "{}"'.format(download_url, output_path)) 40 directory = os.path.dirname(output_path) 44 script_file = open(output_path, 'w')
|
D | convert_to_data_file.py | 39 def Convert(namespace, input_path, output_path): argument 51 with open(output_path, 'w') as f: 68 output_path = os.path.abspath(args.output_path) 69 Convert(args.namespace, input_path, output_path)
|
/external/harfbuzz_ng/src/ |
D | main.cc | 60 char output_path[255]; in svg_dump() local 61 snprintf (output_path, sizeof output_path, in svg_dump() 68 FILE *f = fopen (output_path, "wb"); in svg_dump() 115 char output_path[255]; in png_dump() local 116 snprintf (output_path, sizeof output_path, "out/png-%u-%u-%u.png", glyph_id, strike, face_index); in png_dump() 118 FILE *f = fopen (output_path, "wb"); in png_dump() 227 char output_path[255]; in layered_glyph_dump() local 228 snprintf (output_path, sizeof output_path, "out/colr-%u-%u-%u.svg", gid, palette, face_index); in layered_glyph_dump() 229 FILE *f = fopen (output_path, "wb"); in layered_glyph_dump() 277 char output_path[255]; in dump_glyphs() local [all …]
|
/external/armnn/python/pyarmnn/examples/common/ |
D | cv_utils.py | 83 def create_video_writer(video: cv2.VideoCapture, video_path: str, output_path: str): 97 if output_path is not None: 98 assert os.path.isdir(output_path) 100 …i, filename = 0, os.path.join(output_path if output_path is not None else str(), f'object_detectio… 103 …filename = os.path.join(output_path if output_path is not None else str(), f'object_detection_demo… 113 def init_video_file_capture(video_path: str, output_path: str): 131 video_writer = create_video_writer(video, video_path, output_path)
|
/external/cronet/build/android/gyp/ |
D | java_google_api_keys.py | 70 def _DoWriteJavaOutput(output_path, constant_definition): argument 71 folder = os.path.dirname(output_path) 74 with open(output_path, 'w') as out_file: 78 def _DoWriteJarOutput(output_path, constant_definition): argument 79 folder = os.path.dirname(output_path) 82 with zipfile.ZipFile(output_path, 'w') as srcjar:
|
/external/angle/build/android/gyp/ |
D | java_google_api_keys.py | 70 def _DoWriteJavaOutput(output_path, constant_definition): argument 71 folder = os.path.dirname(output_path) 74 with open(output_path, 'w') as out_file: 78 def _DoWriteJarOutput(output_path, constant_definition): argument 79 folder = os.path.dirname(output_path) 82 with zipfile.ZipFile(output_path, 'w') as srcjar:
|
/external/oss-fuzz/projects/pffft/ |
D | generate_seed_corpus.py | 31 output_path = sys.argv[1] 32 if not os.path.exists(output_path): 46 z.tofile(os.path.join(output_path, 'zeros_%d' % n)) 49 m.tofile(os.path.join(output_path, 'max_%d' % n)) 53 rnd_s16.tofile(os.path.join(output_path, 'rnd_s16_%d' % n))
|
/external/libabigail/tests/ |
D | runtestfedabipkgdiff.py.in | 116 for args, reference_report_path, output_path in FEDABIPKGDIFF_TEST_SPECS: 118 output_path = os.path.join(TEST_BUILD_DIR, output_path) 124 with open(output_path, 'w') as out_file: 131 diffcmd = ['diff', '-u', reference_report_path, output_path]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | gen_vk_internal_shaders.py | 327 def write_compressed_spirv_blob_as_c_array(output_path, variable_name, compressed_blob, argument 333 out_file_name=output_path.replace('\\', '/'), 338 with open(output_path, 'wb') as incfile: 346 def __init__(self, shader_file, preprocessor_args, output_path, variable_name): argument 351 self.output_path = output_path 369 compressed_blob = read_and_compress_spirv_blob(self.output_path) 373 write_compressed_spirv_blob_as_c_array(self.output_path, self.variable_name, 382 def __init__(self, shader_file, shader_basename, variation_string, output_path, argument 389 self.output_path = output_path 403 self.output_path, [all …]
|
/external/cronet/testing/merge_scripts/ |
D | standard_isolated_script_merge.py | 40 output_path = None 42 output_path = find_shard_output_path(index, result.get('task_id'), 44 if not output_path: 48 with open(output_path) as f: 53 'Failed to parse JSON from %s' % output_path), e)
|