Searched defs:bus (Results 1 - 20 of 20) sorted by relevance

/external/libusb-compat/examples/
H A Dlsusb.c26 struct usb_bus *bus; local
33 for (bus = busses; bus; bus = bus->next) {
35 for (dev = bus->devices; dev; dev = dev->next) {
H A Dtestlibusb.c131 struct usb_bus *bus; local
141 for (bus = usb_busses; bus; bus = bus->next) {
142 if (bus->root_dev && !verbose)
143 print_device(bus->root_dev, 0);
147 for (dev = bus->devices; dev; dev = dev->next)
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DAsyncEventBusTest.java36 private AsyncEventBus bus; field in class:AsyncEventBusTest
41 bus = new AsyncEventBus(executor);
46 bus.register(catcher);
49 bus.post(EVENT);
H A DReentrantEventsTest.java36 final EventBus bus = new EventBus(); field in class:ReentrantEventsTest
40 bus.register(hater);
42 bus.post(FIRST);
57 bus.post(SECOND);
72 bus.register(processor);
75 bus.register(recorder);
77 bus.post(FIRST);
85 bus.post(SECOND);
H A DEventBusTest.java38 private static final String BUS_IDENTIFIER = "test-bus";
40 private EventBus bus; field in class:EventBusTest
44 bus = new EventBus(BUS_IDENTIFIER);
49 bus.register(catcher);
50 bus.post(EVENT);
85 bus.register(stringCatcher);
86 bus.register(objCatcher);
87 bus.register(compCatcher);
93 bus.post(EVENT);
94 bus
316 private final EventBus bus; field in class:EventBusTest.Registrator
319 Registrator(EventBus bus, List<StringCatcher> catchers) argument
[all...]
/external/skia/src/core/
H A DSkMessageBus.h53 SK_DECLARE_STATIC_LAZY_PTR(SkMessageBus<Message>, bus); \
56 return bus.get(); \
63 // Register ourselves with the corresponding message bus.
64 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get(); local
65 SkAutoMutexAcquire lock(bus->fInboxesMutex);
66 bus->fInboxes.push(this);
71 // Remove ourselves from the corresponding message bus.
72 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get(); local
73 SkAutoMutexAcquire lock(bus->fInboxesMutex);
75 for (int i = 0; i < bus
104 SkMessageBus<Message>* bus = SkMessageBus<Message>::Get(); local
[all...]
/external/selinux/policycoreutils/restorecond/
H A Duser.c65 /* A signal from the bus saying we are about to be disconnected */
85 DBusConnection *bus; local
88 bus = dbus_bus_get (DBUS_BUS_SESSION, &error);
89 if (bus) {
90 dbus_connection_setup_with_g_main (bus, NULL);
93 dbus_bus_add_match (bus, RULE, &error); // see signals from the given interfacey
94 dbus_connection_add_filter (bus, signal_filter, loop, NULL);
170 DBusConnection *bus; local
174 /* Get a connection to the session bus */
176 bus
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dcciss_ioctl.h13 unsigned char bus; member in struct:_cciss_pci_info_struct
H A Duhid.h49 __u16 bus; member in struct:uhid_create2_req
135 __u16 bus; member in struct:uhid_create_req
H A Dedd.h93 __u8 bus; member in struct:edd_device_params::__anon6771::__anon6773
H A Dvfio.h174 * Implementation of region mapping is bus driver specific. This is
175 * intended to describe MMIO, I/O port, as well as bus specific
199 * Implementation of IRQ mapping is bus driver specific. Indexes
305 * The VFIO-PCI bus driver makes use of the following fixed region and
349 __u8 bus; member in struct:vfio_pci_dependent_device
443 * The SPAPR TCE info struct provides the information about the PCI bus
447 * The DMA 32 bit window start is an absolute PCI bus address.
448 * The IOVA address passed via map/unmap ioctls are absolute PCI bus
H A Di2o-dev.h189 } bus; member in struct:_i2o_hrt_entry
/external/libdrm/
H A Dxf86drmMode.c722 * -EINVAL or invalid bus id
729 int domain, bus, dev, func; local
734 ret = sscanf(busid, "pci:%04x:%02x:%02x.%d", &domain, &bus, &dev, &func);
738 sprintf(pci_dev_dir, "/sys/bus/pci/devices/%04x:%02x:%02x.%d/drm",
739 domain, bus, dev, func);
757 sprintf(pci_dev_dir, "/sys/bus/pci/devices/%04x:%02x:%02x.%d/",
758 domain, bus, dev, func);
780 int domain, bus, dev, func;
784 ret = sscanf(busid, "pci:%04x:%02x:%02x.%d", &domain, &bus, &dev,
788 snprintf(kbusid, sizeof(kbusid), "pci:%04x:%02x:%02x.%d", domain, bus,
[all...]
/external/libmtp/src/
H A Dlibusb-glue.c157 * @param bus_location bus for this device.
301 * http://www.microsoft.com/whdc/system/bus/USB/USBFAQ_intermed.mspx#E3HAC
514 struct usb_bus *bus = init_usb(); local
515 for (; bus != NULL; bus = bus->next) {
516 struct usb_device *dev = bus->devices;
531 bus->location);
542 bus->location);
552 *mtp_device_list = append_to_mtpdevice_list(*mtp_device_list, dev, bus
1788 struct usb_bus *bus; local
[all...]
/external/libpcap/
H A Dpcap-usb-linux.c77 #define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
78 #define PROC_USB_BUS_DIR "/proc/bus/usb"
152 snprintf(dev_descr, 30, "USB bus number %d", n);
170 /* try scanning sysfs usb bus directory */
189 /* that didn't work; try scanning procfs usb bus directory */
238 /* probe the descriptors of the devices attached to the bus */
243 probe_devices(int bus) argument
251 /* scan usb bus directories for device nodes */
252 snprintf(buf, sizeof(buf), "/dev/bus/usb/%03d", bus);
[all...]
/external/libusb-compat/libusb/
H A Dcore.c175 struct usb_bus *bus; local
194 * bus number. */
203 bus = busses;
206 if (bus_num == bus->location) {
210 } while ((bus = bus->next) != NULL);
216 bus = malloc(sizeof(*bus));
217 if (!bus)
220 memset(bus,
243 struct usb_bus *bus; local
308 find_devices(libusb_device **dev_list, int dev_list_len, struct usb_bus *bus, struct usb_device **ret) argument
568 struct usb_bus *bus; local
[all...]
H A Dusb.h250 struct usb_bus *bus; member in struct:usb_device
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.engine_2.0.0.v20100606.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.repository_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 443 milliseconds