Lines Matching refs:meth
41 ret->meth = method; in UI_new_method()
76 ui->meth->ui_destroy_data(ui, ui->user_data); in UI_free()
343 if (ui != NULL && ui->meth != NULL && ui->meth->ui_construct_prompt != NULL) in UI_construct_prompt()
344 prompt = ui->meth->ui_construct_prompt(ui, phrase_desc, object_name); in UI_construct_prompt()
376 ui->meth->ui_destroy_data(ui, old_data); in UI_add_user_data()
388 if (ui->meth->ui_duplicate_data == NULL in UI_dup_user_data()
389 || ui->meth->ui_destroy_data == NULL) { in UI_dup_user_data()
394 duplicate = ui->meth->ui_duplicate_data(ui, user_data); in UI_dup_user_data()
445 if (ui->meth->ui_write_string != NULL in print_error()
446 && ui->meth->ui_write_string(ui, &uis) <= 0) in print_error()
456 if (ui->meth->ui_open_session != NULL in UI_process()
457 && ui->meth->ui_open_session(ui) <= 0) { in UI_process()
468 if (ui->meth->ui_write_string != NULL in UI_process()
469 && (ui->meth->ui_write_string(ui, in UI_process()
479 if (ui->meth->ui_flush != NULL) in UI_process()
480 switch (ui->meth->ui_flush(ui)) { in UI_process()
495 if (ui->meth->ui_read_string != NULL) { in UI_process()
496 switch (ui->meth->ui_read_string(ui, in UI_process()
520 if (ui->meth->ui_close_session != NULL in UI_process()
521 && ui->meth->ui_close_session(ui) <= 0) { in UI_process()
569 return ui->meth; in UI_get_method()
572 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth) in UI_set_method() argument
574 ui->meth = meth; in UI_set_method()
575 return ui->meth; in UI_set_method()