/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 35 int *endpoints = (int *)arg; local 42 ret = usb_device_bulk_transfer(sDevice, endpoints[0], buffer, sizeof(buffer), 1000); 55 usb_device_bulk_transfer(sDevice, endpoints[1], message, strlen(message), 1000); 122 fprintf(stderr, "Endpoints not found\n"); 131 int endpoints[2]; local 133 endpoints[0] = ep1->bEndpointAddress; 134 endpoints[1] = ep2->bEndpointAddress; 136 endpoints[0] = ep2->bEndpointAddress; 137 endpoints[1] = ep1->bEndpointAddress; 139 pthread_create(&th, NULL, message_thread, (void *)endpoints); [all...] |
/external/chromium_org/google_apis/gcm/engine/ |
connection_factory_impl_unittest.cc | 58 std::vector<GURL> endpoints; local 59 endpoints.push_back(GURL(kMCSEndpoint)); 60 endpoints.push_back(GURL(kMCSEndpoint2)); 61 return endpoints;
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
openbsd_usb.c | 44 int endpoints[USB_MAX_ENDPOINTS]; member in struct:handle_priv 383 hpriv->endpoints[i] = -1; 395 if (hpriv->endpoints[i] >= 0) 396 close(hpriv->endpoints[i]); 758 if (hpriv->endpoints[endpt] < 0) { 768 hpriv->endpoints[endpt] = fd; 771 return (hpriv->endpoints[endpt]);
|
/external/chromium_org/components/gcm_driver/ |
gcm_client_impl.cc | 237 const std::vector<GURL>& endpoints, 243 new ConnectionFactoryImpl(endpoints, 334 std::vector<GURL> endpoints; local 335 endpoints.push_back(gservices_settings_.GetMCSMainEndpoint()); 336 endpoints.push_back(gservices_settings_.GetMCSFallbackEndpoint()); 338 endpoints,
|
/external/chromium_org/extensions/browser/api/usb/ |
usb_api.cc | 388 std::vector<linked_ptr<EndpointDescriptor> >* endpoints) { 395 descriptor.endpoints = *endpoints; 768 std::vector<linked_ptr<EndpointDescriptor> > endpoints; local 802 endpoints.push_back(endpoint_desc); 811 &endpoints)); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentSkipListSetTest.java | 828 int[] endpoints = new int[2]; local 829 endpoints[0] = min + rnd.nextInt(rangeSize); 830 endpoints[1] = min + rnd.nextInt(rangeSize); 831 Arrays.sort(endpoints); 836 endpoints[0], lowIncl, endpoints[1], highIncl); 838 bashSubSet(sm, endpoints[0] + (lowIncl ? 0 : 1), 839 endpoints[1] - (highIncl ? 0 : 1), true, bs); 841 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), 842 endpoints[1] - (highIncl ? 0 : 1), false, bs) [all...] |
TreeSetTest.java | 832 int[] endpoints = new int[2]; local 833 endpoints[0] = min + rnd.nextInt(rangeSize); 834 endpoints[1] = min + rnd.nextInt(rangeSize); 835 Arrays.sort(endpoints); 840 endpoints[0], lowIncl, endpoints[1], highIncl); 842 bashSubSet(sm, endpoints[0] + (lowIncl ? 0 : 1), 843 endpoints[1] - (highIncl ? 0 : 1), true); 845 bashSubSet(sm.descendingSet(), endpoints[0] + (lowIncl ? 0 : 1), 846 endpoints[1] - (highIncl ? 0 : 1), false) [all...] |