Home
last modified time | relevance | path

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

/third_party/python/Parser/
Dmyreadline.c241 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_StdioReadline() argument
249 if (!Py_LegacyWindowsStdioFlag && sys_stdin == stdin) { in PyOS_StdioReadline()
252 hStdIn = _Py_get_osfhandle_noraise(fileno(sys_stdin)); in PyOS_StdioReadline()
286 clearerr(sys_stdin); in PyOS_StdioReadline()
318 int err = my_fgets(tstate, p + n, (int)incr, sys_stdin); in PyOS_StdioReadline()
354 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_Readline() argument
388 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline()
389 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline()
391 rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, in PyOS_Readline()
/third_party/python/Modules/
Dreadline.c1375 call_readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in call_readline() argument
1388 if (sys_stdin != rl_instream || sys_stdout != rl_outstream) { in call_readline()
1389 rl_instream = sys_stdin; in call_readline()