/external/blktrace/btt/ |
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/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkPlatform.cpp | 54 DeviceDriver::DeviceDriver (const InstanceInterface& instanceInterface, VkDevice device) argument 56 #define GET_PROC_ADDR(NAME) instanceInterface.getDeviceProcAddr(device, NAME)
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiComputeInstanceResultBuffer.cpp | 35 VkDevice device, 39 m_device(device), 59 VkDevice device, 76 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo)); 78 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer); 81 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); 89 flushMappedMemoryRange(vki, device, allocation->getMemory(), allocation->getOffset(), (VkDeviceSize) DATA_SIZE); 34 ComputeInstanceResultBuffer(const DeviceInterface &vki, VkDevice device, Allocator &allocator, float initValue) argument 58 createResultBuffer(const DeviceInterface &vki, VkDevice device, Allocator &allocator, de::MovePtr<Allocation> *outAllocation, float initValue) argument
|
/external/dhcpcd-6.8.2/dev/ |
H A D | udev.c | 30 # warning per device initialization checks. 59 struct udev_device *device; local 62 device = udev_device_new_from_subsystem_sysname(udev, "net", ifname); 63 if (device) { 65 r = udev_device_get_is_initialized(device); 69 udev_device_unref(device); 78 struct udev_device *device; local 81 device = udev_monitor_receive_device(monitor); 82 if (device == NULL) { 83 syslog(LOG_ERR, "libudev: received NULL device"); [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | netrom.h | 27 char device[16]; member in struct:nr_route_struct
|
/external/libdrm/tests/ |
H A D | drmtest.c | 57 /** Open the first DRM device matching the criteria */ 62 struct udev_device *device, *parent; local 80 device = udev_device_new_from_syspath(udev, path); 81 parent = udev_device_get_parent(device); 89 dnode = udev_device_get_devnode(device); 114 fprintf(stderr, "failed to open any drm device\n"); 122 * Open the first DRM device we can find where we end up being the master. 129 fprintf(stderr, "failed to open any drm device\n");
|
/external/libdrm/tests/kms/ |
H A D | libkms-test-device.c | 55 static void kms_device_probe_screens(struct kms_device *device) argument 64 res = drmModeGetResources(device->fd); 68 device->screens = calloc(res->count_connectors, sizeof(screen)); 69 if (!device->screens) 77 screen = kms_screen_create(device, res->connectors[i]); 96 device->screens[i] = screen; 97 device->num_screens++; 103 static void kms_device_probe_crtcs(struct kms_device *device) argument 109 res = drmModeGetResources(device->fd); 113 device 129 kms_device_probe_planes(struct kms_device *device) argument 155 kms_device_probe(struct kms_device *device) argument 164 struct kms_device *device; local 177 kms_device_close(struct kms_device *device) argument 202 kms_device_find_plane_by_type(struct kms_device *device, uint32_t type, unsigned int index) argument [all...] |
H A D | 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 94 kms_plane_create(struct kms_device *device, uint32_t id) argument 118 struct kms_device *device = plane->device; local [all...] |
/external/libdrm/tests/util/ |
H A D | kms.c | 144 int util_open(const char *device, const char *module) argument 149 fd = drmOpen(module, device); 151 fprintf(stderr, "failed to open device '%s': %s\n", 159 printf("trying to open device '%s'...", modules[i]); 161 fd = drmOpen(modules[i], device); 171 fprintf(stderr, "no device found\n");
|
/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/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount05.c | 47 static char *device; variable 55 {"D:", &dflag, &device}, 107 tst_mkfs(NULL, device, fstype, NULL, NULL); 109 if (mount(device, mntpoint_src, fstype, 0, NULL) == -1) 131 printf("-D device : device used for mounting.\n");
|
/external/ltp/testcases/kernel/syscalls/umount2/ |
H A D | umount2_01.c | 46 static const char *device; variable 76 device = tst_acquire_device(cleanup); 78 if (!device) 79 tst_brkm(TCONF, cleanup, "Failed to obtain block device"); 81 tst_mkfs(cleanup, device, fs_type, NULL, NULL); 94 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 125 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 161 if (device) 162 tst_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/pdfium/xfa/fxbarcode/ |
H A D | cbc_pdf417i.cpp | 58 bool CBC_PDF417I::RenderDevice(CFX_RenderDevice* device, argument 62 ->RenderDeviceResult(device, matrix);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkBackendContext.cpp | 45 VkDevice device; local 127 // Just returning the first physical device instead of getting the whole array. 191 // query to get the physical device properties 245 err = vkCreateDevice(physDev, &deviceInfo, nullptr, &device); 253 vkGetDeviceQueue(device, graphicsQueueIndex, 0, &queue); 258 ctx->fDevice = device; 264 ctx->fInterface.reset(GrVkCreateInterface(inst, device, extensionFlags));
|
/external/skia/tests/ |
H A D | 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 135 FakeDevice device; local [all...] |
/external/swiftshader/src/D3D9/ |
H A D | Direct3DPixelShader9.cpp | 22 Direct3DPixelShader9::Direct3DPixelShader9(Direct3DDevice9 *device, const unsigned long *shaderToken) : device(device), pixelShader(shaderToken) argument 45 CriticalSection cs(device); 77 long Direct3DPixelShader9::GetDevice(IDirect3DDevice9 **device) argument 79 CriticalSection cs(this->device); 83 if(!device) 88 this->device->AddRef(); 89 *device = this->device; [all...] |
H A D | Direct3DResource9.hpp | 31 Direct3DResource9(Direct3DDevice9 *device, D3DRESOURCETYPE type, D3DPOOL pool, unsigned int size); 41 long __stdcall GetDevice(IDirect3DDevice9 **device); 56 Direct3DDevice9 *const device; member in class:D3D9::Direct3DResource9
|
H A D | Direct3DVertexShader9.cpp | 22 Direct3DVertexShader9::Direct3DVertexShader9(Direct3DDevice9 *device, const unsigned long *shaderToken) : device(device), vertexShader(shaderToken) argument 45 CriticalSection cs(device); 77 long Direct3DVertexShader9::GetDevice(IDirect3DDevice9 **device) argument 79 CriticalSection cs(this->device); 83 if(!device) 88 this->device->AddRef(); 89 *device = this->device; [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/vulkan-validation-layers/libs/vkjson/ |
H A D | vkjson_instance.cc | 45 VkJsonDevice device; local 46 vkGetPhysicalDeviceProperties(physical_device, &device.properties); 47 vkGetPhysicalDeviceFeatures(physical_device, &device.features); 48 vkGetPhysicalDeviceMemoryProperties(physical_device, &device.memory); 54 device.queues.resize(queue_family_count); 56 physical_device, &queue_family_count, device.queues.data()); 59 // Only device extensions. 65 device.extensions.resize(extension_count); 67 physical_device, nullptr, &extension_count, device.extensions.data()); 73 device [all...] |
/external/webrtc/talk/media/devices/ |
H A D | yuvframescapturer.h | 60 static bool IsYuvFramesCapturerDevice(const Device& device) { argument 61 return rtc::starts_with(device.id.c_str(), kYuvFrameDeviceName);
|
/external/webrtc/webrtc/sound/ |
H A D | nullsoundsystem.cc | 24 // Name used for the single device and the sound system itself. 111 SoundDeviceLocator *device; local 112 GetDefaultPlaybackDevice(&device); 113 devices->push_back(device); 120 SoundDeviceLocator *device; local 121 GetDefaultCaptureDevice(&device); 122 devices->push_back(device); 127 SoundDeviceLocator **device) { 128 *device = new NullSoundDeviceLocator(); 133 SoundDeviceLocator **device) { 126 GetDefaultPlaybackDevice( SoundDeviceLocator **device) argument 132 GetDefaultCaptureDevice( SoundDeviceLocator **device) argument 138 OpenPlaybackDevice( const SoundDeviceLocator *device, const OpenParams ¶ms) argument 144 OpenCaptureDevice( const SoundDeviceLocator *device, const OpenParams ¶ms) argument [all...] |