/system/core/toolbox/ |
getevent.c | 410 char devname[PATH_MAX]; local 426 strcpy(devname, dirname); 427 filename = devname + strlen(devname); 436 open_device(devname, print_flags); 439 close_device(devname, print_flags); 451 char devname[PATH_MAX]; local 458 strcpy(devname, dirname); 459 filename = devname + strlen(devname); [all...] |
/external/bluetooth/bluedroid/stack/include/ |
gap_api.h | 184 tBTM_BD_NAME devname; member in struct:__anon3767 374 GAP_API extern UINT16 GAP_FindAddrByName (BD_NAME devname, [all...] |
/external/qemu/hw/ |
goldfish_nand.c | 56 char* devname; /* name for this device (not null-terminated, use len below) */ member in struct:__anon27204 475 safe_memory_rw_debug(cpu_single_env, s->data, (uint8_t*)dev->devname, size, 1); 661 char *devname = NULL; local 696 if(devname == NULL) { 700 devname = malloc(arg_len+1); 701 if(devname == NULL) 703 memcpy(devname, arg, arg_len); 704 devname[arg_len] = 0; 768 devname_len, devname, strerror(errno)); 773 dprint( "mapping '%.*s' NAND image to %s", devname_len, devname, rwfilename) [all...] |
usb.h | 173 char devname[32]; member in struct:USBDevice 248 USBDevice *usb_host_device_open(const char *devname); 249 int usb_host_device_close(const char *devname);
|
/hardware/samsung_slsi/exynos5/libgscaler/ |
exynos_gscaler.c | 314 char devname[32]; local 341 sprintf(devname, PFX_FIMD_ENTITY, dev_num); 343 sprintf(devname, PFX_MXR_ENTITY, 0); 345 sink_sd_entity = exynos_media_get_entity_by_name(media0, devname, strlen(devname)); 346 sink_sd_entity->fd = exynos_subdev_open_devname(devname, O_RDWR); 353 sprintf(devname, PFX_GSC_VIDEODEV_ENTITY, dev_num); 354 gsc_vd_entity= exynos_media_get_entity_by_name(media0, devname, strlen(devname)); 356 sprintf(devname, PFX_GSC_SUBDEV_ENTITY, dev_num) [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_btservice_AdapterService.cpp | 349 jbyteArray addr, devname; local 363 devname = callbackEnv->NewByteArray(sizeof(bt_bdname_t)); 364 if (devname == NULL) goto Fail; 366 callbackEnv->SetByteArrayRegion(devname, 0, sizeof(bt_bdname_t), (jbyte*)bdname); 368 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_pinRequestCallback, addr, devname, cod); 372 callbackEnv->DeleteLocalRef(devname); 377 if (devname) callbackEnv->DeleteLocalRef(devname); 383 jbyteArray addr, devname; local 397 devname = callbackEnv->NewByteArray(sizeof(bt_bdname_t)) [all...] |
/system/core/adb/ |
usb_linux.c | 135 char busname[32], devname[32]; local 165 snprintf(devname, sizeof devname, "%s/%s", busname, de->d_name); 167 if(known_device(devname)) { 168 DBGX("skipping %s\n", devname); 172 // DBGX("[ scanning %s ]\n", devname); 173 if((fd = unix_open(devname, O_RDONLY)) < 0) { 197 DBGX("[ %s is V:%04x P:%04x ]\n", devname, vid, pid); 290 register_device_callback(devname, devpath,
|
/system/core/libusbhost/ |
usbhost.c | 95 char devname[32]; local 106 snprintf(devname, sizeof(devname), "%s/%s", busname, de->d_name); 107 done = added_cb(devname, client_data);
|
/system/core/logcat/ |
logcat.cpp | 631 char devname[64]; local 639 len = snprintf( devname, sizeof(devname), "/dev/%.*s", len, p ); 640 fprintf(stderr, "logcat using %s (%d)\n", devname, len); 641 if (len < (int)sizeof(devname)) { 642 fd = open( devname, O_WRONLY );
|
/external/grub/grub/ |
asmstub.c | 768 char *devname = device_map[drive]; local 771 if (! devname) 776 drive, devname); 780 disks[drive].flags = open (devname, O_RDWR); 786 disks[drive].flags = open (devname, O_RDONLY);
|
/external/libmtp/src/ |
libusb-glue.c | 373 char devname[0x10]; local 375 devname[0] = '\0'; 378 devname, 379 sizeof(devname)); 380 if (devname[0] != '\0' && strcmp(devname, "usb-storage")) { 381 printf("avoid probing device using kernel interface \"%s\"\n", devname); 698 char devname[0x10]; local 701 devname[0] = '\0'; 702 res = usb_get_driver_np(ptp_usb->handle, (int) ptp_usb->interface, devname, sizeof(devname)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_p2p.c | 864 char *devname; local 869 devname = os_strdup(entry.str_value); 870 if (devname == NULL) 874 wpa_s->conf->device_name = devname; [all...] |
/external/qemu/ |
net.c | 1155 dev = devname(s.st_rdev, S_IFCHR); 2186 char name[20], *devname; local [all...] |
net-android.c | 1283 dev = devname(s.st_rdev, S_IFCHR); 2290 char name[20], *devname; local [all...] |
vl.c | 613 char devname[10]; local 615 pstrcpy(devname, MIN(sizeof(devname), len), opt); 631 if (!strcmp(devname, "keyboard")) 634 fprintf(stderr, "qemu: unsupported bluetooth device `%s'\n", devname); 834 char devname[128]; local 873 pstrcpy(devname, sizeof(devname), "scsi"); 877 pstrcpy(devname, sizeof(devname), "ide") 2951 const char *devname = serial_devices[i]; local 3024 const char *devname = serial_devices[i]; local 3038 const char *devname = parallel_devices[i]; local 3052 const char *devname = virtio_consoles[i]; local 3170 const char *devname = serial_devices[i]; local 3178 const char *devname = parallel_devices[i]; local 3186 const char *devname = virtio_consoles[i]; local [all...] |
vl-android.c | 809 char devname[10]; local 811 pstrcpy(devname, MIN(sizeof(devname), len), opt); 827 if (!strcmp(devname, "keyboard")) 830 fprintf(stderr, "qemu: unsupported bluetooth device `%s'\n", devname); 1031 char devname[128]; local 1070 pstrcpy(devname, sizeof(devname), "scsi"); 1074 pstrcpy(devname, sizeof(devname), "ide") 4138 const char *devname = serial_devices[i]; local 4226 const char *devname = parallel_devices[i]; local 4239 const char *devname = virtio_consoles[i]; local 4442 const char *devname = serial_devices[i]; local 4450 const char *devname = parallel_devices[i]; local 4458 const char *devname = virtio_consoles[i]; local [all...] |
/external/grub/netboot/ |
via-rhine.c | 628 char devname[8]; /* Used only for kernel debugging. */ member in struct:rhine_private
|
/external/wpa_supplicant_8/src/drivers/ |
driver_ndis.c | 2404 TCHAR keyname[256], devname[256]; local [all...] |