Searched refs:fd (Results 1 - 25 of 39) sorted by relevance

12

/forgerock/web-agents-v4/zlib/
H A Dgzlib.c91 local gzFile gz_open(path, fd, mode)
93 int fd;
192 if (fd == -2) {
206 if (fd == -2)
240 /* open the file with the appropriate flags (or just use fd) */
241 state->fd = fd > -1 ? fd : (
243 fd == -2 ? _wopen(path, oflag, 0666) :
246 if (state->fd
[all...]
H A Dzutil.h128 # define fdopen(fd,mode) NULL /* No fdopen() */
149 # define fdopen(fd,mode) NULL /* No fdopen() */
154 # define fdopen(fd,mode) NULL /* No fdopen() */
160 # define fdopen(fd,type) _fdopen(fd,type)
H A Dgzguts.h169 int fd; /* file descriptor */ member in struct:__anon115
170 char *path; /* path or fd for error messages */
H A Dgzwrite.c84 got = write(state->fd, strm->next_in, strm->avail_in);
101 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
573 if (close(state->fd) == -1)
H A Dgzread.c17 state->fd, and update state->eof, state->err, and state->msg as appropriate.
30 ret = read(state->fd, buf + *have, len - *have);
591 ret = close(state->fd);
H A Dzlib.h1264 ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode));
1266 gzdopen associates a gzFile with the file descriptor fd. File descriptors
1271 descriptor fd, just like fclose(fdopen(fd, mode)) closes the file descriptor
1272 fd. If you want to keep fd open, use fd = dup(fd_keep); gz = gzdopen(fd,
1274 gzdopen does not close fd if it fails. If you are using fileno() to get the
1282 provided, or '+' was provided), or if fd i
[all...]
/forgerock/web-agents-v4/source/
H A Dshared.c259 am->pool = mmap(NULL, *(am->global_size), PROT_READ | PROT_WRITE, MAP_SHARED, am->fd, 0);
343 if (am->fd != -1) {
344 close(am->fd);
570 ret->fd = shm_open(ret->name[1], O_CREAT | O_EXCL | O_RDWR, 0666);
572 if (ret->fd == -1 && error != EEXIST) {
578 if (ret->fd == -1) {
579 ret->fd = shm_open(ret->name[1], O_RDWR, 0666);
581 if (ret->fd == -1) {
588 fdflags = fcntl(ret->fd, F_GETFD);
590 fcntl(ret->fd, F_SETF
[all...]
H A Dutility.c1109 int fd; local
1115 fd = _open(filepath, _O_BINARY | _O_RDONLY);
1117 fd = open(filepath, O_RDONLY);
1119 if (fd == -1) {
1124 if (st.st_size != read(fd, text, st.st_size)) {
1125 close(fd);
1134 close(fd);
1139 int fd; local
1143 fd = _open(filepath, _O_CREAT | _O_WRONLY | _O_TRUNC | _O_BINARY, _S_IWRITE);
1145 fd
[all...]
H A Dadmin.c2124 struct tm fd; local
2141 localtime_r(&tv, &fd);
2157 zi.tmz_date.tm_sec = fd.tm_sec;
2158 zi.tmz_date.tm_min = fd.tm_min;
2159 zi.tmz_date.tm_hour = fd.tm_hour;
2160 zi.tmz_date.tm_mday = fd.tm_mday;
2161 zi.tmz_date.tm_mon = fd.tm_mon;
2162 zi.tmz_date.tm_year = fd.tm_year;
H A Dutility.h85 int fd; member in struct:__anon110
H A Dnet_client.c484 fds[0].fd = n->sock;
627 fds[0].fd = n->sock;
670 fds[0].fd = n->sock;
/forgerock/opendj2/src/build-tools/windows/
H A Dservice.c441 int fd; local
450 fd = _open(lockFile, _O_RDWR);
452 if (fd != -1)
461 if(_locking(fd, LK_NBLCK, 1) != -1)
468 _locking(fd, LK_UNLCK, 1);
487 _close(fd);
/forgerock/opendj-b2.6/src/build-tools/windows/
H A Dservice.c442 int fd; local
451 fd = _open(lockFile, _O_RDWR);
453 if (fd != -1)
462 if(_locking(fd, LK_NBLCK, 1) != -1)
469 _locking(fd, LK_UNLCK, 1);
488 _close(fd);
/forgerock/opendj2.6.2/src/build-tools/windows/
H A Dservice.c442 int fd; local
451 fd = _open(lockFile, _O_RDWR);
453 if (fd != -1)
462 if(_locking(fd, LK_NBLCK, 1) != -1)
469 _locking(fd, LK_UNLCK, 1);
488 _close(fd);
/forgerock/opendj2-hg/src/build-tools/windows/
H A Dservice.c441 int fd; local
450 fd = _open(lockFile, _O_RDWR);
452 if (fd != -1)
461 if(_locking(fd, LK_NBLCK, 1) != -1)
468 _locking(fd, LK_UNLCK, 1);
487 _close(fd);
/forgerock/opendj2-jel-hg/src/build-tools/windows/
H A Dservice.c442 int fd; local
451 fd = _open(lockFile, _O_RDWR);
453 if (fd != -1)
462 if(_locking(fd, LK_NBLCK, 1) != -1)
469 _locking(fd, LK_UNLCK, 1);
488 _close(fd);
/forgerock/opendj-v3/opendj-server-legacy/src/build-tools/windows/
H A Dservice.c441 int fd; local
450 fd = _open(lockFile, _O_RDWR);
452 if (fd != -1)
461 if(_locking(fd, LK_NBLCK, 1) != -1)
468 _locking(fd, LK_UNLCK, 1);
487 _close(fd);
/forgerock/web-agents-v4/source/varnish3/
H A Dagent.c735 http_SetHeader(ctx->wrk, ctx->fd, hp, h->value);
770 http_PutResponse(ctx->wrk, ctx->fd, ctx->wrk->resp, http_StatusMessage(status));
784 http_SetHeader(ctx->wrk, ctx->fd, hp, h->value);
/forgerock/opendj-b2.6/ext/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/forgerock/opendj2/ext/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/forgerock/opendj2.6.2/ext/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/forgerock/opendj2-jel-hg/ext/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/forgerock/opendj2-hg/ext/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/forgerock/opendj-b2.6/ext/svnkit/
H A Dsqljet.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt org/ org/tmatesoft/ org/ ...
/forgerock/opendj2/ext/svnkit/lib/
H A Dsqljet-1.1.10.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt org/ org/tmatesoft/ org/ ...

Completed in 172 milliseconds

12