Searched refs:num_leds (Results 1 – 6 of 6) sorted by relevance
91 unsigned int num_leds; member314 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 …]
618 keymap->num_leds = info->num_led_names; in CopyLedNamesToKeymap()
393 unsigned int num_leds; member418 (iter) < (keymap)->leds + (keymap)->num_leds; \423 (idx) < (keymap)->num_leds; \
375 return keymap->num_leds; in xkb_keymap_num_leds()384 if (idx >= keymap->num_leds) in xkb_keymap_led_get_name()
1289 if (idx >= state->keymap->num_leds || in xkb_state_led_index_is_active()
702 keymap->num_leds = msb_pos(reply->which); in get_indicators()904 FAIL_UNLESS(msb_pos(reply->indicators) <= keymap->num_leds); in get_indicator_names()