Lines Matching refs:wfname
5459 spell_make_sugfile(spellinfo_T *spin, char_u *wfname) in spell_make_sugfile() argument
5474 if (fullpathcmp(wfname, slang->sl_fname, FALSE, TRUE) == FPC_SAME) in spell_make_sugfile()
5479 slang = spell_load_file(wfname, NULL, NULL, FALSE); in spell_make_sugfile()
5528 vim_strncpy(fname, wfname, MAXPATHL - 1); in spell_make_sugfile()
5896 char_u *wfname; in mkspell() local
5925 wfname = alloc(MAXPATHL); in mkspell()
5926 if (wfname == NULL) in mkspell()
5937 vim_snprintf((char *)wfname, MAXPATHL, "%s.spl", fnames[0]); in mkspell()
5943 vim_snprintf((char *)wfname, MAXPATHL, SPL_FNAME_TMPL, in mkspell()
5949 vim_strncpy(wfname, fnames[0], MAXPATHL - 1); in mkspell()
5953 vim_snprintf((char *)wfname, MAXPATHL, SPL_FNAME_TMPL, in mkspell()
5957 if (strstr((char *)gettail(wfname), SPL_FNAME_ASCII) != NULL) in mkspell()
5961 if (strstr((char *)gettail(wfname), SPL_FNAME_ADD) != NULL) in mkspell()
5967 else if (vim_strchr(gettail(wfname), '_') != NULL) in mkspell()
5975 if (!over_write && mch_stat((char *)wfname, &st) >= 0) in mkspell()
5980 if (mch_isdir(wfname)) in mkspell()
5982 semsg(_(e_src_is_directory), wfname); in mkspell()
6092 _("Writing spell file %s..."), wfname); in mkspell()
6095 error = write_vim_spell(&spin, wfname) == FAIL; in mkspell()
6106 spell_reload_one(wfname, added_word); in mkspell()
6131 spell_make_sugfile(&spin, wfname); in mkspell()
6137 vim_free(wfname); in mkspell()