/external/jsoncpp/test/ |
D | runjsontests.py | 52 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 …]
|
D | pyjsontestrunner.py | 12 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/ |
D | saved_model_cli_test.py | 261 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/ |
D | test_runner.py | 101 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 …]
|
D | fixup_pdf_template.py | 83 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
|
D | safetynet_compare.py | 54 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/ |
D | video_VideoEncodeAccelerator.py | 126 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/ |
D | gcs_smoke.py | 201 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/ |
D | main.cc | 77 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/ |
D | main-scripts.rb | 38 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/ |
D | make_install_parser.py | 41 def ParseFile(self, input_path): argument 54 with open(input_path, 'r') as f: 88 result = make_install_parser.ParseFile(args.input_path)
|
D | make_parser.py | 144 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/ |
D | video_JEAPerf.py | 99 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/ |
D | unittest-adaptor.py | 15 input_path = sys.argv[1] variable 16 unittest_suite = lit.discovery.load_test_suite([input_path])
|
/external/libchrome/libchrome_tools/ |
D | include_generator.py | 64 def _generate(input_path, output_path): argument 76 with open(input_path, 'r') as f:
|
/external/llvm/utils/llvm-build/llvmbuild/ |
D | configutil.py | 8 def configure_file(input_path, output_path, substitutions): argument 27 f = open(input_path, "rb")
|
/external/autotest/client/site_tests/video_VEAPerf/ |
D | video_VEAPerf.py | 322 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/ |
D | test-pipe-manager.cpp | 212 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/ |
D | brotli.c | 437 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/ |
D | tf_upgrade.py | 490 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/ |
D | generate_protocol_externs.py | 245 input_path = sys.argv[3] variable 246 generate_protocol_externs(output_path, input_path)
|
/external/skia/gn/ |
D | gn_to_cmake.py | 484 for input_path in target.properties.get('inputs', []): 485 input_abs_path = project.GetAbsolutePath(input_path)
|
/external/skqp/gn/ |
D | gn_to_cmake.py | 484 for input_path in target.properties.get('inputs', []): 485 input_abs_path = project.GetAbsolutePath(input_path)
|
/external/v8/tools/mb/ |
D | mb.py | 240 '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]
|