/macosx-10.10.1/cups-408/cups/test/ |
H A D | ippdiscover.c | 180 if (select(fd + 1, &input, NULL, NULL, &timeout) <= 0) 184 for (device = (cups_device_t *)cupsArrayFirst(devices); 185 device; 186 device = (cups_device_t *)cupsArrayNext(devices)) 187 if (!device->got_resolve) 189 if (!device->ref) 192 if ((curtime - device->resolve_time) > 10) 194 device->got_resolve = -1; 196 device->name); 203 if (!device) 567 *device; /* Device */ local 672 cups_device_t *device = (cups_device_t *)context; local [all...] |
/macosx-10.10.1/cups-408/cups/backend/ |
H A D | usb-unix.c | 24 #include <sys/select.h> 37 * 'print_device()' - Print a file to a USB device. 51 int device_fd; /* USB device */ 60 * Open the USB port device... 63 fputs("STATE: +connecting-to-device\n", stderr); 70 * back-channel, incorrectly returns data ready on a select(), 79 * select() or poll(), so we can't support backchannel... 88 * the IEEE-1284 device ID over and over and over when they get 134 _cupsLangPrintError("ERROR", _("Unable to open device file")); 141 fputs("STATE: -connecting-to-device\ 207 char device[255], /* Device filename */ local 335 char device[255], /* Device filename */ local [all...] |
H A D | snmp.c | 33 * lookup based on the device description string, and finally a probe of 106 http_addr_t address; /* Address of device */ 107 char *addrname, /* Name of device */ 108 *uri, /* device-uri */ 109 *id, /* device-id */ 110 *info, /* device-info */ 111 *location, /* device-location */ 112 *make_and_model; /* device-make-and-model */ 113 int sent; /* Has this device been listed? */ 137 static void probe_device(snmp_cache_t *device); 682 probe_device(snmp_cache_t *device) argument 887 *device; /* Matching device */ local 1164 snmp_cache_t *device; /* Current device */ local 1336 update_cache(snmp_cache_t *device, const char *uri, const char *id, const char *make_model) argument [all...] |
H A D | dnssd.c | 64 *device_id, /* 1284 device ID from TXT record */ 69 sent; /* Did we list the device? */ 171 cups_device_t *device; /* Current device */ local 175 fd_set input; /* Input set for select() */ 176 struct timeval timeout; /* Timeout for select() */ 378 if (select(fd + 1, &input, NULL, NULL, &timeout) < 0) 420 cups_device_t *best; /* Best matching device */ 425 for (device = (cups_device_t *)cupsArrayFirst(devices), 427 device; 625 cups_device_t *device; /* Device */ local 875 *device; /* Device */ local 1034 cups_device_t *device = (cups_device_t *)context; local [all...] |
H A D | usb-libusb.c | 23 #include <sys/select.h> 47 struct libusb_device *device; /* Device info */ member in struct:usb_printer_s 58 struct libusb_device_handle *handle; /* Open handle to device */ 168 * 'print_device()' - Print a file to a USB device. 194 fd_set input_set; /* Input set for select() */ 332 fprintf(stderr, "DEBUG: Uni-directional device/mode, back channel " 362 * Calculate select timeout... 384 * I/O is unlocked around select... 392 nfds = select(print_fd + 1, &input_set, NULL, NULL, timeout); 417 perror("DEBUG: select"); 795 libusb_device *device = NULL; /* Current device */ local [all...] |
/macosx-10.10.1/libpcap-48/libpcap/tests/ |
H A D | nonblocktest.c | 36 #include <sys/select.h> 59 register char *cp, *cmdbuf, *device; local 65 device = NULL; 76 device = optarg; 85 if (device == NULL) { 86 device = pcap_lookupdev(ebuf); 87 if (device == NULL) 91 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); 96 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 110 printf("Listening on %s\n", device); [all...] |
H A D | selpolltest.c | 36 #include <sys/select.h> 59 register char *cp, *cmdbuf, *device; local 67 device = NULL; 82 device = optarg; 108 fprintf(stderr, "selpolltest: choose select (-s) or poll (-p), but not both\n"); 112 fprintf(stderr, "selpolltest: timeout (-t) requires select (-s) or poll (-p)\n"); 115 if (device == NULL) { 116 device = pcap_lookupdev(ebuf); 117 if (device == NULL) 121 pd = pcap_open_live(device, 6553 [all...] |
/macosx-10.10.1/cups-408/cups/cups/ |
H A D | dest.c | 68 typedef enum _cups_dnssd_state_e /* Enumerated device state */ 95 typedef struct _cups_dnssd_device_s /* Enumerated device */ 97 _cups_dnssd_state_t state; /* State of device listing */ 162 static void cups_dnssd_free_device(_cups_dnssd_device_t *device, 834 _cups_dnssd_device_t *device; /* Current device */ local 847 fd_set input; /* Input set for select() */ 848 struct timeval timeout; /* Timeout for select() */ 1007 nfds = select(main_fd + 1, &input, NULL, NULL, &timeout); 1032 for (device 2820 cups_dnssd_free_device( _cups_dnssd_device_t *device, _cups_dnssd_data_t *data) argument 2858 *device; /* Device */ local 2993 _cups_dnssd_device_t *device; /* Device */ local 3118 *device; /* Device */ local [all...] |
/macosx-10.10.1/zsh-61/zsh/Src/ |
H A D | prototypes.h | 82 int mknod _((const char *pathname, int mode, dev_t device)); 85 int select _((int nfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, struct timeval *timeout)); 96 extern int select _((int nfds, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, struct timeval *timeout));
|
/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/src/ |
H A D | ccid_serial.c | 108 * device used ("/dev/ttyS?" under Linux) 110 /*@null@*/ char *device; member in struct:__anon5496 113 * Number of slots using the same device 428 /* use select() to, eventually, timeout */ 434 i = select(fd+1, &fdset, NULL, NULL, &t); 437 DEBUG_CRITICAL2("select: %s", strerror(errno)); 505 * depending on reader type specified in device. 531 if (serialDevice[i].device 532 && strcmp(serialDevice[i].device, dev_name) == 0) 545 && serialDevice[previous_reader_index].device [all...] |
/macosx-10.10.1/network_cmds-457/rarpd.tproj/ |
H A D | rarpd.c | 282 char device[sizeof "/dev/bpf000"]; local 286 (void) snprintf(device, sizeof(device), "/dev/bpf%d", n++); 287 fd = open(device, O_RDWR); 291 err(FATAL, "%s: %s", device, strerror(errno)); 297 * Open a BPF file and attach it to the interface named 'device'. 301 rarp_open(device) 302 char *device; 331 (void) strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name); 343 err(FATAL, "%s is not an ethernet", device); [all...] |
/macosx-10.10.1/libpcap-48/libpcap/ |
H A D | pcap-bpf.c | 104 #include <sys/device.h> 191 char *device; /* device name */ member in struct:pcap_bpf 267 * pb->nonblock so we don't call select(2) if the pcap handle is in non- 303 * there was no prior buffer, we select zbuf1 as this will be the first 339 * select() for data or a timeout, and possibly force rotation of the buffer 392 * No data in the buffer, so must use select() to wait for data or 393 * the next timeout. Note that we only call select if the handle 403 r = select(p->fd + 1, &r_set, NULL, NULL, 413 "select 456 pcap_create_interface(const char *device, char *ebuf) argument 496 static const char device[] = "/dev/bpf"; local 499 char device[sizeof "/dev/bpf0000000000"]; local [all...] |
H A D | pcap-sita.c | 734 retval = select(max_fs + 1, &working_set, NULL, NULL, &tv); 920 retval = select(fd + 1, &w_fds, NULL, NULL, &tv); 1004 * "handle->fd" is a socket, so "select()" and "poll()" 1012 pcap_t *pcap_create_interface(const char *device, char *ebuf) { argument 1015 p = pcap_create_common(device, ebuf, 0);
|
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/demos/python/ |
H A D | tkSnack.py | 288 """Starts recording data from the audio device into the sound object.""" 337 currently selected device.""" 343 selected device.""" 349 selected device.""" 360 time to the audio device to play back.""" 367 """Toggles between play/pause for all playback on the audio device.""" 371 """Resumes paused playback on the audio device.""" 387 def selectOutput(self, device): 388 """Selects an audio output device to be used as default.""" 389 self.tk.call('snack::audio', 'selectOutput', device) 493 def select(self, device): member in class:MixerControllerSingleton [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/python/ |
H A D | tkSnack.py | 288 """Starts recording data from the audio device into the sound object.""" 337 currently selected device.""" 343 selected device.""" 349 selected device.""" 360 time to the audio device to play back.""" 367 """Toggles between play/pause for all playback on the audio device.""" 371 """Resumes paused playback on the audio device.""" 387 def selectOutput(self, device): 388 """Selects an audio output device to be used as default.""" 389 self.tk.call('snack::audio', 'selectOutput', device) 493 def select(self, device): member in class:MixerControllerSingleton [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/ |
H A D | tty.h | 75 #include <sys/select.h> /* For struct selinfo. */ 110 * Should be split in two, into device and tty drivers. 123 int t_line; /* Interface to device drivers. */ 130 struct selinfo t_rsel; /* Tty read/oob select. */ 131 struct selinfo t_wsel; /* Tty write select. */ 325 int ttyopen(dev_t device, struct tty *tp);
|
/macosx-10.10.1/network_cmds-457/traceroute.tproj/ |
H A D | traceroute.c | 233 #include <sys/select.h> 365 char *device; variable 610 device = optarg; 889 /* Look for a specific device */ 890 if (device != NULL) { 892 if (strcmp(device, al->device) == 0) 896 prog, device); 904 * If a device was specified, use the interface address. 907 if (device ! [all...] |
/macosx-10.10.1/ppp-786.1.1/Drivers/PPPSerial/PPPSerial-plugin/ |
H A D | main.c | 265 if (device && !ptycommand) { 267 // first, transform device name 269 if (device[0] != '/') { 271 if ((device[0] != 't') 272 || (device[1] != 't') 273 || (device[2] != 'y') 274 || (device[3] != 'd')) 277 strlcat(str, device, sizeof(str)); 281 // then check if device is there 288 fatal("Couldn't stat device [all...] |
/macosx-10.10.1/vim-55/runtime/syntax/ |
H A D | hercules.vim | 39 syn keyword herculesStatement rectangles relocate remove_overlap reverse select 46 syn keyword herculesStatement device gendev nmos pmos diode npn pnp
|
H A D | btm.vim | 99 syn keyword btmBuiltInFunc contained device diskfree disktotal 117 syn keyword btmBuiltInFunc contained select sfn strip substr 178 syn keyword btmCommand select set setdos setlocal
|
/macosx-10.10.1/emacs-93/emacs/etc/ |
H A D | calccard.tex | 49 % For this you need a dvi device driver that can print sideways. 617 \key{select subformula under cursor}{j s} 618 \key{select {\it n\/}th subformula}{j {\it n}} 619 \key{select more}{j m}
|
H A D | refcard.tex | 50 % For this you need a dvi device driver that can print sideways. 327 \key{select previous search string}{M-p} 328 \key{select next later search string}{M-n} 426 \threecol{select buffer in other window}{C-x 4 b}{C-x 5 b} 489 \key{select another buffer}{C-x b} 593 \key{select menu item by name}{m} 594 \key{select {\it n\/}th menu item by number (1--9)}{{\it n}}
|
H A D | orgcard.tex | 54 % For this you need a dvi device driver that can print sideways. 545 %\key{... select date in calendar}{mouse-1/RET} 725 %\section{CUA and pc-select compatibility}%
|
/macosx-10.10.1/IOGraphics-485/IOGraphicsFamily/ |
H A D | IOFramebuffer.cpp | 246 IOService * device; member in struct:IOFBController 2546 UInt32 select = args->scalarInput[0]; local 2559 if (select > 3) 2562 if (length != checkLength[select]) 2571 table = inst->colorConvert.tables[select]; 2575 inst->colorConvert.tables[select] = table; 2581 if (select == 3) 3957 dev_t device = makedev( 14, 0 ); local 3970 err = ((*cdevsw[major(device)].d_read)(device, 5049 IOService * device = 0; local 7045 IOService * device; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOHibernateIO.cpp | 45 Its assumed just allocating pages will cause the VM system to naturally select the best 74 - BootX sees the boot-image nvram variable containing the device and block number of the image, 114 up and running) and after wake - this is safe to allocate memory and do anything. The device 242 #define kIOSelectedBootDeviceKey "boot-device" 575 IOCopyMediaForDev(dev_t device) argument 587 num = OSNumber::withNumber(major(device), 32); 592 num = OSNumber::withNumber(minor(device), 32); 1300 HIBLOG("Failed to get the media device\n"); 1677 data = OSDynamicCast(OSData, gIOChosenEntry->getProperty("boot-device-path")); 1864 ProgressUpdate(hibernate_graphics_t * display, uint8_t * screen, int32_t firstBlob, int32_t select) argument [all...] |