Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/
Drunpy.py201 run_name=None, alter_sys=False): argument
207 if run_name is None:
208 run_name = mod_name
210 return _run_module_code(code, init_globals, run_name, mod_spec)
213 return _run_code(code, {}, init_globals, run_name, mod_spec)
234 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.py271 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name)
272 self._check_script(zip_name, run_name, zip_name, zip_name, '',
281 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
282 self._check_script(zip_name, run_name, zip_name, zip_name, '',
291 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
292 self._check_script(zip_name, run_name, zip_name, zip_name, '',
301 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
302 self._check_script(zip_name, run_name, zip_name, zip_name, '',
308 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name)
324 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script')
[all …]
Dtest_zipimport_support.py84 zip_name, run_name = make_zip_script(d, 'test_zip',
123 zip_name, run_name = make_zip_script(d, 'test_zip',
204 zip_name, run_name = make_zip_script(d, "test_zip",
207 expected = pattern % (run_name, "__main__.Test")
229 zip_name, run_name = make_zip_script(d, "test_zip",
235 self.assertIn(os.path.normcase(run_name.encode('utf-8')), data)
Dtest_multiprocessing_main_handling.py225 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name)
234 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name)
248 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script')
254 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2)
/external/llvm-project/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/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()
/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.h37 const string& run_name, const string& user_name,
Dsummary_db_writer.cc387 const string& run_name, const string& user_name) in RunMetadata() argument
390 run_name_{run_name},
396 const string& run_name() { return run_name_; } in run_name() function in tensorflow::__anon4ebb98140111::RunMetadata
879 const string& run_name, const string& user_name) in SummaryDbWriter() argument
884 meta_{&ids_, experiment_name, run_name, user_name},
988 meta_.user_name(), "/", meta_.experiment_name(), "/", meta_.run_name(), in Write()
1002 meta_.experiment_name(), "/", meta_.run_name(), "/", value->tag(), in MigrateEvent()
1010 meta_.experiment_name(), "/", meta_.run_name(), "/__graph__@", in MigrateEvent()
1143 const string& run_name, const string& user_name, in CreateSummaryDbWriter() argument
1145 *result = new SummaryDbWriter(env, db, experiment_name, run_name, user_name); in CreateSummaryDbWriter()
/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_v1/
DCreateSummaryDbWriter.pbtxt16 name: "run_name"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DCreateSummaryDbWriter.pbtxt16 name: "run_name"
/external/fonttools/Lib/fontTools/
D__main__.py30 runpy.run_module(mod, run_name='__main__')
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py259 run_name="__mp_main__",
288 run_name="__mp_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/tensorflow/tensorflow/core/kernels/
Dsummary_kernels.cc74 const string run_name = tmp->scalar<tstring>()(); in Compute() local
83 [db_uri, experiment_name, run_name, user_name, in Compute()
91 db, experiment_name, run_name, user_name, ctx->env(), s)); in Compute()

12