Home
last modified time | relevance | path

Searched refs:num_leds (Results 1 – 6 of 6) sorted by relevance

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dcompat.c91 unsigned int num_leds; member
314 for (xkb_led_index_t i = 0; i < info->num_leds; i++) { in AddLedMap()
366 if (info->num_leds >= XKB_MAX_LEDS) { in AddLedMap()
372 info->leds[info->num_leds++] = *new; in AddLedMap()
406 if (into->num_leds == 0) { in MergeIncludedCompatMaps()
407 memcpy(into->leds, from->leds, sizeof(*from->leds) * from->num_leds); in MergeIncludedCompatMaps()
408 into->num_leds = from->num_leds; in MergeIncludedCompatMaps()
409 from->num_leds = 0; in MergeIncludedCompatMaps()
412 for (xkb_led_index_t i = 0; i < from->num_leds; i++) { in MergeIncludedCompatMaps()
821 for (xkb_led_index_t idx = 0; idx < info->num_leds; idx++) { in CopyLedMapDefsToKeymap()
[all …]
Dkeycodes.c618 keymap->num_leds = info->num_led_names; in CopyLedNamesToKeymap()
/external/libxkbcommon/xkbcommon/src/
Dkeymap.h393 unsigned int num_leds; member
418 (iter) < (keymap)->leds + (keymap)->num_leds; \
423 (idx) < (keymap)->num_leds; \
Dkeymap.c375 return keymap->num_leds; in xkb_keymap_num_leds()
384 if (idx >= keymap->num_leds) in xkb_keymap_led_get_name()
Dstate.c1289 if (idx >= state->keymap->num_leds || in xkb_state_led_index_is_active()
/external/libxkbcommon/xkbcommon/src/x11/
Dkeymap.c702 keymap->num_leds = msb_pos(reply->which); in get_indicators()
904 FAIL_UNLESS(msb_pos(reply->indicators) <= keymap->num_leds); in get_indicator_names()