/external/libusb-compat/examples/ |
lsusb.c | 34 struct usb_device *dev; local 35 for (dev = bus->devices; dev; dev = dev->next) { 37 dev->descriptor.idVendor, dev->descriptor.idProduct);
|
/external/mesa3d/src/gallium/winsys/nouveau/drm/ |
nouveau_drm_winsys.c | 15 struct nouveau_device *dev = NULL; local 19 ret = nouveau_device_wrap(fd, 0, &dev); 23 switch (dev->chipset & 0xf0) { 42 dev->chipset); 46 return init(dev);
|
/hardware/bsp/intel/peripheral/libmraa/examples/c++/ |
Uart-example.cpp | 38 mraa::Uart* dev; local 40 dev = new mraa::Uart(0); 46 dev = new mraa::Uart("/dev/ttyACM0"); 52 if (dev->setBaudRate(115200) != mraa::SUCCESS) { 56 if (dev->setMode(8, mraa::UART_PARITY_NONE, 1) != mraa::SUCCESS) { 60 if (dev->setFlowcontrol(false, false) != mraa::SUCCESS) { 64 dev->writeStr("Hello monkeys"); 67 delete dev;
|
/hardware/bsp/intel/peripheral/libmraa/examples/python/ |
spi.py | 32 dev = m.Spi(0) variable 38 rxbuf = dev.write(txbuf)
|
/external/libdrm/freedreno/kgsl/ |
kgsl_device.c | 39 static void kgsl_device_destroy(struct fd_device *dev) 41 struct kgsl_device *kgsl_dev = to_kgsl_device(dev); 55 struct fd_device *dev; local 61 dev = &kgsl_dev->base; 62 dev->funcs = &funcs; 64 return dev;
|
/external/libdrm/freedreno/msm/ |
msm_device.c | 39 static void msm_device_destroy(struct fd_device *dev) 41 struct msm_device *msm_dev = to_msm_device(dev); 55 struct fd_device *dev; local 61 dev = &msm_dev->base; 62 dev->funcs = &funcs; 64 return dev;
|
/hardware/libhardware/modules/nfc/ |
nfc_pn544_example.c | 24 static int pn544_close(hw_device_t *dev) { 25 free(dev); 35 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); local 37 dev->common.tag = HARDWARE_DEVICE_TAG; 38 dev->common.version = 0; 39 dev->common.module = (struct hw_module_t*) module; 40 dev->common.close = pn544_close; 43 dev->num_eeprom_settings = 0; 44 dev->eeprom_settings = NULL; 45 dev->linktype = PN544_LINK_TYPE_INVALID [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 47 if(dev == NULL) 50 memset(dev, 0, sizeof(*dev)); 52 dev->common.tag = HARDWARE_DEVICE_TAG; 53 dev->common.version = 0; 54 dev->common.module = (struct hw_module_t*)module; 55 dev->get_gps_interface = gps__get_gps_interface; 57 *device = (struct hw_device_t*)dev; [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 47 if(dev == NULL) 50 memset(dev, 0, sizeof(*dev)); 52 dev->common.tag = HARDWARE_DEVICE_TAG; 53 dev->common.version = 0; 54 dev->common.module = (struct hw_module_t*)module; 55 dev->get_gps_interface = gps__get_gps_interface; 57 *device = (struct hw_device_t*)dev; [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 47 if(dev == NULL) 50 memset(dev, 0, sizeof(*dev)); 52 dev->common.tag = HARDWARE_DEVICE_TAG; 53 dev->common.version = 0; 54 dev->common.module = (struct hw_module_t*)module; 55 dev->get_gps_interface = gps__get_gps_interface; 57 *device = (struct hw_device_t*)dev; [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 46 memset(dev, 0, sizeof(*dev)); 48 dev->common.tag = HARDWARE_DEVICE_TAG; 49 dev->common.version = 0; 50 dev->common.module = (struct hw_module_t*)module; 51 dev->get_gps_interface = gps__get_gps_interface; 53 *device = (struct hw_device_t*)dev;
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 47 if(dev == NULL) 50 memset(dev, 0, sizeof(*dev)); 52 dev->common.tag = HARDWARE_DEVICE_TAG; 53 dev->common.version = 0; 54 dev->common.module = (struct hw_module_t*)module; 55 dev->get_gps_interface = gps__get_gps_interface; 57 *device = (struct hw_device_t*)dev; [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
gps.c | 37 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 45 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 47 if(dev == NULL) 50 memset(dev, 0, sizeof(*dev)); 52 dev->common.tag = HARDWARE_DEVICE_TAG; 53 dev->common.version = 0; 54 dev->common.module = (struct hw_module_t*)module; 55 dev->get_gps_interface = gps__get_gps_interface; 57 *device = (struct hw_device_t*)dev; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
TestDataElements_testtypes.java | 8 package android.icu.dev.data;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/resources/ |
TestMessages.java | 8 package android.icu.dev.data.resources;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
PeriodBuilderTest.java | 11 package android.icu.dev.test.duration; 13 import android.icu.dev.test.TestFmwk;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleMatcherShim.java | 8 package android.icu.dev.test.util;
|
/external/mesa3d/src/gallium/targets/gbm/ |
gbm.c | 51 struct pipe_loader_device *dev; local 55 ret = pipe_loader_drm_probe_fd(&dev, gdrm->base.base.fd); 60 gdrm->screen = pipe_loader_create_screen(dev, get_library_search_path()); 63 pipe_loader_release(&dev, 1); 67 gdrm->driver = dev; 68 gdrm->base.driver_name = strdup(dev->driver_name);
|
/external/opencv3/modules/ts/src/ |
ocl_perf.cpp | 59 const cv::ocl::Device& dev = cv::ocl::Device::getDefault(); local 61 if (memSize * factor >= dev.maxMemAllocSize())
|
/hardware/qcom/display/msm8084/libgralloc/ |
gralloc.cpp | 105 gpu_context_t *dev; local 107 dev = new gpu_context_t(m, alloc_ctrl); 108 *device = &dev->common;
|
/hardware/qcom/display/msm8226/libgralloc/ |
gralloc.cpp | 105 gpu_context_t *dev; local 107 dev = new gpu_context_t(m, alloc_ctrl); 108 if(!dev) 111 *device = &dev->common;
|
/hardware/qcom/display/msm8909/libgralloc/ |
gralloc.cpp | 104 gpu_context_t *dev; local 106 dev = new gpu_context_t(m, alloc_ctrl); 107 if(!dev) 110 *device = &dev->common;
|
/hardware/qcom/display/msm8960/libgralloc/ |
gralloc.cpp | 104 gpu_context_t *dev; local 106 dev = new gpu_context_t(m, alloc_ctrl); 107 *device = &dev->common;
|
/hardware/qcom/display/msm8994/libgralloc/ |
gralloc.cpp | 104 gpu_context_t *dev; local 106 dev = new gpu_context_t(m, alloc_ctrl); 107 if(!dev) 110 *device = &dev->common;
|
/hardware/qcom/display/msm8996/libgralloc/ |
gralloc.cpp | 104 gpu_context_t *dev; local 106 dev = new gpu_context_t(m, alloc_ctrl); 107 if(!dev) 110 *device = &dev->common;
|