Lines Matching refs:result

59     int result;  in string_to_char()  local
83 result = cmp2[0]; in string_to_char()
86 result = UCH(*string); in string_to_char()
89 return result; in string_to_char()
95 size_t result = 0; in count_labels() local
98 ++result; in count_labels()
101 return result; in count_labels()
110 int result = FALSE; in was_hotkey() local
116 result = TRUE; in was_hotkey()
121 return result; in was_hotkey()
135 int *result = 0; in get_hotkeys() local
138 if ((result = dlg_calloc(int, count + 1)) != 0) { in get_hotkeys()
157 if (dlg_isupper(check) && !was_hotkey(check, result, n)) { in get_hotkeys()
158 result[n] = check; in get_hotkeys()
164 return result; in get_hotkeys()
239 int result = 0; in dlg_button_count() local
241 ++result; in dlg_button_count()
242 return result; in dlg_button_count()
289 int result; in dlg_button_x_step() local
308 result = (*gap > 0) && (unused >= 0); in dlg_button_x_step()
310 result = 0; in dlg_button_x_step()
312 return result; in dlg_button_x_step()
471 int result = DLG_EXIT_UNKNOWN; in dlg_char_to_button() local
484 result = j; in dlg_char_to_button()
492 return result; in dlg_char_to_button()
557 const char **result; in dlg_exit_label() local
563 result = dlg_ok_labels(); in dlg_exit_label()
577 result = labels; in dlg_exit_label()
579 return result; in dlg_exit_label()
588 int result; in dlg_exit_buttoncode() local
594 result = dlg_ok_buttoncode(button); in dlg_exit_buttoncode()
598 return result; in dlg_exit_buttoncode()
662 int result = DLG_EXIT_ERROR; in dlg_ok_buttoncode() local
666 result = DLG_EXIT_OK; in dlg_ok_buttoncode()
668 result = DLG_EXIT_EXTRA; in dlg_ok_buttoncode()
670 result = DLG_EXIT_CANCEL; in dlg_ok_buttoncode()
672 result = DLG_EXIT_HELP; in dlg_ok_buttoncode()
675 button, result, dlg_exitcode2s(result))); in dlg_ok_buttoncode()
676 return result; in dlg_ok_buttoncode()
687 int result = current + 1; in dlg_next_ok_buttonindex() local
690 && dlg_ok_buttoncode(result) < 0) in dlg_next_ok_buttonindex()
691 result = extra; in dlg_next_ok_buttonindex()
692 return result; in dlg_next_ok_buttonindex()
701 int result = current - 1; in dlg_prev_ok_buttonindex() local
703 if (result < extra) { in dlg_prev_ok_buttonindex()
704 for (result = 0; dlg_ok_buttoncode(result + 1) >= 0; ++result) { in dlg_prev_ok_buttonindex()
708 return result; in dlg_prev_ok_buttonindex()
719 int result = 0; in dlg_defaultno_button() local
722 while (dlg_ok_buttoncode(result) != DLG_EXIT_CANCEL) in dlg_defaultno_button()
723 ++result; in dlg_defaultno_button()
725 DLG_TRACE(("# dlg_defaultno_button() = %d\n", result)); in dlg_defaultno_button()
726 return result; in dlg_defaultno_button()
737 int result = 0; in dlg_default_button() local
744 result = i; in dlg_default_button()
749 DLG_TRACE(("# dlg_default_button() = %d\n", result)); in dlg_default_button()
750 return result; in dlg_default_button()
759 const char **result; in dlg_yes_labels() local
762 result = dlg_ok_labels(); in dlg_yes_labels()
773 result = labels; in dlg_yes_labels()
776 return result; in dlg_yes_labels()
785 int result = DLG_EXIT_ERROR; in dlg_yes_buttoncode() local
788 result = dlg_ok_buttoncode(button); in dlg_yes_buttoncode()
790 result = DLG_EXIT_OK; in dlg_yes_buttoncode()
792 result = DLG_EXIT_CANCEL; in dlg_yes_buttoncode()
794 result = DLG_EXIT_HELP; in dlg_yes_buttoncode()
797 return result; in dlg_yes_buttoncode()