Lines Matching refs:num_leds
91 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()
835 if (i >= keymap->num_leds) { in CopyLedMapDefsToKeymap()
845 if (i >= keymap->num_leds) { in CopyLedMapDefsToKeymap()
857 led = &keymap->leds[keymap->num_leds++]; in CopyLedMapDefsToKeymap()