Home
last modified time | relevance | path

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

/external/python/cpython3/PC/
Dlauncher.c890 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, in parse_shebang() argument
898 wchar_t * endp = shebang_line + nchars - 1; in parse_shebang()
906 if ((*shebang_line++ == L'#') && (*shebang_line++ == L'!')) { in parse_shebang()
907 shebang_line = skip_whitespace(shebang_line); in parse_shebang()
908 if (*shebang_line) { in parse_shebang()
909 *command = shebang_line; in parse_shebang()
912 if (wcsncmp(shebang_line, vpp->shebang, plen) == 0) { in parse_shebang()
918 *command = wcsstr(shebang_line, L"python"); in parse_shebang()
932 skipped = skip_prefix(shebang_line); in parse_shebang()
934 skipped = shebang_line; in parse_shebang()
[all …]