Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dmain.c260 int stdin_is_interactive = 0; in Py_Main() local
503 stdin_is_interactive = Py_FdIsInteractive(stdin, (char *)0); in Py_Main()
559 (command == NULL && filename == NULL && module == NULL && stdin_is_interactive)) { in Py_Main()
602 if (filename == NULL && stdin_is_interactive) { in Py_Main()
668 if (Py_InspectFlag && stdin_is_interactive && in Py_Main()
/external/python/cpython3/Modules/
Dmain.c92 stdin_is_interactive(const PyConfig *config) in stdin_is_interactive() function
191 if (!config->verbose && (config_run_code(config) || !stdin_is_interactive(config))) { in pymain_header()
478 if (stdin_is_interactive(config)) { in pymain_run_stdin()
517 if (!(config->inspect && stdin_is_interactive(config) && config_run_code(config))) { in pymain_repl()
/external/sqlite/dist/orig/
Dshell.c437 static int stdin_is_interactive = 1; variable
692 if( stdin_is_interactive && in==stdin ){ in local_getline()
20173 utf8_printf((stdin_is_interactive && p->in==stdin)? p->out : stderr, in do_meta_command()
22632 if( in!=0 || !stdin_is_interactive ){ in runOneSqlLine()
22717 while( errCnt==0 || !bail_on_error || (p->in==0 && stdin_is_interactive) ){ in process_input()
22722 if( p->in==0 && stdin_is_interactive ) printf("\n"); in process_input()
22902 if( stdin_is_interactive ){ in process_sqliterc()
23105 stdin_is_interactive = 0;
23108 stdin_is_interactive = isatty(0);
23228 stdin_is_interactive = 0;
[all …]
/external/sqlite/dist/
Dshell.c442 static int stdin_is_interactive = 1; variable
697 if( stdin_is_interactive && in==stdin ){ in local_getline()
20194 utf8_printf((stdin_is_interactive && p->in==stdin)? p->out : stderr, in do_meta_command()
22653 if( in!=0 || !stdin_is_interactive ){ in runOneSqlLine()
22738 while( errCnt==0 || !bail_on_error || (p->in==0 && stdin_is_interactive) ){ in process_input()
22743 if( p->in==0 && stdin_is_interactive ) printf("\n"); in process_input()
22923 if( stdin_is_interactive ){ in process_sqliterc()
23126 stdin_is_interactive = 0;
23129 stdin_is_interactive = isatty(0);
23249 stdin_is_interactive = 0;
[all …]