Home
last modified time | relevance | path

Searched refs:input_path (Results 1 – 24 of 24) sorted by relevance

/external/jsoncpp/test/
Drunjsontests.py52 for input_path in tests + test_jsonchecker:
53 expect_failure = os.path.basename( input_path ).startswith( 'fail' )
54 is_json_checker_test = (input_path in test_jsonchecker) or expect_failure
55 print('TESTING:', input_path, end=' ')
59 input_path) )
66 failed_tests.append( (input_path, 'Parsing should have failed:\n%s' %
67 safeReadFile(input_path)) )
73 failed_tests.append( (input_path, 'Parsing failed:\n' + process_output) )
77 base_path = os.path.splitext(input_path)[0]
83 failed_tests.append( (input_path, 'Parsing failed:\n' + process_output) )
[all …]
Dpyjsontestrunner.py12 input_path = sys.argv[1] variable
13 base_path = os.path.splitext(input_path)[0]
59 input = file( input_path, 'rt' ).read()
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py261 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
262 np.savez(input_path, a=x0)
263 input_str = 'x=' + input_path + '[a];y=' + input_path
306 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
307 np.savez(input_path, a=x0)
309 input_str = 'x0=' + input_path + '[a]'
318 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
319 np.savez(input_path, a=x0)
321 input_str = 'x0=' + input_path + '[a]'
330 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
[all …]
/external/pdfium/testing/tools/
Dtest_runner.py101 input_path = os.path.join(source_dir, input_root + '.in')
108 if not os.path.exists(input_path):
117 input_path])
136 def HandleResult(self, input_filename, input_path, result): argument
159 self.surprises.append(input_path)
162 self.failures.append(input_path)
244 input_path = os.path.join(walk_from_dir, file_name)
245 if not os.path.isfile(input_path):
249 self.test_cases.append((os.path.basename(input_path),
250 os.path.dirname(input_path)))
[all …]
Dfixup_pdf_template.py83 def expand_file(input_path, output_path): argument
86 with open(input_path, 'rb') as infile:
91 print >> sys.stderr, 'failed to process %s' % input_path
Dsafetynet_compare.py54 for input_path in self.args.input_paths:
55 if os.path.isfile(input_path):
56 self.test_cases.append(input_path)
57 elif os.path.isdir(input_path):
58 for file_dir, _, filename_list in os.walk(input_path):
/external/autotest/client/site_tests/video_VideoEncodeAccelerator/
Dvideo_VideoEncodeAccelerator.py126 input_path = os.path.join(self.tmpdir, path.split('/')[-1])
127 _download_video(path, input_path)
129 input_path = os.path.join(self.cr_source_dir, path)
132 '%s.out' % input_path.split('/')[-1])
136 input_path, width, height, profile, output_path, bit_rate))
157 logging.exception('error while encoding %s', input_path)
162 _remove_if_exists(input_path)
/external/tensorflow/tensorflow/tools/gcs_test/python/
Dgcs_smoke.py201 input_path = FLAGS.gcs_bucket_url + "/"
202 input_path += "".join(random.choice("0123456789ABCDEF") for i in range(8))
203 input_path += ".tfrecord"
204 print("Using input path: %s" % input_path)
209 with tf.python_io.TFRecordWriter(input_path) as hf:
213 print("Data written to: %s" % input_path)
217 record_iter = tf.python_io.tf_record_iterator(input_path)
232 filename_queue = tf.train.string_input_producer([input_path], num_epochs=1)
/external/perfetto/tools/ftrace_proto_gen/
Dmain.cc77 std::string input_path = input_dir + event + std::string("/format"); in main() local
81 if (!perfetto::base::ReadFile(input_path, &contents)) { in main()
82 fprintf(stderr, "Failed to open %s\n", input_path.c_str()); in main()
88 fprintf(stderr, "Could not parse file %s.\n", input_path.c_str()); in main()
95 input_path.c_str()); in main()
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
Dmain-scripts.rb38 input_path = local_path( 'input.txt' )
39 open( input_path, 'w' ) { |f| f.write( "yada yada" ) }
51 input = File.open( input_path )
57 File.delete( input_path )
/external/ltp/android/tools/
Dmake_install_parser.py41 def ParseFile(self, input_path): argument
54 with open(input_path, 'r') as f:
88 result = make_install_parser.ParseFile(args.input_path)
Dmake_parser.py144 def ParseFile(self, input_path): argument
167 with open(input_path, 'r') as f:
202 result = make_parser.ParseFile(args.input_path)
/external/autotest/client/site_tests/video_JEAPerf/
Dvideo_JEAPerf.py99 input_path = os.path.join(self.bindir, file_name)
100 file_utils.download_file(url, input_path)
108 ('--yuv_filenames="%s:%dx%d"' % (input_path, width, height))
118 self.remove_if_exists(input_path)
/external/llvm/utils/lit/tests/
Dunittest-adaptor.py15 input_path = sys.argv[1] variable
16 unittest_suite = lit.discovery.load_test_suite([input_path])
/external/libchrome/libchrome_tools/
Dinclude_generator.py64 def _generate(input_path, output_path): argument
76 with open(input_path, 'r') as f:
/external/llvm/utils/llvm-build/llvmbuild/
Dconfigutil.py8 def configure_file(input_path, output_path, substitutions): argument
27 f = open(input_path, "rb")
/external/autotest/client/site_tests/video_VEAPerf/
Dvideo_VEAPerf.py322 input_path = os.path.join(self.tmpdir,
324 self._download_video(path, input_path)
326 input_path = os.path.join(self.cr_source_dir, path)
329 input_path, width, height, profile, output_path,
337 _remove_if_exists(input_path)
/external/libxcam/tests/
Dtest-pipe-manager.cpp212 const char *input_path = NULL; in main() local
264 input_path = optarg; in main()
369 if (!input_path) { in main()
373 input_fp.fp = fopen (input_path, "rb"); in main()
375 XCAM_LOG_ERROR ("failed to open file: %s", XCAM_STR (input_path)); in main()
/external/brotli/c/tools/
Dbrotli.c437 static BROTLI_BOOL OpenInputFile(const char* input_path, FILE** f) { in OpenInputFile() argument
439 if (!input_path) { in OpenInputFile()
443 *f = fopen(input_path, "rb"); in OpenInputFile()
446 PrintablePath(input_path), strerror(errno)); in OpenInputFile()
479 static void CopyStat(const char* input_path, const char* output_path) { in CopyStat() argument
483 if (input_path == 0 || output_path == 0) { in CopyStat()
486 if (stat(input_path, &statbuf) != 0) { in CopyStat()
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade.py490 for input_path, output_path in files_to_process:
495 _, l_report, l_errors = self.process_file(input_path, output_path)
498 for input_path, output_path in files_to_copy:
502 shutil.copy(input_path, output_path)
/external/v8/src/inspector/build/
Dgenerate_protocol_externs.py245 input_path = sys.argv[3] variable
246 generate_protocol_externs(output_path, input_path)
/external/skia/gn/
Dgn_to_cmake.py484 for input_path in target.properties.get('inputs', []):
485 input_abs_path = project.GetAbsolutePath(input_path)
/external/skqp/gn/
Dgn_to_cmake.py484 for input_path in target.properties.get('inputs', []):
485 input_abs_path = project.GetAbsolutePath(input_path)
/external/v8/tools/mb/
Dmb.py240 'argv[0] (input_path)', self.args.input_path[0])
963 '-G', 'config_path=%s' % self.args.input_path[0],
1283 path = self.args.input_path[0]