Home
last modified time | relevance | path

Searched refs:run_filename (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Modules/
Dmain.c85 || config->run_filename != NULL in config_run_code()
360 PyObject *filename = PyUnicode_FromWideChar(config->run_filename, -1); in pymain_run_file()
541 if (config->run_filename != NULL) { in pymain_run_python()
547 if (pymain_get_importer(config->run_filename, &main_importer_path, in pymain_run_python()
586 else if (config->run_filename != NULL) { in pymain_run_python()
/third_party/python/Python/
Dinitconfig.c679 CLEAR(config->run_filename); in PyConfig_Clear()
934 COPY_WSTR_ATTR(run_filename); in _PyConfig_Copy()
1034 SET_ITEM_WSTR(run_filename); in _PyConfig_AsDict()
1317 GET_WSTR_OPT(run_filename); in _PyConfig_FromDict()
2401 && config->run_filename == NULL) in config_parse_cmdline()
2403 config->run_filename = _PyMem_RawWcsdup(argv->items[_PyOS_optind]); in config_parse_cmdline()
2404 if (config->run_filename == NULL) { in config_parse_cmdline()
2668 if (!config->run_filename) { in config_run_filename_abspath()
2673 if (_Py_isabs(config->run_filename)) { in config_run_filename_abspath()
2680 if (_Py_abspath(config->run_filename, &abs_filename) < 0) { in config_run_filename_abspath()
[all …]
/third_party/python/Include/cpython/
Dinitconfig.h198 wchar_t *run_filename; member
/third_party/python/PC/
Dpython_uwp.cpp221 status = PyConfig_SetString(&config, &config.run_filename, NULL); in wmain()
/third_party/python/Doc/c-api/
Dinit_config.rst1000 .. c:member:: wchar_t* run_filename
1050 If non-zero, skip the first line of the :c:member:`PyConfig.run_filename`
1374 * If :c:member:`~PyConfig.run_filename` is set and is a directory which contains a
1375 ``__main__.py`` script, prepend :c:member:`~PyConfig.run_filename` to
1381 * If :c:member:`~PyConfig.run_filename` is set, prepend the directory of the
1407 (:c:member:`PyConfig.run_filename`) or the module