/development/host/windows/usb/api/ |
adb_api_private_defines.h | 39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
69 return static_cast<ULONG>(FIELD_OFFSET(AdbInterfaceInfo, device_name) +
82 wcscpy(info->device_name, device_name().c_str());
86 const std::wstring& device_name() const {
function in class:AdbInstanceEnumEntry
|
adb_api.h | 208 wchar_t device_name[1];
member in struct:_AdbInterfaceInfo
|
/external/e2fsprogs/e2fsck/ |
scantest.c | 40 const char * device_name = NULL; variable 102 device_name = "/dev/hda3"; 106 retval = ext2fs_open(device_name, 0, 110 device_name);
|
iscan.c | 33 const char * device_name = NULL; variable 77 device_name = argv[optind]; 79 int fd = open(device_name, O_RDONLY, 0); 83 _("while opening %s for flushing"), device_name); 88 _("while trying to flush %s"), device_name); 109 retval = ext2fs_open(device_name, 0, 113 device_name);
|
/external/e2fsprogs/misc/ |
e2undo.c | 130 char *device_name, *tdb_file; local 156 device_name = argv[optind+1]; 166 retval = ext2fs_check_if_mounted(device_name, &mount_flags); 169 "%s is mounted.\n"), device_name); 179 retval = manager->open(device_name, 183 _("Failed to open %s\n"), device_name);
|
findsuper.c | 122 const char * device_name; local 147 device_name = argv[optind++]; 176 fd = open(device_name, O_RDONLY); 178 perror(device_name);
|
e2freefrag.c | 35 "device_name\n", prog); 211 void close_device(char *device_name, ext2_filsys fs) 216 com_err(device_name, retval, "while closing the filesystem.\n"); 223 printf("Device: %s\n", fs->device_name); 228 com_err(fs->device_name, retval, "while reading block bitmap"); 229 close_device(fs->device_name, fs); 237 com_err(fs->device_name, retval, "while collecting chunk info"); 238 close_device(fs->device_name, fs); 243 void open_device(char *device_name, ext2_filsys *fs) 248 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs) 260 char *device_name; local [all...] |
e2initrd_helper.c | 42 char * device_name; variable 323 device_name = blkid_get_devname(NULL, argv[optind], NULL); 324 if (!device_name) { 379 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs);
|
dumpe2fs.c | 48 char * device_name = NULL; variable 544 device_name = argv[optind++]; 555 retval = ext2fs_open (device_name, flags, 563 retval = ext2fs_open (device_name, flags, use_superblock, 567 device_name); 594 program_name, device_name,
|
e2image.c | 48 char * device_name = NULL; variable 131 strncpy(hdr.fs_device_name, device_name, sizeof(hdr.fs_device_name)-1); 135 if (stat(device_name, &st) == 0) 668 device_name = argv[optind]; 672 install_image(device_name, image_fn, raw_flag); 676 retval = ext2fs_open (device_name, open_flag, 0, 0, 680 device_name);
|
badblocks.c | 923 static void check_mount(char *device_name) 928 retval = ext2fs_check_if_mounted(device_name, &mount_flags); 932 device_name); 936 fprintf(stderr, _("%s is mounted; "), device_name); 949 device_name); 980 char * device_name; local 1120 device_name = argv[optind++]; 1122 errcode = ext2fs_get_device_size(device_name, 1152 check_mount(device_name); 1156 dev = open (device_name, open_flag) [all...] |
tune2fs.c | 63 char *device_name; variable 586 device_name = blkid_get_devname(NULL, argv[1], NULL); 587 if (!device_name) { 871 device_name = blkid_get_devname(NULL, argv[optind], NULL); 872 if (!device_name) { [all...] |
/external/e2fsprogs/lib/ext2fs/ |
mkjournal.c | 404 if (stat(journal_dev->device_name, &st) < 0) 465 if ((retval = ext2fs_check_mount_point(fs->device_name, &mount_flags, 555 char *device_name; local 562 device_name = argv[1]; 564 retval = ext2fs_open (device_name, EXT2_FLAG_RW, 0, 0, 567 com_err(argv[0], retval, "while opening %s", device_name); 574 device_name);
|
/external/e2fsprogs/ext2ed/ |
main.c | 70 char device_name [80]; /* The location of the filesystem */ variable
|
/external/e2fsprogs/resize/ |
main.c | 38 char *program_name, *device_name, *io_options; variable 225 device_name = argv[optind++]; 231 io_options = strchr(device_name, '?'); 245 retval = ext2fs_check_mount_point(device_name, &mount_flags, 250 device_name); 260 fd = open64(device_name, O_RDWR); 262 fd = open(device_name, O_RDWR); 266 device_name); 278 device_name); 287 device_name); [all...] |
/external/qemu/android/camera/ |
camera-common.h | 126 char* device_name; member in struct:CameraInfo 161 if (ci->device_name != NULL) 162 free(ci->device_name);
|
camera-capture-linux.c | 87 char* device_name; member in struct:LinuxCameraDevice 271 if (lcd->device_name != NULL) { 272 free(lcd->device_name); 305 cd->handle = open(cd->device_name, O_RDWR | O_NONBLOCK, 0); 337 __FUNCTION__, cd->device_name); 414 __FUNCTION__, cd->device_name); 500 if (stat(cd->device_name, &st)) { 505 E("%s: '%s' is not a device", __FUNCTION__, cd->device_name); 510 cd->handle = open(cd->device_name, O_RDWR | O_NONBLOCK, 0); 513 __FUNCTION__, cd->device_name, strerror(errno)) [all...] |
camera-service.c | 179 snprintf(tmp, sizeof(tmp), "name=%s ", ci->device_name); 246 * device_name - Device name to match. 254 _camera_info_get_by_device_name(const char* device_name, CameraInfo* arr, int num) 258 if (arr[n].device_name != NULL && !strcmp(arr[n].device_name, device_name)) { 304 csd->camera_info[csd->camera_count].device_name, 351 * device_name - Camera's device name to look up the information for. 358 const char* device_name) 360 return _camera_info_get_by_device_name(device_name, cs->camera_info 585 char* device_name; member in struct:CameraClient [all...] |
/external/qemu/block/ |
raw-win32.c | 320 char device_name[64]; local 323 if (find_cdrom(device_name, sizeof(device_name)) < 0) 325 filename = device_name; 331 snprintf(device_name, sizeof(device_name), "\\\\.\\%c:", filename[0]); 332 filename = device_name;
|
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 15 * generic_buffer -n <device_name> -t <trigger_name> 455 char device_name[10]; local 503 device_name[i] = tolower(chip_name[i]); 505 device_name[strlen(chip_name)] = '\0'; 506 printf("device name: %s\n", device_name); 509 dev_num = find_type_by_name(device_name, "iio:device"); 511 printf("Failed to find the %s\n", device_name); 520 * name is <device_name>_dev[n] where n matches the device 524 "%s-dev%d", device_name, dev_num);
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
devicemanager.cc | 127 static bool ShouldDeviceBeIgnored(const std::string& device_name); 707 std::string device_name = devdir + filename; local 710 V4LLookup::IsV4L2Device(device_name)) { 711 devices->push_back(Device(device_name, device_name)); 719 std::string device_name; local 725 if (device_meta_stream->ReadLine(&device_name) != talk_base::SR_SUCCESS) { 731 return device_name; 772 std::string device_name; local 779 device_name = GetVideoDeviceNameK2_6(meta_file_path) 799 LOG(LS_INFO) << "Name for " << device_file_name << " is " << device_name; local [all...] |
/system/core/init/ |
devices.c | 64 const char *device_name; member in struct:uevent 317 uevent->device_name = NULL; 347 uevent->device_name = msg; 561 if (uevent->device_name) { 567 snprintf(devpath, sizeof(devpath), "/dev/%s", uevent->device_name);
|
/external/chromium/base/ |
file_util_win.cc | 52 wchar_t device_name[MAX_PATH]; local 61 if (QueryDosDevice(drive, device_name, MAX_PATH) && 62 StartsWith(device_path.value(), device_name, true)) { 64 device_path.value().substr(wcslen(device_name))); [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 162 static UINT8 device_name[BTE_APPL_MAX_USERIAL_DEV_NAME+1]; variable 945 strcpy((char*)device_name, (char*)userial_dev); 958 sprintf((char*)device_name, "%s%d", (char*)userial_dev, uart_port); 959 ALOGI("USERIAL_Open() using device_name: %s ", (char*)device_name); 991 strcpy((char*)device_name, (char*)userial_dev); 994 ALOGD("%s Opening %s\n", __FUNCTION__, device_name); 995 if ((linux_cb.sock = open((char*)device_name, O_RDWR | O_NOCTTY )) == -1) 997 ALOGI("%s unable to open %s", __FUNCTION__, device_name); [all...] |
/external/qemu/ |
block_int.h | 196 char device_name[32]; member in struct:BlockDriverState
|