Home
last modified time | relevance | path

Searched refs:fnames (Results 1 – 16 of 16) sorted by relevance

/vim-8.2.3635/src/
H A Dhelp.c794 char_u **fnames; in fix_help_buffer() local
809 &fnames, EW_FILE|EW_SILENT) == OK in fix_help_buffer()
826 if (fnames[i1] == NULL || fnames[i2] == NULL) in fix_help_buffer()
828 f1 = fnames[i1]; in fix_help_buffer()
829 f2 = fnames[i2]; in fix_help_buffer()
840 VIM_CLEAR(fnames[i1]); in fix_help_buffer()
849 VIM_CLEAR(fnames[i1]); in fix_help_buffer()
855 if (fnames[fi] == NULL) in fix_help_buffer()
857 fd = mch_fopen((char *)fnames[fi], "r"); in fix_help_buffer()
920 FreeWild(fcount, fnames); in fix_help_buffer()
H A Dtesting.c1354 char_u **fnames; in f_test_gui_drop_files() local
1373 fnames = ALLOC_MULT(char_u *, list_len(l)); in f_test_gui_drop_files()
1374 if (fnames == NULL) in f_test_gui_drop_files()
1383 fnames[count] = vim_strsave(li->li_tv.vval.v_string); in f_test_gui_drop_files()
1384 if (fnames[count] == NULL) in f_test_gui_drop_files()
1387 vim_free(fnames[count]); in f_test_gui_drop_files()
1388 vim_free(fnames); in f_test_gui_drop_files()
1395 gui_handle_drop(TEXT_X(col - 1), TEXT_Y(row - 1), mods, fnames, count); in f_test_gui_drop_files()
1397 vim_free(fnames); in f_test_gui_drop_files()
H A Dscriptfile.c783 char_u **fnames = (char_u **)gap->ga_data; in remove_duplicates() local
785 sort_strings(fnames, gap->ga_len); in remove_duplicates()
787 if (fnamecmp(fnames[i - 1], fnames[i]) == 0) in remove_duplicates()
789 vim_free(fnames[i]); in remove_duplicates()
791 fnames[j - 1] = fnames[j]; in remove_duplicates()
H A Dgui.c5537 char_u **fnames, in gui_handle_drop() argument
5559 shorten_filenames(fnames, count); in gui_handle_drop()
5562 if (fnames[i] != NULL) in gui_handle_drop()
5571 p = vim_strsave_escaped(fnames[i], (char_u *)" \t\"|"); in gui_handle_drop()
5578 vim_free(fnames[i]); in gui_handle_drop()
5581 vim_free(fnames); in gui_handle_drop()
5588 shorten_filenames(fnames, count); in gui_handle_drop()
5592 p = vim_strsave(fnames[0]); in gui_handle_drop()
5600 && mch_isdir(fnames[0])) in gui_handle_drop()
5602 vim_free(fnames[0]); in gui_handle_drop()
[all …]
H A Dspellfile.c5435 char_u **fnames; in ex_mkspell() local
5446 if (get_arglist_exp(arg, &fcount, &fnames, FALSE) == OK) in ex_mkspell()
5448 mkspell(fcount, fnames, ascii, eap->forceit, FALSE); in ex_mkspell()
5449 FreeWild(fcount, fnames); in ex_mkspell()
5890 char_u **fnames, in mkspell() argument
5922 innames = &fnames[fcount == 1 ? 0 : 1]; in mkspell()
5931 len = (int)STRLEN(fnames[0]); in mkspell()
5944 fnames[0], spin.si_ascii ? (char_u *)"ascii" : spell_enc()); in mkspell()
5946 else if (len > 4 && STRCMP(fnames[0] + len - 4, ".spl") == 0) in mkspell()
5949 vim_strncpy(wfname, fnames[0], MAXPATHL - 1); in mkspell()
[all …]
H A Dfindfile.c2424 char_u **fnames = (char_u **)gap->ga_data; in uniquefy_paths() local
2471 char_u *path = fnames[i]; in uniquefy_paths()
2564 STRCPY(fnames[i], short_name); in uniquefy_paths()
2575 vim_free(fnames[i]); in uniquefy_paths()
2576 fnames[i] = rel_path; in uniquefy_paths()
H A Dquickfix.c6077 char_u **fnames; // list of files to search member
6192 fname = shorten_fname1(cmd_args->fnames[fi]); in vgr_process_files()
6359 FreeWild(args.fcount, args.fnames); in ex_vimgrep()
6364 FreeWild(args.fcount, args.fnames); in ex_vimgrep()
8118 char_u **fnames; in hgr_search_files_in_dir() local
8125 &fnames, EW_FILE|EW_SILENT) == OK in hgr_search_files_in_dir()
8133 && STRNICMP(lang, fnames[fi] in hgr_search_files_in_dir()
8134 + STRLEN(fnames[fi]) - 3, 2) != 0 in hgr_search_files_in_dir()
8136 && STRNICMP("txt", fnames[fi] in hgr_search_files_in_dir()
8137 + STRLEN(fnames[fi]) - 3, 3) == 0)) in hgr_search_files_in_dir()
[all …]
H A Dgui_haiku.cc700 char_u **fnames; in RefsReceived() local
701 fnames = (char_u **) alloc(count * sizeof(char_u *)); in RefsReceived()
734 fnames[fname_index++] = vim_strsave(fname); in RefsReceived()
750 fnames[fname_index++] = vim_strsave((char_u *)fname); in RefsReceived()
763 handle_drop(fname_index, fnames, FALSE, drop_callback, NULL); in RefsReceived()
768 vim_free(fnames); in RefsReceived()
H A Dfileio.c3462 shorten_filenames(char_u **fnames, int count) in shorten_filenames() argument
3468 if (fnames == NULL || count < 1) in shorten_filenames()
3473 if ((p = shorten_fname(fnames[i], dirname)) != NULL) in shorten_filenames()
3479 vim_free(fnames[i]); in shorten_filenames()
3480 fnames[i] = p; in shorten_filenames()
H A Dgui_w32.c3718 char_u **fnames; in _OnDropFiles() local
3730 fnames = ALLOC_MULT(char_u *, cFiles); in _OnDropFiles()
3732 if (fnames != NULL) in _OnDropFiles()
3736 fnames[i] = utf16_to_enc(wszFile, NULL); in _OnDropFiles()
3740 fnames[i] = vim_strsave((char_u *)szFile); in _OnDropFiles()
3746 if (fnames != NULL) in _OnDropFiles()
3755 gui_handle_drop(pt.x, pt.y, modifiers, fnames, cFiles); in _OnDropFiles()
H A Dgui_gtk_x11.c2009 char_u **fnames; in drag_handle_uri_list() local
2012 fnames = parse_uri_list(&nfiles, in drag_handle_uri_list()
2016 if (fnames != NULL && nfiles > 0) in drag_handle_uri_list()
2024 gui_handle_drop(x, y, modifiers, fnames, nfiles); in drag_handle_uri_list()
2027 vim_free(fnames); in drag_handle_uri_list()
/vim-8.2.3635/src/testdir/
H A Dtest_stat.vim6 let fnames = ['Xtest1.tmp', 'Xtest2.tmp', 'Xtest3.tmp']
13 for fname in fnames
24 call assert_equal(strlen(fl[0] . "\n"), fnames[0]->getfsize())
25 call assert_equal('file', fnames[0]->getftype())
26 call assert_equal('rw-', getfperm(fnames[0])[0:2])
30 for fname in fnames
/vim-8.2.3635/src/proto/
H A Dspellfile.pro6 void mkspell(int fcount, char_u **fnames, int ascii, int over_write, int added_word);
H A Dfileio.pro24 void shorten_filenames(char_u **fnames, int count);
H A Dgui.pro68 void gui_handle_drop(int x, int y, int_u modifiers, char_u **fnames, int count);
/vim-8.2.3635/runtime/autoload/
H A Dccomplete.vim498 let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
499 if fnames == ''
517 exe 'silent! keepj noautocmd ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames