Lines Matching defs:ok
1244 int ok;
1248 ok = UI_add_input_string(ui,prompt,
1254 if (ok >= 0)
1257 ok=UI_process(ui);
1259 while (ok < 0 && UI_ctrl(ui, UI_CTRL_IS_REDOABLE, 0, 0, 0));
1261 if (ok >= 0)
1282 int ok = -1;
1318 ok = UI_dup_info_string(ui, buf);
1319 if (ok >= 0 && prompt_info)
1323 ok = UI_dup_input_boolean(ui, buf,
1329 if (ok >= 0)
1330 ok = UI_process(ui);
1333 if (ok == -2 || (ok >= 0 && answer == 'C'))
1334 ok = 1;
1335 else if (ok < 0)
1336 ok = -1;
1338 ok = 0;
1340 return ok;