filedes 96 srclib/apr/file_io/netware/filestat.c if (fstat(thefile->filedes, &info) == 0) { filedes 120 srclib/apr/file_io/netware/filestat.c if (fstat(thefile->filedes, &info) == 0) { filedes 27 srclib/apr/file_io/netware/flock.c if(NXFileRangeLock(thefile->filedes,fc, 0, 0) == -1) filedes 35 srclib/apr/file_io/netware/flock.c if(NXFileRangeUnlock(thefile->filedes,NX_RANGE_LOCK_CANCEL,0 , 0) == -1) filedes 32 srclib/apr/file_io/netware/pipe.c if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) filedes 35 srclib/apr/file_io/netware/pipe.c fcntl(thepipe->filedes, F_SETFL, flags); filedes 39 srclib/apr/file_io/netware/pipe.c fcntl(thepipe->filedes, F_SETFL, 0); filedes 56 srclib/apr/file_io/netware/pipe.c if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) filedes 59 srclib/apr/file_io/netware/pipe.c fcntl(thepipe->filedes, F_SETFL, flags); filedes 63 srclib/apr/file_io/netware/pipe.c fcntl(thepipe->filedes, F_SETFL, FNDELAY); filedes 115 srclib/apr/file_io/netware/pipe.c (*file)->filedes = *dafile; filedes 140 srclib/apr/file_io/netware/pipe.c int filedes[2]; filedes 143 srclib/apr/file_io/netware/pipe.c if (pipe(filedes) == -1) { filedes 152 srclib/apr/file_io/netware/pipe.c (*in)->filedes = filedes[0]; filedes 153 srclib/apr/file_io/netware/pipe.c (*out)->filedes = filedes[1]; filedes 36 srclib/apr/file_io/os2/filedup.c dup_file->filedes = -1; filedes 42 srclib/apr/file_io/os2/filedup.c rv = DosDupHandle(old_file->filedes, &dup_file->filedes); filedes 70 srclib/apr/file_io/os2/filedup.c (*new_file)->filedes = -1; filedes 121 srclib/apr/file_io/os2/filedup.c old_file->filedes = -1; filedes 105 srclib/apr/file_io/os2/filestat.c rc = DosQueryFileInfo(thefile->filedes, FIL_STANDARD, &fstatus, sizeof(fstatus)); filedes 116 srclib/apr/file_io/os2/filestat.c return handle_type(&finfo->filetype, thefile->filedes); filedes 24 srclib/apr/file_io/os2/flock.c rc = DosSetFileLocks(thefile->filedes, NULL, &lockrange, filedes 35 srclib/apr/file_io/os2/flock.c rc = DosSetFileLocks(thefile->filedes, &unlockrange, NULL, 0, 0); filedes 55 srclib/apr/file_io/os2/open.c dafile->filedes = -1; filedes 87 srclib/apr/file_io/os2/open.c rv = DosOpen(fname, &(dafile->filedes), &action, 0, 0, oflags, mflags, NULL); filedes 91 srclib/apr/file_io/os2/open.c rv = DosSetFilePtr(dafile->filedes, 0, FILE_END, &newptr ); filedes 94 srclib/apr/file_io/os2/open.c DosClose(dafile->filedes); filedes 126 srclib/apr/file_io/os2/open.c rc = DosClose(file->filedes); filedes 178 srclib/apr/file_io/os2/open.c *thefile = file->filedes; filedes 190 srclib/apr/file_io/os2/open.c (*file)->filedes = *dafile; filedes 277 srclib/apr/file_io/os2/open.c rv = DosQueryFHState(thefile->filedes, &state); filedes 280 srclib/apr/file_io/os2/open.c rv = DosSetFHState(thefile->filedes, state & ~OPEN_FLAGS_NOINHERIT); filedes 293 srclib/apr/file_io/os2/open.c rv = DosQueryFHState(thefile->filedes, &state); filedes 296 srclib/apr/file_io/os2/open.c rv = DosSetFHState(thefile->filedes, state | OPEN_FLAGS_NOINHERIT); filedes 29 srclib/apr/file_io/os2/pipe.c ULONG filedes[2]; filedes 35 srclib/apr/file_io/os2/pipe.c rc = DosCreateNPipe(pipename, filedes, NP_ACCESS_INBOUND, NP_NOWAIT|1, 4096, 4096, 0); filedes 40 srclib/apr/file_io/os2/pipe.c rc = DosConnectNPipe(filedes[0]); filedes 43 srclib/apr/file_io/os2/pipe.c DosClose(filedes[0]); filedes 47 srclib/apr/file_io/os2/pipe.c rc = DosOpen (pipename, filedes+1, &action, 0, FILE_NORMAL, filedes 53 srclib/apr/file_io/os2/pipe.c DosClose(filedes[0]); filedes 61 srclib/apr/file_io/os2/pipe.c DosClose(filedes[0]); filedes 62 srclib/apr/file_io/os2/pipe.c DosClose(filedes[1]); filedes 66 srclib/apr/file_io/os2/pipe.c rc = DosSetNPipeSem(filedes[0], (HSEM)(*in)->pipeSem, 1); filedes 69 srclib/apr/file_io/os2/pipe.c rc = DosSetNPHState(filedes[0], NP_WAIT); filedes 73 srclib/apr/file_io/os2/pipe.c DosClose(filedes[0]); filedes 74 srclib/apr/file_io/os2/pipe.c DosClose(filedes[1]); filedes 80 srclib/apr/file_io/os2/pipe.c (*in)->filedes = filedes[0]; filedes 92 srclib/apr/file_io/os2/pipe.c (*out)->filedes = filedes[1]; filedes 152 srclib/apr/file_io/os2/pipe.c return APR_FROM_OS_ERROR(DosSetNPHState(thepipe->filedes, NP_NOWAIT)); filedes 158 srclib/apr/file_io/os2/pipe.c return APR_FROM_OS_ERROR(DosSetNPHState(thepipe->filedes, NP_WAIT)); filedes 189 srclib/apr/file_io/os2/pipe.c (*file)->filedes = *thefile; filedes 60 srclib/apr/file_io/os2/readwrite.c rc = DosRead(thefile->filedes, thefile->buffer, filedes 93 srclib/apr/file_io/os2/readwrite.c rc = DosRead(thefile->filedes, buf, *nbytes, &bytesread); filedes 99 srclib/apr/file_io/os2/readwrite.c rc = DosRead(thefile->filedes, buf, *nbytes, &bytesread); filedes 146 srclib/apr/file_io/os2/readwrite.c DosSetFilePtr(thefile->filedes, offset, FILE_BEGIN, &thefile->filePtr ); filedes 169 srclib/apr/file_io/os2/readwrite.c rc = DosSetFileLocks(thefile->filedes, NULL, &all, -1, 0); filedes 172 srclib/apr/file_io/os2/readwrite.c rc = DosSetFilePtr(thefile->filedes, 0, FILE_END, &newpos); filedes 175 srclib/apr/file_io/os2/readwrite.c rc = DosWrite(thefile->filedes, buf, *nbytes, &byteswritten); filedes 178 srclib/apr/file_io/os2/readwrite.c DosSetFileLocks(thefile->filedes, &all, NULL, -1, 0); filedes 181 srclib/apr/file_io/os2/readwrite.c rc = DosWrite(thefile->filedes, buf, *nbytes, &byteswritten); filedes 209 srclib/apr/file_io/os2/readwrite.c if ((bytes = writev(thefile->filedes, vec, nvec)) < 0) { filedes 231 srclib/apr/file_io/os2/readwrite.c rc = DosWrite(thefile->filedes, &ch, 1, &byteswritten); filedes 291 srclib/apr/file_io/os2/readwrite.c rc = DosWrite(thefile->filedes, thefile->buffer, thefile->bufpos, &written); filedes 45 srclib/apr/file_io/os2/seek.c rc = DosSetFilePtr(thefile->filedes, pos, FILE_BEGIN, &thefile->filePtr ); filedes 101 srclib/apr/file_io/os2/seek.c return APR_FROM_OS_ERROR(DosSetFilePtr(thefile->filedes, *offset, where, (ULONG *)offset)); filedes 109 srclib/apr/file_io/os2/seek.c int rc = DosSetFileSize(fp->filedes, offset); filedes 34 srclib/apr/file_io/unix/filedup.c rv = dup2(old_file->filedes, (*new_file)->filedes); filedes 36 srclib/apr/file_io/unix/filedup.c rv = dup(old_file->filedes); filedes 45 srclib/apr/file_io/unix/filedup.c (*new_file)->filedes = rv; filedes 152 srclib/apr/file_io/unix/filedup.c old_file->filedes = -1; filedes 140 srclib/apr/file_io/unix/filestat.c if (fstat(thefile->filedes, &info) == 0) { filedes 163 srclib/apr/file_io/unix/filestat.c if (fstat(thefile->filedes, &info) == 0) { filedes 46 srclib/apr/file_io/unix/flock.c while ((rc = fcntl(thefile->filedes, fc, &l)) < 0 && errno == EINTR) filedes 72 srclib/apr/file_io/unix/flock.c while ((rc = flock(thefile->filedes, ltype)) < 0 && errno == EINTR) filedes 99 srclib/apr/file_io/unix/flock.c while ((rc = fcntl(thefile->filedes, F_SETLKW, &l)) < 0 filedes 109 srclib/apr/file_io/unix/flock.c while ((rc = flock(thefile->filedes, LOCK_UN)) < 0 && errno == EINTR) filedes 33 srclib/apr/file_io/unix/open.c if (close(file->filedes) == 0) { filedes 34 srclib/apr/file_io/unix/open.c file->filedes = -1; filedes 160 srclib/apr/file_io/unix/open.c (*new)->filedes = fd; filedes 230 srclib/apr/file_io/unix/open.c *thefile = file->filedes; filedes 246 srclib/apr/file_io/unix/open.c (*file)->filedes = *dafile; filedes 41 srclib/apr/file_io/unix/pipe.c fd_flags = fcntl(thepipe->filedes, F_GETFL, 0); filedes 52 srclib/apr/file_io/unix/pipe.c if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) { filedes 59 srclib/apr/file_io/unix/pipe.c if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) { filedes 75 srclib/apr/file_io/unix/pipe.c int fd_flags = fcntl(thepipe->filedes, F_GETFL, 0); filedes 87 srclib/apr/file_io/unix/pipe.c if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) { filedes 95 srclib/apr/file_io/unix/pipe.c if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) { filedes 150 srclib/apr/file_io/unix/pipe.c (*file)->filedes = *dafile; filedes 181 srclib/apr/file_io/unix/pipe.c int filedes[2]; filedes 183 srclib/apr/file_io/unix/pipe.c if (pipe(filedes) == -1) { filedes 189 srclib/apr/file_io/unix/pipe.c (*in)->filedes = filedes[0]; filedes 205 srclib/apr/file_io/unix/pipe.c (*out)->filedes = filedes[1]; filedes 55 srclib/apr/file_io/unix/readwrite.c int bytesread = read(thefile->filedes, thefile->buffer, filedes 116 srclib/apr/file_io/unix/readwrite.c rv = read(thefile->filedes, buf, *nbytes); filedes 129 srclib/apr/file_io/unix/readwrite.c rv = read(thefile->filedes, buf, *nbytes); filedes 164 srclib/apr/file_io/unix/readwrite.c lseek(thefile->filedes, offset, SEEK_SET); filedes 188 srclib/apr/file_io/unix/readwrite.c rv = write(thefile->filedes, buf, *nbytes); filedes 202 srclib/apr/file_io/unix/readwrite.c rv = write(thefile->filedes, buf, *nbytes); filedes 248 srclib/apr/file_io/unix/readwrite.c lseek(thefile->filedes, offset, SEEK_SET); filedes 255 srclib/apr/file_io/unix/readwrite.c if ((bytes = writev(thefile->filedes, vec, nvec)) < 0) { filedes 317 srclib/apr/file_io/unix/readwrite.c written = write(thefile->filedes, thefile->buffer, thefile->bufpos); filedes 38 srclib/apr/file_io/unix/seek.c if (lseek(thefile->filedes, pos, SEEK_SET) != -1) { filedes 87 srclib/apr/file_io/unix/seek.c rv = lseek(thefile->filedes, *offset, where); filedes 101 srclib/apr/file_io/unix/seek.c if (ftruncate(fp->filedes, offset) == -1) { filedes 99 srclib/apr/include/arch/netware/apr_arch_file_io.h int filedes; filedes 39 srclib/apr/include/arch/os2/apr_arch_file_io.h HFILE filedes; filedes 29 srclib/apr/include/arch/os2/apr_arch_inherit.h if (((rv = DosQueryFHState(attr->parent_err->filedes, &state)) \ filedes 31 srclib/apr/include/arch/os2/apr_arch_inherit.h ((rv = DosSetFHState(attr->parent_err->filedes, \ filedes 42 srclib/apr/include/arch/os2/apr_arch_inherit.h if (((rv = DosQueryFHState(attr->parent_err->filedes, &state)) \ filedes 44 srclib/apr/include/arch/os2/apr_arch_inherit.h ((rv = DosSetFHState(attr->parent_err->filedes, \ filedes 95 srclib/apr/include/arch/unix/apr_arch_file_io.h int filedes; filedes 187 srclib/apr/locks/unix/proc_mutex.c if (mutex->interproc->filedes != -1) { filedes 189 srclib/apr/locks/unix/proc_mutex.c semctl(mutex->interproc->filedes, 0, IPC_RMID, ick); filedes 201 srclib/apr/locks/unix/proc_mutex.c new_mutex->interproc->filedes = semget(IPC_PRIVATE, 1, IPC_CREAT | 0600); filedes 203 srclib/apr/locks/unix/proc_mutex.c if (new_mutex->interproc->filedes < 0) { filedes 209 srclib/apr/locks/unix/proc_mutex.c if (semctl(new_mutex->interproc->filedes, 0, SETVAL, ick) < 0) { filedes 226 srclib/apr/locks/unix/proc_mutex.c rc = semop(mutex->interproc->filedes, &proc_mutex_op_on, 1); filedes 240 srclib/apr/locks/unix/proc_mutex.c rc = semop(mutex->interproc->filedes, &proc_mutex_op_try, 1); filedes 258 srclib/apr/locks/unix/proc_mutex.c rc = semop(mutex->interproc->filedes, &proc_mutex_op_off, 1); filedes 551 srclib/apr/locks/unix/proc_mutex.c rc = fcntl(mutex->interproc->filedes, F_SETLKW, &proc_mutex_lock_it); filedes 565 srclib/apr/locks/unix/proc_mutex.c rc = fcntl(mutex->interproc->filedes, F_SETLK, &proc_mutex_lock_it); filedes 583 srclib/apr/locks/unix/proc_mutex.c rc = fcntl(mutex->interproc->filedes, F_SETLKW, &proc_mutex_unlock_it); filedes 665 srclib/apr/locks/unix/proc_mutex.c rc = flock(mutex->interproc->filedes, LOCK_EX); filedes 679 srclib/apr/locks/unix/proc_mutex.c rc = flock(mutex->interproc->filedes, LOCK_EX | LOCK_NB); filedes 697 srclib/apr/locks/unix/proc_mutex.c rc = flock(mutex->interproc->filedes, LOCK_UN); filedes 922 srclib/apr/locks/unix/proc_mutex.c ospmutex->crossproc = pmutex->interproc->filedes; filedes 76 srclib/apr/misc/unix/otherchild.c ocr->write_fd = write_fd->filedes; filedes 98 srclib/apr/mmap/unix/mmap.c if (file == NULL || file->filedes == -1 || file->buffered) filedes 121 srclib/apr/mmap/unix/mmap.c read(file->filedes, mm, size); filedes 133 srclib/apr/mmap/unix/mmap.c mm = mmap(NULL, size, native_flags, MAP_SHARED, file->filedes, offset); filedes 330 srclib/apr/network_io/unix/sendrecv.c file->filedes, /* open file descriptor of the file to be sent */ filedes 346 srclib/apr/network_io/unix/sendrecv.c file->filedes, /* open file descriptor of the file to be sent */ filedes 468 srclib/apr/network_io/unix/sendrecv.c rv = sendfile(file->filedes, /* file to be sent */ filedes 583 srclib/apr/network_io/unix/sendrecv.c rv = sendfile(file->filedes, /* file to be sent */ filedes 755 srclib/apr/network_io/unix/sendrecv.c file->filedes, /* file descriptor to send */ filedes 778 srclib/apr/network_io/unix/sendrecv.c file->filedes, /* file descriptor to send */ filedes 896 srclib/apr/network_io/unix/sendrecv.c parms.file_descriptor = file->filedes; filedes 1010 srclib/apr/network_io/unix/sendrecv.c sfv[curvec].sfv_fd = file->filedes; filedes 173 srclib/apr/poll/unix/epoll.c descriptor->desc.f->filedes, &ev); filedes 212 srclib/apr/poll/unix/epoll.c descriptor->desc.f->filedes, &ev); filedes 352 srclib/apr/poll/unix/epoll.c descriptor->desc.f->filedes, &ev); filedes 377 srclib/apr/poll/unix/epoll.c descriptor->desc.f->filedes, &ev); filedes 144 srclib/apr/poll/unix/kqueue.c fd = descriptor->desc.f->filedes; filedes 191 srclib/apr/poll/unix/kqueue.c fd = descriptor->desc.f->filedes; filedes 334 srclib/apr/poll/unix/kqueue.c fd = descriptor->desc.f->filedes; filedes 367 srclib/apr/poll/unix/kqueue.c fd = descriptor->desc.f->filedes; filedes 108 srclib/apr/poll/unix/poll.c pollset[i].fd = aprset[i].desc.f->filedes; filedes 202 srclib/apr/poll/unix/poll.c pollset->pollset[pollset->nelts].fd = descriptor->desc.f->filedes; filedes 172 srclib/apr/poll/unix/port.c fd = descriptor->desc.f->filedes; filedes 213 srclib/apr/poll/unix/port.c fd = descriptor->desc.f->filedes; filedes 296 srclib/apr/poll/unix/port.c fd = ep->pfd.desc.f->filedes; filedes 405 srclib/apr/poll/unix/port.c fd = descriptor->desc.f->filedes; filedes 427 srclib/apr/poll/unix/port.c fd = descriptor->desc.f->filedes; filedes 85 srclib/apr/poll/unix/select.c fd = aprset[i].desc.f->filedes; filedes 145 srclib/apr/poll/unix/select.c fd = aprset[i].desc.f->filedes; filedes 255 srclib/apr/poll/unix/select.c fd = descriptor->desc.f->filedes; filedes 261 srclib/apr/poll/unix/select.c fd = descriptor->desc.f->filedes; filedes 301 srclib/apr/poll/unix/select.c fd = descriptor->desc.f->filedes; filedes 383 srclib/apr/poll/unix/select.c fd = pollset->query_set[i].desc.f->filedes; filedes 47 srclib/apr/support/unix/waitio.c pfd.fd = f ? f->filedes : s->socketdes; filedes 224 srclib/apr/threadproc/beos/proc.c sp->in = attr->child_in ? attr->child_in->filedes : FILENO_STDIN; filedes 225 srclib/apr/threadproc/beos/proc.c sp->out = attr->child_out ? attr->child_out->filedes : FILENO_STDOUT; filedes 226 srclib/apr/threadproc/beos/proc.c sp->err = attr->child_err ? attr->child_err->filedes : FILENO_STDERR; filedes 268 srclib/apr/threadproc/beos/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) { filedes 271 srclib/apr/threadproc/beos/proc.c if (attr->child_out && (attr->child_in->filedes != -1)) { filedes 274 srclib/apr/threadproc/beos/proc.c if (attr->child_err && (attr->child_in->filedes != -1)) { filedes 357 srclib/apr/threadproc/beos/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) filedes 384 srclib/apr/threadproc/beos/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) filedes 412 srclib/apr/threadproc/beos/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) filedes 122 srclib/apr/threadproc/netware/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) filedes 152 srclib/apr/threadproc/netware/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) filedes 182 srclib/apr/threadproc/netware/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) filedes 320 srclib/apr/threadproc/netware/proc.c ? (attr->child_in->filedes != -1 ? attr->child_in->filedes filedes 324 srclib/apr/threadproc/netware/proc.c ? (attr->child_out->filedes != -1 ? attr->child_out->filedes filedes 328 srclib/apr/threadproc/netware/proc.c ? (attr->child_err->filedes != -1 ? attr->child_err->filedes filedes 358 srclib/apr/threadproc/netware/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) { filedes 363 srclib/apr/threadproc/netware/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) { filedes 368 srclib/apr/threadproc/netware/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) { filedes 125 srclib/apr/threadproc/os2/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) filedes 154 srclib/apr/threadproc/os2/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) filedes 183 srclib/apr/threadproc/os2/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) filedes 331 srclib/apr/threadproc/os2/proc.c if (attr->child_in->filedes == -1) filedes 334 srclib/apr/threadproc/os2/proc.c DosDupHandle(attr->child_in->filedes, &dup); filedes 341 srclib/apr/threadproc/os2/proc.c if (attr->child_out->filedes == -1) filedes 344 srclib/apr/threadproc/os2/proc.c DosDupHandle(attr->child_out->filedes, &dup); filedes 351 srclib/apr/threadproc/os2/proc.c if (attr->child_err->filedes == -1) filedes 354 srclib/apr/threadproc/os2/proc.c DosDupHandle(attr->child_err->filedes, &dup); filedes 507 srclib/apr/threadproc/os2/proc.c if (attr->child_in->filedes != -1) { filedes 517 srclib/apr/threadproc/os2/proc.c if (attr->child_out->filedes != -1) { filedes 527 srclib/apr/threadproc/os2/proc.c if (attr->child_err->filedes != -1) { filedes 106 srclib/apr/threadproc/unix/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) filedes 140 srclib/apr/threadproc/unix/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) filedes 174 srclib/apr/threadproc/unix/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) filedes 432 srclib/apr/threadproc/unix/proc.c if ((attr->child_in) && (attr->child_in->filedes == -1)) { filedes 436 srclib/apr/threadproc/unix/proc.c dup2(attr->child_in->filedes, STDIN_FILENO); filedes 440 srclib/apr/threadproc/unix/proc.c if ((attr->child_out) && (attr->child_out->filedes == -1)) { filedes 444 srclib/apr/threadproc/unix/proc.c dup2(attr->child_out->filedes, STDOUT_FILENO); filedes 448 srclib/apr/threadproc/unix/proc.c if ((attr->child_err) && (attr->child_err->filedes == -1)) { filedes 452 srclib/apr/threadproc/unix/proc.c dup2(attr->child_err->filedes, STDERR_FILENO); filedes 587 srclib/apr/threadproc/unix/proc.c if (attr->child_in && (attr->child_in->filedes != -1)) { filedes 591 srclib/apr/threadproc/unix/proc.c if (attr->child_out && (attr->child_out->filedes != -1)) { filedes 595 srclib/apr/threadproc/unix/proc.c if (attr->child_err && (attr->child_err->filedes != -1)) {