Searched refs:darray_item (Results 1 – 12 of 12) sorted by relevance
/external/libxkbcommon/xkbcommon/src/compose/ |
D | state.c | 108 node = &darray_item(state->table->nodes, state->context); in xkb_compose_state_feed() 111 node = &darray_item(state->table->nodes, context); in xkb_compose_state_feed() 115 node = &darray_item(state->table->nodes, context); in xkb_compose_state_feed() 138 prev_node = &darray_item(state->table->nodes, state->prev_context); in xkb_compose_state_get_status() 139 node = &darray_item(state->table->nodes, state->context); in xkb_compose_state_get_status() 158 &darray_item(state->table->nodes, state->context); in xkb_compose_state_get_utf8() 180 &darray_item(state->table->utf8, node->u.leaf.utf8)); in xkb_compose_state_get_utf8() 192 &darray_item(state->table->nodes, state->context); in xkb_compose_state_get_one_sym()
|
D | parser.c | 385 node = &darray_item(table->nodes, curr); in add_production() 402 node = &darray_item(table->nodes, curr); in add_production() 407 node = &darray_item(table->nodes, curr); in add_production() 424 node = &darray_item(table->nodes, curr); in add_production() 431 node = &darray_item(table->nodes, curr); in add_production() 440 if (streq(&darray_item(table->utf8, node->u.leaf.utf8), in add_production()
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | symbols.c | 133 if (darray_item(from->levels, j).num_syms > 1) in CopyGroupInfo() 134 darray_item(to->levels, j).u.syms = in CopyGroupInfo() 135 memdup(darray_item(from->levels, j).u.syms, in CopyGroupInfo() 136 darray_item(from->levels, j).num_syms, in CopyGroupInfo() 281 struct xkb_level *intoLevel = &darray_item(into->levels, i); in MergeGroups() 282 struct xkb_level *fromLevel = &darray_item(from->levels, i); in MergeGroups() 384 &darray_item(into->groups, i), in MergeKeys() 385 &darray_item(from->groups, i), in MergeKeys() 389 darray_append(into->groups, darray_item(from->groups, i)); in MergeKeys() 390 InitGroupInfo(&darray_item(from->groups, i)); in MergeKeys() [all …]
|
D | keycodes.c | 171 if (darray_item(info->key_names, i) == name) in FindKeyByName() 194 old_name = darray_item(info->key_names, kc); in AddKeyName() 219 darray_item(info->key_names, kc) = XKB_ATOM_NONE; in AddKeyName() 229 darray_item(info->key_names, old_kc) = XKB_ATOM_NONE; in AddKeyName() 244 darray_item(info->key_names, kc) = name; in AddKeyName() 279 xkb_atom_t name = darray_item(from->key_names, i); in MergeIncludedKeycodes() 548 keys[kc].name = darray_item(info->key_names, kc); in CopyKeyNamesToKeymap()
|
D | rules.c | 340 darray_append(darray_item(m->groups, darray_size(m->groups) - 1).elements, in matcher_group_add_element() 694 expanded_value = &darray_item(m->rmlvo.layouts, idx); in append_expanded_kccgst_value() 697 expanded_value = &darray_item(m->rmlvo.layouts, 0); in append_expanded_kccgst_value() 703 expanded_value = &darray_item(m->rmlvo.variants, idx); in append_expanded_kccgst_value() 706 expanded_value = &darray_item(m->rmlvo.variants, 0); in append_expanded_kccgst_value() 733 ch = (darray_empty(expanded) ? '\0' : darray_item(expanded, 0)); in append_expanded_kccgst_value() 735 ch = (darray_empty(*to) ? '\0' : darray_item(*to, 0)); in append_expanded_kccgst_value() 779 to = &darray_item(m->rmlvo.layouts, idx); in matcher_rule_apply_if_matches() 785 to = &darray_item(m->rmlvo.variants, idx); in matcher_rule_apply_if_matches()
|
D | types.c | 487 if (darray_item(type->level_names, level) == name) { in AddLevelName() 495 if (darray_item(type->level_names, level) != XKB_ATOM_NONE) { in AddLevelName() 498 darray_item(type->level_names, level)); in AddLevelName() 513 darray_item(type->level_names, level) = name; in AddLevelName() 700 KeyTypeInfo *def = &darray_item(info->types, i); in CopyKeyTypesToKeymap()
|
D | ast-build.c | 208 darray_item(expr->keysym_list.symsMapIndex, 0) = 0; in ExprCreateMultiKeysymList() 209 darray_item(expr->keysym_list.symsNumEntries, 0) = nLevels; in ExprCreateMultiKeysymList()
|
/external/libxkbcommon/xkbcommon/src/ |
D | atom.c | 124 return darray_item(table->table, atom).string; in atom_text() 141 struct atom_node *node = &darray_item(table->table, *atomp); in find_atom_pointer()
|
D | context-priv.c | 49 return darray_item(ctx->failed_includes, idx); in xkb_context_failed_include_path_get()
|
D | context.c | 143 return darray_item(ctx->includes, idx); in xkb_context_include_path_get()
|
D | darray.h | 85 #define darray_item(arr, i) ((arr).item[i]) macro
|
D | state.c | 251 filter = &darray_item(state->filters, darray_size(state->filters) -1); in xkb_filter_new()
|