Lines Matching refs:fname

21 static void	cmd_source __ARGS((char_u *fname, exarg_T *eap));
426 static linenr_T debuggy_find __ARGS((int file,char_u *fname, linenr_T after, garray_T *gap, int *fp));
710 dbg_find_breakpoint(file, fname, after)
712 char_u *fname; /* file or function name */
715 return debuggy_find(file, fname, after, &dbg_breakp, NULL);
723 has_profiling(file, fname, fp)
725 char_u *fname; /* file or function name */
728 return (debuggy_find(file, fname, (linenr_T)0, &prof_ga, fp)
737 debuggy_find(file, fname, after, gap, fp)
739 char_u *fname; /* file or function name */
748 char_u *name = fname;
756 if (!file && fname[0] == K_SPECIAL)
758 name = alloc((unsigned)STRLEN(fname) + 3);
760 name = fname;
764 STRCPY(name + 5, fname + 3);
797 if (name != fname)
1095 EMSG(_("E750: First use \":profile start {fname}\""));
1476 char_u *fname;
1478 fname = do_browse(BROWSE_SAVE, (char_u *)_("Save As"),
1480 if (fname != NULL)
1482 if (setfname(buf, fname, NULL, TRUE) == OK)
1484 vim_free(fname);
2620 static void source_callback __ARGS((char_u *fname, void *cookie));
2623 source_callback(fname, cookie)
2624 char_u *fname;
2627 (void)do_source(fname, FALSE, DOSO_NONE);
2646 * it: callback(fname, "cookie")
2655 void (*callback)__ARGS((char_u *fname, void *ck));
2761 * ":source {fname}"
2770 char_u *fname = NULL;
2772 fname = do_browse(0, (char_u *)_("Source Vim script"), eap->arg,
2774 if (fname != NULL)
2776 cmd_source(fname, eap);
2777 vim_free(fname);
2786 cmd_source(fname, eap)
2787 char_u *fname;
2790 if (*fname == NUL)
2802 openscript(fname, global_busy || listcmd_busy || eap->nextcmd != NULL
2809 else if (do_source(fname, FALSE, DOSO_NONE) == FAIL)
2810 EMSG2(_(e_notopen), fname);
2833 char_u *fname; /* name of sourced file */
2911 * do_source: Read the file "fname" and execute its lines as EX commands.
2918 do_source(fname, check_other, is_vimrc)
2919 char_u *fname;
2950 p = mch_munge_fname(fname);
2952 p = expand_env_save(fname);
2962 smsg((char_u *)_("Cannot source a directory: \"%s\""), fname);
3033 smsg((char_u *)_("could not source \"%s\""), fname);
3036 sourcing_lnum, fname);
3051 smsg((char_u *)_("sourcing \"%s\""), fname);
3054 sourcing_lnum, fname);
3088 cookie.fname = fname_exp;
3245 smsg((char_u *)_("finished sourcing %s"), fname);
3253 vim_snprintf((char *)IObuff, IOSIZE, "sourcing %s", fname);
3435 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, sourcing_lnum);
3504 dbg_breakpoint(sp->fname, sourcing_lnum);
3506 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, sourcing_lnum);