/freebsd-13-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-13-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); 86 dlg_mouse_wgetch(WINDOW *win, int *fkey) argument 88 return mouse_wgetch(win, fkey, TRUE); 92 dlg_mouse_wgetch_nowait(WINDOW *win, int *fkey) argument 94 return mouse_wgetch(win, fkey, FALSE);
|
H A D | ui_getc.c | 231 dlg_getc_callbacks(int ch, int fkey, int *result) argument 241 if (!(p->handle_getc(p, ch, fkey, result))) { 342 really_getch(WINDOW *win, int *fkey) argument 359 *fkey = 0; 364 ch = *fkey = my_wchar; 390 *fkey = (ch > KEY_MIN && ch < KEY_MAX); 434 dlg_getc(WINDOW *win, int *fkey) argument 459 ch = really_getch(win, fkey); 466 before_fkey = *fkey; 468 ch = dlg_lookup_key(win, ch, fkey); 660 int fkey = 0; local [all...] |
H A D | inputbox.c | 74 int key, fkey, code; local 107 key = fkey = 0; 180 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey); 181 if (dlg_result_key(key, fkey, &result)) 189 if (fkey 197 edit = dlg_edit_string(input, &chr_offset, key, fkey, first); 214 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) { 221 if (fkey) {
|
H A D | trace.c | 165 dlg_trace_chr(int ch, int fkey) argument 173 if (last_err && !fkey && ch == ERR) { 183 if (fkey) { 184 if (fkey > KEY_MAX || (fkey_name = keyname(fkey)) == 0) { 186 switch ((DLG_KEYS_ENUM) fkey) { 234 fprintf(myFP, "chr %s (ch=%#x, fkey=%d)\n", fkey_name, ch, fkey); 236 fprintf(myFP, "chr %s (ch=%d, fkey=%d)\n", fkey_name, ch, fkey); [all...] |
H A D | msgbox.c | 50 int key = 0, fkey; local 126 key = dlg_mouse_wgetch(dialog, &fkey); 127 if (dlg_result_key(key, fkey, &result)) 130 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) { 135 if (fkey) {
|
H A D | yesno.c | 47 int key = 0, fkey; local 112 key = dlg_mouse_wgetch(dialog, &fkey); 113 if (dlg_result_key(key, fkey, &result)) 120 if (fkey) {
|
H A D | tailbox.c | 232 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument 240 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) { 242 fkey = TRUE; 245 if (fkey) { 322 int fkey; local 404 ch = dlg_getc(dialog, &fkey); 406 if (fkey && ch == KEY_RESIZE) { 421 while (handle_my_getc(&(obj->obj), ch, fkey, &result));
|
H A D | dlg_keys.c | 204 * fkey in/out (on input, it is nonzero if curses_key is a function key, 208 dlg_lookup_key(WINDOW *win, int curses_key, int *fkey) argument 217 if (*fkey != 0 && curses_key == KEY_MOUSE) { 225 if (*fkey != 0 && curses_key == KEY_RESIZE) { 229 if (*fkey == 0 || curses_key < KEY_MAX) { 243 int function_key = (*fkey != 0); 248 *fkey = 0; 253 *fkey = q->dialog_key; 254 return *fkey; 273 dlg_result_key(int dialog_key, int fkey GCC_UNUSE 819 int fkey = (binding->curses_key > 255); local [all...] |
H A D | guage.c | 246 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument 252 if (!fkey && (ch == ERR)) { 402 int fkey; local 419 ch = dlg_getc(obj->obj.win, &fkey); 421 if (fkey && ch == KEY_RESIZE) { 448 while (valid(obj) && handle_my_getc(&(obj->obj), ch, fkey, &result));
|
H A D | editbox.c | 352 int key, fkey, code; local 388 fkey = 0; 504 key = dlg_mouse_wgetch((state == sTEXT) ? editing : dialog, &fkey); 513 if (dlg_result_key(key, fkey, &result)) 517 was_mouse = (fkey && is_DLGK_MOUSE(key)); 525 if (fkey 551 key = dlg_lookup_key(dialog, key, &fkey); 559 if (fkey) { 636 edit = dlg_edit_string(buffer, &chr_offset, key, fkey, FALSE); 652 if (!fkey [all...] |
H A D | checklist.c | 195 int key = 0, fkey; local 386 key = dlg_mouse_wgetch(dialog, &fkey); 387 if (dlg_result_key(key, fkey, &result)) 390 was_mouse = (fkey && is_DLGK_MOUSE(key)); 406 fkey = FALSE; 408 key = dlg_lookup_key(dialog, key, &fkey); 461 if (!fkey) { 501 if (fkey) { 558 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)) { 341 int key = 0, fkey; local 519 key = dlg_mouse_wgetch(dialog, &fkey); 520 if (dlg_result_key(key, fkey, &result)) 524 if (fkey) { 590 if (!found && fkey) { 650 if (fkey) {
|
H A D | treeview.c | 199 int key = 0, fkey; local 364 key = dlg_mouse_wgetch(dialog, &fkey); 365 if (dlg_result_key(key, fkey, &result)) 368 was_mouse = (fkey && is_DLGK_MOUSE(key)); 383 fkey = FALSE; 385 key = dlg_lookup_key(dialog, key, &fkey); 422 if (!fkey) { 462 if (fkey) { 518 if (fkey) {
|
H A D | pause.c | 75 int key = 0, fkey; local 194 key = dlg_mouse_wgetch_nowait(dialog, &fkey); 198 if (dlg_result_key(key, fkey, &result))
|
H A D | progressbox.c | 287 int key = 0, fkey; local 317 key = dlg_mouse_wgetch(obj->obj.win, &fkey); 318 if (dlg_result_key(key, fkey, &result)) 321 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) { 326 if (fkey) {
|
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 822 key = dlg_mouse_wgetch(dialog, &fkey); 823 if (dlg_result_key(key, fkey, &result)) 826 if (!fkey && (code = dlg_char_to_button(key, obj.buttons)) >= 0) { 831 if (fkey) { [all...] |
H A D | inputstr.c | 518 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) argument 529 if (!fkey) { 530 fkey = TRUE; /* assume we transform */ 536 fkey = FALSE; /* this is used for navigation */ 539 fkey = FALSE; /* ...no, we did not transform */ 544 if (fkey) {
|
H A D | buildlist.c | 553 int key = 0, fkey; local 771 key = dlg_mouse_wgetch(dialog, &fkey); 772 if (dlg_result_key(key, fkey, &result)) 775 was_mouse = (fkey && is_DLGK_MOUSE(key)); 804 fkey = FALSE; 809 fkey = FALSE; 816 fkey = FALSE; 819 key = dlg_lookup_key(dialog, key, &fkey); 869 if (!fkey) { 908 if (!found && fkey) { [all...] |
H A D | rangebox.c | 212 int key = 0, key2, fkey; local 325 key = dlg_mouse_wgetch(dialog, &fkey); 326 if (dlg_result_key(key, fkey, &result)) 333 if (fkey) {
|
H A D | timebox.c | 179 int key = 0, key2, fkey; local 298 key = dlg_mouse_wgetch(dialog, &fkey); 299 if (dlg_result_key(key, fkey, &result)) 306 if (fkey) {
|
H A D | calendar.c | 717 int fkey; local 883 key = dlg_mouse_wgetch(dialog, &fkey); 884 if (dlg_result_key(key, fkey, &result)) 888 if (fkey && (key >= DLGK_MOUSE(KEY_MIN) && key <= DLGK_MOUSE(KEY_MAX))) { 889 key = dlg_lookup_key(dialog, Mouse2Key(key), &fkey); 894 } else if (fkey) {
|
/freebsd-13-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-13-stable/sys/dev/kbd/ |
H A D | kbdreg.h | 63 typedef u_char *kbd_get_fkeystr_t(keyboard_t *kbd, int fkey, 302 kbdd_get_fkeystr(keyboard_t *kbd, int fkey, size_t *len) argument 305 return ((*kbd->kb_drv->kbdsw->get_fkeystr)(kbd, fkey, len));
|
/freebsd-13-stable/usr.sbin/kbdcontrol/ |
H A D | lex.l | 134 fkey{D}({D}*) {
|