Home
last modified time | relevance | path

Searched refs:run_name (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Lib/
Drunpy.py200 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 …]
/external/python/cpython2/Lib/
Drunpy.py177 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/
Dtest_cmd_line_script.py133 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')
Dtest_zipimport_support.py82 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)
Dtest_runpy.py231 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
/external/google-benchmark/src/
Dcomplexity.cc190 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()
217 rms.run_name = run_name; in ComputeBigO()
Dstatistics.cc150 data.run_name = reports[0].run_name; in ComputeStats()
Dreporter.cc86 std::string name = run_name.str(); in benchmark_name()
/external/python/cpython3/Lib/test/
Dtest_runpy.py129 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 …]
Dtest_cmd_line_script.py273 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 …]
Dtest_zipimport_support.py85 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)
Dtest_multiprocessing_main_handling.py227 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)
/external/libcxx/utils/google-benchmark/src/
Dcomplexity.cc186 std::string run_name = reports[0].benchmark_name().substr( in ComputeBigO() local
191 big_o.run_name = run_name; in ComputeBigO()
209 rms.run_name = run_name; in ComputeBigO()
Dreporter.cc86 std::string name = run_name; in benchmark_name()
/external/tensorflow/tensorflow/core/summary/
Dloader.cc52 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()
Dsummary_db_writer.cc388 const string& run_name, const string& user_name) in RunMetadata() argument
391 run_name_{run_name},
397 const string& run_name() { return run_name_; } in run_name() function in tensorflow::__anon5feea5b20111::RunMetadata
881 const string& run_name, const string& user_name) in SummaryDbWriter() argument
886 meta_{&ids_, experiment_name, run_name, user_name},
991 meta_.user_name(), "/", meta_.experiment_name(), "/", meta_.run_name(), in Write()
1005 meta_.experiment_name(), "/", meta_.run_name(), "/", value->tag(), in MigrateEvent()
1013 meta_.experiment_name(), "/", meta_.run_name(), "/__graph__@", in MigrateEvent()
1146 const string& run_name, const string& user_name, in CreateSummaryDbWriter() argument
1148 *result = new SummaryDbWriter(env, db, experiment_name, run_name, user_name); in CreateSummaryDbWriter()
Dsummary_db_writer.h37 const string& run_name, const string& user_name,
/external/python/cpython3/Doc/library/
Drunpy.rst30 .. 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/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DCreateSummaryDbWriter.pbtxt16 name: "run_name"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DCreateSummaryDbWriter.pbtxt16 name: "run_name"
/external/fonttools/Lib/fontTools/
D__main__.py30 runpy.run_module(mod, run_name='__main__')
/external/python/cpython2/Doc/library/
Drunpy.rst23 .. 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/
Dspawn.py259 run_name="__mp_main__",
288 run_name="__mp_main__")
/external/tensorflow/tensorflow/core/kernels/
Dsummary_kernels.cc82 const string run_name = tmp->scalar<tstring>()(); in Compute() local
91 [db_uri, experiment_name, run_name, user_name, in Compute()
99 db, experiment_name, run_name, user_name, ctx->env(), s)); in Compute()
/external/python/cpython3/Lib/test/test_tools/
Dtest_fixcid.py90 runpy.run_path(script, run_name="__main__")

12