/external/libdrm/tests/kms/ |
libkms-test-plane.c | 35 struct kms_device *device = plane->device; local 40 p = drmModeGetPlane(device->fd, plane->id); 46 for (i = 0; i < device->num_crtcs; i++) { 48 p->crtc_id = device->crtcs[i]->id; 54 for (i = 0; i < device->num_crtcs; i++) { 55 if (device->crtcs[i]->id == p->crtc_id) { 56 plane->crtc = device->crtcs[i]; 72 props = drmModeObjectGetProperties(device->fd, plane->id, 80 prop = drmModeGetProperty(device->fd, props->props[i]) 118 struct kms_device *device = plane->device; local [all...] |
/external/libdrm/tests/kmstest/ |
main.c | 65 fprintf(stderr, " -D DEVICE open the given device\n"); 74 char *device = NULL; local 80 device = optarg; 91 fd = util_open(device, module); 92 CHECK_RET_RETURN(fd, "Could not open device");
|
/external/libmojo/device/bluetooth/ |
bluetooth_common.h | 8 #include "device/bluetooth/bluetooth_export.h" 13 namespace device { namespace 28 // representing different types of bluetooth device that we support or are aware 47 } // namespace device
|
bluetooth_uuid.cc | 5 #include "device/bluetooth/bluetooth_uuid.h" 12 namespace device { namespace 98 } // namespace device
|
bluetooth_uuid.h | 10 #include "device/bluetooth/bluetooth_export.h" 12 namespace device { namespace 99 size_t operator()(const device::BluetoothUUID& uuid) const { 104 } // namespace device
|
/external/libmtp/examples/ |
albums.c | 3 * Example program that lists the albums on the device. 38 dump_albums(LIBMTP_mtpdevice_t *device, uint32_t storageid, int leaf) 43 files = LIBMTP_Get_Files_And_Folders(device, 47 LIBMTP_Dump_Errorstack(device); 48 LIBMTP_Clear_Errorstack(device); 55 dump_albums(device, storageid, file->item_id); 59 album = LIBMTP_Get_Album(device, file->item_id); 115 /* Successfully connected at least one device, so continue */ 124 LIBMTP_mtpdevice_t *device; local 128 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]) [all...] |
connect.c | 35 LIBMTP_mtpdevice_t *device; variable 72 device = LIBMTP_Get_First_Device(); 73 if (device == NULL) { 77 files = LIBMTP_Get_Filelisting_With_Callback (device, NULL, NULL); 78 folders = LIBMTP_Get_Folder_List (device); 151 LIBMTP_Release_Device(device);
|
files.c | 3 * Example program that lists all files on a device. 50 dump_files(LIBMTP_mtpdevice_t *device, uint32_t storageid, int leaf) 55 files = LIBMTP_Get_Files_And_Folders(device, 59 LIBMTP_Dump_Errorstack(device); 60 LIBMTP_Clear_Errorstack(device); 67 dump_files(device, storageid, file->item_id); 109 /* Successfully connected at least one device, so continue */ 118 LIBMTP_mtpdevice_t *device; local 122 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); 123 if (device == NULL) [all...] |
filetree.c | 36 void recursive_file_tree(LIBMTP_mtpdevice_t *device, 44 files = LIBMTP_Get_Files_And_Folders(device, 63 recursive_file_tree(device, storage, file->item_id, depth+2); 116 fprintf(stdout, "Attempting to connect device(s)\n"); 118 LIBMTP_mtpdevice_t *device; local 123 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); 124 if (device == NULL) { 125 fprintf(stderr, "Unable to open raw device %d\n", i); 129 LIBMTP_Dump_Errorstack(device); 130 LIBMTP_Clear_Errorstack(device); [all...] |
newplaylist.c | 3 * Example program to create a playlist on a device. 39 LIBMTP_mtpdevice_t *device = NULL; local 91 device = LIBMTP_Get_First_Device(); 92 if (device == NULL) { 103 int ret = LIBMTP_Create_New_Playlist(device,playlist); 106 LIBMTP_Dump_Errorstack(device); 107 LIBMTP_Clear_Errorstack(device); 113 LIBMTP_Release_Device(device);
|
thumb.c | 4 * on a device. 46 LIBMTP_mtpdevice_t *device = NULL; local 101 device = LIBMTP_Get_First_Device(); 102 if (device == NULL) { 111 ret = LIBMTP_Send_Representative_Sample(device,id,thumb); 114 LIBMTP_Dump_Errorstack(device); 115 LIBMTP_Clear_Errorstack(device); 120 LIBMTP_Release_Device(device);
|
tracks.c | 3 * Example program to list the tracks on a device. 83 dump_tracks(LIBMTP_mtpdevice_t *device, uint32_t storageid, int leaf) 88 files = LIBMTP_Get_Files_And_Folders(device, 92 LIBMTP_Dump_Errorstack(device); 93 LIBMTP_Clear_Errorstack(device); 101 dump_tracks(device, storageid, file->item_id); 105 track = LIBMTP_Get_Trackmetadata(device, file->item_id); 124 fprintf(stdout, "Attempting to connect device(s)\n"); 146 /* Successfully connected at least one device, so continue */ 155 LIBMTP_mtpdevice_t *device; local [all...] |
/external/libusb/libusb/ |
hotplug.h | 44 /** Device class to match or LIBUSB_HOTPLUG_MATCH_ANY */ 53 /** Callback function to invoke for matching event/device */ 75 /** The device for which this hotplug event occurred */ 76 struct libusb_device *device; member in struct:libusb_hotplug_message
|
/external/linux-kselftest/tools/testing/selftests/tc-testing/ |
tdc_batch.py | 12 parser.add_argument("device", help="device name") 27 device = args.device variable 57 (device, prio, skip, src_mac, dst_mac, share_action))
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount04.c | 39 static const char *device; variable 46 TEST(mount(device, mntpoint, fs_type, 0, NULL)); 96 device = tst_acquire_device(cleanup); 98 if (!device) 99 tst_brkm(TCONF, cleanup, "Failed to obtain block device"); 101 tst_mkfs(cleanup, device, fs_type, NULL, NULL); 115 if (device) 116 tst_release_device(device);
|
mount05.c | 47 static char *device; variable 55 {"D:", &dflag, &device}, 107 tst_mkfs(NULL, device, fstype, NULL, NULL); 109 SAFE_MOUNT(cleanup, device, mntpoint_src, fstype, 0, NULL); 130 printf("-D device : device used for mounting.\n");
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
pixelshader9.c | 38 struct NineDevice9 *device; local 53 device = This->base.device; 57 info.const_i_base = NINE_CONST_I_BASE(device->max_ps_const_f) / 16; 58 info.const_b_base = NINE_CONST_B_BASE(device->max_ps_const_f) / 16; 65 pipe = nine_context_get_pipe_acquire(device); 66 hr = nine_translate_shader(device, &info, pipe); 67 nine_context_get_pipe_release(device); 97 if (This->base.device) { 98 struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device); 158 struct NineDevice9 *device = This->base.device; local [all...] |
/external/nos/host/android/citadel/citadeld/ |
main.cpp | 25 #include <nos/device.h> 77 const nos_device& device = *_client.Device(); variable 78 *_aidl_return = (device.ops.reset(device.ctx) == 0); 89 [[noreturn]] void CitadelEventDispatcher(const nos_device& device) { 92 if (device.ops.wait_for_interrupt(device.ctx, -1) > 0) { 129 std::thread event_dispatcher(CitadelEventDispatcher, *citadel.Device());
|
/external/pdfium/core/fpdfapi/render/ |
cpdf_rendercontext.cpp | 38 CFX_DefaultRenderDevice device; local 39 device.Attach(pBuffer, false, nullptr, false); 41 FX_RECT rect(0, 0, device.GetWidth(), device.GetHeight()); 42 device.FillRect(&rect, 0xffffffff); 43 Render(&device, pObj, pOptions, pFinalMatrix);
|
/external/pdfium/xfa/fwl/ |
cfx_barcode_unittest.cpp | 25 auto device = pdfium::MakeUnique<CFX_DefaultRenderDevice>(); variable 30 ASSERT_TRUE(device->Attach(bitmap_, false, nullptr, false)); 31 device_ = std::move(device);
|
/external/skia/tests/ |
LayerDrawLooperTest.cpp | 57 FakeDevice device; local 58 SkCanvas canvas(&device); 68 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 69 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 76 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()); 96 FakeDevice device; local 97 SkCanvas canvas(&device); 107 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 108 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()) 135 FakeDevice device; local [all...] |
/external/skqp/tests/ |
LayerDrawLooperTest.cpp | 57 FakeDevice device; local 58 SkCanvas canvas(&device); 68 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 69 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 76 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()); 96 FakeDevice device; local 97 SkCanvas canvas(&device); 107 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 108 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()) 135 FakeDevice device; local [all...] |
/external/swiftshader/src/D3D8/ |
Direct3DSurface8.hpp | 32 Direct3DSurface8(Direct3DDevice8 *device, Unknown *container, int width, int height, D3DFORMAT format, D3DPOOL pool, D3DMULTISAMPLE_TYPE multiSample, bool lockable, unsigned long usage); 46 long __stdcall GetDevice(IDirect3DDevice8 **device) override; 63 Direct3DDevice8 *const device; member in class:D3D8::Direct3DSurface8
|
/external/swiftshader/src/D3D9/ |
Direct3DVolume9.hpp | 33 Direct3DVolume9(Direct3DDevice9 *device, Direct3DVolumeTexture9 *container, int width, int height, int depth, D3DFORMAT format, D3DPOOL pool, unsigned long usage); 50 long __stdcall GetDevice(IDirect3DDevice9 **device) override; 61 Direct3DDevice9 *const device; member in class:D3D9::Direct3DVolume9
|
/external/swiftshader/src/OpenGL/libGL/ |
Query.cpp | 61 Device *device = getDevice(); local 64 device->addQuery(mQuery); 65 device->setOcclusionEnabled(true); 75 Device *device = getDevice(); local 78 device->removeQuery(mQuery); 79 device->setOcclusionEnabled(false);
|