Searched refs:num_leds (Results 1 – 6 of 6) sorted by relevance
93 unsigned int num_leds; member317 for (xkb_led_index_t i = 0; i < info->num_leds; i++) { in AddLedMap()369 if (info->num_leds >= XKB_MAX_LEDS) { in AddLedMap()375 info->leds[info->num_leds++] = *new; in AddLedMap()408 if (into->num_leds == 0) { in MergeIncludedCompatMaps()409 memcpy(into->leds, from->leds, sizeof(*from->leds) * from->num_leds); in MergeIncludedCompatMaps()410 into->num_leds = from->num_leds; in MergeIncludedCompatMaps()411 from->num_leds = 0; in MergeIncludedCompatMaps()414 for (xkb_led_index_t i = 0; i < from->num_leds; i++) { in MergeIncludedCompatMaps()823 for (xkb_led_index_t idx = 0; idx < info->num_leds; idx++) { in CopyLedMapDefsToKeymap()[all …]
621 keymap->num_leds = info->num_led_names; in CopyLedNamesToKeymap()
394 unsigned int num_leds; member419 (iter) < (keymap)->leds + (keymap)->num_leds; \424 (idx) < (keymap)->num_leds; \
377 return keymap->num_leds; in xkb_keymap_num_leds()386 if (idx >= keymap->num_leds) in xkb_keymap_led_get_name()
1298 if (idx >= state->keymap->num_leds || in xkb_state_led_index_is_active()
707 keymap->num_leds = msb_pos(reply->which); in get_indicators()910 FAIL_UNLESS(msb_pos(reply->indicators) <= keymap->num_leds); in get_indicator_names()