Lines Matching refs:KeyCode
83 static KeyCode *
86 KeyCode *kcs = NULL;
92 if (XKeycodeToKeysym(dpy, (KeyCode) i, j) == keysym) {
94 kcs = malloc(sizeof(KeyCode));
96 kcs = reallocfarray(kcs, (*pnum_kcs + 1), sizeof(KeyCode));
99 (long) ((*pnum_kcs + 1) * sizeof (KeyCode)));
160 static void finish_keycodes ( const char *line, int len, KeyCode *keycodes,
356 KeyCode keycode;
379 keycode = (KeyCode) dummy;
403 KeyCode *keycodes;
441 finish_keycodes(const char *line, int len, KeyCode *keycodes, int count)
645 KeyCode *kclist;
688 kclist = malloc (n * sizeof (KeyCode));
691 (long) (n * sizeof (KeyCode)));
700 KeyCode *kcs;
719 kclist = reallocfarray(kclist, tot, sizeof(KeyCode));
722 (long) (tot * sizeof (KeyCode)));
755 make_remove(int modifier, KeyCode keycode)
771 oprm->keycodes = malloc (sizeof (KeyCode));
773 badmsg ("attempt to allocate %ld byte KeyCode",
774 (long) sizeof (KeyCode));
1040 check_special_keys(KeyCode keycode, int n, KeySym *kslist)
1043 KeyCode *kcp; /* keycode pointer */
1255 KeyCode free;
1261 if (XKeycodeToKeysym(dpy, (KeyCode) i, j) != opk->keysyms[j])
1269 if (XKeycodeToKeysym(dpy, (KeyCode) i, j) != None)
1301 KeyCode *kcs;