Home
last modified time | relevance | path

Searched refs:output_path (Results 1 – 25 of 126) sorted by relevance

123456

/external/libjpeg-turbo/gtest/
Ddjpeg-gtest-wrapper.cpp69 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 …]
Dcjpeg-gtest-wrapper.cpp37 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 …]
Djpegtran-gtest-wrapper.cpp37 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/
Dcli.py32 def _font_to_quadratic(input_path, output_path=None, **kwargs): argument
36 logger.info("Saving %s", output_path)
37 if output_path:
38 ufo.save(output_path)
41 elif output_path:
42 _copytree(input_path, output_path)
52 def _copytree(input_path, output_path): argument
53 if _samepath(input_path, output_path):
56 if os.path.exists(output_path):
57 shutil.rmtree(output_path)
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser_test.py107 args, output_path = command_parser.extract_output_file_path(["pt", "a:0"])
109 self.assertIsNone(output_path)
112 args, output_path = command_parser.extract_output_file_path(
115 self.assertEqual(output_path, "/tmp/foo.txt")
118 args, output_path = command_parser.extract_output_file_path(
121 self.assertEqual(output_path, "/tmp/foo.txt")
129 args, output_path = command_parser.extract_output_file_path(
132 self.assertEqual(output_path, "/tmp/foo.txt")
135 args, output_path = command_parser.extract_output_file_path(
138 self.assertEqual(output_path, "/tmp/foo.txt")
[all …]
/external/pdfium/testing/tools/
Dsafetynet_image.py35 def __init__(self, build_dir, output_path, two_labels, num_workers, argument
50 self.output_path = output_path
72 html_path = os.path.join(self.output_path, 'compare.html')
74 self.diff_path = os.path.join(self.output_path, 'diff')
78 self.image_locations = ImageLocations(self.output_path, self.diff_path,
177 return os.path.relpath(absolute_path, start=self.output_path)
246 def __init__(self, output_path, diff_path, two_labels): argument
255 self.output_path = output_path
283 image_path_matcher = os.path.join(self.output_path, label, '*.*.png')
/external/openscreen/tools/
Dcurlish.py19 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')
Dconvert_to_data_file.py39 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)
Ddownload-yajsv.py61 output_path = os.path.abspath(
65 result = curlish.curlish(download_url, output_path)
69 current_mode = os.stat(output_path).st_mode
70 os.chmod(output_path, current_mode | stat.S_IEXEC)
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py203 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 …]
Dconfigutil.py8 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/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dtest_data_generation.py143 output_path = self._MakeDir(base_output_path, config_name)
150 output_path=output_path)
153 reference_signal_filepath, output_path): argument
165 self._apm_output_paths[config_name] = os.path.abspath(output_path)
170 output_path = os.path.join(
173 data_access.MakeDirectory(output_path)
174 return output_path
197 output_path = self._MakeDir(base_output_path, config_name)
211 output_path=output_path)
270 output_path = self._MakeDir(base_output_path, config_name)
[all …]
Deval_scores.py100 def Run(self, output_path): argument
107 output_path, self._score_filename_prefix + self.NAME + '.txt')
115 self._Run(output_path)
117 def _Run(self, output_path): argument
156 def _Run(self, output_path): argument
180 def _Run(self, output_path): argument
220 def _Run(self, output_path): argument
221 echo_detector_out_filepath = os.path.join(output_path, 'echo_detector.out')
282 def _Run(self, output_path): argument
283 polqa_out_filepath = os.path.join(output_path, 'polqa.out')
[all …]
Decho_path_simulation.py32 def Simulate(self, output_path): argument
68 def Simulate(self, output_path): argument
92 def Simulate(self, output_path): argument
97 echo_filepath = os.path.join(output_path, 'linear_echo_{}.wav'.format(
128 def Simulate(self, output_path): argument
Dsimulation.py231 output_path = os.path.join(
238 data_access.MakeDirectory(output_path)
239 logging.debug('output path: <%s>', output_path)
243 echo_test_data_cache_path, output_path,
274 def _ExtractCaptureAnnotations(self, input_filepath, output_path, argument
277 self._annotator.Save(output_path, annotation_name)
281 echo_test_data_cache_path, output_path, config_filepath, argument
305 base_output_path=output_path)
353 output_path=evaluation_output_path)
363 output_path=evaluation_output_path,
[all …]
/external/harfbuzz_ng/src/
Dtest-ot-color.cc64 char output_path[255]; in svg_dump() local
65 sprintf (output_path, "out/svg-%u-%u.svg%s", in svg_dump()
71 FILE *f = fopen (output_path, "wb"); in svg_dump()
118 char output_path[255]; in png_dump() local
119 sprintf (output_path, "out/png-%u-%u-%u.png", glyph_id, strike, face_index); in png_dump()
121 FILE *f = fopen (output_path, "wb"); in png_dump()
188 char output_path[255]; in layered_glyph_dump() local
189 sprintf (output_path, "out/colr-%u-%u-%u.svg", gid, palette, face_index); in layered_glyph_dump()
191 cairo_surface_t *surface = cairo_svg_surface_create (output_path, extents.width, extents.height); in layered_glyph_dump()
255 char output_path[255]; in dump_glyphs() local
[all …]
/external/oss-fuzz/projects/pffft/
Dgenerate_seed_corpus.py31 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/
Druntestfedabipkgdiff.py.in116 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/
Dgen_vk_internal_shaders.py327 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/icu/icu4c/source/python/icutools/databuilder/renderers/
Dcommon_exec.py45 output_path = "{DIRNAME}/{FILENAME}".format(
50 print("Printing to file: %s" % output_path)
51 with open(output_path, "w") as f:
59 output_path = "{DIRNAME}/{FILENAME}".format(
64 print("Copying file to: %s" % output_path)
65 shutil.copyfile(input_path, output_path)
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tools/
Damalgamate.py14 def __init__(self, output_path, prefix): argument
17 self.output_h = open(output_path + prefix + "upb.h", "w")
18 self.output_c = open(output_path + prefix + "upb.c", "w")
75 output_path = sys.argv[1] variable
77 amalgamator = Amalgamator(output_path, prefix)
/external/brotli/c/tools/
Dbrotli.c102 const char* output_path; member
331 params->output_path = argv[i]; in ParseParams()
488 params->output_path = value; in ParseParams()
522 if (params->output_path) return COMMAND_INVALID; in ParseParams()
605 static BROTLI_BOOL OpenOutputFile(const char* output_path, FILE** f, in OpenOutputFile() argument
609 if (!output_path) { in OpenOutputFile()
613 fd = open(output_path, O_CREAT | (force ? 0 : O_EXCL) | O_WRONLY | O_TRUNC, in OpenOutputFile()
617 PrintablePath(output_path), strerror(errno)); in OpenOutputFile()
623 PrintablePath(output_path), strerror(errno)); in OpenOutputFile()
649 static void CopyStat(const char* input_path, const char* output_path) { in CopyStat() argument
[all …]
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dconfig.h23 const std::string& output_path) in Config()
26 output_path_(output_path) {} in Config()
30 const std::string& output_path() const;
/external/avb/test/
Davbtool_unittest.cc775 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local
782 output_path.value().c_str()); in TEST_F()
784 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F()
1586 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local
1593 output_path.value().c_str()); in TEST_F()
1595 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F()
1622 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local
1628 output_path.value().c_str()); in TEST_F()
1630 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F()
1656 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local
[all …]
/external/doclava/src/com/google/doclava/
DAtLinksNavTree.java62 String output_path; in writeAtLinksNavTree() local
64 output_path = dir + Doclava.libraryRoot + "at_links_navtree.json"; in writeAtLinksNavTree()
66 output_path = "at_links_navtree.json"; in writeAtLinksNavTree()
69 ClearPage.write(data, "at_links_navtree.cs", output_path); in writeAtLinksNavTree()

123456