/third_party/python/Lib/test/ |
D | test_cmd_line_script.py | 93 def _check_output(self, script_name, exit_code, data, argument 98 print("Output from test script %r:" % script_name) 220 script_name = _make_test_script(script_dir, 'script') 221 self._check_script(script_name, script_name, script_name, 232 script_name = _make_test_script(script_dir, 'script') 233 relative_name = os.path.basename(script_name) 234 self._check_script(relative_name, script_name, relative_name, 240 script_name = _make_test_script(script_dir, 'script') 241 py_compile.compile(script_name, doraise=True) 242 os.remove(script_name) [all …]
|
D | test_multiprocessing_main_handling.py | 155 def _check_output(self, script_name, exit_code, out, err): argument 157 print("Output from test script %r:" % script_name) 164 def _check_script(self, script_name, *cmd_line_switches): argument 167 run_args = cmd_line_switches + (script_name, self.start_method) 169 self._check_output(script_name, rc, out, err) 173 script_name = _make_test_script(script_dir, 'script') 174 self._check_script(script_name) 178 script_name = _make_test_script(script_dir, 'script', 180 self._check_script(script_name) 189 script_name = _make_test_script(script_dir, 'ipython', [all …]
|
D | test_runpy.py | 603 def _check_script(self, script_name, expected_name, expected_file, argument 608 return run_path(script_name, init_globals) 637 return run_path(script_name, init_globals, run_name) 648 def _check_import_error(self, script_name, msg): argument 650 self.assertRaisesRegex(ImportError, msg, run_path, script_name) 655 script_name = self._make_test_script(script_dir, mod_name) 656 self._check_script(script_name, "<run_path>", script_name, 657 script_name, expect_spec=False) 662 script_name = pathlib.Path(self._make_test_script(script_dir, 664 self._check_script(script_name, "<run_path>", script_name, [all …]
|
D | test_zipimport_support.py | 122 script_name = make_script(d, 'test_zipped_doctest', 125 script_name) 133 os.remove(script_name) 197 script_name = make_script(d, 'script', test_src) 198 rc, out, err = assert_python_ok(script_name) 199 expected = pattern % (script_name, "__main__.Test") 206 script_name, '__main__.py') 224 script_name = make_script(d, 'script', test_src) 225 p = spawn_python(script_name) 229 self.assertIn(os.path.normcase(script_name.encode('utf-8')), data) [all …]
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 213 script_name = os.path.join(script_dir, script_filename) 215 with open(script_name, 'w', encoding='utf-8') as script_file: 218 return script_name 221 def make_zip_script(zip_dir, zip_basename, script_name, name_in_zip=None): argument 226 parts = script_name.split(os.sep) 228 legacy_pyc = make_legacy_pyc(source_from_cache(script_name)) 230 script_name = legacy_pyc 232 name_in_zip = os.path.basename(script_name) 233 zip_file.write(script_name, name_in_zip) 252 script_name = make_script(zip_dir, script_basename, source) [all …]
|
/third_party/python/Lib/wsgiref/ |
D | util.py | 105 script_name = environ.get('SCRIPT_NAME','') 106 script_name = posixpath.normpath(script_name+'/'+name) 107 if script_name.endswith('/'): 108 script_name = script_name[:-1] 109 if not name and not script_name.endswith('/'): 110 script_name += '/' 112 environ['SCRIPT_NAME'] = script_name
|
/third_party/python/Lib/distutils/ |
D | core.py | 32 def gen_usage (script_name): argument 33 script = os.path.basename(script_name) 136 raise SystemExit(gen_usage(dist.script_name) + "\nerror: %s" % msg) 170 def run_setup (script_name, script_args=None, stop_after="run"): argument 208 g = {'__file__': script_name} 211 sys.argv[0] = script_name 214 with open(script_name, 'rb') as f: 227 script_name)
|
D | util.py | 384 (script_fd, script_name) = mkstemp(".py") 387 (script_fd, script_name) = None, mktemp(".py") 388 log.info("writing byte-compilation script '%s'", script_name) 393 script = open(script_name, "w") 427 cmd.append(script_name) 429 execute(os.remove, (script_name,), "removing %s" % script_name,
|
/third_party/python/Lib/ |
D | runpy.py | 65 pkg_name=None, script_name=None): argument 71 fname = script_name 91 pkg_name=None, script_name=None): argument 93 fname = script_name if mod_spec is None else mod_spec.origin 97 mod_name, mod_spec, pkg_name, script_name) 270 pkg_name=pkg_name, script_name=fname)
|
/third_party/grpc/third_party/upb/cmake/ |
D | build_defs.bzl | 16 script_name = name + ".py" 29 outs = [script_name], 38 srcs = [script_name],
|
/third_party/skia/third_party/externals/angle2/scripts/ |
D | gen_proc_table.py | 191 script_name=sys.argv[0], 234 script_name=sys.argv[0], 269 script_name=sys.argv[0], 280 script_name=sys.argv[0], data_source_name="cl.xml", symbol_maps="\n".join(symbol_maps))
|
D | gen_gl_enum_utils.py | 189 script_name=os.path.basename(sys.argv[0]), 201 script_name=os.path.basename(sys.argv[0]),
|
/third_party/node/src/ |
D | inspector_io.cc | 30 std::string ScriptPath(uv_loop_t* loop, const std::string& script_name) { in ScriptPath() argument 33 if (!script_name.empty()) { in ScriptPath() 36 if (0 == uv_fs_realpath(loop, &req, script_name.c_str(), nullptr)) { in ScriptPath() 216 const std::string& script_name); 334 const std::string& script_name) in InspectorIoDelegate() argument 336 script_name_(script_name), script_path_(script_path), in InspectorIoDelegate()
|
/third_party/flutter/skia/third_party/externals/angle2/scripts/ |
D | generate_entry_points.py | 1012 script_name=os.path.basename(sys.argv[0]), 1031 script_name=os.path.basename(sys.argv[0]), 1059 script_name=os.path.basename(sys.argv[0]), 1083 script_name=os.path.basename(sys.argv[0]), 1100 script_name=os.path.basename(sys.argv[0]), 1118 script_name=os.path.basename(sys.argv[0]), 1134 script_name=os.path.basename(sys.argv[0]), 1151 script_name=os.path.basename(sys.argv[0]), 1241 script_name=os.path.basename(sys.argv[0]), 1269 script_name=os.path.basename(sys.argv[0]), [all …]
|
D | gen_proc_table.py | 161 script_name=sys.argv[0], 210 script_name=sys.argv[0],
|
D | gen_gl_enum_utils.py | 225 script_name=os.path.basename(sys.argv[0]), 238 script_name=os.path.basename(sys.argv[0]),
|
/third_party/python/Lib/distutils/tests/ |
D | test_build_py.py | 37 dist.script_name = os.path.join(sources, "setup.py") 82 dist.script_name = os.path.join(sources, "setup.py") 148 dist.script_name = os.path.join(sources, "setup.py")
|
D | test_bdist_rpm.py | 67 dist.script_name = 'setup.py' 111 dist.script_name = 'setup.py'
|
D | test_install_lib.py | 66 cmd.distribution.script_name = 'setup.py' 86 cmd.distribution.script_name = 'setup.py'
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | generate_gl_dispatch_table.py | 408 script_name=os.path.basename(sys.argv[0]), 440 script_name=os.path.basename(sys.argv[0]), 486 script_name=os.path.basename(sys.argv[0]), 495 script_name=os.path.basename(sys.argv[0]),
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | generate_gl_dispatch_table.py | 407 script_name=os.path.basename(sys.argv[0]), 440 script_name=os.path.basename(sys.argv[0]), 487 script_name=os.path.basename(sys.argv[0]), 497 script_name=os.path.basename(sys.argv[0]),
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | gen_packed_gl_enums.py | 136 script_name=sys.argv[0], 232 script_name=sys.argv[0],
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | gen_packed_gl_enums.py | 128 script_name=sys.argv[0], 224 script_name=sys.argv[0],
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | gen_overlay_fonts.py | 255 script_name=__file__, 278 script_name=__file__,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | gen_blit11helper.py | 289 script_name=os.path.basename(sys.argv[0]), 306 script_name=os.path.basename(sys.argv[0]),
|