| /external/iamf_tools/iamf/cli/tests/ |
| D | wav_writer_test.cc | 246 const std::filesystem::path output_file_path( in TEST() local 252 WavWriter::Create(output_file_path.string(), kNumChannels, in TEST() 256 EXPECT_TRUE(std::filesystem::exists(output_file_path)); in TEST() 258 EXPECT_NE(std::filesystem::file_size(output_file_path, error_code), 0); in TEST() 263 const std::filesystem::path output_file_path( in TEST() local 269 WavWriter::Create(output_file_path.string(), kNumChannels, in TEST() 274 EXPECT_TRUE(std::filesystem::exists(output_file_path)); in TEST() 277 EXPECT_EQ(std::filesystem::file_size(output_file_path, error_code), 0) in TEST() 278 << output_file_path; in TEST() 283 const std::filesystem::path output_file_path( in TEST() local [all …]
|
| /external/tensorflow/tensorflow/examples/speech_commands/ |
| D | wav_to_features_test.py | 55 output_file_path = os.path.join(tmp_dir, "output.c") 59 input_file_path, output_file_path) 60 with open(output_file_path, "rb") as f: 71 output_file_path = os.path.join(tmp_dir, "output.c") 75 input_file_path, output_file_path) 76 with open(output_file_path, "rb") as f:
|
| /external/swiftshader/third_party/SPIRV-Tools/utils/ |
| D | generate_changelog.py | 63 output_file_path = sys.argv[3] 87 if os.path.isfile(output_file_path): 88 with open(output_file_path, 'r') as f: 92 mkdir_p(os.path.dirname(output_file_path)) 93 with open(output_file_path, 'w') as f:
|
| D | update_build_version.py | 145 output_file_path = sys.argv[2] 159 if os.path.isfile(output_file_path): 160 with open(output_file_path, 'r') as f: 164 mkdir_p(os.path.dirname(output_file_path)) 165 with open(output_file_path, 'w') as f:
|
| /external/angle/third_party/spirv-tools/src/utils/ |
| D | generate_changelog.py | 63 output_file_path = sys.argv[3] 87 if os.path.isfile(output_file_path): 88 with open(output_file_path, 'r') as f: 92 mkdir_p(os.path.dirname(output_file_path)) 93 with open(output_file_path, 'w') as f:
|
| D | update_build_version.py | 146 output_file_path = sys.argv[2] 160 if os.path.isfile(output_file_path): 161 with open(output_file_path, 'r') as f: 165 mkdir_p(os.path.dirname(output_file_path)) 166 with open(output_file_path, 'w') as f:
|
| /external/deqp-deps/SPIRV-Tools/utils/ |
| D | generate_changelog.py | 63 output_file_path = sys.argv[3] 87 if os.path.isfile(output_file_path): 88 with open(output_file_path, 'r') as f: 92 mkdir_p(os.path.dirname(output_file_path)) 93 with open(output_file_path, 'w') as f:
|
| D | update_build_version.py | 146 output_file_path = sys.argv[2] 160 if os.path.isfile(output_file_path): 161 with open(output_file_path, 'r') as f: 165 mkdir_p(os.path.dirname(output_file_path)) 166 with open(output_file_path, 'w') as f:
|
| /external/perfetto/src/java_sdk/main/cpp/ |
| D | example.cc | 65 const std::string& output_file_path) { in StopTracing() argument 74 output.open(output_file_path, std::ios::out | std::ios::binary); in StopTracing() 81 output_file_path.c_str()); in StopTracing() 107 int run_main(const std::string& output_file_path) { in run_main() argument 114 StopTracing(std::move(tracing_session), output_file_path); in run_main()
|
| /external/pytorch/tools/lite_interpreter/ |
| D | gen_selected_mobile_ops_header.py | 91 output_file_path: str, 97 with open(output_file_path, "wb") as out_file: 130 output_file_path: str, 133 with open(output_file_path, "wb") as out_file: 176 print("Writing header file selected_mobile_ops.h: ", parsed_args.output_file_path) 178 os.path.join(parsed_args.output_file_path, "selected_mobile_ops.h"),
|
| /external/tensorflow/tensorflow/python/debug/cli/ |
| D | readline_ui.py | 95 prefix, args, output_file_path = self._parse_command(command) 112 if output_file_path: 114 screen_output.write_to_file(output_file_path) 115 print("Wrote output to %s" % output_file_path) 117 print("Failed to write output to %s" % output_file_path)
|
| D | command_parser.py | 120 output_file_path = None 122 output_file_path = args[-1][1:] 125 output_file_path = args[-1][1:] 128 output_file_path = args[-1] 133 output_file_path = None 135 output_file_path = args[-1][gt_index + 1:] 138 output_file_path = args[-1] 142 output_file_path = None 144 return args, output_file_path
|
| /external/tensorflow/tensorflow/tools/optimization/ |
| D | gpu_optimization_pass_runner_main.cc | 33 string output_file_path; in RealMain() local 38 Flag("output_file_path", &output_file_path, in RealMain() 52 if (output_file_path.empty()) { in RealMain() 76 return WriteTextProto(Env::Default(), output_file_path, graphdef_output); in RealMain()
|
| /external/iamf_tools/iamf/cli/adm_to_user_metadata/app/ |
| D | adm_to_user_metadata_main.cc | 39 ABSL_FLAG(std::string, output_file_path, "", 72 const std::filesystem::path output_file_path( in main() local 79 absl::GetFlag(FLAGS_importance_threshold), output_file_path, adm_file, in main() 91 output_file_path, *user_metadata); in main()
|
| /external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
| D | fake_polqa.cc | 26 void WriteOutputFile(absl::string_view output_file_path) { in WriteOutputFile() argument 27 RTC_CHECK_NE(output_file_path, ""); in WriteOutputFile() 28 std::ofstream out(std::string{output_file_path}); in WriteOutputFile()
|
| D | external_vad.py | 53 output_file_path = os.path.join(tmp_path, self.name + '_vad.tmp') 56 output_file_path 58 self._vad_output = np.fromfile(output_file_path, np.float32)
|
| /external/iamf_tools/iamf/cli/adm_to_user_metadata/adm/ |
| D | wav_file_splicer.cc | 291 const std::filesystem::path& output_file_path, in ConvertFromObjectsTo3OA() argument 309 output_file_path / absl::StrCat(file_prefix, "_converted1.wav"); in ConvertFromObjectsTo3OA() 437 absl::Status SeparateLfeChannels(const std::filesystem::path& output_file_path, in SeparateLfeChannels() argument 460 (output_file_path / in SeparateLfeChannels() 511 const std::filesystem::path& output_file_path, in SeparateLfeAndConvertTo3OA() argument 525 return ConvertFromObjectsTo3OA(output_file_path, file_prefix, reader.adm_, in SeparateLfeAndConvertTo3OA() 533 (output_file_path / non_lfe_file_name).string(); in SeparateLfeAndConvertTo3OA() 536 RETURN_IF_NOT_OK(SeparateLfeChannels(output_file_path, file_prefix, in SeparateLfeAndConvertTo3OA() 565 output_file_path, file_prefix, non_lfe_adm, non_lfe_format_info, in SeparateLfeAndConvertTo3OA() 580 const std::filesystem::path& output_file_path, in SpliceWavFilesFromAdm() argument [all …]
|
| /external/cronet/tot/third_party/llvm-libc/src/newhdrgen/ |
| D | yaml_to_classes.py | 264 output_file_path = Path(args.output_dir) 265 if output_file_path.is_dir(): 266 output_file_path /= f"{Path(args.yaml_file).stem}.h" 268 output_file_path = Path(f"{Path(args.yaml_file).stem}.h") 274 with open(output_file_path, "w") as f: 277 with open(output_file_path, "w") as f:
|
| /external/cronet/stable/third_party/llvm-libc/src/newhdrgen/ |
| D | yaml_to_classes.py | 264 output_file_path = Path(args.output_dir) 265 if output_file_path.is_dir(): 266 output_file_path /= f"{Path(args.yaml_file).stem}.h" 268 output_file_path = Path(f"{Path(args.yaml_file).stem}.h") 274 with open(output_file_path, "w") as f: 277 with open(output_file_path, "w") as f:
|
| /external/python/mobly/mobly/controllers/android_device_lib/services/ |
| D | logcat.py | 45 def __init__(self, logcat_params=None, clear_log=True, output_file_path=None): argument 48 self.output_file_path = output_file_path 228 if self._config.output_file_path: 230 self.adb_logcat_file_path = self._config.output_file_path
|
| /external/pytorch/android/pytorch_android/ |
| D | generate_test_asset.cpp | 11 std::string output_file_path{argv[2]}; in main() local 19 m.save(output_file_path); in main()
|
| /external/zlib/google/ |
| D | zip_reader.cc | 452 const base::FilePath& output_file_path, in ExtractCurrentEntryToFilePathAsync() argument 463 if (base::CreateDirectory(output_file_path)) { in ExtractCurrentEntryToFilePathAsync() 467 LOG(ERROR) << "Cannot create directory " << Redact(output_file_path); in ExtractCurrentEntryToFilePathAsync() 487 base::FilePath output_dir_path = output_file_path.DirName(); in ExtractCurrentEntryToFilePathAsync() 496 base::File output_file(output_file_path, flags); in ExtractCurrentEntryToFilePathAsync() 499 LOG(ERROR) << "Cannot create file " << Redact(output_file_path); in ExtractCurrentEntryToFilePathAsync() 674 FilePathWriterDelegate::FilePathWriterDelegate(base::FilePath output_file_path) in FilePathWriterDelegate() argument 676 output_file_path_(std::move(output_file_path)) {} in FilePathWriterDelegate()
|
| /external/tensorflow/tensorflow/tools/compatibility/update/ |
| D | generate_v2_reorders_map.py | 112 def update_reorders_v2(output_file_path): argument 131 file_io.write_string_to_file(output_file_path, renames_file_text)
|
| /external/v4l2_codec2/tests/c2_e2e_test/jni/ |
| D | video_encoder_e2e_test.cpp | 159 std::string output_file_path() const { return output_file_path_; } in output_file_path() function in android::C2VideoEncoderTestEnvironment 222 if (g_env->output_file_path().empty()) return false; in CreateOutputFile() 224 if (!output_file_.Open(g_env->output_file_path(), g_env->codec())) { in CreateOutputFile() 225 printf("[ERR] Failed to open file: %s\n", g_env->output_file_path().c_str()); in CreateOutputFile()
|
| /external/pytorch/.github/scripts/ |
| D | generate_ci_workflows.py | 78 output_file_path = ( 83 output_file_path = ( 87 with open(output_file_path, "w") as output_file: 98 print(output_file_path)
|