Home
last modified time | relevance | path

Searched refs:_PyOS_optarg (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Python/
Dgetopt.c38 const wchar_t *_PyOS_optarg = NULL; /* optional argument */ variable
56 _PyOS_optarg = NULL; in _PyOS_ResetGetOpt()
132 _PyOS_optarg = argv[_PyOS_optind++]; in _PyOS_GetOpt()
152 _PyOS_optarg = opt_ptr; in _PyOS_GetOpt()
165 _PyOS_optarg = argv[_PyOS_optind++]; in _PyOS_GetOpt()
Dinitconfig.c2259 size_t len = wcslen(_PyOS_optarg) + 1 + 1; in config_parse_cmdline()
2264 memcpy(command, _PyOS_optarg, (len - 2) * sizeof(wchar_t)); in config_parse_cmdline()
2277 config->run_module = _PyMem_RawWcsdup(_PyOS_optarg); in config_parse_cmdline()
2289 if (wcscmp(_PyOS_optarg, L"always") == 0 in config_parse_cmdline()
2290 || wcscmp(_PyOS_optarg, L"never") == 0 in config_parse_cmdline()
2291 || wcscmp(_PyOS_optarg, L"default") == 0) in config_parse_cmdline()
2294 _PyOS_optarg); in config_parse_cmdline()
2369 status = PyWideStringList_Append(warnoptions, _PyOS_optarg); in config_parse_cmdline()
Dpreconfig.c209 _PyOS_optarg); in precmdline_parse_cmdline()
/external/python/cpython2/Python/
Dgetopt.c39 char *_PyOS_optarg = NULL; /* optional argument */ variable
46 _PyOS_optarg = NULL; in _PyOS_ResetGetOpt()
114 _PyOS_optarg = opt_ptr; in _PyOS_GetOpt()
126 _PyOS_optarg = argv[_PyOS_optind++]; in _PyOS_GetOpt()
/external/python/cpython2/Modules/
Dmain.c309 command = (char *)malloc(strlen(_PyOS_optarg) + 2); in Py_Main()
313 strcpy(command, _PyOS_optarg); in Py_Main()
322 module = (char *)malloc(strlen(_PyOS_optarg) + 2); in Py_Main()
326 strcpy(module, _PyOS_optarg); in Py_Main()
346 if (strcmp(_PyOS_optarg, "old") == 0) { in Py_Main()
350 if (strcmp(_PyOS_optarg, "warn") == 0) { in Py_Main()
354 if (strcmp(_PyOS_optarg, "warnall") == 0) { in Py_Main()
358 if (strcmp(_PyOS_optarg, "new") == 0) { in Py_Main()
436 PySys_AddWarnOption(_PyOS_optarg); in Py_Main()
/external/python/cpython2/Include/
Dpygetopt.h10 PyAPI_DATA(char *) _PyOS_optarg;
/external/python/cpython3/Include/internal/
Dpycore_getopt.h10 extern const wchar_t *_PyOS_optarg;
/external/python/cpython2/PC/os2emx/
Dpython27.def1154 "_PyOS_optarg"
/external/python/cpython3/Doc/data/
Dpython3.10.abi18672 …<var-decl name='_PyOS_optarg' type-id='type-id-478' visibility='default' filepath='./Include/inter…