Lines Matching refs:ui
189 static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl);
191 static int read_string(UI *ui, UI_STRING *uis);
192 static int write_string(UI *ui, UI_STRING *uis);
194 static int open_console(UI *ui);
195 static int echo_console(UI *ui);
196 static int noecho_console(UI *ui);
197 static int close_console(UI *ui);
203 static int write_string(UI *ui, UI_STRING *uis) in write_string() argument
220 static int read_string(UI *ui, UI_STRING *uis) in read_string() argument
229 return read_string_inner(ui, uis, in read_string()
235 return read_string_inner(ui, uis, in read_string()
241 if ((ok = read_string_inner(ui, uis, in read_string()
276 static int read_string_inner(UI *ui, UI_STRING *uis, int echo, int strip_nl) in read_string_inner() argument
293 if (!echo && !noecho_console(ui)) in read_string_inner()
351 if (UI_set_result(ui, uis, result) >= 0) in read_string_inner()
359 if (ps >= 2 && !echo && !echo_console(ui)) in read_string_inner()
373 static int open_console(UI *ui) in open_console() argument
375 if (!CRYPTO_THREAD_write_lock(ui->lock)) in open_console()
485 static int noecho_console(UI *ui) in noecho_console() argument
521 static int echo_console(UI *ui) in echo_console() argument
552 static int close_console(UI *ui) in close_console() argument
568 CRYPTO_THREAD_unlock(ui->lock); in close_console()