Home
last modified time | relevance | path

Searched refs:masks_out (Results 1 – 3 of 3) sorted by relevance

/external/libxkbcommon/test/
Dkeymap.c84 xkb_mod_mask_t masks_out[4] = { 0, 0, 0, 0 }; in test_keymap() local
114 mask_count = xkb_keymap_key_get_mods_for_level(keymap, kc, 0, 0, masks_out, 4); in test_keymap()
116 assert(masks_out[0] == 0); in test_keymap()
123 mask_count = xkb_keymap_key_get_mods_for_level(keymap, kc, 0, 1, masks_out, 4); in test_keymap()
125 assert(masks_out[0] == shift_mask); in test_keymap()
126 assert(masks_out[1] == lock_mask); in test_keymap()
131 mask_count = xkb_keymap_key_get_mods_for_level(keymap, kc, 0, 0, masks_out, 4); in test_keymap()
133 assert(masks_out[0] == 0); in test_keymap()
134 assert(masks_out[1] == (shift_mask | mod2_mask)); in test_keymap()
137 mask_count = xkb_keymap_key_get_mods_for_level(keymap, kc, 0, 1, masks_out, 4); in test_keymap()
[all …]
/external/libxkbcommon/src/
Dkeymap.c417 xkb_mod_mask_t *masks_out, in xkb_keymap_key_get_mods_for_level() argument
457 masks_out[count++] = 0; in xkb_keymap_key_get_mods_for_level()
465 masks_out[count++] = type->entries[i].mods.mask; in xkb_keymap_key_get_mods_for_level()
/external/libxkbcommon/xkbcommon/
Dxkbcommon.h1221 xkb_mod_mask_t *masks_out,