Home
last modified time | relevance | path

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

/external/libxkbcommon/src/xkbcomp/
Dsymbols.c134 for (xkb_level_index_t j = 0; j < darray_size(to->levels); j++) in CopyGroupInfo()
269 levels_in_both = MIN(darray_size(into->levels), darray_size(from->levels)); in MergeGroups()
373 groups_in_both = MIN(darray_size(into->groups), darray_size(from->groups)); in MergeKeys()
380 for (i = groups_in_both; i < darray_size(from->groups); i++) { in MergeKeys()
509 group_names_in_both = MIN(darray_size(into->group_names), in MergeIncludedSymbols()
510 darray_size(from->group_names)); in MergeIncludedSymbols()
634 darray_resize0(keyi->groups, darray_size(keyi->groups) + 1); in GetGroupIndex()
635 *ndx_rtrn = darray_size(keyi->groups) - 1; in GetGroupIndex()
648 if (*ndx_rtrn >= darray_size(keyi->groups)) in GetGroupIndex()
689 nLevels = darray_size(value->keysym_list.symsMapIndex); in AddSymbolsToKey()
[all …]
Drules.c348 darray_append(darray_item(m->groups, darray_size(m->groups) - 1).elements, in matcher_group_add_element()
577 if (darray_size(m->rmlvo.layouts) > 1) in matcher_mapping_verify()
581 if (darray_size(m->rmlvo.layouts) == 1 || in matcher_mapping_verify()
582 m->mapping.layout_idx >= darray_size(m->rmlvo.layouts)) in matcher_mapping_verify()
589 if (darray_size(m->rmlvo.variants) > 1) in matcher_mapping_verify()
593 if (darray_size(m->rmlvo.variants) == 1 || in matcher_mapping_verify()
594 m->mapping.variant_idx >= darray_size(m->rmlvo.variants)) in matcher_mapping_verify()
787 idx < darray_size(m->rmlvo.layouts) && in append_expanded_kccgst_value()
788 darray_size(m->rmlvo.layouts) > 1) in append_expanded_kccgst_value()
791 darray_size(m->rmlvo.layouts) == 1) in append_expanded_kccgst_value()
[all …]
Dkeycodes.c189 if (kc >= darray_size(info->key_names)) in AddKeyName()
277 if (darray_size(into->key_names) < darray_size(from->key_names)) in MergeIncludedKeycodes()
278 darray_resize0(into->key_names, darray_size(from->key_names)); in MergeIncludedKeycodes()
Dast-build.c228 unsigned nLevels = darray_size(expr->keysym_list.symsMapIndex); in ExprCreateMultiKeysymList()
241 unsigned nSyms = darray_size(expr->keysym_list.syms); in ExprAppendKeysymList()
253 unsigned nSyms = darray_size(expr->keysym_list.syms); in ExprAppendMultiKeysymList()
254 unsigned numEntries = darray_size(append->keysym_list.syms); in ExprAppendMultiKeysymList()
Dtypes.c482 if (level >= darray_size(type->level_names)) { in AddLevelName()
680 num_types = darray_empty(info->types) ? 1 : darray_size(info->types); in CopyKeyTypesToKeymap()
/external/libxkbcommon/src/
Datom.c150 assert(atom < darray_size(table->table)); in atom_text()
192 xkb_atom_t atom = darray_size(table->table); in atom_intern()
Dcontext-priv.c40 return darray_size(ctx->failed_includes); in xkb_context_num_failed_include_paths()
Ddarray.h86 #define darray_size(arr) ((arr).size) macro
Dcontext.c177 return darray_size(ctx->includes); in xkb_context_num_include_paths()
Dstate.c248 darray_resize0(state->filters, darray_size(state->filters) + 1); in xkb_filter_new()
249 filter = &darray_item(state->filters, darray_size(state->filters) -1); in xkb_filter_new()
/external/libxkbcommon/src/compose/
Dparser.c339 return darray_size(table->nodes) - 1; in add_node()
427 node->u.leaf.utf8 = darray_size(table->utf8); in add_production()