/external/clang/tools/scan-build-py/libscanbuild/ |
D | report.py | 64 def document(args, output_dir, use_cdb): argument 70 crash_count = sum(1 for _ in read_crashes(output_dir)) 72 for bug in read_bugs(output_dir, html_reports_available): 84 fragments.append(bug_summary(output_dir, bug_counter)) 85 fragments.append(bug_report(output_dir, prefix)) 87 fragments.append(crash_report(output_dir, prefix)) 88 assemble_cover(output_dir, prefix, args, fragments) 90 copy_resource_files(output_dir) 92 shutil.copy(args.cdb, output_dir) 99 def assemble_cover(output_dir, prefix, args, fragments): argument [all …]
|
/external/python/cpython3/Lib/distutils/ |
D | ccompiler.py | 92 self.output_dir = None 314 outdir = self.output_dir 338 output_dir=outdir) 362 def _fix_compile_args(self, output_dir, macros, include_dirs): argument 372 if output_dir is None: 373 output_dir = self.output_dir 374 elif not isinstance(output_dir, str): 392 return output_dir, macros, include_dirs 394 def _prep_compile(self, sources, output_dir, depends=None): argument 403 objects = self.object_filenames(sources, output_dir=output_dir) [all …]
|
D | bcppcompiler.py | 82 output_dir=None, macros=None, include_dirs=None, debug=0, argument 86 self._setup_compile(output_dir, macros, include_dirs, sources, 149 output_dir=None, argument 153 (objects, output_dir) = self._fix_object_args (objects, output_dir) 155 self.library_filename (output_libname, output_dir=output_dir) 175 output_dir=None, argument 189 (objects, output_dir) = self._fix_object_args (objects, output_dir) 197 if output_dir is not None: 198 output_filename = os.path.join (output_dir, output_filename) 337 output_dir=''): argument [all …]
|
D | _msvccompiler.py | 311 output_dir=''): argument 317 output_dir = output_dir or '' 331 return os.path.join(output_dir, base + ext_map[ext]) 342 output_dir=None, macros=None, include_dirs=None, debug=0, argument 347 compile_info = self._setup_compile(output_dir, macros, include_dirs, 434 output_dir=None, argument 440 objects, output_dir = self._fix_object_args(objects, output_dir) 442 output_dir=output_dir) 461 output_dir=None, argument 474 objects, output_dir = self._fix_object_args(objects, output_dir) [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | ccompiler.py | 100 self.output_dir = None 327 outdir = self.output_dir 352 output_dir=outdir) 376 def _fix_compile_args(self, output_dir, macros, include_dirs): argument 386 if output_dir is None: 387 output_dir = self.output_dir 388 elif not isinstance(output_dir, str): 406 return output_dir, macros, include_dirs 408 def _fix_object_args(self, objects, output_dir): argument 419 if output_dir is None: [all …]
|
D | bcppcompiler.py | 82 output_dir=None, macros=None, include_dirs=None, debug=0, argument 86 self._setup_compile(output_dir, macros, include_dirs, sources, 149 output_dir=None, argument 153 (objects, output_dir) = self._fix_object_args (objects, output_dir) 155 self.library_filename (output_libname, output_dir=output_dir) 175 output_dir=None, argument 189 (objects, output_dir) = self._fix_object_args (objects, output_dir) 197 if output_dir is not None: 198 output_filename = os.path.join (output_dir, output_filename) 337 output_dir=''): argument [all …]
|
/external/freetype/src/tools/docmaker/ |
D | utils.py | 21 output_dir = None variable 54 global output_dir 56 if output_dir and output_dir != "": 57 filename = output_dir + os.sep + filename 76 global output_dir 77 if output_dir: 78 if output_dir != "": 79 if not os.path.isdir( output_dir ): 81 + " '" + output_dir + "' " 85 output_dir = None
|
/external/googletest/googletest/scripts/ |
D | fuse_gtest_files.py | 113 def VerifyOutputFile(output_dir, relative_path): argument 120 output_file = os.path.join(output_dir, relative_path) 126 (relative_path, output_dir)) 139 def ValidateOutputDir(output_dir): argument 145 VerifyOutputFile(output_dir, GTEST_H_OUTPUT) 146 VerifyOutputFile(output_dir, GTEST_ALL_CC_OUTPUT) 149 def FuseGTestH(gtest_root, output_dir): argument 152 output_file = open(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 221 def FuseGTestAllCc(gtest_root, output_dir): argument 224 output_file = open(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | fuse_gtest_files.py | 110 def VerifyOutputFile(output_dir, relative_path): argument 117 output_file = os.path.join(output_dir, relative_path) 123 (relative_path, output_dir)) 136 def ValidateOutputDir(output_dir): argument 142 VerifyOutputFile(output_dir, GTEST_H_OUTPUT) 143 VerifyOutputFile(output_dir, GTEST_ALL_CC_OUTPUT) 146 def FuseGTestH(gtest_root, output_dir): argument 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 218 def FuseGTestAllCc(gtest_root, output_dir): argument 221 output_file = file(os.path.join(output_dir, GTEST_ALL_CC_OUTPUT), 'w') [all …]
|
/external/google-breakpad/src/testing/scripts/ |
D | fuse_gmock_files.py | 108 def ValidateOutputDir(output_dir): argument 114 gtest.VerifyOutputFile(output_dir, gtest.GTEST_H_OUTPUT) 115 gtest.VerifyOutputFile(output_dir, GMOCK_H_OUTPUT) 116 gtest.VerifyOutputFile(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT) 119 def FuseGMockH(gmock_root, output_dir): argument 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 204 def FuseGMockGTestAllCc(gmock_root, output_dir): argument 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 215 def FuseGMock(gmock_root, output_dir): argument 219 ValidateOutputDir(output_dir) [all …]
|
/external/googletest/googlemock/scripts/ |
D | fuse_gmock_files.py | 108 def ValidateOutputDir(output_dir): argument 114 gtest.VerifyOutputFile(output_dir, gtest.GTEST_H_OUTPUT) 115 gtest.VerifyOutputFile(output_dir, GMOCK_H_OUTPUT) 116 gtest.VerifyOutputFile(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT) 119 def FuseGMockH(gmock_root, output_dir): argument 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 204 def FuseGMockGTestAllCc(gmock_root, output_dir): argument 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 215 def FuseGMock(gmock_root, output_dir): argument 219 ValidateOutputDir(output_dir) [all …]
|
/external/toolchain-utils/cwp/interpreter/ |
D | app_engine_pull.py | 70 def DownloadSamples(server_name, authtoken, output_dir, start, stop): argument 108 output_dir) 109 _UncompressSample(key, time, board, version, output_dir) 127 output_dir): argument 143 if os.path.exists(os.path.join(output_dir, filename)): 152 f = open(os.path.join(output_dir, compressed_filename), 'w+') 157 def _UncompressSample(key, time, board, version, output_dir): argument 171 if os.path.exists(os.path.join(output_dir, filename)): 175 out_file = open(os.path.join(output_dir, filename), 'wb') 176 in_file = gzip.open(os.path.join(output_dir, compressed_filename), 'rb') [all …]
|
/external/skia/tools/skiaserve/tester/ |
D | tester.py | 42 def __init__(self, url, output_dir): argument 44 self.output_dir = output_dir 65 path = self.output_dir + '/' + self.skp_name + '.cmd.json' 71 path = self.output_dir + '/' + self.skp_name + '.png' 85 path = self.output_dir + '/' + self.skp_name + '.batches.json' 99 output_dir = args.output_dir 102 if not os.path.isdir(output_dir): 103 os.makedirs(output_dir) 110 tester = SkiaServeTester(url, output_dir)
|
/external/skqp/tools/skiaserve/tester/ |
D | tester.py | 42 def __init__(self, url, output_dir): argument 44 self.output_dir = output_dir 65 path = self.output_dir + '/' + self.skp_name + '.cmd.json' 71 path = self.output_dir + '/' + self.skp_name + '.png' 85 path = self.output_dir + '/' + self.skp_name + '.batches.json' 99 output_dir = args.output_dir 102 if not os.path.isdir(output_dir): 103 os.makedirs(output_dir) 110 tester = SkiaServeTester(url, output_dir)
|
/external/autotest/client/tests/iozone/ |
D | postprocessing.py | 112 def __init__(self, list_files, output_dir): argument 114 if not os.path.isdir(output_dir): 115 os.makedirs(output_dir) 116 self.output_dir = output_dir 117 logging.info("Results will be stored in %s", output_dir) 222 foutput_path = os.path.join(self.output_dir, '2d-datasource-file') 241 routput_path = os.path.join(self.output_dir, '2d-datasource-record') 338 def __init__(self, results_file, output_dir): argument 347 if not os.path.isdir(output_dir): 348 os.makedirs(output_dir) [all …]
|
/external/jsoncpp/ |
D | doxybuild.py | 87 output_dir = 'dist/doxygen' # relative to doc/doxyfile location. 88 if not os.path.isdir( output_dir ): 89 os.makedirs( output_dir ) 93 warning_log_path = os.path.join( output_dir, '../jsoncpp-doxygen-warning.log' ) 94 html_output_path = os.path.join( output_dir, html_output_dirname ) 101 '%HTML_OUTPUT%': os.path.join( '..', output_dir, html_output_dirname ), 109 if os.path.isdir( output_dir ): 110 print('Deleting directory:', output_dir) 111 shutil.rmtree( output_dir ) 112 if not os.path.isdir( output_dir ): [all …]
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
D | summaries_test.py | 36 def safe_create(self, output_dir): argument 37 if gfile.Exists(output_dir): 38 gfile.DeleteRecursively(output_dir) 39 gfile.MakeDirs(output_dir) 41 def assert_scalar_summary(self, output_dir, names_to_values): argument 50 output_filepath = glob.glob(os.path.join(output_dir, '*')) 84 output_dir = os.path.join(self.get_temp_dir(), 86 self.safe_create(output_dir) 90 summary_writer = summary.FileWriter(output_dir) 96 self.assert_scalar_summary(output_dir, {
|
/external/grpc-grpc/tools/run_tests/artifacts/ |
D | build_package_ruby.sh | 45 output_dir="$base/src/ruby/tools/bin/${ruby_arch}-${plat}" 46 mkdir -p "$output_dir"/google/protobuf 47 mkdir -p "$output_dir"/google/protobuf/compiler # needed for plugin.proto 48 cp "$input_dir"/protoc* "$input_dir"/grpc_ruby_plugin* "$output_dir/" 51 chmod +x "$output_dir/protoc" "$output_dir/grpc_ruby_plugin" 54 …cp "$base/third_party/protobuf/src/google/protobuf/$proto.proto" "$output_dir/google/protobuf/$pro…
|
/external/tensorflow/tensorflow/tools/docs/ |
D | generate2_test.py | 31 output_dir = os.path.join(googletest.GetTempDir(), 'output') 32 if os.path.exists(output_dir): 33 shutil.rmtree(output_dir) 34 os.makedirs(output_dir) 35 generate2.build_docs(output_dir=output_dir, code_url_prefix='')
|
D | generate_lib_test.py | 108 output_dir = googletest.GetTempDir() 110 generate_lib.write_docs(output_dir, parser_config, yaml_toc=True, 114 redirects_file = os.path.join(output_dir, '_redirects.yaml') 124 self.assertTrue(os.path.exists(os.path.join(output_dir, 'index.md'))) 125 self.assertTrue(os.path.exists(os.path.join(output_dir, 'tf.md'))) 126 self.assertTrue(os.path.exists(os.path.join(output_dir, '_toc.yaml'))) 128 os.path.exists(os.path.join(output_dir, 'tf/TestModule.md'))) 130 os.path.exists(os.path.join(output_dir, 'tf/test_function.md'))) 133 os.path.join(output_dir, 'tf/TestModule/TestClass.md'))) 136 os.path.join(output_dir, [all …]
|
/external/skia/tools/ |
D | build_command_buffer.py | 52 args.output_dir = os.path.abspath(args.output_dir) 60 if os.path.isfile(args.output_dir): 61 sys.exit(args.output_dir + ' exists but is a file.') 68 if os.path.isfile(args.output_dir): 69 sys.exit(args.output_dir + ' exists but is a file.') 70 elif not os.path.isdir(args.output_dir): 72 os.makedirs(args.output_dir) 74 sys.exit(args.output_dir + ' does not exist (specify --make-output-dir ' 151 shared_lib_dst = os.path.join(args.output_dir, shared_lib_name)
|
/external/skqp/tools/ |
D | build_command_buffer.py | 52 args.output_dir = os.path.abspath(args.output_dir) 60 if os.path.isfile(args.output_dir): 61 sys.exit(args.output_dir + ' exists but is a file.') 68 if os.path.isfile(args.output_dir): 69 sys.exit(args.output_dir + ' exists but is a file.') 70 elif not os.path.isdir(args.output_dir): 72 os.makedirs(args.output_dir) 74 sys.exit(args.output_dir + ' does not exist (specify --make-output-dir ' 151 shared_lib_dst = os.path.join(args.output_dir, shared_lib_name)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
D | graph_actions_test.py | 110 output_dir, argument 119 expected_logdir=output_dir, 127 def _assert_ckpt(self, output_dir, expected=True): argument 128 ckpt_state = checkpoint_management.get_checkpoint_state(output_dir) 130 pattern = '%s/model.ckpt-.*' % output_dir 279 output_dir=None, 285 output_dir='', 298 output_dir=self._output_dir, 324 output_dir=self._output_dir, 338 output_dir=self._output_dir, [all …]
|
D | learn_runner_test.py | 104 def build_experiment(output_dir): argument 106 return TestExperiment(model_dir=output_dir) 110 def _build_experiment(output_dir): argument 112 return TestExperiment(config=run_config, model_dir=output_dir) 122 def build_non_experiment(output_dir): argument 152 output_dir=_MODIR_DIR, 159 output_dir=_MODIR_DIR, 166 output_dir=_MODIR_DIR, 172 learn_runner.run(build_experiment, output_dir="", schedule="simple_task") 345 output_dir=_MODIR_DIR)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/ |
D | opt-viewer.py | 46 def __init__(self, source_dir, output_dir, filename, no_highlight): argument 57 …self.stream = codecs.open(os.path.join(output_dir, optrecord.html_file_name(filename)), 'w', encod… 163 def __init__(self, output_dir, should_display_hotness, max_hottest_remarks_on_index): argument 164 self.stream = codecs.open(os.path.join(output_dir, 'index.html'), 'w', encoding='utf-8') 208 def _render_file(source_dir, output_dir, ctx, no_highlight, entry): argument 212 SourceFileRenderer(source_dir, output_dir, filename, no_highlight).render(remarks) 233 output_dir, argument 240 os.makedirs(output_dir) 242 if e.errno == errno.EEXIST and os.path.isdir(output_dir): 253 …IndexRenderer(output_dir, should_display_hotness, max_hottest_remarks_on_index).render(sorted_rema… [all …]
|