/external/tensorflow/tensorflow/python/debug/cli/ |
D | command_parser_test.py | 107 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/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/swiftshader/third_party/llvm-7.0/llvm/utils/llvm-build/llvmbuild/ |
D | main.py | 191 def write_components(self, output_path): argument 245 directory_path = os.path.join(output_path, subpath[1:]) 307 def write_library_table(self, output_path, enabled_optional_components): argument 373 make_install_dir(os.path.dirname(output_path)) 374 f = open(output_path+'.new', 'w') 416 if not os.path.isfile(output_path): 417 os.rename(output_path+'.new', output_path) 418 elif filecmp.cmp(output_path, output_path+'.new'): 419 os.remove(output_path+'.new') 421 os.remove(output_path) [all …]
|
/external/harfbuzz_ng/src/ |
D | test-ot-color.cc | 56 char output_path[255]; in svg_dump() local 57 sprintf (output_path, "out/svg-%u-%u.svg%s", in svg_dump() 63 FILE *f = fopen (output_path, "wb"); in svg_dump() 110 char output_path[255]; in png_dump() local 111 sprintf (output_path, "out/png-%u-%u-%u.png", glyph_id, strike, face_index); in png_dump() 113 FILE *f = fopen (output_path, "wb"); in png_dump() 180 char output_path[255]; in layered_glyph_dump() local 181 sprintf (output_path, "out/colr-%u-%u-%u.svg", gid, palette, face_index); in layered_glyph_dump() 183 cairo_surface_t *surface = cairo_svg_surface_create (output_path, extents.width, extents.height); in layered_glyph_dump() 247 char output_path[255]; in dump_glyphs() local [all …]
|
/external/brotli/c/tools/ |
D | brotli.c | 97 const char* output_path; member 320 params->output_path = argv[i]; in ParseParams() 477 params->output_path = value; in ParseParams() 511 if (params->output_path) return COMMAND_INVALID; in ParseParams() 588 static BROTLI_BOOL OpenOutputFile(const char* output_path, FILE** f, in OpenOutputFile() argument 592 if (!output_path) { in OpenOutputFile() 596 fd = open(output_path, O_CREAT | (force ? 0 : O_EXCL) | O_WRONLY | O_TRUNC, in OpenOutputFile() 600 PrintablePath(output_path), strerror(errno)); in OpenOutputFile() 606 PrintablePath(output_path), strerror(errno)); in OpenOutputFile() 632 static void CopyStat(const char* input_path, const char* output_path) { in CopyStat() argument [all …]
|
/external/autotest/client/site_tests/video_JEAPerf/ |
D | video_JEAPerf.py | 35 def report_perf_results(self, test_name, output_path): argument 38 with open(output_path, 'r') as f: 107 output_path = os.path.join(self.tmpdir, TEST_LOG) 111 ('--output_log=%s' % output_path), 118 self.report_perf_results(test_name, output_path) 124 self.remove_if_exists(output_path)
|
/external/avb/test/ |
D | avbtool_unittest.cc | 727 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local 734 output_path.value().c_str()); in TEST_F() 736 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1386 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local 1393 output_path.value().c_str()); in TEST_F() 1395 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1422 base::FilePath output_path = testdir_.Append("max_size.txt"); in TEST_F() local 1428 output_path.value().c_str()); in TEST_F() 1430 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 2663 base::FilePath output_path = testdir_.Append(kOutputFile); in PrintWithAddHashFooter() local [all …]
|
/external/deqp-deps/SPIRV-Tools/tools/stats/ |
D | stats.cpp | 79 const char* output_path = nullptr; in main() local 101 output_path = cur_arg; in main() 144 if (output_path) { in main() 145 fout.open(output_path); in main() 147 std::cerr << "error: Failed to open " << output_path << std::endl; in main()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/stats/ |
D | stats.cpp | 79 const char* output_path = nullptr; in main() local 101 output_path = cur_arg; in main() 144 if (output_path) { in main() 145 fout.open(output_path); in main() 147 std::cerr << "error: Failed to open " << output_path << std::endl; in main()
|
/external/doclava/src/com/google/doclava/ |
D | AtLinksNavTree.java | 62 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()
|
/external/pdfium/testing/tools/ |
D | fixup_pdf_template.py | 83 def expand_file(input_path, output_path): argument 87 with open(output_path, 'wb') as outfile: 104 output_path = os.path.join(output_dir, testcase_root + '.pdf') 105 expand_file(testcase_path, output_path)
|
D | safetynet_measure.py | 77 output_path = self.args.output_path or '/dev/null' 81 '--callgrind-out-file=%s' % output_path]
|
/external/tensorflow/tensorflow/tools/test/ |
D | run_and_gather_logs.py | 90 output_path = os.path.join(tmpdir, FLAGS.test_log_output_dir, file_name) 92 output_path = os.path.join( 95 gfile.GFile(output_path + ".json", "w").write(json_test_results) 96 tf_logging.info("Test results written to: %s" % output_path)
|
/external/flatbuffers/src/ |
D | flatc.cpp | 160 std::string output_path; in Compile() local 182 output_path = flatbuffers::ConCatPathFileName( in Compile() 431 flatbuffers::EnsureDirExists(output_path); in Compile() 434 !params_.generators[i].generate(*parser.get(), output_path, in Compile() 441 *parser.get(), output_path, filename); in Compile() 448 if (!params_.generators[i].generateGRPC(*parser.get(), output_path, in Compile() 468 if (opts.proto_mode) GenerateFBS(*parser.get(), output_path, filebase); in Compile()
|
/external/perfetto/tools/ |
D | gen_merged_protos | 107 def merge_protos(proto_paths, output_path): argument 147 out_path = os.path.join(root_dir, output_path) 160 print('Updating {}'.format(output_path))
|
/external/libchrome/libchrome_tools/ |
D | include_generator.py | 64 def _generate(input_path, output_path): argument 79 with open(output_path, 'w') as f:
|
/external/fonttools/Snippets/ |
D | edit_raw_table_data.py | 5 output_path = "myfont_patched.ttf" variable 31 font.save(output_path)
|
/external/fonttools/MetaTools/ |
D | buildUCD.py | 158 def build_ranges(filename, local_ucd=None, output_path=None, argument 174 if not output_path: 175 output_path = UNIDATA_PATH + modname 194 with open(output_path, "w", encoding="utf-8") as f: 233 log.info("saved new file: '%s'", os.path.normpath(output_path))
|
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/platforms/ |
D | WinMsvc.cmake | 104 function(generate_winsdk_vfs_overlay winsdk_include_dir output_path) 113 file(WRITE "${output_path}" "version: 0\n") 114 file(APPEND "${output_path}" "case-sensitive: false\n") 115 file(APPEND "${output_path}" "roots:\n") 123 file(APPEND "${output_path}" " - name: \"${dir}\"\n") 124 file(APPEND "${output_path}" " type: directory\n") 125 file(APPEND "${output_path}" " contents:\n") 128 file(APPEND "${output_path}" " - name: \"${header}\"\n") 129 file(APPEND "${output_path}" " type: file\n") 130 file(APPEND "${output_path}" " external-contents: \"${dir}/${header}\"\n")
|
/external/v8/src/inspector/build/ |
D | generate_protocol_externs.py | 104 def generate_protocol_externs(output_path, file1): argument 107 output_file = open(output_path, "w") 244 output_path = sys.argv[2] variable 246 generate_protocol_externs(output_path, input_path)
|
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/core/ops/ |
D | hard_routing_function_op.cc | 119 Tensor* output_path = nullptr; in Compute() local 128 context, context->allocate_output(1, output_path_shape, &output_path)); in Compute() 131 auto out_path = output_path->tensor<int32, 2>(); in Compute()
|
/external/perf_data_converter/src/quipper/ |
D | conversion_utils_test.cc | 21 const string output_path = output_dir.path(); in TEST_P() local 29 output.filename = output_path + test_file + ".pb_text"; in TEST_P()
|
/external/harfbuzz_ng/test/subset/ |
D | generate-expected-outputs.py | 18 def generate_expected_output(input_file, unicodes, profile_flags, output_path): argument 27 "--output-file=%s" % output_path])
|
/external/autotest/client/site_tests/graphics_dEQP/scripts/ |
D | process_logs.py | 248 output_path = os.path.join(_EXPECTATIONS_DIR, gpu) 249 if not os.access(output_path, os.R_OK): 250 os.makedirs(output_path) 251 expectation_path = os.path.join(output_path, filter) 253 expectation_path = os.path.join(output_path, filter + '.hasty')
|