Home
last modified time | relevance | path

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

/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dposix_test.pyx50 cdef int fd_save, fd
53 self.fd_save = -1
60 assert self.fd_save == -1
64 self.fd_save = dup(self.fd)
65 assert self.fd_save != -1
70 ret = close(self.fd_save)
71 self.fd_save = -1
77 if self.fd_save != -1:
78 ret = dup2(self.fd_save, self.fd)
80 ret = close(self.fd_save)
[all …]
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dposix_test.pyx50 cdef int fd_save, fd
53 self.fd_save = -1
60 assert self.fd_save == -1
64 self.fd_save = dup(self.fd)
65 assert self.fd_save != -1
70 ret = close(self.fd_save)
71 self.fd_save = -1
77 if self.fd_save != -1:
78 ret = dup2(self.fd_save, self.fd)
80 ret = close(self.fd_save)
[all …]
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tools/fiwalk/src/
H A Dcontent.cpp180 if(fd_save<0){ in open_savefile()
182 fd_save = 0; in open_savefile()
346 if(fd_save){ in add_bytes()
347 if(lseek(fd_save,file_offset,SEEK_SET)<0){ in add_bytes()
349 close(fd_save); in add_bytes()
350 fd_save=0; in add_bytes()
352 if(fd_save){ in add_bytes()
357 close(fd_save); in add_bytes()
358 fd_save=0; in add_bytes()
385 close(fd_save); in ~content()
[all …]
H A Dcontent.h42 int fd_save; // where the file gets saved (fd_save>0) variable
61 fd_save(0), in content()
/dports/www/trafficserver/trafficserver-9.1.1/iocore/dns/
H A DDNSConnection.cc68 int fd_save = fd; in close() local
70 return socketManager.close(fd_save); in close()
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/
H A DConnection.cc101 int fd_save = fd; in close() local
103 return socketManager.close(fd_save); in close()
/dports/mail/cone/cone-1.1/libmail/
H A Dsmtp.C298 int fd_save=getfd(); in handler() local
348 if (fds[i].fd == fd_save) in handler()
H A Dnntp.C105 int fd_save=getfd(); in handler() local
161 if (fds[i].fd == fd_save) in handler()
H A Dimap.C420 int fd_save=getfd(); in handler() local
461 if (fds[i].fd == fd_save) in handler()
H A Dpop3.C2022 int fd_save=getfd(); in handler() local
2032 if (fd_save >= 0 && lastTaskCompleted) in handler()
2074 if (fds[i].fd == fd_save) in handler()