Searched refs:run_filename (Results 1 – 5 of 5) sorted by relevance
85 || 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()
679 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 …]
198 wchar_t *run_filename; member
221 status = PyConfig_SetString(&config, &config.run_filename, NULL); in wmain()
1000 .. c:member:: wchar_t* run_filename1050 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 a1375 ``__main__.py`` script, prepend :c:member:`~PyConfig.run_filename` to1381 * If :c:member:`~PyConfig.run_filename` is set, prepend the directory of the1407 (:c:member:`PyConfig.run_filename`) or the module