Home
last modified time | relevance | path

Searched refs:fd_tmp (Results 1 – 10 of 10) sorted by relevance

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-resources.c62 int fd_tmp; member
214 info[i].fd_tmp = -1; in waste_resources()
389 info[i].fd_tmp = open("/tmp", O_TMPFILE | O_RDWR | flag, in waste_resources()
393 if (info[i].fd_tmp != -1) { in waste_resources()
396 (void)shim_fallocate(info[i].fd_tmp, 0, 0, (off_t)sz); in waste_resources()
411 (void)fcntl(info[i].fd_tmp, F_SETLK, &f); in waste_resources()
620 if (info[i].fd_tmp != -1) in waste_resources()
621 (void)close(info[i].fd_tmp); in waste_resources()
/dports/security/hashcat/hashcat-6.2.5/src/
H A Dfilehandling.c119 int fd_tmp = open (path, O_RDONLY); in hc_fopen() local
121 if (fd_tmp != -1) in hc_fopen()
123 lseek (fd_tmp, 0, SEEK_SET); in hc_fopen()
125 if (read (fd_tmp, check, sizeof (check)) > 0) in hc_fopen()
139 close (fd_tmp); in hc_fopen()
/dports/editors/vim/vim-8.2.3745/src/
H A Dscriptfile.c1086 int fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0); in fopen_noinh_readbin() local
1088 int fd_tmp = mch_open(filename, O_RDONLY, 0); in fopen_noinh_readbin()
1091 if (fd_tmp == -1) in fopen_noinh_readbin()
1096 int fdflags = fcntl(fd_tmp, F_GETFD); in fopen_noinh_readbin()
1098 (void)fcntl(fd_tmp, F_SETFD, fdflags | FD_CLOEXEC); in fopen_noinh_readbin()
1102 return fdopen(fd_tmp, READBIN); in fopen_noinh_readbin()
/dports/benchmarks/pathchirp/pathchirp-2.4.1/Src/
H A Dpathchirp_rcv.c68 FILE *fd_tmp;/*for debugging*/ variable
/dports/dns/gdnsd2/gdnsd-2.4.3/t/
H A D_GDT.pm593 open(my $fd_tmp, ">$fn_tmp")
595 print $fd_tmp $content;
596 close($fd_tmp)
/dports/security/clamav/clamav-0.104.2/libclamav/
H A Dhtmlnorm.c645 int fd_tmp, tag_length = 0, tag_arg_length = 0, binary; in cli_html_normalise() local
693 fd_tmp = dup(fd); in cli_html_normalise()
694 if (fd_tmp < 0) { in cli_html_normalise()
697 stream_in = fdopen(fd_tmp, "r"); in cli_html_normalise()
699 close(fd_tmp); in cli_html_normalise()
/dports/security/clamav-lts/clamav-0.103.5/libclamav/
H A Dhtmlnorm.c645 int fd_tmp, tag_length = 0, tag_arg_length = 0, binary; in cli_html_normalise() local
693 fd_tmp = dup(fd); in cli_html_normalise()
694 if (fd_tmp < 0) { in cli_html_normalise()
697 stream_in = fdopen(fd_tmp, "r"); in cli_html_normalise()
699 close(fd_tmp); in cli_html_normalise()
/dports/sysutils/busybox/busybox-1.26.2/editors/
H A Ddiff.c739 int fd_tmp = xmkstemp(name); in diffreg() local
742 if (bb_copyfd_eof(fd, fd_tmp) < 0) in diffreg()
746 fd = fd_tmp; in diffreg()
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dex_cmds2.c1871 int fd_tmp = os_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0); in fopen_noinh_readbin() local
1873 int fd_tmp = os_open(filename, O_RDONLY, 0); in fopen_noinh_readbin()
1876 if (fd_tmp < 0) { in fopen_noinh_readbin()
1880 (void)os_set_cloexec(fd_tmp); in fopen_noinh_readbin()
1882 return fdopen(fd_tmp, READBIN); in fopen_noinh_readbin()
/dports/audio/easytag/easytag-2.4.3/src/
H A Dbrowser.c4205 gint fd_tmp; in Rename_Directory() local
4357 if ((fd_tmp = g_mkstemp (tmp_path)) >= 0) in Rename_Directory()
4360 g_close (fd_tmp, NULL); in Rename_Directory()