Home
last modified time | relevance | path

Searched refs:tmpname (Results 1 – 5 of 5) sorted by relevance

/vim-8.2.3635/runtime/autoload/
H A Drustfmt.vim33 function! s:RunRustfmt(command, curw, tmpname) argument
45 call rename(a:tmpname, expand('%'))
83 call delete(a:tmpname)
91 let l:tmpname = expand("%:p:h") . "/." . expand("%:p:t") . ".rustfmt"
92 call writefile(getline(1, '$'), l:tmpname)
94 let command = s:RustfmtCommandRange(l:tmpname, a:line1, a:line2)
96 call s:RunRustfmt(command, l:curw, l:tmpname)
101 let l:tmpname = expand("%:p:h") . "/." . expand("%:p:t") . ".rustfmt"
102 call writefile(getline(1, '$'), l:tmpname)
104 let command = s:RustfmtCommand(l:tmpname)
[all …]
/vim-8.2.3635/src/
H A Ddosinst.c295 char *tmpname; in findoldfile() local
309 tmpname = alloc(strlen(cp) + 1); in findoldfile()
310 strcpy(tmpname, cp); in findoldfile()
311 tmpname[strlen(tmpname) - 1] = 'x'; // .exe -> .exx in findoldfile()
313 if (access(tmpname, 0) == 0) in findoldfile()
316 tmpname, cp, tmpname); in findoldfile()
320 if (rename(cp, tmpname) != 0) in findoldfile()
323 cp, tmpname, strerror(0)); in findoldfile()
329 if (rename(tmpname, cp) != 0) in findoldfile()
332 tmpname, cp, strerror(0)); in findoldfile()
[all …]
H A Dfileio.c968 if (tmpname != NULL) in readfile()
971 VIM_CLEAR(tmpname); in readfile()
1046 if (tmpname == NULL) in readfile()
1049 if (tmpname == NULL) in readfile()
2347 if (tmpname != NULL) in readfile()
2350 vim_free(tmpname); in readfile()
2828 char_u *tmpname; in readfile_charconvert() local
2832 if (tmpname == NULL) in readfile_charconvert()
2851 if (tmpname != NULL) in readfile_charconvert()
2854 VIM_CLEAR(tmpname); in readfile_charconvert()
[all …]
/vim-8.2.3635/runtime/syntax/
H A Dlua.vim145 syn keyword luaFunc setlocale execute remove rename tmpname
297 syn match luaFunc /\<os\.tmpname\>/
/vim-8.2.3635/runtime/doc/
H A Dtodo.txt5974 - Remove using mktemp() and use tmpname() only? Ctags does this.