| /src/external/bsd/ipf/dist/tools/ |
| ipsyncm.c | 64 int nfd = -1, lfd = -1, n1, n2, n3, len; local 101 if (lfd != -1) 102 close(lfd); 106 lfd = open(IPSYNC_NAME, O_RDONLY); 107 if (lfd == -1) { 129 n1 = read(lfd, buff+inbuf, BUFFERLEN-inbuf); 247 if (lfd != -1) 248 close(lfd);
|
| ipsyncs.c | 60 int nfd = -1 , lfd = -1; local 90 lfd = open(IPSYNC_NAME, O_WRONLY); 91 if (lfd == -1) { 112 if (lfd != -1) 113 close(lfd); 117 lfd = open(IPSYNC_NAME, O_WRONLY); 118 if (lfd == -1) { 227 n3 = write(lfd, buff, n2); 266 if (lfd != -1) 267 close(lfd); [all...] |
| ipfsyncd.c | 63 int lfd = -1; variable 173 if (lfd != -1) { 174 close(lfd); 175 lfd = -1; 189 lfd = open(IPSYNC_NAME, O_RDWR); 190 if (lfd == -1) { 208 if (lfd != -1) 209 close(lfd); 232 FD_SET(lfd, &mrd); 235 if (lfd > maxfd [all...] |
| /src/sbin/veriexecctl/ |
| veriexecctl.c | 240 int lfd; local 247 lfd = open(file, O_RDONLY|O_EXLOCK, 0); 248 if (lfd == -1) 251 yyin = fdopen(lfd, "r");
|
| /src/crypto/external/apache2/openssl/dist/ssl/rio/ |
| rio_notifier.c | 149 int rc, lfd = -1, rfd = -1, wfd = -1; local 161 lfd = create_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 162 if (lfd == INVALID_SOCKET) { 171 rc = bind(lfd, (const struct sockaddr *)&sa, sizeof(sa)); 179 rc = getsockname(lfd, (struct sockaddr *)&sa, &sa_len); 187 rc = listen(lfd, 1); 225 rfd = accept(lfd, (struct sockaddr *)&accept_sa, &accept_sa_len); 240 BIO_closesocket(lfd); 241 lfd = -1; 271 if (lfd != INVALID_SOCKET [all...] |
| /src/libexec/mail.local/ |
| mail.local.c | 200 int created = 0, mbfd = -1, nr, nw, off, rval = EX_OSERR, lfd = -1; local 223 if((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL, 304 if (lfd >= 0) { 306 close(lfd);
|
| /src/usr.sbin/lpr/lpd/ |
| lpd.c | 148 int lfd, errs, i, f, nfds; local 242 lfd = open(_PATH_MASTERLOCK, O_WRONLY|O_CREAT, 0644); 243 if (lfd < 0) { 247 if (flock(lfd, LOCK_EX|LOCK_NB) < 0) { 256 ftruncate(lfd, 0); 262 if (write(lfd, line, f) != f) {
|
| printjob.c | 98 static int lfd; /* lock file descriptor */ variable 185 lfd = open(LO, O_WRONLY|O_CREAT, 0644); 186 if (lfd < 0) { 190 if (flock(lfd, LOCK_EX|LOCK_NB) < 0) { 196 ftruncate(lfd, 0); 201 if (write(lfd, line, i) != i) { 231 if (fchmod(lfd, stb.st_mode & 0777) < 0) 247 (void)lseek(lfd, pidoff, 0); 249 if (write(lfd, line, i) != i) 259 if (fstat(lfd, &stb) == 0) [all...] |
| /src/external/gpl3/gcc/dist/gcc/cp/ |
| search.cc | 1914 locate_field_data *lfd = (locate_field_data *)data; 1930 if (field_accessor_p (fn, lfd->field_decl, lfd->const_p)) 1947 locate_field_data lfd (field_decl, const_p); 1950 NULL, &lfd); 1912 locate_field_data *lfd = (locate_field_data *)data; local
|
| /src/external/gpl3/gcc.old/dist/gcc/cp/ |
| search.cc | 1853 locate_field_data *lfd = (locate_field_data *)data; 1869 if (field_accessor_p (fn, lfd->field_decl, lfd->const_p)) 1886 locate_field_data lfd (field_decl, const_p); 1889 NULL, &lfd); 1851 locate_field_data *lfd = (locate_field_data *)data; local
|