Home
last modified time | relevance | path

Searched full:output_path (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/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/Tests/ttLib/
Dmain_test.py56 output_path = tmp_path / "TestTTF-Regular.ttf"
57 args = ["-o", str(output_path), str(ttfont_path)]
63 assert output_path.exists()
64 assert TTFont(output_path).getGlyphOrder() == TTFont(ttfont_path).getGlyphOrder()
73 output_path = tmp_path / f"TestTTF-Regular#{i}.ttf"
74 args = ["-y", str(i), "-o", str(output_path), str(ttcollection_path)]
80 assert output_path.exists()
82 TTFont(output_path).getGlyphOrder()
88 output_path = tmp_path / "TestTTF.ttc"
90 __main__.main(["-o", str(output_path), str(ttcollection_path)])
[all …]
/external/fonttools/Lib/fontTools/cu2qu/
Dcli.py38 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/angle/third_party/clspv/gn/llvm/tablegen/
DBUILD.gn356 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
362 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
370 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
376 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
382 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
388 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
394 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
400 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
408 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
414 output_path = "$clspv_llvm_dir/clang/include/clang/Basic"
[all …]
/external/pdfium/testing/tools/
Dsafetynet_image.py27 [output_path]/[two_labels[0]] and [output_path]/[two_labels[1]]. For example,
28 if output_path is "/tmp/images" and two_labels is ("before", "after"),
34 def __init__(self, build_dir, output_path, two_labels, num_workers, argument
40 output_path: Path with the pngs and where the html will be created.
42 output_path containing the images.
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,
107 As a side effect, the diff images will be saved to [output_path]/diff
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser_test.py103 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/angle/scripts/
Dwinappsdk_setup.py29 def download_and_extract_nuget_package(force, version, output_path): argument
31 stamp = os.path.join(output_path, f"{version}.stamp")
41 os.makedirs(output_path, exist_ok=True)
43 zip_ref.extractall(output_path)
71 def run_winmdidl(force, win_sdk_bin, output_path, winmd, stamp_filename=None): argument
72 include = os.path.join(output_path, "include")
73 lib = os.path.join(output_path, "lib")
93 def run_midlrt(force, win_sdk_bin, output_path, idl): argument
94 include = os.path.join(output_path, "include")
95 lib = os.path.join(output_path, "lib")
[all …]
/external/cronet/net/tools/
Dstitch_net_log_files.py17 USAGE ='''Usage: stitch_net_log_files.py <INPROGRESS_DIR> [<OUTPUT_PATH>]
20 NetLog file at path <OUTPUT_PATH>.
22 If <OUTPUT_PATH> is not specified, it should end with ".inprogress", and the
55 output_path = None
59 output_path = sys.argv[2]
63 sys.stdout.write("Must specify OUTPUT_PATH\n")
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/fonttools/Tests/qu2cu/
Dqu2cu_cli_test.py37 output_path = str(ttf_path).replace(".ttf", ".cubic.ttf")
38 font = TTFont(output_path)
40 assert os.stat(ttf_path).st_size > os.stat(output_path).st_size
44 output_path = str(ttf_path) + ".cubic"
46 self.run_main(ttf_path, "-o", output_path)
48 font = TTFont(output_path)
60 output_path = str(ttf_path).replace(".ttf", ".cubic.ttf")
61 font = TTFont(output_path)
/external/perfetto/tools/
Dgen_ui_imports52 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)
95 print(f'--out ({output_path}) parent directory ({output_dir}) must exist')
97 if os.path.isdir(output_path):
98 print(f'--out ({output_path}) should not be a directory')
101 success = gen_imports(input_dir, output_path)
/external/armnn/python/pyarmnn/examples/common/
Dcv_utils.py83 def create_video_writer(video: cv2.VideoCapture, video_path: str, output_path: str):
90 output_path: Optional path to save the processed video.
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):
119 output_path: Optional path to save the processed video.
131 video_writer = create_video_writer(video, video_path, output_path)
/external/webrtc/modules/audio_processing/test/py_quality_assessment/
Dapm_quality_assessment.sh47 OUTPUT_PATH=output
57 if [ ! -d ${OUTPUT_PATH} ]; then
58 mkdir ${OUTPUT_PATH}
67 LOG_FILE="${OUTPUT_PATH}/apm_qa-${probing_signal_name}-"`
75 -o ${OUTPUT_PATH} \
87 ./apm_quality_assessment_export.py -o ${OUTPUT_PATH}
90 RESULTS_FILE="$(realpath ${OUTPUT_PATH}/results.html)"
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/
Dtac.py20 def run_tac(model_path, targets, output_path): argument
26 output_path: The output path.
35 Invalid output_path.
43 if not output_path:
44 raise ValueError("Invalid output_path.")
46 return _pywrap_tac_wrapper.run_tac(model_path, targets, output_path)
/external/crosvm/tools/infra/
Dbinary_size67 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/
Dconfigutil.py8 def configure_file(input_path, output_path, substitutions): argument
9 """configure_file(input_path, output_path, substitutions) -> bool
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")
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 …]
/external/openscreen/tools/
Dconvert_to_data_file.py39 def Convert(namespace, input_path, output_path): argument
51 with open(output_path, 'w') as f:
64 parser.add_argument('output_path', help='Output path of converted file')
68 output_path = os.path.abspath(args.output_path)
69 Convert(args.namespace, input_path, output_path)
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')
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dtest_data_generation.py142 output_path = self._MakeDir(base_output_path, config_name)
149 output_path=output_path)
152 reference_signal_filepath, output_path): argument
159 output_path: APM output path.
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)
[all …]
Deval_scores.py99 def Run(self, output_path): argument
103 output_path: path to the directory where the output is written.
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
[all …]
Dsimulation.py245 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
315 output_path: base output path for the test data generator.
323 base_output_path=output_path)
371 output_path=evaluation_output_path)
[all …]
Decho_path_simulation.py31 def Simulate(self, output_path): argument
35 output_path: Path in which any output can be saved.
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/tink/python/examples/deterministic_aead/
Ddeterministic_aead_test.sh54 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted"
69 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted"
91 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted1"
94 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted2"
109 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted"
123 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted"
139 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" \
151 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" \
170 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" \
183 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" \

12345678910>>...12