/external/chromium_org/extensions/browser/api/usb_private/ |
H A D | usb_private_api.cc | 12 #include "device/core/device_client.h" 13 #include "device/usb/usb_device_filter.h" 14 #include "device/usb/usb_device_handle.h" 15 #include "device/usb/usb_ids.h" 16 #include "device/usb/usb_service.h" 25 using device::UsbDevice; 26 using device::UsbDeviceFilter; 27 using device::UsbDeviceHandle; 28 using device::UsbService; 35 const char kErrorNoDevice[] = "No such device 71 scoped_refptr<UsbDevice> device = *it; local 100 scoped_refptr<UsbDevice> device = local [all...] |
/external/chromium_org/media/video/capture/android/ |
H A D | video_capture_device_factory_android.cc | 85 const VideoCaptureDevice::Name& device, 89 if (!base::StringToInt(device.id(), &id)) 123 DVLOG(1) << device.name() << " " << capture_format.ToString(); 84 GetDeviceSupportedFormats( const VideoCaptureDevice::Name& device, VideoCaptureFormats* capture_formats) argument
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
H A D | yuvframescapturer.h | 33 static bool IsYuvFramesCapturerDevice(const Device& device) { argument 34 return rtc::starts_with(device.id.c_str(), kYuvFrameDeviceName);
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
H A D | common.c | 48 struct udev_device *device; local 56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 57 if (device == NULL) { 59 "EGL-DRI2: could not create udev device for fd %d", fd); 63 return device; 70 struct udev_device *device; local 75 device = dri2_udev_device_new_from_fd(udev, fd); 76 if (device == NULL) 79 const_device_name = udev_device_get_devnode(device); 85 udev_device_unref(device); 95 struct udev_device *device, *parent; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | bitmap.c | 39 vlVdpBitmapSurfaceCreate(VdpDevice device, argument 54 vlVdpDevice *dev = vlGetDataHTAB(device); 69 vlsurface->device = dev; 121 pipe_mutex_lock(vlsurface->device->mutex); 123 pipe_mutex_unlock(vlsurface->device->mutex); 180 pipe = vlsurface->device->context; 182 pipe_mutex_lock(vlsurface->device->mutex); 184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); 191 pipe_mutex_unlock(vlsurface->device->mutex);
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkTestImageFilters.cpp | 8 // Simple helper canvas that "takes ownership" of the provided device, so that 9 // when this canvas goes out of scope, so will its device. Could be replaced 12 // SkCanvas canvas(device); 13 // SkAutoTUnref<SkBaseDevice> aur(device); 17 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { argument 18 SkSafeUnref(device);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | LayerDrawLooperTest.cpp | 57 FakeDevice device; local 58 SkCanvas canvas(&device); 69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 70 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 78 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()); 97 FakeDevice device; local 98 SkCanvas canvas(&device); 109 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 110 REPORTER_ASSERT(reporter, 0.0f == device 137 FakeDevice device; local [all...] |
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | gbm_buffer.cc | 41 gbm_device* device, 48 gbm_bo* bo = gbm_bo_create(device, 39 CreateBuffer( DriWrapper* dri, gbm_device* device, SurfaceFactoryOzone::BufferFormat format, const gfx::Size& size, bool scanout) argument
|
/external/kernel-headers/original/uapi/linux/ |
H A D | netrom.h | 27 char device[16]; member in struct:nr_route_struct
|
/external/libmtp/examples/ |
H A D | albumart.c | 45 LIBMTP_mtpdevice_t *device = NULL; local 121 device = LIBMTP_Get_First_Device(); 122 if (device == NULL) { 138 int ret = LIBMTP_Create_New_Album(device,album); 140 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart); 143 LIBMTP_Dump_Errorstack(device); 144 LIBMTP_Clear_Errorstack(device); 149 LIBMTP_Dump_Errorstack(device); 150 LIBMTP_Clear_Errorstack(device); 156 LIBMTP_Release_Device(device); [all...] |
H A D | connect.c | 33 LIBMTP_mtpdevice_t *device; variable 86 device = LIBMTP_Get_First_Device(); 87 if (device == NULL) { 91 files = LIBMTP_Get_Filelisting_With_Callback (device, NULL, NULL); 92 folders = LIBMTP_Get_Folder_List (device); 165 LIBMTP_Release_Device(device);
|
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | common.c | 48 struct udev_device *device; local 56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); 57 if (device == NULL) { 59 "EGL-DRI2: could not create udev device for fd %d", fd); 63 return device; 70 struct udev_device *device; local 75 device = dri2_udev_device_new_from_fd(udev, fd); 76 if (device == NULL) 79 const_device_name = udev_device_get_devnode(device); 85 udev_device_unref(device); 95 struct udev_device *device, *parent; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | bitmap.c | 39 vlVdpBitmapSurfaceCreate(VdpDevice device, argument 54 vlVdpDevice *dev = vlGetDataHTAB(device); 69 vlsurface->device = dev; 121 pipe_mutex_lock(vlsurface->device->mutex); 123 pipe_mutex_unlock(vlsurface->device->mutex); 180 pipe = vlsurface->device->context; 182 pipe_mutex_lock(vlsurface->device->mutex); 184 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); 191 pipe_mutex_unlock(vlsurface->device->mutex);
|
/external/qemu/distrib/sdl-1.2.15/src/audio/baudio/ |
H A D | SDL_beaudio.cc | 53 static void Audio_DeleteDevice(SDL_AudioDevice *device) argument 55 SDL_free(device->hidden); 56 SDL_free(device); 61 SDL_AudioDevice *device; local 64 device = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice)); 65 if ( device ) { 66 SDL_memset(device, 0, (sizeof *device)); 67 device->hidden = (struct SDL_PrivateAudioData *) 68 SDL_malloc((sizeof *device 97 FillSound(void *device, void *stream, size_t len, const media_raw_audio_format &format) argument [all...] |
/external/skia/src/effects/ |
H A D | SkTestImageFilters.cpp | 8 // Simple helper canvas that "takes ownership" of the provided device, so that 9 // when this canvas goes out of scope, so will its device. Could be replaced 12 // SkCanvas canvas(device); 13 // SkAutoTUnref<SkBaseDevice> aur(device); 17 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { argument 18 SkSafeUnref(device);
|
/external/skia/tests/ |
H A D | LayerDrawLooperTest.cpp | 57 FakeDevice device; local 58 SkCanvas canvas(&device); 69 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 70 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 78 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()); 97 FakeDevice device; local 98 SkCanvas canvas(&device); 109 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 110 REPORTER_ASSERT(reporter, 0.0f == device 137 FakeDevice device; local [all...] |
/external/tinyalsa/ |
H A D | tinypcminfo.c | 102 unsigned int device = 0; local 107 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]); 122 device = atoi(*argv); 128 printf("Info for card %d, device %d:\n", card, device); 138 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN);
|
/external/blktrace/ |
H A D | blkiomon.h | 37 __u32 device; member in struct:blkiomon_stat 82 bstat->device = cpu_to_be32(bstat->device); 105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
|
/external/blktrace/btt/ |
H A D | unplug_hist.c | 33 void *unplug_hist_alloc(__u32 device) argument 40 hbp->dev = device; 50 dip = __dip_find(u_iop->t.device);
|
/external/chromium_org/android_webview/renderer/ |
H A D | print_web_view_helper_linux.cc | 169 SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, local 172 if (!device) 178 skia::AdoptRef(new skia::VectorCanvas(device)); 194 // Done printing. Close the device context to retrieve the compiled metafile.
|
/external/chromium_org/ash/system/chromeos/audio/ |
H A D | audio_detailed_view.cc | 20 base::string16 GetAudioDeviceName(const chromeos::AudioDevice& device) { argument 21 switch (device.type) { 32 base::UTF8ToUTF16(device.display_name)); 36 base::UTF8ToUTF16(device.display_name)); 40 base::UTF8ToUTF16(device.display_name)); 42 return base::UTF8ToUTF16(device.display_name); 171 chromeos::AudioDevice& device = iter->second; 172 CrasAudioHandler::Get()->SwitchToDevice(device, true);
|
/external/chromium_org/chrome/browser/chromeos/bluetooth/ |
H A D | bluetooth_pairing_dialog.cc | 12 #include "device/bluetooth/bluetooth_device.h" 34 const device::BluetoothDevice* device) 36 device_data_.SetString("address", device->GetAddress()); 37 device_data_.SetString("name", device->GetName()); 38 device_data_.SetBoolean("paired", device->IsPaired()); 39 device_data_.SetBoolean("connected", device->IsConnected()); 46 // Bluetooth settings are currently stored on the device, accessible for 32 BluetoothPairingDialog( gfx::NativeWindow parent_window, const device::BluetoothDevice* device) argument
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
H A D | removable_storage_provider_linux.cc | 26 std::string device = file_path.BaseName().value(); local 29 .Append(device) 70 // This is a partition of a device, not the device itself 76 // This is not a removable storage device. 80 /* Get the parent SCSI device that contains the model 82 udevadm info -a -n /dev/<device> */ 88 // this is not a usb device 92 linked_ptr<api::image_writer_private::RemovableStorageDevice> device( 94 device [all...] |
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
H A D | id_mapping_helper.cc | 56 // Set the max value for rand to be twice the device count. 74 DeviceInfo* device = (*device_info)[i]; local 76 device->guid()); 78 // If the device does not have a local id, set one. 81 value->SetString(local_id, device->guid()); 83 device->set_public_id(local_id); 99 scoped_ptr<DeviceInfo> device(*it); 101 return device.Pass();
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | display_info_provider_win.cc | 36 DISPLAY_DEVICE device; local 37 device.cb = sizeof(device); 38 if (!EnumDisplayDevices(monitor_info.szDevice, 0, &device, 0)) 44 unit->name = base::WideToUTF8(device.DeviceString);
|