Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dmain.c255 int stdin_is_interactive = 0; in Py_Main() local
498 stdin_is_interactive = Py_FdIsInteractive(stdin, (char *)0); in Py_Main()
554 (command == NULL && filename == NULL && module == NULL && stdin_is_interactive)) { in Py_Main()
597 if (filename == NULL && stdin_is_interactive) { in Py_Main()
663 if (Py_InspectFlag && stdin_is_interactive && in Py_Main()
/external/python/cpython3/Modules/
Dmain.c478 int stdin_is_interactive; member
1091 pymain->stdin_is_interactive = (isatty(fileno(stdin)) in pymain_init_stdio()
1235 if (!Py_VerboseFlag && (RUN_CODE(pymain) || !pymain->stdin_is_interactive)) { in pymain_header()
1605 if (pymain->filename == NULL && pymain->stdin_is_interactive) { in pymain_run_filename()
1640 if (!(Py_InspectFlag && pymain->stdin_is_interactive && RUN_CODE(pymain))) { in pymain_repl()
/external/sqlite/dist/orig/
Dshell.c388 static int stdin_is_interactive = 1; variable
598 if( stdin_is_interactive && in==stdin ){ in local_getline()
14619 if( in!=0 || !stdin_is_interactive ){ in runOneSqlLine()
14662 while( errCnt==0 || !bail_on_error || (in==0 && stdin_is_interactive) ){ in process_input()
14667 if( in==0 && stdin_is_interactive ) printf("\n"); in process_input()
14834 if( stdin_is_interactive ){ in process_sqliterc()
14971 stdin_is_interactive = isatty(0);
15059 stdin_is_interactive = 0;
15223 stdin_is_interactive = 1;
15225 stdin_is_interactive = 0;
[all …]
/external/sqlite/dist/
Dshell.c394 static int stdin_is_interactive = 1; variable
604 if( stdin_is_interactive && in==stdin ){ in local_getline()
14642 if( in!=0 || !stdin_is_interactive ){ in runOneSqlLine()
14685 while( errCnt==0 || !bail_on_error || (in==0 && stdin_is_interactive) ){ in process_input()
14690 if( in==0 && stdin_is_interactive ) printf("\n"); in process_input()
14857 if( stdin_is_interactive ){ in process_sqliterc()
14994 stdin_is_interactive = isatty(0);
15082 stdin_is_interactive = 0;
15246 stdin_is_interactive = 1;
15248 stdin_is_interactive = 0;
[all …]