Searched refs:darray_size (Results 1 – 11 of 11) sorted by relevance
132 for (xkb_level_index_t j = 0; j < darray_size(to->levels); j++) in CopyGroupInfo()279 levels_in_both = MIN(darray_size(into->levels), darray_size(from->levels)); in MergeGroups()381 groups_in_both = MIN(darray_size(into->groups), darray_size(from->groups)); in MergeKeys()388 for (i = groups_in_both; i < darray_size(from->groups); i++) { in MergeKeys()519 group_names_in_both = MIN(darray_size(into->group_names), in MergeIncludedSymbols()520 darray_size(from->group_names)); in MergeIncludedSymbols()642 darray_resize0(keyi->groups, darray_size(keyi->groups) + 1); in GetGroupIndex()643 *ndx_rtrn = darray_size(keyi->groups) - 1; in GetGroupIndex()656 if (*ndx_rtrn >= darray_size(keyi->groups)) in GetGroupIndex()697 nLevels = darray_size(value->keysym_list.symsMapIndex); in AddSymbolsToKey()[all …]
340 darray_append(darray_item(m->groups, darray_size(m->groups) - 1).elements, in matcher_group_add_element()486 if (darray_size(m->rmlvo.layouts) > 1) in matcher_mapping_verify()490 if (darray_size(m->rmlvo.layouts) == 1 || in matcher_mapping_verify()491 m->mapping.layout_idx >= darray_size(m->rmlvo.layouts)) in matcher_mapping_verify()498 if (darray_size(m->rmlvo.variants) > 1) in matcher_mapping_verify()502 if (darray_size(m->rmlvo.variants) == 1 || in matcher_mapping_verify()503 m->mapping.variant_idx >= darray_size(m->rmlvo.variants)) in matcher_mapping_verify()692 idx < darray_size(m->rmlvo.layouts) && in append_expanded_kccgst_value()693 darray_size(m->rmlvo.layouts) > 1) in append_expanded_kccgst_value()696 darray_size(m->rmlvo.layouts) == 1) in append_expanded_kccgst_value()[all …]
187 if (kc >= darray_size(info->key_names)) in AddKeyName()275 if (darray_size(into->key_names) < darray_size(from->key_names)) in MergeIncludedKeycodes()276 darray_resize0(into->key_names, darray_size(from->key_names)); in MergeIncludedKeycodes()
204 unsigned nLevels = darray_size(expr->keysym_list.symsMapIndex); in ExprCreateMultiKeysymList()217 unsigned nSyms = darray_size(expr->keysym_list.syms); in ExprAppendKeysymList()230 unsigned nSyms = darray_size(expr->keysym_list.syms); in ExprAppendMultiKeysymList()231 unsigned numEntries = darray_size(append->keysym_list.syms); in ExprAppendMultiKeysymList()
481 if (level >= darray_size(type->level_names)) { in AddLevelName()679 num_types = darray_empty(info->types) ? 1 : darray_size(info->types); in CopyKeyTypesToKeymap()
121 if (atom == XKB_ATOM_NONE || atom >= darray_size(table->table)) in atom_text()219 node.atom = darray_size(table->table); in atom_intern()
39 return darray_size(ctx->failed_includes); in xkb_context_num_failed_include_paths()
130 return darray_size(ctx->includes); in xkb_context_num_include_paths()
86 #define darray_size(arr) ((arr).size) macro
250 darray_resize0(state->filters, darray_size(state->filters) + 1); in xkb_filter_new()251 filter = &darray_item(state->filters, darray_size(state->filters) -1); in xkb_filter_new()
373 return darray_size(table->nodes) - 1; in add_node()450 node->u.leaf.utf8 = darray_size(table->utf8); in add_production()