Searched refs:_PyOS_optind (Results 1 – 8 of 8) sorted by relevance
37 Py_ssize_t _PyOS_optind = 1; /* index into argv array */ variable55 _PyOS_optind = 1; in _PyOS_ResetGetOpt()67 if (_PyOS_optind >= argc) in _PyOS_GetOpt()70 else if (wcscmp(argv[_PyOS_optind], L"/?") == 0) { in _PyOS_GetOpt()71 ++_PyOS_optind; in _PyOS_GetOpt()76 else if (argv[_PyOS_optind][0] != L'-' || in _PyOS_GetOpt()77 argv[_PyOS_optind][1] == L'\0' /* lone dash */ ) in _PyOS_GetOpt()80 else if (wcscmp(argv[_PyOS_optind], L"--") == 0) { in _PyOS_GetOpt()81 ++_PyOS_optind; in _PyOS_GetOpt()85 else if (wcscmp(argv[_PyOS_optind], L"--help") == 0) { in _PyOS_GetOpt()[all …]
2399 && _PyOS_optind < argv->length in config_parse_cmdline()2400 && wcscmp(argv->items[_PyOS_optind], L"-") != 0 in config_parse_cmdline()2403 config->run_filename = _PyMem_RawWcsdup(argv->items[_PyOS_optind]); in config_parse_cmdline()2411 _PyOS_optind--; in config_parse_cmdline()2414 *opt_index = _PyOS_optind; in config_parse_cmdline()
38 int _PyOS_optind = 1; /* index into argv array */ variable45 _PyOS_optind = 1; in _PyOS_ResetGetOpt()57 if (_PyOS_optind >= argc) in _PyOS_GetOpt()60 else if (strcmp(argv[_PyOS_optind], "/?") == 0) { in _PyOS_GetOpt()61 ++_PyOS_optind; in _PyOS_GetOpt()66 else if (argv[_PyOS_optind][0] != '-' || in _PyOS_GetOpt()67 argv[_PyOS_optind][1] == '\0' /* lone dash */ ) in _PyOS_GetOpt()70 else if (strcmp(argv[_PyOS_optind], "--") == 0) { in _PyOS_GetOpt()71 ++_PyOS_optind; in _PyOS_GetOpt()75 else if (strcmp(argv[_PyOS_optind], "--help") == 0) { in _PyOS_GetOpt()[all …]
490 if (command == NULL && module == NULL && _PyOS_optind < argc && in Py_Main()491 strcmp(argv[_PyOS_optind], "-") != 0) in Py_Main()494 filename = decc$translate_vms(argv[_PyOS_optind]); in Py_Main()496 filename = argv[_PyOS_optind]; in Py_Main()499 filename = argv[_PyOS_optind]; in Py_Main()568 _PyOS_optind--; in Py_Main()569 argv[_PyOS_optind] = "-c"; in Py_Main()577 _PyOS_optind--; in Py_Main()578 argv[_PyOS_optind] = "-c"; in Py_Main()581 PySys_SetArgv(argc-_PyOS_optind, argv+_PyOS_optind); in Py_Main()
9 PyAPI_DATA(int) _PyOS_optind;
9 extern Py_ssize_t _PyOS_optind;
1153 "_PyOS_optind"
18671 …<var-decl name='_PyOS_optind' type-id='type-id-31' visibility='default' filepath='./Include/intern…