• Home
  • Raw
  • Download

Lines Matching refs:into

234 MergeGroups(SymbolsInfo *info, GroupInfo *into, GroupInfo *from, bool clobber,  in MergeGroups()  argument
241 if (into->type != from->type) { in MergeGroups()
244 else if (into->type == XKB_ATOM_NONE) { in MergeGroups()
245 into->type = from->type; in MergeGroups()
248 xkb_atom_t use = (clobber ? from->type : into->type); in MergeGroups()
249 xkb_atom_t ignore = (clobber ? into->type : from->type); in MergeGroups()
259 into->type = use; in MergeGroups()
262 into->defined |= (from->defined & GROUP_FIELD_TYPE); in MergeGroups()
271 if (darray_empty(into->levels)) { in MergeGroups()
272 from->type = into->type; in MergeGroups()
273 *into = *from; in MergeGroups()
279 levels_in_both = MIN(darray_size(into->levels), darray_size(from->levels)); in MergeGroups()
281 struct xkb_level *intoLevel = &darray_item(into->levels, i); in MergeGroups()
337 darray_append(into->levels, *level); in MergeGroups()
340 into->defined |= (from->defined & GROUP_FIELD_ACTS); in MergeGroups()
341 into->defined |= (from->defined & GROUP_FIELD_SYMS); in MergeGroups()
365 MergeKeys(SymbolsInfo *info, KeyInfo *into, KeyInfo *from, bool same_file) in MergeKeys() argument
375 ClearKeyInfo(into); in MergeKeys()
376 *into = *from; in MergeKeys()
381 groups_in_both = MIN(darray_size(into->groups), darray_size(from->groups)); in MergeKeys()
384 &darray_item(into->groups, i), in MergeKeys()
386 clobber, report, i, into->name); in MergeKeys()
389 darray_append(into->groups, darray_item(from->groups, i)); in MergeKeys()
393 if (UseNewKeyField(KEY_FIELD_VMODMAP, into->defined, from->defined, in MergeKeys()
395 into->vmodmap = from->vmodmap; in MergeKeys()
396 into->defined |= KEY_FIELD_VMODMAP; in MergeKeys()
398 if (UseNewKeyField(KEY_FIELD_REPEAT, into->defined, from->defined, in MergeKeys()
400 into->repeat = from->repeat; in MergeKeys()
401 into->defined |= KEY_FIELD_REPEAT; in MergeKeys()
403 if (UseNewKeyField(KEY_FIELD_DEFAULT_TYPE, into->defined, from->defined, in MergeKeys()
405 into->default_type = from->default_type; in MergeKeys()
406 into->defined |= KEY_FIELD_DEFAULT_TYPE; in MergeKeys()
408 if (UseNewKeyField(KEY_FIELD_GROUPINFO, into->defined, from->defined, in MergeKeys()
410 into->out_of_range_group_action = from->out_of_range_group_action; in MergeKeys()
411 into->out_of_range_group_number = from->out_of_range_group_number; in MergeKeys()
412 into->defined |= KEY_FIELD_GROUPINFO; in MergeKeys()
419 KeyNameText(info->ctx, into->name), in MergeKeys()
499 MergeIncludedSymbols(SymbolsInfo *into, SymbolsInfo *from, in MergeIncludedSymbols() argument
508 into->errorCount += from->errorCount; in MergeIncludedSymbols()
512 into->mods = from->mods; in MergeIncludedSymbols()
514 if (into->name == NULL) { in MergeIncludedSymbols()
515 into->name = from->name; in MergeIncludedSymbols()
519 group_names_in_both = MIN(darray_size(into->group_names), in MergeIncludedSymbols()
525 if (merge == MERGE_AUGMENT && darray_item(into->group_names, i)) in MergeIncludedSymbols()
528 darray_item(into->group_names, i) = darray_item(from->group_names, i); in MergeIncludedSymbols()
532 darray_append(into->group_names, *group_name); in MergeIncludedSymbols()
534 if (darray_empty(into->keys)) { in MergeIncludedSymbols()
535 into->keys = from->keys; in MergeIncludedSymbols()
541 if (!AddKeySymbols(into, keyi, false)) in MergeIncludedSymbols()
542 into->errorCount++; in MergeIncludedSymbols()
546 if (darray_empty(into->modmaps)) { in MergeIncludedSymbols()
547 into->modmaps = from->modmaps; in MergeIncludedSymbols()
553 if (!AddModMapEntry(into, mm)) in MergeIncludedSymbols()
554 into->errorCount++; in MergeIncludedSymbols()