/external/libxkbcommon/xkbcommon/src/ |
D | keysym-utf.c | 44 uint16_t keysym; member 840 bin_search(const struct codepair *table, size_t length, xkb_keysym_t keysym) in bin_search() argument 845 if (keysym < table[0].keysym || keysym > table[length].keysym) in bin_search() 851 if (table[mid].keysym < keysym) in bin_search() 853 else if (table[mid].keysym > keysym) in bin_search() 864 xkb_keysym_to_utf32(xkb_keysym_t keysym) in xkb_keysym_to_utf32() argument 867 if ((keysym >= 0x0020 && keysym <= 0x007e) || in xkb_keysym_to_utf32() 868 (keysym >= 0x00a0 && keysym <= 0x00ff)) in xkb_keysym_to_utf32() 869 return keysym; in xkb_keysym_to_utf32() 872 if (keysym == XKB_KEY_KP_Space) in xkb_keysym_to_utf32() [all …]
|
D | keysym.c | 67 if (*key < entry->keysym) in compare_by_keysym() 69 if (*key > entry->keysym) in compare_by_keysym() 135 if (icase && xkb_keysym_is_lower(entry->keysym)) in find_sym() 143 if (icase && xkb_keysym_is_lower(iter->keysym)) in find_sym() 153 if (icase && xkb_keysym_is_lower(iter->keysym)) in find_sym() 179 return entry->keysym; in xkb_keysym_from_name() 221 xkb_keysym_is_keypad(xkb_keysym_t keysym) in xkb_keysym_is_keypad() argument 223 return keysym >= XKB_KEY_KP_Space && keysym <= XKB_KEY_KP_Equal; in xkb_keysym_is_keypad() 228 xkb_keysym_is_modifier(xkb_keysym_t keysym) in xkb_keysym_is_modifier() argument 231 (keysym >= XKB_KEY_Shift_L && keysym <= XKB_KEY_Hyper_R) || in xkb_keysym_is_modifier() [all …]
|
D | keysym.h | 54 xkb_keysym_is_lower(xkb_keysym_t keysym); 57 xkb_keysym_is_upper(xkb_keysym_t keysym); 60 xkb_keysym_is_keypad(xkb_keysym_t keysym); 63 xkb_keysym_is_modifier(xkb_keysym_t keysym);
|
/external/skqp/tools/sk_app/unix/ |
D | keysym2ucs.c | 40 unsigned short keysym; member 818 long keysym2ucs(KeySym keysym) in keysym2ucs() argument 825 if ((keysym >= 0x0020 && keysym <= 0x007e) || in keysym2ucs() 826 (keysym >= 0x00a0 && keysym <= 0x00ff)) in keysym2ucs() 827 return keysym; in keysym2ucs() 830 if ((keysym & 0xff000000) == 0x01000000) in keysym2ucs() 831 return keysym & 0x00ffffff; in keysym2ucs() 836 if (keysymtab[mid].keysym < keysym) in keysym2ucs() 838 else if (keysymtab[mid].keysym > keysym) in keysym2ucs()
|
D | Window_unix.cpp | 187 static Window::Key get_key(KeySym keysym) { in get_key() argument 220 if (gPair[i].fXK == keysym) { in get_key() 290 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, 0, shiftLevel); in handleEvent() local 291 Window::Key key = get_key(keysym); in handleEvent() 294 if (keysym == XK_Escape) { in handleEvent() 300 long uni = keysym2ucs(keysym); in handleEvent() 308 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, in handleEvent() local 310 Window::Key key = get_key(keysym); in handleEvent()
|
D | keysym2ucs.h | 14 long keysym2ucs(KeySym keysym);
|
/external/skia/tools/sk_app/unix/ |
D | keysym2ucs.c | 40 unsigned short keysym; member 818 long keysym2ucs(KeySym keysym) in keysym2ucs() argument 825 if ((keysym >= 0x0020 && keysym <= 0x007e) || in keysym2ucs() 826 (keysym >= 0x00a0 && keysym <= 0x00ff)) in keysym2ucs() 827 return keysym; in keysym2ucs() 830 if ((keysym & 0xff000000) == 0x01000000) in keysym2ucs() 831 return keysym & 0x00ffffff; in keysym2ucs() 836 if (keysymtab[mid].keysym < keysym) in keysym2ucs() 838 else if (keysymtab[mid].keysym > keysym) in keysym2ucs()
|
D | Window_unix.cpp | 187 static Window::Key get_key(KeySym keysym) { in get_key() argument 220 if (gPair[i].fXK == keysym) { in get_key() 290 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, 0, shiftLevel); in handleEvent() local 291 Window::Key key = get_key(keysym); in handleEvent() 294 if (keysym == XK_Escape) { in handleEvent() 300 long uni = keysym2ucs(keysym); in handleEvent() 308 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, in handleEvent() local 310 Window::Key key = get_key(keysym); in handleEvent()
|
/external/libxkbcommon/xkbcommon/test/ |
D | keysym.c | 30 xkb_keysym_t keysym; in test_string() local 32 keysym = xkb_keysym_from_name(string, 0); in test_string() 35 fprintf(stderr, "Received string %s -> %x\n\n", string, keysym); in test_string() 37 return keysym == expected; in test_string() 43 xkb_keysym_t keysym; in test_casestring() local 45 keysym = xkb_keysym_from_name(string, XKB_KEYSYM_CASE_INSENSITIVE); in test_casestring() 48 fprintf(stderr, "Received casestring %s -> %x\n\n", string, keysym); in test_casestring() 50 return keysym == expected; in test_casestring() 54 test_keysym(xkb_keysym_t keysym, const char *expected) in test_keysym() argument 58 xkb_keysym_get_name(keysym, s, sizeof(s)); in test_keysym() [all …]
|
D | common.c | 64 xkb_keysym_t keysym; in test_key_seq_va() local 94 keysym = va_arg(ap, int); in test_key_seq_va() 98 if (keysym == FINISH || keysym == NEXT) { in test_key_seq_va() 104 if (keysym != syms[i]) { in test_key_seq_va() 105 xkb_keysym_get_name(keysym, ksbuf, sizeof(ksbuf)); in test_key_seq_va() 114 keysym = va_arg(ap, int); in test_key_seq_va() 115 if (keysym != XKB_KEY_NoSymbol) { in test_key_seq_va() 116 xkb_keysym_get_name(keysym, ksbuf, sizeof(ksbuf)); in test_key_seq_va() 124 keysym = va_arg(ap, int); in test_key_seq_va() 125 if (keysym == NEXT) in test_key_seq_va() [all …]
|
D | compose.c | 80 xkb_keysym_t keysym, expected_keysym; in test_compose_seq_va() local 126 keysym = xkb_compose_state_get_one_sym(state); in test_compose_seq_va() 127 if (keysym != expected_keysym) { in test_compose_seq_va() 131 xkb_keysym_get_name(keysym, buffer, sizeof(buffer)); in test_compose_seq_va() 132 fprintf(stderr, "got keysym (%#x): %s\n", keysym, buffer); in test_compose_seq_va()
|
/external/libxkbcommon/xkbcommon/src/compose/ |
D | parser.c | 79 xkb_keysym_t keysym; member 88 xkb_keysym_t keysym; in cached_keysym_from_name() local 96 return cache->cache[i].keysym; in cached_keysym_from_name() 98 keysym = xkb_keysym_from_name(name, XKB_KEYSYM_NO_FLAGS); in cached_keysym_from_name() 101 cache->cache[cache->next].keysym = keysym; in cached_keysym_from_name() 103 return keysym; in cached_keysym_from_name() 355 xkb_keysym_t keysym; member 365 add_node(struct xkb_compose_table *table, xkb_keysym_t keysym) in add_node() argument 368 .keysym = keysym, in add_node() 398 while (production->lhs[lhs_pos] != node->keysym) { in add_production() [all …]
|
D | state.c | 90 xkb_compose_state_feed(struct xkb_compose_state *state, xkb_keysym_t keysym) in xkb_compose_state_feed() argument 105 if (xkb_keysym_is_modifier(keysym)) in xkb_compose_state_feed() 113 while (node->keysym != keysym && node->next != 0) { in xkb_compose_state_feed() 118 if (node->keysym != keysym) in xkb_compose_state_feed() 165 if (node->u.leaf.utf8 == 0 && node->u.leaf.keysym != XKB_KEY_NoSymbol) { in xkb_compose_state_get_utf8() 169 ret = xkb_keysym_to_utf8(node->u.leaf.keysym, name, sizeof(name)); in xkb_compose_state_get_utf8() 195 return node->u.leaf.keysym; in xkb_compose_state_get_one_sym()
|
D | table.h | 72 xkb_keysym_t keysym; member 83 xkb_keysym_t keysym; member
|
D | table.c | 59 root.keysym = XKB_KEY_NoSymbol; in xkb_compose_table_new() 63 root.u.leaf.keysym = XKB_KEY_NoSymbol; in xkb_compose_table_new()
|
/external/python/cpython2/Lib/idlelib/ |
D | AutoCompleteWindow.py | 261 keysym = event.keysym 266 if keysym != "Tab": 268 if (len(keysym) == 1 or keysym in ("underscore", "BackSpace") 269 or (self.mode == COMPLETE_FILES and keysym in 273 if len(keysym) == 1: 274 self._change_start(self.start + keysym) 275 elif keysym == "underscore": 277 elif keysym == "period": 279 elif keysym == "minus": 293 elif keysym == "Return": [all …]
|
/external/python/cpython3/Lib/idlelib/ |
D | autocomplete_w.py | 295 keysym = event.keysym 300 if keysym != "Tab": 302 if (len(keysym) == 1 or keysym in ("underscore", "BackSpace") 303 or (self.mode == COMPLETE_FILES and keysym in 307 if len(keysym) == 1: 308 self._change_start(self.start + keysym) 309 elif keysym == "underscore": 311 elif keysym == "period": 313 elif keysym == "minus": 327 elif keysym == "Return": [all …]
|
/external/skia/tools/sk_app/ios/ |
D | Window_ios.cpp | 98 static Window::Key get_key(const SDL_Keysym& keysym) { in get_key() argument 131 if (gPair[i].fSDLK == keysym.sym) { in get_key() 155 if (event.key.keysym.mod & gModifiers[i].fSDLMask) { in get_modifiers() 216 Window::Key key = get_key(event.key.keysym); in handleEvent() 219 if (event.key.keysym.sym == SDLK_ESCAPE) { in handleEvent() 227 Window::Key key = get_key(event.key.keysym); in handleEvent()
|
/external/skqp/tools/sk_app/ios/ |
D | Window_ios.cpp | 98 static Window::Key get_key(const SDL_Keysym& keysym) { in get_key() argument 131 if (gPair[i].fSDLK == keysym.sym) { in get_key() 155 if (event.key.keysym.mod & gModifiers[i].fSDLMask) { in get_modifiers() 216 Window::Key key = get_key(event.key.keysym); in handleEvent() 219 if (event.key.keysym.sym == SDLK_ESCAPE) { in handleEvent() 227 Window::Key key = get_key(event.key.keysym); in handleEvent()
|
/external/libxkbcommon/xkbcommon/bench/ |
D | key-proc.c | 36 xkb_keysym_t keysym; in bench() local 44 keysym = xkb_state_key_get_one_sym(state, keycode); in bench() 45 (void) keysym; in bench()
|
/external/curl/packages/vms/ |
D | config_h.com | 1095 $ keysym = key2b 1096 $ if key2c .nes. "" then keysym = keysym + "_" + key2c 1097 $ if key2d .nes. "" then keysym = keysym + "_" + key2d 1098 $ if key2e .nes. "" then keysym = keysym + "_" + key2e 1115 $ keysym = "ST" + "_" + key2c 1116 $ keysym = f$edit(keysym,"LOWERCASE") 1122 $ keysym = f$edit(key2b, "LOWERCASE") 1135 $ keysym = "f_" + f$edit(key2c,"LOWERCASE") 1143 $ keysym = "ut_" + f$edit(key2d,"LOWERCASE") 1167 $ if keysym .eqs. "CRYPT" [all …]
|
/external/libxkbcommon/xkbcommon/doc/ |
D | quick-guide.md | 122 from it. Given a keycode for a key, we can get its keysym: 127 xkb_keysym_t keysym; 130 keysym = xkb_state_key_get_one_sym(state, keycode); 133 We can see which keysym we got, and get its name: 138 if (keysym == XKB_KEY_Space) 141 xkb_keysym_get_name(keysym, keysym_name, sizeof(keysym_name));
|
/external/libxkbcommon/xkbcommon/ |
D | Makefile.am | 85 src/keysym.c \ 86 src/keysym.h \ 87 src/keysym-utf.c \ 183 test/keysym \
|
/external/libxkbcommon/xkbcommon/xkbcommon/ |
D | xkbcommon.h | 422 xkb_keysym_get_name(xkb_keysym_t keysym, char *buffer, size_t size); 472 xkb_keysym_to_utf8(xkb_keysym_t keysym, char *buffer, size_t size); 487 xkb_keysym_to_utf32(xkb_keysym_t keysym);
|
/external/libxkbcommon/ |
D | Android.bp | 40 "xkbcommon/src/keysym.c", 41 "xkbcommon/src/keysym-utf.c",
|