Lines Matching refs:num_leds
93 unsigned int num_leds; member
317 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()
837 if (i >= keymap->num_leds) { in CopyLedMapDefsToKeymap()
847 if (i >= keymap->num_leds) { in CopyLedMapDefsToKeymap()
859 led = &keymap->leds[keymap->num_leds++]; in CopyLedMapDefsToKeymap()