Home
last modified time | relevance | path

Searched refs:input_filename (Results 1 – 25 of 55) sorted by relevance

123

/external/pdfium/testing/tools/
Dtest_runner.py32 input_filename, source_dir = test_case
33 result = this.GenerateAndTest(input_filename, source_dir);
34 return (result, input_filename, source_dir)
49 def GenerateAndTest(self, input_filename, source_dir): argument
50 input_root, _ = os.path.splitext(input_filename)
56 actual_images = self.image_differ.GetActualFiles(input_filename, source_dir,
64 raised_exception = self.Generate(source_dir, input_filename, input_root,
68 print 'FAILURE: %s; %s' % (input_filename, raised_exception)
78 print 'FAILURE: %s; %s' % (input_filename, raised_exception)
82 if self.image_differ.HasDifferences(input_filename, source_dir,
[all …]
Dpngdiffer.py17 def GetActualFiles(self, input_filename, source_dir, working_dir): argument
19 path_templates = PathTemplates(input_filename, source_dir, working_dir)
35 def HasDifferences(self, input_filename, source_dir, working_dir): argument
36 path_templates = PathTemplates(input_filename, source_dir, working_dir)
49 print "WARNING: no expected results files for " + input_filename
64 print "FAILURE: " + input_filename + "; " + str(error)
69 def Regenerate(self, input_filename, source_dir, working_dir, platform_only): argument
70 path_templates = PathTemplates(input_filename, source_dir, working_dir)
106 def __init__(self, input_filename, source_dir, working_dir): argument
107 input_root, _ = os.path.splitext(input_filename)
Dsuppressor.py44 def IsResultSuppressed(self, input_filename): argument
45 if input_filename in self.suppression_set:
46 print "%s result is suppressed" % input_filename
56 def IsImageDiffSuppressed(self, input_filename): argument
57 if input_filename in self.image_suppression_set:
58 print "%s image diff comparison is suppressed" % input_filename
/external/deqp-deps/SPIRV-Tools/tools/comp/
Dmarkv.cpp116 const char* input_filename = nullptr; in main() local
191 if (!input_filename) { in main()
192 input_filename = argv[argi]; in main()
203 if (!input_filename) { in main()
204 input_filename = argv[argi]; in main()
232 if (!ReadFile<uint32_t>(input_filename, "rb", &spirv)) return 1; in main()
240 std::cerr << "error: Failed to encode " << input_filename << " to MARK-V " in main()
248 if (!ReadFile<uint8_t>(input_filename, "rb", &markv)) return 1; in main()
256 std::cerr << "error: Failed to decode " << input_filename << " to SPIR-V " in main()
264 if (!ReadFile<uint32_t>(input_filename, "rb", &spirv)) return 1; in main()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/comp/
Dmarkv.cpp116 const char* input_filename = nullptr; in main() local
191 if (!input_filename) { in main()
192 input_filename = argv[argi]; in main()
203 if (!input_filename) { in main()
204 input_filename = argv[argi]; in main()
232 if (!ReadFile<uint32_t>(input_filename, "rb", &spirv)) return 1; in main()
240 std::cerr << "error: Failed to encode " << input_filename << " to MARK-V " in main()
248 if (!ReadFile<uint8_t>(input_filename, "rb", &markv)) return 1; in main()
256 std::cerr << "error: Failed to decode " << input_filename << " to SPIR-V " in main()
264 if (!ReadFile<uint32_t>(input_filename, "rb", &spirv)) return 1; in main()
[all …]
/external/lz4/programs/
Dlz4cli.c95 int LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output_filename, int comp…
303 const char* input_filename = NULL; in main() local
350 if (!input_filename) input_filename=stdinmark; in main()
556 if (!input_filename) { input_filename=argument; continue; } in main()
586 input_filename = inFileNames[0]; in main()
622 if (!input_filename) input_filename = stdinmark; in main()
624 if (!strcmp(input_filename, stdinmark) && IS_CONSOLE(stdin) ) { in main()
629 if (!strcmp(input_filename, stdinmark) && !output_filename) in main()
636 size_t const inSize = strlen(input_filename); in main()
639 if (!strcmp(input_filename+extStart, LZ4_EXTENSION)) mode = om_decompress; in main()
[all …]
Dlz4io.c332 int LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output_filename, int comp… in LZ4IO_compressFilename_Legacy() argument
348 finput = LZ4IO_openSrcFile(input_filename); in LZ4IO_compressFilename_Legacy()
349 if (finput == NULL) EXM_THROW(20, "%s : open file error ", input_filename); in LZ4IO_compressFilename_Legacy()
351 if (foutput == NULL) { fclose(finput); EXM_THROW(20, "%s : open file error ", input_filename); } in LZ4IO_compressFilename_Legacy()
384 if (ferror(finput)) EXM_THROW(25, "Error while reading %s ", input_filename); in LZ4IO_compressFilename_Legacy()
1064 static int LZ4IO_decompressSrcFile(dRess_t ress, const char* input_filename, const char* output_fil… in LZ4IO_decompressSrcFile() argument
1070 FILE* const finput = LZ4IO_openSrcFile(input_filename); in LZ4IO_decompressSrcFile()
1084 if (remove(input_filename)) in LZ4IO_decompressSrcFile()
1085 EXM_THROW(45, "Remove error : %s: %s", input_filename, strerror(errno)); in LZ4IO_decompressSrcFile()
1090 DISPLAYLEVEL(2, "%-20.20s : decoded %llu bytes \n", input_filename, filesize); in LZ4IO_decompressSrcFile()
[all …]
Dlz4io.h56 int LZ4IO_compressFilename (const char* input_filename, const char* output_filename, int compressi…
57 int LZ4IO_decompressFilename(const char* input_filename, const char* output_filename);
/external/dtc/
Dfdtoverlay.c57 static int do_fdtoverlay(const char *input_filename, in do_fdtoverlay() argument
66 blob = utilfdt_read_len(input_filename, &blob_len); in do_fdtoverlay()
69 input_filename); in do_fdtoverlay()
126 char *input_filename = NULL; in main() local
134 input_filename = optarg; in main()
145 if (!input_filename) in main()
158 printf("input = %s\n", input_filename); in main()
164 if (do_fdtoverlay(input_filename, output_filename, argc, argv)) in main()
/external/mesa3d/src/util/
Dmerge_driinfo.py70 for input_filename in input_filenames:
71 with open(input_filename, 'r') as infile:
90 .format(input_filename, linenum))
100 .format(input_filename, linenum))
105 .format(input_filename, linenum))
116 .format(input_filename, linenum))
123 .format(input_filename, linenum))
128 .format(input_filename))
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Drtp_to_text.cc61 std::string input_filename = argv[arg_count++]; in main() local
64 std::cout << "Input file: " << input_filename << std::endl; in main()
67 FILE *inFile=fopen(input_filename.c_str(),"rb"); in main()
70 std::cout << "Cannot open input file " << input_filename << std::endl; in main()
94 std::cout << "Error reading file " << input_filename << std::endl; in main()
101 std::cout << "Error reading file " << input_filename << std::endl; in main()
Daudio_classifier_test.cc53 std::string input_filename = argv[3]; in main() local
56 std::cout << "Input file: " << input_filename << std::endl; in main()
59 FILE* in_file = fopen(input_filename.c_str(), "rb"); in main()
61 std::cout << "Cannot open input file " << input_filename << std::endl; in main()
/external/deqp-deps/SPIRV-Tools/test/tools/
Dexpect.py233 for input_filename in status.input_filenames:
234 object_filename = get_object_filename(input_filename)
248 for input_filename in status.input_filenames:
249 object_filename = get_object_filename(input_filename)
351 for input_filename in status.input_filenames:
352 assembly_filename = get_assembly_filename(input_filename)
371 for input_filename in status.input_filenames:
372 assembly_filename = get_assembly_filename(input_filename)
398 for input_filename in status.input_filenames:
399 assembly_filename = get_assembly_filename(input_filename)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dexpect.py233 for input_filename in status.input_filenames:
234 object_filename = get_object_filename(input_filename)
248 for input_filename in status.input_filenames:
249 object_filename = get_object_filename(input_filename)
351 for input_filename in status.input_filenames:
352 assembly_filename = get_assembly_filename(input_filename)
371 for input_filename in status.input_filenames:
372 assembly_filename = get_assembly_filename(input_filename)
398 for input_filename in status.input_filenames:
399 assembly_filename = get_assembly_filename(input_filename)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_convert_test_data.cc28 Status ConvertCsvToRaw(const string& input_filename) { in ConvertCsvToRaw() argument
30 ReadCSVFileToComplexVectorOrDie(input_filename, &input_data); in ConvertCsvToRaw()
31 const string output_filename = input_filename + ".bin"; in ConvertCsvToRaw()
34 input_filename); in ConvertCsvToRaw()
/external/tensorflow/tensorflow/contrib/timeseries/examples/
Dpredict.py123 input_filename = FLAGS.input_filename
124 if input_filename is None:
125 input_filename = _DEFAULT_DATA_FILE
127 *structural_ensemble_train_and_predict(input_filename))
128 make_plot("AR", *ar_train_and_predict(input_filename))
/external/swiftshader/third_party/LLVM/utils/
Dtest_debuginfo.pl20 my $input_filename = basename $testcase_file;
23 my $debugger_script_file = "$output_dir/$input_filename.debugger.script";
24 my $output_file = "$output_dir/$input_filename.gdb.output";
/external/llvm/utils/
Dtest_debuginfo.pl25 my $input_filename = basename $testcase_file;
28 my $debugger_script_file = "$output_dir/$input_filename.debugger.script";
29 my $output_file = "$output_dir/$input_filename.gdb.output";
/external/selinux/policycoreutils/setfiles/
Dsetfiles.c165 const char *input_filename = NULL; local
287 input_filename = optarg;
360 input_filename = "-";
450 if (strcmp(input_filename, "-") != 0)
451 f = fopen(input_filename, "r");
455 input_filename,
468 if (strcmp(input_filename, "-") != 0)
/external/webrtc/webrtc/modules/video_coding/codecs/tools/
Dvideo_quality_measurement.cc41 DEFINE_string(input_filename,
164 config->input_filename = FLAGS_input_filename; in HandleCommandLineFlags()
307 config->input_filename.c_str(), config->output_filename.c_str(), in CalculateSsimVideoMetrics()
318 config->input_filename.c_str(), config->output_filename.c_str(), in CalculatePsnrVideoMetrics()
329 Log(" Input filename : %s\n", config.input_filename.c_str()); in PrintConfigurationSummary()
407 config.input_filename.c_str(), config.output_filename.c_str(), in PrintPythonOutput()
493 webrtc::test::FrameReaderImpl frame_reader(config.input_filename, in main()
/external/v8/src/inspector/build/
Dxxd.py17 variable_name, input_filename, output_filename = sys.argv[1:]
18 with open(input_filename) as input_file:
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Ddump_ir_pass.h32 IrDumpingPassManager(const string& input_filename, const string& output_dir, in IrDumpingPassManager() argument
35 input_filename_(input_filename), in IrDumpingPassManager()
/external/webrtc/webrtc/test/testsupport/
Dframe_reader.cc20 FrameReaderImpl::FrameReaderImpl(std::string input_filename, in FrameReaderImpl() argument
22 : input_filename_(input_filename), in FrameReaderImpl()
/external/adhd/cras/src/dsp/tests/
Ddcblock_test.c38 static void test_file(const char *input_filename, const char *output_filename) in test_file() argument
45 float *data = read_raw(input_filename, &frames); in test_file()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dllvm-gisel-cov.py35 for input_filename in args.input:
36 with open(input_filename, 'rb') as input_fh:

123