/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
|
/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...] |
online.c | 38 "on-line resizing required\n"), fs->device_name, mtpt); 111 fs->device_name, *new_size, fs->blocksize / 1024); 191 "not supported on this system.\n"), fs->device_name, mtpt);
|
/device/generic/goldfish/camera/ |
EmulatedQemuCamera.h | 46 status_t Initialize(const char* device_name,
|
EmulatedQemuCamera.cpp | 44 status_t EmulatedQemuCamera::Initialize(const char* device_name, 49 __FUNCTION__, device_name, facing_dir, frame_dims); 54 status_t res = mQemuCameraDevice.Initialize(device_name); 109 __FUNCTION__, device_name, x, y);
|
EmulatedQemuCameraDevice.h | 49 * device_name - Name of the camera device connected to the host. The name 55 status_t Initialize(const char* device_name);
|
EmulatedQemuCameraDevice.cpp | 48 status_t EmulatedQemuCameraDevice::Initialize(const char* device_name) 52 snprintf(connect_str, sizeof(connect_str), "name=%s", device_name); 62 __FUNCTION__, device_name); 63 mDeviceName = device_name;
|
/external/e2fsprogs/e2fsck/ |
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);
|
scantest.c | 40 const char * device_name = NULL; variable 102 device_name = "/dev/hda3"; 106 retval = ext2fs_open(device_name, 0, 110 device_name);
|
badblocks.c | 78 fs->device_name, fs->super->s_blocks_count-1); 100 printf("%s: Updating bad block inode.\n", ctx->device_name);
|
/external/e2fsprogs/lib/ext2fs/ |
dupfs.c | 34 fs->device_name = 0; 47 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); 50 strcpy(fs->device_name, src->device_name);
|
freefs.c | 33 if (fs->device_name) 34 ext2fs_free_mem(&fs->device_name);
|
/external/e2fsprogs/misc/ |
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...] |
findsuper.c | 122 const char * device_name; local 147 device_name = argv[optind++]; 176 fd = open(device_name, O_RDONLY); 178 perror(device_name);
|
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);
|
/external/e2fsprogs/ext2ed/ |
disk.c | 61 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); 67 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name); 117 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); 123 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name); 155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) ¤t_time),device_name);
|
/external/qemu/android/camera/ |
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...] |
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...] |
/external/wpa_supplicant_8/src/wps/ |
wps_dev_attr.c | 164 len = dev->device_name ? os_strlen(dev->device_name) : 0; 178 wpabuf_put_data(msg, dev->device_name, len); 343 os_free(dev->device_name); 344 dev->device_name = os_malloc(str_len + 1); 345 if (dev->device_name == NULL) 347 os_memcpy(dev->device_name, str, str_len); 348 dev->device_name[str_len] = '\0'; 424 if (src->device_name) 425 dst->device_name = os_strdup(src->device_name) [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;
|
/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...] |
/development/host/windows/usb/adb_winapi_test/ |
adb_winapi_test.cpp | 66 bool TestInterface(const wchar_t* device_name);
115 printf("\nFound interface %ws:", interface_info.device_name);
150 TestInterface(interface_info.device_name);
171 bool TestInterface(const wchar_t* device_name) {
172 printf("\n*** Test interface( %ws )", device_name);
175 ADBAPIHANDLE interface_handle = AdbCreateInterfaceByName(device_name);
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_parse.c | 158 os_memcpy(msg->device_name, pos, nlen); 159 msg->device_name[nlen] = '\0'; 161 if (msg->device_name[i] == '\0') 163 if (msg->device_name[i] > 0 && 164 msg->device_name[i] < 32) 165 msg->device_name[i] = '_'; 173 msg->device_name, msg->config_methods); 330 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && 331 !msg->device_name[0]) 332 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
camera.h | 89 int OpenDevice(const char* device_name) const;
|