/macosx-10.10/emacs-93/emacs/nt/ |
H A D | runemacs.c | 79 WIN32_FIND_DATA wfd; local 83 fh = FindFirstFile (new_cmdline, &wfd); 88 if (wfd.ftLastWriteTime.dwHighDateTime > best_time.dwHighDateTime 89 || (wfd.ftLastWriteTime.dwHighDateTime == best_time.dwHighDateTime 90 && wfd.ftLastWriteTime.dwLowDateTime > best_time.dwLowDateTime)) 92 best_time = wfd.ftLastWriteTime; 93 strcpy (best_name, wfd.cFileName); 96 while (FindNextFile (fh, &wfd));
|
/macosx-10.10/ruby-106/ruby/test/-ext-/wait_for_single_fd/ |
H A D | test_wait_for_single_fd.rb | 28 wfd = w.fileno 31 IO.wait_for_single_fd(wfd, RB_WAITFD_OUT, nil)
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/ |
H A D | procclose.c | 44 if (p->wfd >= 0 && p->wfd != p->rfd) 45 close(p->wfd);
|
H A D | procopen.c | 469 proc->wfd = -1; 862 proc->wfd = pio[1]; 867 proc->wfd = pio[0]; 869 proc->wfd = poi[1]; 880 if (proc->wfd > 2) 881 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/ |
H A D | astcopy.c | 27 * copy from rfd to wfd (with conditional mmap hacks) 45 * copy n bytes from rfd to wfd 51 astcopy(int rfd, int wfd, off_t n) argument 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1); 88 if ((c = read(rfd, buf, (size_t)n)) > 0 && write(wfd, buf, (size_t)c) != c) c = -1;
|
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/os/ |
H A D | poll_windows.c | 246 * event. To that extent, we create a single wfd and overlapped as a means 325 struct winfd wfd = INVALID_WINFD; local 340 wfd.rw = RW_READ; 342 wfd.rw = RW_WRITE; 366 wfd.fd = fd; 372 &wfd.handle, 0, TRUE, DUPLICATE_SAME_ACCESS)) { 374 wfd.handle = handle; 381 wfd.handle = handle; 383 wfd.overlapped = overlapped; 384 memcpy(&poll_fd[i], &wfd, sizeo 440 struct winfd wfd; local 466 struct winfd wfd; local 492 struct winfd wfd; local [all...] |
H A D | windows_usb.c | 1964 // let handle_callback free the event using the transfer wfd 1965 // If you don't use the transfer wfd, you run a risk of trying to free a 1966 // newly allocated wfd that took the place of the one from the transfer. 2555 struct winfd wfd; local 2575 wfd = usbi_create_fd(winusb_handle, _O_RDONLY); 2576 // Always use the handle returned from usbi_create_fd (wfd.handle) 2577 if (wfd.fd < 0) { 2586 usbi_free_fd(wfd.fd); 2589 wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY; 2590 wfd 2647 struct winfd wfd; local 2774 struct winfd wfd; local [all...] |
/macosx-10.10/sudo-73/src/ |
H A D | exec_pty.c | 89 int wfd; /* writer (consumer) */ member in struct:io_buffer 305 io_buf_new(rfd, wfd, action, head) 307 int wfd; 315 iob->wfd = wfd; 361 if (iob->wfd != -1 && FD_ISSET(iob->wfd, fdsw)) { 363 n = write(iob->wfd, iob->buf + iob->off, 373 safe_close(iob->wfd); 374 iob->wfd [all...] |
/macosx-10.10/text_cmds-88/cat/ |
H A D | cat.c | 240 int off, wfd; local 246 wfd = fileno(stdout); 248 if (fstat(wfd, &sbuf)) 256 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
|
/macosx-10.10/text_cmds-88/sed/ |
H A D | defs.h | 64 int wfd; /* Cached file descriptor */ member in struct:s_subst
|
H A D | process.c | 415 if (cp->u.s->wfd == -1 && (cp->u.s->wfd = open(cp->u.s->wfile, 418 if (write(cp->u.s->wfd, ps, psl) != psl || 419 write(cp->u.s->wfd, "\n", 1) != 1) 707 if (cp->u.s->wfd != -1 && close(cp->u.s->wfd)) 709 cp->u.s->wfd = -1;
|
H A D | compile.c | 565 s->wfd = -1; 617 if (!aflag && (s->wfd = open(wfile,
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/disc/ |
H A D | sfdcmore.c | 77 * output label on wfd and return next char on rfd with no echo 99 int wfd = sffileno(rp); local 104 write(wfd, label, n); 127 write(wfd, "\r", 1); 129 write(wfd, " ", 1); 130 write(wfd, "\r", 1);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/include/ |
H A D | proc.h | 89 int wfd; /* write fd if applicable */ member in struct:__anon9335
|
/macosx-10.10/syslog-267/syslogd.tproj/ |
H A D | remote.c | 127 int i, s, wfd, status, pfmt, watch, wtoken, nfd, do_prompt; local 152 wfd = -1; 200 if (wfd != -1) 202 FD_SET(wfd, &readfds); 203 if (wfd > nfd) nfd = wfd; 220 if ((wfd != -1) && (FD_ISSET(wfd, &readfds))) 222 (void)read(wfd, &i, sizeof(int)); 427 wfd [all...] |
/macosx-10.10/emacs-93/emacs/src/ |
H A D | w32.c | 2378 WIN32_FIND_DATA wfd; 2425 memset (&wfd, 0, sizeof (wfd)); 2426 wfd.dwFileAttributes = attrs; 2427 wfd.ftCreationTime = utc_base_ft; 2428 wfd.ftLastAccessTime = utc_base_ft; 2429 wfd.ftLastWriteTime = utc_base_ft; 2430 strcpy (wfd.cFileName, name); 2441 memset (&wfd, 0, sizeof (wfd)); 2376 WIN32_FIND_DATA wfd; local [all...] |
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/ |
H A D | sfpopen.c | 172 (sflags&SF_READ) ? proc->rfd : proc->wfd, sflags|((sflags&SF_RDWR)?0:SF_READ))) || 173 _sfpopen(f, (sflags&SF_READ) ? proc->wfd : -1, proc->pid, pflags) < 0)
|
/macosx-10.10/libxml2-26/libxml2/ |
H A D | nanohttp.c | 459 fd_set wfd; local 493 FD_ZERO(&wfd); 498 FD_SET(ctxt->fd, &wfd); 502 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 854 fd_set wfd; local 954 FD_ZERO(&wfd); 955 FD_SET(s, &wfd); 961 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 963 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 989 if (FD_ISSET(s, &wfd) [all...] |
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/ |
H A D | nanohttp.c | 454 fd_set wfd; local 488 FD_ZERO(&wfd); 493 FD_SET(ctxt->fd, &wfd); 497 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 849 fd_set wfd; local 949 FD_ZERO(&wfd); 950 FD_SET(s, &wfd); 956 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 958 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 984 if (FD_ISSET(s, &wfd) [all...] |
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | channels.c | 227 channel_register_fds(Channel *c, int rfd, int wfd, int efd, argument 232 channel_max_fd = MAX(channel_max_fd, wfd); 237 if (wfd != -1 && wfd != rfd) 238 fcntl(wfd, F_SETFD, FD_CLOEXEC); 239 if (efd != -1 && efd != rfd && efd != wfd) 243 c->wfd = wfd; 244 c->sock = (rfd == wfd) ? rfd : -1; 250 c->wfd_isatty = is_tty || isatty(c->wfd); 268 channel_new(char *ctype, int type, int rfd, int wfd, int efd, u_int window, u_int maxpack, int extusage, char *remote_name, int nonblock) argument 769 channel_set_fds(int id, int rfd, int wfd, int efd, int extusage, int nonblock, int is_tty, u_int window_max) argument [all...] |
H A D | channels.h | 100 int wfd; /* write fd */ member in struct:Channel 105 int wfd_isatty; /* wfd is a tty */
|
H A D | nchan.c | 501 if (channel_close_fd(&c->wfd) < 0) 504 c->self, c->wfd, strerror(errno));
|
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | cp.c | 243 int wfd; local 598 else if ((wfd = open(state->path, (st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags)|O_cloexec, ent->fts_statp->st_mode & state->perm)) < 0) 611 close(wfd); 614 if (!(op = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE))) 617 close(wfd); 626 if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) 637 close(wfd);
|
/macosx-10.10/netcat-22/ |
H A D | netcat.c | 881 int n, wfd = fileno(stdin); local 897 pfd[1].fd = wfd; 914 FD_SET(wfd, &readfds); 954 if (!dflag && FD_ISSET(wfd, &readfds)) { 958 if ((n = read(wfd, buf, plen)) < 0)
|
/macosx-10.10/tcl-105/tcl_ext/expect/expect/ |
H A D | exp_command.c | 888 int mode, rfd, wfd; local 912 wfd = (int)(long) wfdc; 914 master = ((mode & TCL_READABLE)?rfd:wfd); 923 if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { 924 if (-1 == (write_master = dup(wfd))) {
|