/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/device/usb/ |
usb_descriptors.h | 65 std::vector<UsbEndpointDescriptor> endpoints; member in struct:device::UsbInterfaceDescriptor
|
/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 | 203 const std::vector<GURL>& endpoints, 210 new ConnectionFactoryImpl(endpoints, 340 std::vector<GURL> endpoints; local 341 endpoints.push_back(gservices_settings_.GetMCSMainEndpoint()); 342 endpoints.push_back(gservices_settings_.GetMCSFallbackEndpoint()); 344 endpoints, [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkTextureCompressor_ASTC.cpp | 224 // 4. 8-bit endpoints: 420 static inline void decode_rgba_direct(const int *v, SkColor *endpoints, bool isRGB) { 433 endpoints[0] = SkColorSetARGB(v6, v[0], v[2], v[4]); 434 endpoints[1] = SkColorSetARGB(v7, v[1], v[3], v[5]); 436 endpoints[0] = blue_contract(v7, v[1], v[3], v[5]); 437 endpoints[1] = blue_contract(v6, v[0], v[2], v[4]); 447 static inline void decode_rgba_basescale(const int *v, SkColor *endpoints, bool isRGB) { 456 endpoints[0] = SkColorSetARGB(v4, 460 endpoints[1] = SkColorSetARGB(v5, v[0], v[1], v[2]); 471 static inline void decode_rgba_baseoffset(const int *v, SkColor *endpoints, bool isRGB) 1984 SkColor endpoints[4][2]; local [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...] |