/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
H A D | mobiledevicemanager.cc | 70 bool GetUsbId(const Device& device, std::string* usb_id) { return false; } argument 72 bool GetUsbVersion(const Device& device, std::string* usb_version) { argument
|
H A D | win32deviceinfo.cc | 32 bool GetUsbId(const Device& device, std::string* usb_id) { argument 36 const size_t vid_location = device.id.find(vid); 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { 42 const size_t pid_location = device.id.find(pid); 44 pid_location + sizeof(pid) - 1 + id_size > device.id.size()) { 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, 49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1, 58 bool GetUsbVersion(const Device& device, std::string* usb_version) { argument
|
/external/chromium_org/third_party/libusb/src/libusb/ |
H A D | hotplug.h | 53 /** Callback function to invoke for matching event/device */ 73 struct libusb_device *device; member in struct:libusb_hotplug_message
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDGPUSubtarget.cpp | 91 AMDGPUSubtarget::device() const function in class:AMDGPUSubtarget
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
H A D | device.hpp | 34 typedef struct _cl_device_id device; typedef in namespace:clover 84 typedef std::vector<device>::iterator iterator; 96 device &front() { 100 device &back() { 105 std::vector<device> devs;
|
/external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/ |
H A D | driver_name.c | 42 struct udev_device *device, *parent; local 48 device = _gbm_udev_device_new_from_fd(udev, fd); 49 if (device == NULL) 52 parent = udev_device_get_parent(device); 54 fprintf(stderr, "gbm: could not get parent device"); 85 udev_device_unref(device);
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFFormXObject.cpp | 20 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { argument 21 // We don't want to keep around device because we'd have two copies 25 SkPDFResourceDict* resourceDict = device->getResourceDict(); 28 SkAutoTUnref<SkStream> content(device->content()); 31 SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); 37 if (!device->initialTransform().isIdentity()) { 39 if (!device->initialTransform().invert(&inverse)) {
|
/external/e2fsprogs/misc/ |
H A D | base_device.c | 4 * Return the "base device" given a particular device; this is used to 7 * place. If the base device can not be determined, return NULL. 41 char *base_device(const char *device) argument 47 str = malloc(strlen(device)+1); 50 strcpy(str, device);
|
/external/libmtp/examples/ |
H A D | emptyfolders.c | 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *folderlist, int do_delete) argument 46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) { 48 LIBMTP_Dump_Errorstack(device); 49 LIBMTP_Clear_Errorstack(device); 55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down 56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along 82 LIBMTP_mtpdevice_t *device; local 87 device = LIBMTP_Get_First_Device(); 88 if (device == NULL) { 94 files = LIBMTP_Get_Filelisting_With_Callback(device,NUL [all...] |
H A D | folders.c | 3 * Example program that lists all folders on a device. 44 LIBMTP_mtpdevice_t *device, *iter; local 48 fprintf(stdout, "Attempting to connect device(s)\n"); 50 switch(LIBMTP_Get_Connected_Devices(&device)) 69 /* Successfully connected at least one device, so continue */ 76 for(iter = device; iter != NULL; iter = iter->next) 79 /* Echo the friendly name so we know which device we are working with */ 105 LIBMTP_Release_Device_List(device);
|
H A D | getplaylist.c | 3 * Example program that lists the abstract playlists on the device. 26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) argument 35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); 41 LIBMTP_Dump_Errorstack(device); 42 LIBMTP_Clear_Errorstack(device); 51 LIBMTP_mtpdevice_t *device; local 75 device = LIBMTP_Get_First_Device(); 76 if (device == NULL) { 77 printf("No devices. Connect/replug device and try again.\n"); 81 playlist = LIBMTP_Get_Playlist(device,i [all...] |
H A D | newplaylist.c | 3 * Example program to create a playlist on a device. 39 LIBMTP_mtpdevice_t *device = NULL; local 83 device = LIBMTP_Get_First_Device(); 84 if (device == NULL) { 95 int ret = LIBMTP_Create_New_Playlist(device,playlist); 98 LIBMTP_Dump_Errorstack(device); 99 LIBMTP_Clear_Errorstack(device); 105 LIBMTP_Release_Device(device);
|
H A D | thumb.c | 4 * on a device. 46 LIBMTP_mtpdevice_t *device = NULL; local 101 device = LIBMTP_Get_First_Device(); 102 if (device == NULL) { 118 ret = LIBMTP_Send_Representative_Sample(device,id,thumb); 121 LIBMTP_Dump_Errorstack(device); 122 LIBMTP_Clear_Errorstack(device); 128 LIBMTP_Release_Device(device);
|
/external/llvm/ |
H A D | llvm-device-build.mk | 41 # No action. The device target should not have exception enabled since bionic 64 $(LLVM_ROOT_PATH)/device/include \ 72 define transform-device-td-to-out 78 -I $(LLVM_ROOT_PATH)/device/include \
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDGPUSubtarget.cpp | 91 AMDGPUSubtarget::device() const function in class:AMDGPUSubtarget
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | device.hpp | 34 typedef struct _cl_device_id device; typedef in namespace:clover 84 typedef std::vector<device>::iterator iterator; 96 device &front() { 100 device &back() { 105 std::vector<device> devs;
|
/external/mesa3d/src/gbm/backends/dri/ |
H A D | driver_name.c | 42 struct udev_device *device, *parent; local 48 device = _gbm_udev_device_new_from_fd(udev, fd); 49 if (device == NULL) 52 parent = udev_device_get_parent(device); 54 fprintf(stderr, "gbm: could not get parent device"); 85 udev_device_unref(device);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/dummy/ |
H A D | SDL_dummyaudio.c | 56 static void DUMMYAUD_DeleteDevice(SDL_AudioDevice *device) argument 58 SDL_free(device->hidden); 59 SDL_free(device);
|
/external/skia/src/pdf/ |
H A D | SkPDFFormXObject.cpp | 20 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { argument 21 // We don't want to keep around device because we'd have two copies 25 SkPDFResourceDict* resourceDict = device->getResourceDict(); 28 SkAutoTUnref<SkStream> content(device->content()); 31 SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); 37 if (!device->initialTransform().isIdentity()) { 39 if (!device->initialTransform().invert(&inverse)) {
|
/external/blktrace/btt/ |
H A D | bno_dump.c | 27 static FILE *bno_dump_open(__u32 device, char rwc) argument 33 mjr = device >> MINORBITS; 34 mnr = device & ((1 << MINORBITS) - 1); 51 void *bno_dump_alloc(__u32 device) argument 58 bdp->rfp = bno_dump_open(device, 'r'); 59 bdp->wfp = bno_dump_open(device, 'w'); 60 bdp->cfp = bno_dump_open(device, 'c');
|
H A D | latency.c | 29 FILE *latency_open(__u32 device, char *name, char *post) argument 37 mjr = device >> MINORBITS; 38 mnr = device & ((1 << MINORBITS) - 1); 52 dip->q2d_ofp = latency_open(dip->device, q2d_name, "q2d"); 53 dip->d2c_ofp = latency_open(dip->device, d2c_name, "d2c"); 54 dip->q2c_ofp = latency_open(dip->device, q2c_name, "q2c");
|
/external/bluetooth/bluedroid/test/suite/support/ |
H A D | hal.c | 44 hw_device_t *device; local 45 if (module->methods->open(module, BT_STACK_MODULE_ID, &device)) { 49 bt_device = (bluetooth_device_t *)device;
|
/external/chromium_org/android_webview/native/permission/ |
H A D | media_access_permission_request.cc | 18 // Return the device specified by |device_id| if exists, otherwise the first 19 // available device is returned. 60 const MediaStreamDevice* device = GetDeviceByIdOrFirstAvailable( local 62 if (device) 63 devices.push_back(*device); 70 const MediaStreamDevice* device = GetDeviceByIdOrFirstAvailable( local 72 if (device) 73 devices.push_back(*device);
|
/external/chromium_org/ash/system/win/audio/ |
H A D | tray_audio_delegate_win.cc | 100 ScopedComPtr<IMMDevice> device = local 102 if (!device || 103 FAILED(device->Activate(__uuidof(IAudioSessionManager), CLSCTX_ALL, NULL,
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
H A D | signed_in_devices_api.cc | 83 // Get the device tracker and extension prefs pointers 107 scoped_ptr<DeviceInfo> device = GetDeviceInfoForClientId(guid, local 110 return device.Pass(); 121 scoped_ptr<DeviceInfo> device = local 124 if (device.get()) { 125 result->Append(device->ToValue());
|