Lines Matching refs:affile

1987 static void aff_process_flags(afffile_T *affile, affentry_T *entry);
1998 static int get_affix_flags(afffile_T *affile, char_u *afflist);
1999 static int get_pfxlist(afffile_T *affile, char_u *afflist, char_u *store_afflist);
2000 static void get_compflags(afffile_T *affile, char_u *afflist, char_u *store_afflist);
2001 static int store_aff_word(spellinfo_T *spin, char_u *word, char_u *afflist, afffile_T *affile, hash…
3130 aff_process_flags(afffile_T *affile, affentry_T *entry) in aff_process_flags() argument
3137 && (affile->af_compforbid != 0 || affile->af_comppermit != 0)) in aff_process_flags()
3142 flag = get_affitem(affile->af_flagtype, &p); in aff_process_flags()
3143 if (flag == affile->af_comppermit || flag == affile->af_compforbid) in aff_process_flags()
3147 if (flag == affile->af_comppermit) in aff_process_flags()
3152 if (affile->af_flagtype == AFT_NUM && *p == ',') in aff_process_flags()
3493 spell_read_dic(spellinfo_T *spin, char_u *fname, afffile_T *affile) in spell_read_dic() argument
3654 flags |= get_affix_flags(affile, afflist); in spell_read_dic()
3656 if (affile->af_needaffix != 0 && flag_in_afflist( in spell_read_dic()
3657 affile->af_flagtype, afflist, affile->af_needaffix)) in spell_read_dic()
3660 if (affile->af_pfxpostpone) in spell_read_dic()
3662 pfxlen = get_pfxlist(affile, afflist, store_afflist); in spell_read_dic()
3667 get_compflags(affile, afflist, store_afflist + pfxlen); in spell_read_dic()
3679 if (store_aff_word(spin, dw, afflist, affile, in spell_read_dic()
3680 &affile->af_suff, &affile->af_pref, in spell_read_dic()
3685 if (store_aff_word(spin, dw, afflist, affile, in spell_read_dic()
3686 &affile->af_pref, NULL, in spell_read_dic()
3710 get_affix_flags(afffile_T *affile, char_u *afflist) in get_affix_flags() argument
3714 if (affile->af_keepcase != 0 && flag_in_afflist( in get_affix_flags()
3715 affile->af_flagtype, afflist, affile->af_keepcase)) in get_affix_flags()
3717 if (affile->af_rare != 0 && flag_in_afflist( in get_affix_flags()
3718 affile->af_flagtype, afflist, affile->af_rare)) in get_affix_flags()
3720 if (affile->af_bad != 0 && flag_in_afflist( in get_affix_flags()
3721 affile->af_flagtype, afflist, affile->af_bad)) in get_affix_flags()
3723 if (affile->af_needcomp != 0 && flag_in_afflist( in get_affix_flags()
3724 affile->af_flagtype, afflist, affile->af_needcomp)) in get_affix_flags()
3726 if (affile->af_comproot != 0 && flag_in_afflist( in get_affix_flags()
3727 affile->af_flagtype, afflist, affile->af_comproot)) in get_affix_flags()
3729 if (affile->af_nosuggest != 0 && flag_in_afflist( in get_affix_flags()
3730 affile->af_flagtype, afflist, affile->af_nosuggest)) in get_affix_flags()
3743 afffile_T *affile, in get_pfxlist() argument
3757 if (get_affitem(affile->af_flagtype, &p) != 0) in get_pfxlist()
3762 hi = hash_find(&affile->af_pref, key); in get_pfxlist()
3770 if (affile->af_flagtype == AFT_NUM && *p == ',') in get_pfxlist()
3785 afffile_T *affile, in get_compflags() argument
3798 if (get_affitem(affile->af_flagtype, &p) != 0) in get_compflags()
3802 hi = hash_find(&affile->af_comp, key); in get_compflags()
3806 if (affile->af_flagtype == AFT_NUM && *p == ',') in get_compflags()
3827 afffile_T *affile, in store_aff_word() argument
3864 && flag_in_afflist(affile->af_flagtype, afflist, in store_aff_word()
3880 if ((xht != NULL || !affile->af_pfxpostpone in store_aff_word()
3891 || !flag_in_afflist(affile->af_flagtype, in store_aff_word()
3892 ae->ae_flags, affile->af_circumfix)))) in store_aff_word()
3942 use_flags |= get_affix_flags(affile, ae->ae_flags); in store_aff_word()
3944 if (affile->af_needaffix != 0 && flag_in_afflist( in store_aff_word()
3945 affile->af_flagtype, ae->ae_flags, in store_aff_word()
3946 affile->af_needaffix)) in store_aff_word()
3952 if (affile->af_circumfix != 0 && flag_in_afflist( in store_aff_word()
3953 affile->af_flagtype, ae->ae_flags, in store_aff_word()
3954 affile->af_circumfix)) in store_aff_word()
3961 if (affile->af_pfxpostpone in store_aff_word()
3964 if (affile->af_pfxpostpone) in store_aff_word()
3966 use_pfxlen = get_pfxlist(affile, in store_aff_word()
3985 get_compflags(affile, ae->ae_flags, in store_aff_word()
4049 affile, &affile->af_suff, xht, in store_aff_word()
4061 afflist, affile, in store_aff_word()
4067 ae->ae_flags, affile, in store_aff_word()