/freebsd-11-stable/contrib/opie/libopie/ |
H A D | verify.c | 73 struct opie_otpkey key, fkey, lastkey; local 111 memcpy(&fkey, &key, sizeof(struct opie_otpkey)); 112 opiehash(&fkey, MDX); 113 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 116 memcpy(&fkey, &key, sizeof(struct opie_otpkey)); 117 opiehash(&fkey, MDX); 118 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 125 memcpy(&fkey, &key, sizeof(struct opie_otpkey)); 126 opiehash(&fkey, MDX); 127 i = memcmp(&fkey, [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | mousewget.c | 28 mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) argument 35 key = dlg_getc(win, fkey); 82 dlg_mouse_wgetch(WINDOW *win, int *fkey) argument 84 return mouse_wgetch(win, fkey, TRUE); 88 dlg_mouse_wgetch_nowait(WINDOW *win, int *fkey) argument 90 return mouse_wgetch(win, fkey, FALSE);
|
H A D | trace.c | 131 dlg_trace_chr(int ch, int fkey) argument 139 if (last_err && !fkey && ch == ERR) { 149 if (fkey) { 150 if (fkey > KEY_MAX || (fkey_name = keyname(fkey)) == 0) { 152 switch ((DLG_KEYS_ENUM) fkey) { 198 fprintf(myFP, "chr %s (ch=%#x, fkey=%d)\n", 200 ch, fkey);
|
H A D | ui_getc.c | 224 dlg_getc_callbacks(int ch, int fkey, int *result) argument 234 if (!(p->handle_getc(p, ch, fkey, result))) { 335 really_getch(WINDOW *win, int *fkey) argument 352 *fkey = 0; 357 ch = *fkey = my_wchar; 383 *fkey = (ch > KEY_MIN && ch < KEY_MAX); 427 dlg_getc(WINDOW *win, int *fkey) argument 452 ch = really_getch(win, fkey); 459 before_fkey = *fkey; 461 ch = dlg_lookup_key(win, ch, fkey); 651 int fkey = 0; local [all...] |
H A D | yesno.c | 47 int key = 0, fkey; local 103 key = dlg_mouse_wgetch(dialog, &fkey); 104 if (dlg_result_key(key, fkey, &result)) 111 if (fkey) {
|
H A D | inputbox.c | 72 int key, fkey, code; local 97 key = fkey = 0; 170 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey); 171 if (dlg_result_key(key, fkey, &result)) 179 if (fkey 187 edit = dlg_edit_string(input, &chr_offset, key, fkey, first); 204 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) { 211 if (fkey) {
|
H A D | msgbox.c | 50 int key = 0, fkey; local 118 key = dlg_mouse_wgetch(dialog, &fkey); 119 if (dlg_result_key(key, fkey, &result)) 122 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) { 127 if (fkey) {
|
H A D | tailbox.c | 223 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument 228 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) { 230 fkey = TRUE; 233 if (fkey) { 306 int fkey; local 381 ch = dlg_getc(dialog, &fkey); 383 if (fkey && ch == KEY_RESIZE) { 397 while (handle_my_getc(&(obj->obj), ch, fkey, &result));
|
H A D | progressbox.c | 124 int key = 0, fkey; local 151 key = dlg_mouse_wgetch(dialog, &fkey); 152 if (dlg_result_key(key, fkey, &result)) 155 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) { 160 if (fkey) {
|
H A D | pause.c | 75 int key = 0, fkey; local 188 key = dlg_mouse_wgetch_nowait(dialog, &fkey); 192 if (dlg_result_key(key, fkey, &result))
|
H A D | guage.c | 241 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument 247 if (!fkey && (ch == ERR)) { 395 int fkey; local 405 ch = dlg_getc(obj->obj.win, &fkey); 407 if (fkey && ch == KEY_RESIZE) { 433 while (valid(obj) && handle_my_getc(&(obj->obj), ch, fkey, &result));
|
H A D | editbox.c | 342 int key, fkey, code; local 372 fkey = 0; 488 key = dlg_mouse_wgetch((state == sTEXT) ? editing : dialog, &fkey); 497 if (dlg_result_key(key, fkey, &result)) 501 was_mouse = (fkey && is_DLGK_MOUSE(key)); 509 if (fkey 530 key = dlg_lookup_key(dialog, key, &fkey); 538 if (fkey) { 615 edit = dlg_edit_string(buffer, &chr_offset, key, fkey, FALSE); 631 if (!fkey [all...] |
H A D | dlg_keys.c | 197 * fkey in/out (on input, it is true if curses_key is a function key, 201 dlg_lookup_key(WINDOW *win, int curses_key, int *fkey) argument 210 if (*fkey != 0 && curses_key == KEY_MOUSE) { 218 if (*fkey != 0 && curses_key == KEY_RESIZE) { 222 if (*fkey == 0 || curses_key < KEY_MAX) { 234 int function_key = (*fkey != 0); 239 *fkey = 0; 244 *fkey = q->dialog_key; 245 return *fkey; 264 dlg_result_key(int dialog_key, int fkey GCC_UNUSE [all...] |
H A D | checklist.c | 194 int key = 0, fkey; local 369 key = dlg_mouse_wgetch(dialog, &fkey); 370 if (dlg_result_key(key, fkey, &result)) 373 was_mouse = (fkey && is_DLGK_MOUSE(key)); 389 fkey = FALSE; 391 key = dlg_lookup_key(dialog, key, &fkey); 444 if (!fkey) { 484 if (fkey) { 541 if (fkey) {
|
H A D | menubox.c | 149 int key = 0, fkey = 0; local 169 key = dlg_mouse_wgetch(data->menu, &fkey); 170 if (dlg_edit_string(result, &offset, key, fkey, first)) { 339 int key = 0, fkey; local 502 key = dlg_mouse_wgetch(dialog, &fkey); 503 if (dlg_result_key(key, fkey, &result)) 507 if (fkey) { 573 if (!found && fkey) { 633 if (fkey) {
|
H A D | treeview.c | 198 int key = 0, fkey; local 361 key = dlg_mouse_wgetch(dialog, &fkey); 362 if (dlg_result_key(key, fkey, &result)) 365 was_mouse = (fkey && is_DLGK_MOUSE(key)); 380 fkey = FALSE; 382 key = dlg_lookup_key(dialog, key, &fkey); 419 if (!fkey) { 459 if (fkey) { 515 if (fkey) {
|
H A D | rangebox.c | 212 int key = 0, key2, fkey; local 314 key = dlg_mouse_wgetch(dialog, &fkey); 315 if (dlg_result_key(key, fkey, &result)) 322 if (fkey) {
|
H A D | timebox.c | 179 int key = 0, key2, fkey; local 287 key = dlg_mouse_wgetch(dialog, &fkey); 288 if (dlg_result_key(key, fkey, &result)) 295 if (fkey) {
|
H A D | buildlist.c | 459 int key = 0, fkey; local 670 key = dlg_mouse_wgetch(dialog, &fkey); 671 if (dlg_result_key(key, fkey, &result)) 674 was_mouse = (fkey && is_DLGK_MOUSE(key)); 703 fkey = FALSE; 708 fkey = FALSE; 715 fkey = FALSE; 718 key = dlg_lookup_key(dialog, key, &fkey); 757 if (!fkey) { 796 if (!found && fkey) { [all...] |
H A D | textbox.c | 499 int fkey = 0; local 540 key = dlg_getc(widget, &fkey); 541 if (fkey) { 542 switch (fkey) { 560 if (dlg_edit_string(input, &offset, key, fkey, first)) { 701 int key = 0, fkey; local 816 key = dlg_mouse_wgetch(dialog, &fkey); 817 if (dlg_result_key(key, fkey, &result)) 820 if (!fkey && (code = dlg_char_to_button(key, obj.buttons)) >= 0) { 825 if (fkey) { [all...] |
H A D | calendar.c | 430 int fkey; local 559 key = dlg_mouse_wgetch(dialog, &fkey); 560 if (dlg_result_key(key, fkey, &result)) 563 if (fkey && (key >= DLGK_MOUSE(KEY_MIN) && key <= DLGK_MOUSE(KEY_MAX))) { 564 key = dlg_lookup_key(dialog, key - M_EVENT, &fkey); 569 } else if (fkey) {
|
H A D | inputstr.c | 516 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) argument 527 if (!fkey) { 528 fkey = TRUE; /* assume we transform */ 534 fkey = FALSE; /* this is used for navigation */ 537 fkey = FALSE; /* ...no, we did not transform */ 542 if (fkey) {
|
H A D | formbox.c | 498 int fkey; local 641 key = dlg_mouse_wgetch((state == sTEXT) ? form : dialog, &fkey); 642 if (dlg_result_key(key, fkey, &result)) 646 if (!fkey) { 655 fkey = TRUE; 662 if (fkey) { 849 fkey, first);
|
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | diskeditor.c | 81 int key, fkey; local 177 key = dlg_mouse_wgetch(dialog, &fkey); 186 if (!fkey)
|
/freebsd-11-stable/sys/dev/kbd/ |
H A D | kbdreg.h | 137 typedef u_char *kbd_get_fkeystr_t(keyboard_t *kbd, int fkey, 201 #define kbdd_get_fkeystr(kbd, fkey, len) \ 202 (*kbdsw[(kbd)->kb_index]->get_fkeystr)((kbd), (fkey), (len))
|