Home
last modified time | relevance | path

Searched refs:filein (Results 1 – 2 of 2) sorted by relevance

/third_party/toybox/toys/posix/
Dpatch.c57 int context, state, filein, fileout, filepatch, hunknum;
88 if (TT.tempname) replace_tempfile(TT.filein, TT.fileout, &TT.tempname); in finish_oldfile()
89 TT.fileout = TT.filein = -1; in finish_oldfile()
106 if (!FLAG(dry_run)) delete_tempfile(TT.filein, TT.fileout, &TT.tempname); in fail_hunk()
157 char *data = get_line(TT.filein); in apply_one_hunk()
292 TT.filein = TT.fileout = -1; in patch_main()
384 if (TT.filein == -1) { in patch_main()
421 TT.filein = xcreate(name, O_CREAT|O_EXCL|O_RDWR, 0666); in patch_main()
424 TT.filein = xopenro(name); in patch_main()
427 else TT.fileout = copy_tempfile(TT.filein, name, &TT.tempname); in patch_main()
/third_party/toybox/generated/
Dglobals.h1300 int context, state, filein, fileout, filepatch, hunknum; member