Lines Matching defs:ok
1215 int ok;
1219 ok = UI_add_input_string(ui, prompt,
1225 if (ok >= 0)
1227 ok = UI_process(ui);
1229 while (ok < 0 && UI_ctrl(ui, UI_CTRL_IS_REDOABLE, 0, 0, 0));
1231 if (ok >= 0)
1250 int ok = -1;
1286 ok = UI_dup_info_string(ui, buf);
1287 if (ok >= 0 && prompt_info) {
1290 ok = UI_dup_input_boolean(ui, buf,
1297 if (ok >= 0)
1298 ok = UI_process(ui);
1301 if (ok == -2 || (ok >= 0 && answer == 'C'))
1302 ok = 1;
1303 else if (ok < 0)
1304 ok = -1;
1306 ok = 0;
1308 return ok;