Lines Matching refs:char_map
532 kcm_get_charmap_name(const char* kcm_file_path, AKeyCharmap* char_map) { in kcm_get_charmap_name() argument
533 kcm_extract_charmap_name(kcm_file_path, char_map->name, in kcm_get_charmap_name()
534 sizeof(char_map->name)); in kcm_get_charmap_name()
550 parse_kcm_file(const char* kcm_file_path, AKeyCharmap* char_map) { in parse_kcm_file() argument
561 char_map->num_entries = 0; in parse_kcm_file()
562 char_map->entries = 0; in parse_kcm_file()
572 kcm_get_charmap_name(kcm_file_path, char_map); in parse_kcm_file()
575 char_map->num_entries = 0; in parse_kcm_file()
576 AARRAY_NEW0(char_map->entries, map_size); in parse_kcm_file()
590 if (map_size == char_map->num_entries) { in parse_kcm_file()
591 AKeyEntry* entries = (AKeyEntry*)char_map->entries; in parse_kcm_file()
594 char_map->entries = (const AKeyEntry*)entries; in parse_kcm_file()
596 entries = (AKeyEntry*)char_map->entries; in parse_kcm_file()
597 entries[char_map->num_entries] = key_entry; in parse_kcm_file()
598 char_map->num_entries++; in parse_kcm_file()
618 if (0 != char_map->entries) { in parse_kcm_file()
619 AFREE((void*)char_map->entries); in parse_kcm_file()
620 char_map->entries = 0; in parse_kcm_file()
622 char_map->num_entries = 0; in parse_kcm_file()