Lines Matching refs:merge
35 enum merge_mode merge; member
42 enum merge_mode merge; member
64 InitAliasInfo(AliasInfo *info, enum merge_mode merge, in InitAliasInfo() argument
68 info->merge = merge; in InitAliasInfo()
89 AddLedName(KeyNamesInfo *info, enum merge_mode merge, bool same_file, in AddLedName() argument
96 const bool replace = (merge == MERGE_REPLACE || merge == MERGE_OVERRIDE); in AddLedName()
181 enum merge_mode merge, bool same_file, bool report) in AddKeyName() argument
209 else if (merge == MERGE_AUGMENT) { in AddKeyName()
230 if (merge == MERGE_OVERRIDE) { in AddKeyName()
253 HandleAliasDef(KeyNamesInfo *info, KeyAliasDef *def, enum merge_mode merge);
257 enum merge_mode merge) in MergeIncludedKeycodes() argument
285 if (!AddKeyName(into, i, name, merge, true, false)) in MergeIncludedKeycodes()
301 def.merge = (merge == MERGE_DEFAULT ? alias->merge : merge); in MergeIncludedKeycodes()
305 if (!HandleAliasDef(into, &def, def.merge)) in MergeIncludedKeycodes()
324 ledi->merge = (merge == MERGE_DEFAULT ? ledi->merge : merge); in MergeIncludedKeycodes()
325 if (!AddLedName(into, ledi->merge, false, ledi, idx)) in MergeIncludedKeycodes()
332 HandleKeycodesFile(KeyNamesInfo *info, XkbFile *file, enum merge_mode merge);
358 MergeIncludedKeycodes(&included, &next_incl, stmt->merge); in HandleIncludeKeycodes()
364 MergeIncludedKeycodes(info, &included, include->merge); in HandleIncludeKeycodes()
371 HandleKeycodeDef(KeyNamesInfo *info, KeycodeDef *stmt, enum merge_mode merge) in HandleKeycodeDef() argument
373 if (stmt->merge != MERGE_DEFAULT) { in HandleKeycodeDef()
374 if (stmt->merge == MERGE_REPLACE) in HandleKeycodeDef()
375 merge = MERGE_OVERRIDE; in HandleKeycodeDef()
377 merge = stmt->merge; in HandleKeycodeDef()
388 stmt->name, merge, false, true); in HandleKeycodeDef()
392 HandleAliasDef(KeyNamesInfo *info, KeyAliasDef *def, enum merge_mode merge) in HandleAliasDef() argument
408 use = (merge == MERGE_AUGMENT ? old->real : def->real); in HandleAliasDef()
409 ignore = (merge == MERGE_AUGMENT ? def->real : old->real); in HandleAliasDef()
421 old->merge = merge; in HandleAliasDef()
426 InitAliasInfo(&new, merge, def->alias, def->real); in HandleAliasDef()
458 enum merge_mode merge) in HandleLedNameDef() argument
478 ledi.merge = merge; in HandleLedNameDef()
480 return AddLedName(info, merge, true, &ledi, def->ndx - 1); in HandleLedNameDef()
484 HandleKeycodesFile(KeyNamesInfo *info, XkbFile *file, enum merge_mode merge) in HandleKeycodesFile() argument
497 ok = HandleKeycodeDef(info, (KeycodeDef *) stmt, merge); in HandleKeycodesFile()
500 ok = HandleAliasDef(info, (KeyAliasDef *) stmt, merge); in HandleKeycodesFile()
506 ok = HandleLedNameDef(info, (LedNameDef *) stmt, merge); in HandleKeycodesFile()
652 enum merge_mode merge) in CompileKeycodes() argument
658 HandleKeycodesFile(&info, file, merge); in CompileKeycodes()