Searched defs:device (Results 151 - 175 of 653) sorted by relevance

1234567891011>>

/external/skia/tools/gpu/vk/
H A DVkTestContext.cpp24 VkFenceSync(sk_sp<const GrVkInterface> vk, VkDevice device, VkQueue queue, argument
27 , fDevice(device)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DBluetoothMapFacade.java68 public Boolean mapDisconnect(BluetoothDevice device) { argument
69 if (sMapProfile.getPriority(device) > BluetoothProfile.PRIORITY_ON) {
70 sMapProfile.setPriority(device, BluetoothProfile.PRIORITY_ON);
72 return sMapProfile.disconnect(device);
80 @Rpc(description = "Disconnect an MAP device.")
82 @RpcParameter(name = "deviceID", description = "Name or MAC address of a device.")
108 @Rpc(description = "Get the currently connected remote Bluetooth device (PCE).")
H A DBluetoothPanFacade.java74 public Boolean panConnect(BluetoothDevice device) { argument
76 return sPanProfile.connect(device);
79 public Boolean panDisconnect(BluetoothDevice device) { argument
81 return sPanProfile.disconnect(device);
/external/swiftshader/src/D3D9/
H A DDirect3DQuery9.cpp26 Direct3DQuery9::Direct3DQuery9(Direct3DDevice9 *device, D3DQUERYTYPE type) : device(device), type(type) argument
42 device->removeQuery(query);
50 CriticalSection cs(device);
82 long __stdcall Direct3DQuery9::GetDevice(IDirect3DDevice9 **device) argument
84 CriticalSection cs(this->device);
88 if(!device)
93 this->device->AddRef();
94 *device
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Ddevice.h16 /** A hardware device description */
31 unsigned int device; member in struct:device_description
55 /** A hardware device */
56 struct device { struct
63 /** Devices attached to this device */
65 /** Bus device */
66 struct device *parent;
70 * A root device
78 * A root device has a NULL parent field.
80 struct device de
[all...]
/external/syslinux/libinstaller/
H A Dsyslxopt.h14 const char *device; member in struct:sys_options
/external/vulkan-validation-layers/layers/
H A Dvk_layer_table.cpp34 assert(it != tableMap.end() && "Not able to find device dispatch entry");
57 fprintf(stderr, "destroy device dispatch_table: map: 0x%p, key: 0x%p, table: 0x%p\n", &map, key, it->second);
59 fprintf(stderr, "destroy device dispatch table: map: 0x%p, key: 0x%p, table: UNKNOWN\n", &map, key);
94 assert(it != map.end() && "Not able to find device dispatch entry");
165 VkLayerDispatchTable *initDeviceTable(VkDevice device, const PFN_vkGetDeviceProcAddr gpa, device_table_map &map) { argument
167 dispatch_key key = get_dispatch_key(device);
183 layer_init_device_dispatch_table(device, pTable, gpa);
188 VkLayerDispatchTable *initDeviceTable(VkDevice device, const PFN_vkGetDeviceProcAddr gpa) { argument
189 return initDeviceTable(device, gpa, tableMap);
/external/vulkan-validation-layers/libs/vkjson/
H A Dvkjson_unittest.cc50 VkJsonDevice& device = instance.devices[0]; local
52 const char name[] = "Test device";
53 memcpy(device.properties.deviceName, name, sizeof(name));
54 device.properties.limits.maxImageDimension1D = 3;
55 device.properties.limits.maxSamplerLodBias = 3.5f;
56 device.properties.limits.bufferImageGranularity = 0x1ffffffffull;
57 device.properties.limits.maxViewportDimensions[0] = 1;
58 device.properties.limits.maxViewportDimensions[1] = 2;
63 device.formats.insert(std::make_pair(VK_FORMAT_R8_UNORM, format_props));
64 device
[all...]
/external/vulkan-validation-layers/tests/layers/
H A Dwrap_objects.h57 static void create_device_register_extensions(const VkDeviceCreateInfo *pCreateInfo, VkDevice device) { argument
58 VkLayerDispatchTable *pDisp = device_dispatch_table(device);
60 pDisp->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR)gpa(device, "vkCreateSwapchainKHR");
61 pDisp->DestroySwapchainKHR = (PFN_vkDestroySwapchainKHR)gpa(device, "vkDestroySwapchainKHR");
62 pDisp->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR)gpa(device, "vkGetSwapchainImagesKHR");
63 pDisp->AcquireNextImageKHR = (PFN_vkAcquireNextImageKHR)gpa(device, "vkAcquireNextImageKHR");
64 pDisp->QueuePresentKHR = (PFN_vkQueuePresentKHR)gpa(device, "vkQueuePresentKHR");
/external/vulkan-validation-layers/tests/
H A Dvktestframeworkandroid.cpp29 VkFormat VkTestFramework::GetFormat(VkInstance instance, vk_testing::Device *device) { argument
31 vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_B8G8R8A8_UNORM, &format_props);
36 vkGetPhysicalDeviceFormatProperties(device->phy().handle(), VK_FORMAT_R8G8B8A8_UNORM, &format_props);
41 printf("Error - device does not support VK_FORMAT_B8G8R8A8_UNORM nor VK_FORMAT_R8G8B8A8_UNORM - exiting\n");
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
H A Dandroid_browser_backend.py49 if self.device.HasRoot() or self.device.NeedsSU():
67 def device(self): member in class:AndroidBrowserBackend
68 return self.platform_backend.device
76 self.device.adb.Logcat(clear=True)
94 self.device, command_line_name, browser_startup_args):
95 self.device.StartActivity(
104 self.device)
106 # Release reserved port right before forwarding host to device.
117 for line in self.device
[all...]
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A Dserialcli.py15 def device(portnum): function
16 """Turn a port number into a device name"""
141 return device(port)
H A Dserialjava.py41 def device(portnumber): function
42 """Turn a port number into a device name"""
66 portId = comm.CommPortIdentifier.getPortIdentifier(device(self._port)) # numbers are transformed to a comport id obj
143 return device(port)
H A Dserialwin32.py17 def device(portnum): function
18 """Turn a port number into a device name"""
49 # so that the first few ports are used with the DOS device name
230 return device(port)
393 Recommend a buffer size to the driver (device driver can ignore this
402 This will send XON (true) and XOFF (false) to the other device.
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkMemUtil.cpp45 HostPtr (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags);
57 void* mapMemory (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags) argument
60 VK_CHECK(vkd.mapMemory(device, mem, offset, size, flags, &hostPtr));
65 HostPtr::HostPtr (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags) argument
67 , m_device (device)
69 , m_ptr (mapMemory(vkd, device, memory, offset, size, flags))
170 SimpleAllocator::SimpleAllocator (const DeviceInterface& vk, VkDevice device, const VkPhysicalDeviceMemoryProperties& deviceMemProps) argument
172 , m_device (device)
213 void flushMappedMemoryRange (const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) argument
224 VK_CHECK(vkd.flushMappedMemoryRanges(device,
227 invalidateMappedMemoryRange(const DeviceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) argument
[all...]
H A DvkPrograms.cpp201 Move<VkShaderModule> createShaderModule (const DeviceInterface& deviceInterface, VkDevice device, const ProgramBinary& binary, VkShaderModuleCreateFlags flags) argument
214 return createShaderModule(deviceInterface, device, &shaderModuleInfo);
/external/deqp/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferComputeInstance.cpp45 const VkDevice device = context.getDevice(); local
62 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo));
64 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer);
67 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset()));
78 flushMappedMemoryRange(vki, device, allocation->getMemory(), allocation->getOffset(), bufferSize);
92 const VkDevice device = context.getDevice(); local
109 Move<VkBuffer> buffer(createBuffer(vki, device, &createInfo));
111 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vki, device, *buffer);
114 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset()));
126 flushMappedMemoryRange(vki, device, allocatio
136 const VkDevice device = context.getDevice(); local
149 const VkDevice device = context.getDevice(); local
165 const VkDevice device = context.getDevice(); local
202 const VkDevice device = context.getDevice(); local
[all...]
H A DvktApiDescriptorPoolTests.cpp57 const VkDevice device = context.getDevice(); local
78 createDescriptorPool(vkd, device,
110 createDescriptorSetLayout(vkd, device,
135 VK_CHECK(vkd.allocateDescriptorSets(device, &descriptorSetInfo, &testSets[0]));
136 VK_CHECK(vkd.resetDescriptorPool(device, *descriptorPool, 0));
149 const VkDevice device = context.getDevice(); local
204 const Unique<VkDescriptorPool> descriptorPool(createDescriptorPool(vkd, device, &descriptorPoolCreateInfo));
225 const Unique<VkDescriptorSetLayout> descriptorSetLayout (createDescriptorSetLayout(vkd, device, &descriptorSetLayoutInfo));
238 const VkResult result = vkd.allocateDescriptorSets(device, &descriptorSetAllocateInfo, &rawDescriptorSets[0]);
/external/deqp/external/vulkancts/modules/vulkan/clipping/
H A DvktClippingUtil.hpp42 const vk::VkDevice device,
47 : m_buffer (createBuffer(vk, device, &bufferCreateInfo))
48 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement))
50 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset()));
70 const vk::VkDevice device,
75 : m_image (createImage(vk, device, &imageCreateInfo))
76 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement))
78 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset()));
111 vk::Move<vk::VkCommandPool> makeCommandPool (const vk::DeviceInterface& vk, const vk::VkDevice device, const deUint32 queueFamilyIndex);
112 vk::Move<vk::VkCommandBuffer> makeCommandBuffer (const vk::DeviceInterface& vk, const vk::VkDevice device, cons
41 Buffer(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkBufferCreateInfo& bufferCreateInfo, const vk::MemoryRequirement memoryRequirement) argument
69 Image(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImageCreateInfo& imageCreateInfo, const vk::MemoryRequirement memoryRequirement) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateGeneralTests.cpp290 virtual void initPipeline (const vk::VkDevice device) argument
293 const vk::Unique<vk::VkShaderModule> vs (createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_vertexShaderName), 0));
294 const vk::Unique<vk::VkShaderModule> fs (createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_fragmentShaderName), 0));
322 m_pipeline = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo_1);
323 m_pipelineAdditional = vk::createGraphicsPipeline(m_vk, device, DE_NULL, &pipelineCreateInfo_2);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp69 const VkDevice device = m_context.getDevice(); local
77 device,
82 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
84 const Move<VkPipelineLayout> pipelineLayout (createPipelineLayout(vk, device));
86 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange));
87 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, *colorAttachmentView, resolution.x(), resolution.y(), 1u));
88 const Unique<VkCommandPool> cmdPool (makeCommandPool(vk, device, queueFamilyIndex));
89 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
99 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vertex"), DE_NULL)
100 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BI
205 createPipelineLayout(const DeviceInterface& vk, const VkDevice device) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.hpp114 //!< Helper function for checking if requested image size does not exceed device limits
142 const vk::VkDevice device,
146 const vk::VkDevice device,
150 const vk::VkDevice device,
154 const vk::VkDevice device,
160 const vk::VkDevice device,
167 const vk::VkDevice device,
174 const vk::VkDevice device,
179 const vk::VkDevice device);
182 const vk::VkDevice device,
303 makeBuffer(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) argument
308 makeImage(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkImageCreateInfo& createInfo) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationBasicEventTests.cpp47 const VkDevice device = context.getDevice(); local
57 if (VK_SUCCESS != vk.createEvent(device, &eventInfo, DE_NULL, &event))
60 ptrEvent = Move<VkEvent>(check<VkEvent>(event), Deleter<VkEvent>(vk, device, DE_NULL));
62 if (VK_EVENT_RESET != vk.getEventStatus(device, event))
65 if (VK_SUCCESS != vk.setEvent(device, event))
68 if (VK_EVENT_SET != vk.getEventStatus(device, event))
71 if (VK_SUCCESS != vk.resetEvent(device, event))
74 if (VK_EVENT_RESET != vk.getEventStatus(device, event))
83 const VkDevice device = context.getDevice(); local
86 const Unique<VkCommandPool> cmdPool (makeCommandPool(vk, device, queueFamilyInde
134 const VkDevice device = context.getDevice(); local
187 const VkDevice device = context.getDevice(); local
239 const VkDevice device = context.getDevice(); local
307 const VkDevice device = context.getDevice(); local
[all...]
H A DvktSynchronizationBasicSemaphoreTests.cpp49 const VkDevice device = context.getDevice(); local
58 const Unique<VkSemaphore> semaphore (createSemaphore (vk, device, &semaphoreInfo, DE_NULL));
59 const Unique<VkCommandPool> cmdPool (makeCommandPool(vk, device, queueFamilyIndex));
60 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool));
100 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo));
106 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, FENCE_WAIT))
/external/e2fsprogs/lib/support/
H A Dplausible.c86 static void print_ext2_info(const char *device) argument
95 retval = ext2fs_open2(device, 0, EXT2_FLAG_64BITS, 0, 0,
126 static int check_partition_table(const char *device) argument
132 pr = blkid_new_probe_from_filename(device);
151 value, device);
160 static int check_partition_table(const char *device EXT2FS_ATTR((unused)))
167 * return 1 if the device looks plausible, creating the file if necessary
169 int check_plausibility(const char *device, int flags, int *ret_is_dev) argument
178 fd = ext2fs_open_file(device, fl, 0666);
181 "size was specified.\n"), device);
[all...]

Completed in 490 milliseconds

1234567891011>>