/third_party/python/Lib/ |
D | runpy.py | 200 run_name=None, alter_sys=False): argument 206 if run_name is None: 207 run_name = mod_name 209 return _run_module_code(code, init_globals, run_name, mod_spec) 212 return _run_code(code, {}, init_globals, run_name, mod_spec) 233 def _get_code_from_file(run_name, fname): argument 245 def run_path(path_name, init_globals=None, run_name=None): argument 255 if run_name is None: 256 run_name = "<run_path>" 257 pkg_name = run_name.rpartition(".")[0] [all …]
|
/third_party/benchmark/src/ |
D | complexity.cc | 190 auto run_name = reports[0].run_name; in ComputeBigO() local 191 run_name.args.clear(); in ComputeBigO() 195 big_o.run_name = run_name; in ComputeBigO() 220 rms.run_name = run_name; in ComputeBigO()
|
D | statistics.cc | 160 data.run_name = reports[0].run_name; in ComputeStats()
|
D | reporter.cc | 95 std::string name = run_name.str(); in benchmark_name()
|
D | benchmark_runner.cc | 75 report.run_name = b.name(); in CreateRunReport()
|
D | json_reporter.cc | 236 out << indent << FormatKV("run_name", run.run_name.str()) << ",\n"; in PrintRunData()
|
/third_party/python/Lib/test/ |
D | test_runpy.py | 129 run_name = expected_ns["__name__"] 131 saved_mod = sys.modules.get(run_name, sentinel) 136 self.assertIs(sys.modules.get(run_name, sentinel), saved_mod) 144 self.assertIs(sys.modules.get(run_name, sentinel), saved_mod) 393 def _check_relative_imports(self, depth, run_name=None): argument 401 if run_name is None: 404 expected_name = run_name 409 d1 = run_module(mod_name, run_name=run_name) # Read from source 423 d2 = run_module(mod_name, run_name=run_name) # Read from bytecode 538 run_name = "And now for something completely different" [all …]
|
D | test_cmd_line_script.py | 273 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 274 self._check_script(zip_name, run_name, zip_name, zip_name, '', 283 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 284 self._check_script(zip_name, run_name, zip_name, zip_name, '', 293 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 294 self._check_script(zip_name, run_name, zip_name, zip_name, '', 303 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 304 self._check_script(zip_name, run_name, zip_name, zip_name, '', 310 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 326 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') [all …]
|
D | test_zipimport_support.py | 85 zip_name, run_name = make_zip_script(d, 'test_zip', 124 zip_name, run_name = make_zip_script(d, 'test_zip', 205 zip_name, run_name = make_zip_script(d, "test_zip", 208 expected = pattern % (run_name, "__main__.Test") 230 zip_name, run_name = make_zip_script(d, "test_zip", 236 self.assertIn(os.path.normcase(run_name.encode('utf-8')), data)
|
D | test_multiprocessing_main_handling.py | 227 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 236 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 250 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') 256 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2)
|
/third_party/python/Doc/library/ |
D | runpy.rst | 30 .. function:: run_module(mod_name, init_globals=None, run_name=None, alter_sys=False) 58 ``__name__`` is set to *run_name* if this optional argument is not 64 ``mod_name + '.__main__``, never *run_name*). 96 .. function:: run_path(file_path, init_globals=None, run_name=None) 127 ``__name__`` is set to *run_name* if this optional argument is not
|
/third_party/python/Lib/multiprocessing/ |
D | spawn.py | 259 run_name="__mp_main__", 288 run_name="__mp_main__")
|
/third_party/benchmark/test/ |
D | spec_arg_test.cc | 26 matched_functions.push_back(report[0].run_name.function_name); in ReportRuns()
|
/third_party/python/Lib/test/test_tools/ |
D | test_fixcid.py | 90 runpy.run_path(script, run_name="__main__")
|
/third_party/benchmark/include/benchmark/ |
D | benchmark.h | 1546 BenchmarkName run_name; member
|