Home
last modified time | relevance | path

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

/external/libxkbcommon/xkbcommon/src/x11/
Dkeymap.c63 #define FAIL_UNLESS(expr) do { \ macro
327 FAIL_UNLESS(reply->firstType == 0); in get_types()
336 FAIL_UNLESS(wire_type->numLevels > 0); in get_types()
355 FAIL_UNLESS(wire_entry->level < type->num_levels); in get_types()
371 FAIL_UNLESS((unsigned) preserves_length <= type->num_entries); in get_types()
402 FAIL_UNLESS(reply->minKeyCode <= reply->maxKeyCode); in get_sym_maps()
403 FAIL_UNLESS(reply->firstKeySym >= reply->minKeyCode); in get_sym_maps()
404 FAIL_UNLESS(reply->firstKeySym + reply->nKeySyms <= reply->maxKeyCode + 1); in get_sym_maps()
419 FAIL_UNLESS(key->num_groups <= ARRAY_SIZE(wire_sym_map->kt_index)); in get_sym_maps()
423 FAIL_UNLESS(wire_sym_map->kt_index[j] < keymap->num_types); in get_sym_maps()
[all …]