Home
last modified time | relevance | path

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

/external/libxkbcommon/src/xkbcomp/
Dcompat.c93 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()
[all …]
Dkeycodes.c621 keymap->num_leds = info->num_led_names; in CopyLedNamesToKeymap()
/external/libxkbcommon/src/
Dkeymap.h394 unsigned int num_leds; member
419 (iter) < (keymap)->leds + (keymap)->num_leds; \
424 (idx) < (keymap)->num_leds; \
Dkeymap.c377 return keymap->num_leds; in xkb_keymap_num_leds()
386 if (idx >= keymap->num_leds) in xkb_keymap_led_get_name()
Dstate.c1298 if (idx >= state->keymap->num_leds || in xkb_state_led_index_is_active()
/external/libxkbcommon/src/x11/
Dkeymap.c707 keymap->num_leds = msb_pos(reply->which); in get_indicators()
910 FAIL_UNLESS(msb_pos(reply->indicators) <= keymap->num_leds); in get_indicator_names()