/external/python/cpython3/Lib/ |
D | runpy.py | 196 run_name=None, alter_sys=False): argument 202 if run_name is None: 203 run_name = mod_name 205 return _run_module_code(code, init_globals, run_name, mod_spec) 208 return _run_code(code, {}, init_globals, run_name, mod_spec) 229 def _get_code_from_file(run_name, fname): argument 239 def run_path(path_name, init_globals=None, run_name=None): argument 249 if run_name is None: 250 run_name = "<run_path>" 251 pkg_name = run_name.rpartition(".")[0] [all …]
|
/external/python/cpython2/Lib/ |
D | runpy.py | 177 run_name=None, alter_sys=False): argument 183 if run_name is None: 184 run_name = mod_name 187 return _run_module_code(code, init_globals, run_name, 191 return _run_code(code, {}, init_globals, run_name, 235 def run_path(path_name, init_globals=None, run_name=None): argument 245 if run_name is None: 246 run_name = "<run_path>" 252 return _run_module_code(code, init_globals, run_name, path_name) 272 with _TempModule(run_name) as temp_module, \ [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_cmd_line_script.py | 133 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 134 self._check_script(zip_name, run_name, zip_name, '') 140 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 141 self._check_script(zip_name, run_name, zip_name, '') 146 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 160 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') 162 self._check_script(launch_name, run_name, run_name, 'test_pkg') 166 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2) 168 self._check_script(launch_name, run_name, run_name, 'test_pkg.test_pkg')
|
D | test_zipimport_support.py | 82 zip_name, run_name = make_zip_script(d, 'test_zip', 118 zip_name, run_name = make_zip_script(d, 'test_zip', 213 zip_name, run_name = make_zip_script(d, "test_zip", 216 expected = pattern % (run_name, "__main__.Test") 237 zip_name, run_name = make_zip_script(d, "test_zip", 242 self.assertIn(run_name, data)
|
D | test_runpy.py | 231 def _check_relative_imports(self, depth, run_name=None): argument 243 d1 = run_module(mod_name, run_name=run_name) # Read from source 253 d2 = run_module(mod_name, run_name=run_name) # Read from bytecode
|
D | test_tools.py | 439 runpy.run_path(script, run_name="__main__")
|
/external/python/cpython3/Lib/test/ |
D | test_runpy.py | 126 run_name = expected_ns["__name__"] 128 saved_mod = sys.modules.get(run_name, sentinel) 133 self.assertIs(sys.modules.get(run_name, sentinel), saved_mod) 141 self.assertIs(sys.modules.get(run_name, sentinel), saved_mod) 391 def _check_relative_imports(self, depth, run_name=None): argument 399 if run_name is None: 402 expected_name = run_name 407 d1 = run_module(mod_name, run_name=run_name) # Read from source 421 d2 = run_module(mod_name, run_name=run_name) # Read from bytecode 536 run_name = "And now for something completely different" [all …]
|
D | test_zipimport_support.py | 84 zip_name, run_name = make_zip_script(d, 'test_zip', 123 zip_name, run_name = make_zip_script(d, 'test_zip', 206 zip_name, run_name = make_zip_script(d, "test_zip", 209 expected = pattern % (run_name, "__main__.Test") 231 zip_name, run_name = make_zip_script(d, "test_zip", 237 self.assertIn(os.path.normcase(run_name.encode('utf-8')), data)
|
D | test_cmd_line_script.py | 266 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 267 self._check_script(zip_name, run_name, zip_name, zip_name, '', 274 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 275 self._check_script(zip_name, run_name, zip_name, zip_name, '', 281 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 297 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') 299 self._check_script(launch_name, run_name, run_name, 304 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2) 306 self._check_script(launch_name, run_name, run_name,
|
D | test_multiprocessing_main_handling.py | 216 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 225 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 239 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') 245 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2)
|
/external/tensorflow/tensorflow/contrib/summary/ |
D | summary_ops.py | 219 run_name=None, argument 251 if run_name is None: 252 run_name = time.strftime("%H:%M:%S", time.localtime(time.time())) 257 run_name = _cleanse_string("run_name", _RUN_NAME_PATTERNS, run_name) 264 run_name=run_name,
|
D | summary_test_internal.py | 43 run_name='run',
|
D | summary_test_util.py | 47 run_name='run',
|
D | summary_ops_test.py | 207 self.create_db_writer(run_name='\0')
|
/external/tensorflow/tensorflow/contrib/tensorboard/db/ |
D | loader.cc | 52 string run_name; in main() local 58 Flag("run_name", &run_name, "The DB run_name value"), in main() 87 TF_CHECK_OK(CreateSummaryDbWriter(db, experiment_name, run_name, user_name, in main()
|
D | summary_db_writer.cc | 406 const string& run_name, const string& user_name) in RunMetadata() argument 409 run_name_{run_name}, 415 const string& run_name() { return run_name_; } in run_name() function in tensorflow::__anon9bd2ce1c0111::RunMetadata 977 const string& run_name, const string& user_name) in SummaryDbWriter() argument 982 meta_{&ids_, experiment_name, run_name, user_name}, 1087 meta_.user_name(), "/", meta_.experiment_name(), "/", meta_.run_name(), in Write() 1101 meta_.experiment_name(), "/", meta_.run_name(), "/", value->tag(), in MigrateEvent() 1109 meta_.experiment_name(), "/", meta_.run_name(), "/__graph__@", in MigrateEvent() 1241 const string& run_name, const string& user_name, in CreateSummaryDbWriter() argument 1243 *result = new SummaryDbWriter(env, db, experiment_name, run_name, user_name); in CreateSummaryDbWriter()
|
D | summary_db_writer.h | 37 const string& run_name, const string& user_name,
|
/external/python/cpython3/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
|
/external/python/cpython2/Doc/library/ |
D | runpy.rst | 23 .. function:: run_module(mod_name, init_globals=None, run_name=None, alter_sys=False) 49 ``__name__`` is set to *run_name* if this optional argument is not 84 .. function:: run_path(file_path, init_globals=None, run_name=None) 114 ``__name__`` is set to *run_name* if this optional argument is not
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 248 run_name="__mp_main__", 277 run_name="__mp_main__")
|
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_kernels.cc | 71 const string run_name = tmp->scalar<string>()(); in Compute() local 80 [db_uri, experiment_name, run_name, user_name, in Compute() 88 db, experiment_name, run_name, user_name, ctx->env(), s)); in Compute()
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_fixcid.py | 89 runpy.run_path(script, run_name="__main__")
|
/external/lisa/tools/scripts/ |
D | framestats_analysis.py | 61 run_name = os.path.basename(os.path.normpath(stats_dir))
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 186 … *Scope, writer tf.Output, db_uri tf.Output, experiment_name tf.Output, run_name tf.Output, user_n… 193 writer, db_uri, experiment_name, run_name, user_name,
|