Searched refs:sys_stdin (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Parser/ |
D | myreadline.c | 19 extern char* vms__StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt); 108 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) in PyOS_StdioReadline() argument 128 switch (my_fgets(p, (int)n, sys_stdin)) { in PyOS_StdioReadline() 149 if (my_fgets(p+n, (int)incr, sys_stdin) != 0) in PyOS_StdioReadline() 168 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) in PyOS_Readline() argument 204 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline() 205 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline() 207 rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, in PyOS_Readline()
|
D | pgenmain.c | 137 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) in PyOS_Readline() argument 145 q = fgets(p, n, sys_stdin); in PyOS_Readline()
|
/external/python/cpython3/Parser/ |
D | myreadline.c | 241 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() 253 hStdIn = (HANDLE)_get_osfhandle(fileno(sys_stdin)); in PyOS_StdioReadline() 288 clearerr(sys_stdin); in PyOS_StdioReadline() 320 int err = my_fgets(tstate, p + n, (int)incr, sys_stdin); in PyOS_StdioReadline() 356 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_Readline() argument 390 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline() 391 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline() 393 rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, in PyOS_Readline()
|
/external/python/cpython2/Modules/ |
D | readline.c | 1121 call_readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) in call_readline() argument 1134 if (sys_stdin != rl_instream || sys_stdout != rl_outstream) { in call_readline() 1135 rl_instream = sys_stdin; in call_readline()
|
/external/python/cpython3/Modules/ |
D | readline.c | 1237 call_readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in call_readline() argument 1250 if (sys_stdin != rl_instream || sys_stdout != rl_outstream) { in call_readline() 1251 rl_instream = sys_stdin; in call_readline()
|