Home
last modified time | relevance | path

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

/external/python/cpython3/PC/
Dlauncher.c921 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, in parse_shebang() argument
929 wchar_t * endp = shebang_line + nchars - 1; in parse_shebang()
937 if ((*shebang_line++ == L'#') && (*shebang_line++ == L'!')) { in parse_shebang()
938 shebang_line = skip_whitespace(shebang_line); in parse_shebang()
939 if (*shebang_line) { in parse_shebang()
940 *command = shebang_line; in parse_shebang()
943 if (wcsncmp(shebang_line, vpp->shebang, plen) == 0) { in parse_shebang()
949 *command = wcsstr(shebang_line, L"python"); in parse_shebang()
963 skipped = skip_prefix(shebang_line); in parse_shebang()
965 skipped = shebang_line; in parse_shebang()
[all …]