Home
last modified time | relevance | path

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

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dsymbols.c132 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 …]
Drules.c340 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 …]
Dkeycodes.c187 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()
Dast-build.c204 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()
Dtypes.c481 if (level >= darray_size(type->level_names)) { in AddLevelName()
679 num_types = darray_empty(info->types) ? 1 : darray_size(info->types); in CopyKeyTypesToKeymap()
/external/libxkbcommon/xkbcommon/src/
Datom.c121 if (atom == XKB_ATOM_NONE || atom >= darray_size(table->table)) in atom_text()
219 node.atom = darray_size(table->table); in atom_intern()
Dcontext-priv.c39 return darray_size(ctx->failed_includes); in xkb_context_num_failed_include_paths()
Dcontext.c130 return darray_size(ctx->includes); in xkb_context_num_include_paths()
Ddarray.h86 #define darray_size(arr) ((arr).size) macro
Dstate.c250 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()
/external/libxkbcommon/xkbcommon/src/compose/
Dparser.c373 return darray_size(table->nodes) - 1; in add_node()
450 node->u.leaf.utf8 = darray_size(table->utf8); in add_production()