Lines Matching refs:accentmap

111 static void	dump_accent_definition(char *name, accentmap_t *accentmap);
285 get_definition_line(FILE *file, keymap_t *keymap, accentmap_t *accentmap) in get_definition_line() argument
302 c = get_accent_definition_line(accentmap); in get_definition_line()
305 if (c > accentmap->n_accs) in get_definition_line()
306 accentmap->n_accs = c; in get_definition_line()
755 dump_accent_definition(char *name, accentmap_t *accentmap) in dump_accent_definition() argument
761 name, accentmap->n_accs); in dump_accent_definition()
762 if (accentmap->n_accs <= 0) { in dump_accent_definition()
769 c = accentmap->acc[i].accchar; in dump_accent_definition()
782 c = accentmap->acc[i].map[j][0]; in dump_accent_definition()
791 printf("0x%02x },", accentmap->acc[i].map[j][1]); in dump_accent_definition()
836 accentmap_t accentmap; in load_keymap() local
876 memset(&accentmap, 0, sizeof(accentmap)); in load_keymap()
879 if (get_definition_line(file, &keymap, &accentmap) < 0) in load_keymap()
891 dump_accent_definition(opt, &accentmap); in load_keymap()
900 if ((accentmap.n_accs > 0) in load_keymap()
901 && (ioctl(0, PIO_DEADKEYMAP, &accentmap) < 0)) { in load_keymap()
903 to_old_accentmap(&accentmap, &oaccentmap); in load_keymap()
937 accentmap_t accentmap; in print_keymap() local
945 if (ioctl(0, GIO_DEADKEYMAP, &accentmap) < 0) { in print_keymap()
948 to_new_accentmap(&oaccentmap, &accentmap); in print_keymap()
951 memset(&accentmap, 0, sizeof(accentmap)); in print_keymap()
964 print_accent_definition_line(stdout, i, &accentmap.acc[i]); in print_keymap()