Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 2210) sorted by relevance

12345678910>>...89

/external/vulkan-validation-layers/loader/
Ddev_ext_trampoline.c27 VKAPI_ATTR void VKAPI_CALL vkdev_ext0(VkDevice device) { in vkdev_ext0() argument
29 disp = loader_get_dev_dispatch(device); in vkdev_ext0()
30 disp->ext_dispatch.dev_ext[0](device); in vkdev_ext0()
33 VKAPI_ATTR void VKAPI_CALL vkdev_ext1(VkDevice device) { in vkdev_ext1() argument
35 disp = loader_get_dev_dispatch(device); in vkdev_ext1()
36 disp->ext_dispatch.dev_ext[1](device); in vkdev_ext1()
39 VKAPI_ATTR void VKAPI_CALL vkdev_ext2(VkDevice device) { in vkdev_ext2() argument
41 disp = loader_get_dev_dispatch(device); in vkdev_ext2()
42 disp->ext_dispatch.dev_ext[2](device); in vkdev_ext2()
45 VKAPI_ATTR void VKAPI_CALL vkdev_ext3(VkDevice device) { in vkdev_ext3() argument
[all …]
Dtrampoline.c86 vkGetDeviceProcAddr(VkDevice device, const char *pName) { in vkGetDeviceProcAddr() argument
104 const VkLayerDispatchTable *disp_table = *(VkLayerDispatchTable **)device; in vkGetDeviceProcAddr()
114 return disp_table->GetDeviceProcAddr(device, pName); in vkGetDeviceProcAddr()
714 *pDevice = dev->device;
749 vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator) { argument
753 if (device == VK_NULL_HANDLE) {
759 struct loader_icd *icd = loader_get_icd_and_device(device, &dev, NULL);
761 disp = loader_get_dispatch(device);
763 disp->DestroyDevice(device, pAllocator);
764 dev->device = NULL;
[all …]
/external/libdrm/tests/kms/
Dlibkms-test-device.c55 static void kms_device_probe_screens(struct kms_device *device) in kms_device_probe_screens() argument
64 res = drmModeGetResources(device->fd); in kms_device_probe_screens()
68 device->screens = calloc(res->count_connectors, sizeof(screen)); in kms_device_probe_screens()
69 if (!device->screens) in kms_device_probe_screens()
77 screen = kms_screen_create(device, res->connectors[i]); in kms_device_probe_screens()
96 device->screens[i] = screen; in kms_device_probe_screens()
97 device->num_screens++; in kms_device_probe_screens()
103 static void kms_device_probe_crtcs(struct kms_device *device) in kms_device_probe_crtcs() argument
109 res = drmModeGetResources(device->fd); in kms_device_probe_crtcs()
113 device->crtcs = calloc(res->count_crtcs, sizeof(crtc)); in kms_device_probe_crtcs()
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py148 def ProvisionDevice(device, steps, blacklist, reboot_timeout=None): argument
151 if device.build_version_sdk >= version_codes.LOLLIPOP:
158 device.WaitUntilFullyBooted(timeout=reboot_timeout, retries=0)
161 device.Reboot(timeout=reboot_timeout)
162 step.cmd(device)
164 device.Reboot(False, retries=0)
165 device.adb.WaitForDevice()
169 str(device))
171 blacklist.Extend([str(device)], reason='provision_timeout')
175 str(device))
[all …]
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils_test.py163 self.device = device_utils.DeviceUtils(
171 args, output, status, msg, str(self.device)))
177 msg, str(self.device)))
182 cmd, output, status, str(self.device))
191 msg, str(self.device)))
196 return (self.call.device.RunShellCommand(
204 self.assertTrue(self.device == other)
205 self.assertTrue(other == self.device)
209 self.assertTrue(self.device == other)
210 self.assertTrue(other == self.device)
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py164 self.device = device_utils.DeviceUtils(
172 args, output, status, msg, str(self.device)))
178 msg, str(self.device)))
183 cmd, output, status, str(self.device))
192 msg, str(self.device)))
197 return (self.call.device.RunShellCommand(
206 self.assertTrue(self.device == other)
207 self.assertTrue(other == self.device)
211 self.assertTrue(self.device == other)
212 self.assertTrue(other == self.device)
[all …]
/external/skia/src/core/
DSkBlitter_ARGB32.cpp17 static void SkARGB32_Blit32(const SkPixmap& device, const SkMask& mask, in SkARGB32_Blit32() argument
31 SkPMColor* dstRow = device.writable_addr32(x, y); in SkARGB32_Blit32()
36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in SkARGB32_Blit32()
43 SkARGB32_Blitter::SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint) in SkARGB32_Blitter() argument
44 : INHERITED(device) { in SkARGB32_Blitter()
73 uint32_t* device = fDevice.writable_addr32(x, y); in blitH() local
74 SkBlitRow::Color32(device, device, width, fPMColor); in blitH()
84 uint32_t* device = fDevice.writable_addr32(x, y); in blitAntiH() local
96 sk_memset32(device, color, count); in blitAntiH()
99 SkBlitRow::Color32(device, device, count, sc); in blitAntiH()
[all …]
DSkBlitter_RGB16.cpp20 extern void SkRGB16BlitterBlitV_neon(uint16_t* device,
59 SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint);
87 SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint);
101 SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint);
112 SkRGB16_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
134 SkRGB16_Shader_Xfermode_Blitter(const SkPixmap& device, const SkPaint& paint,
154 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter() argument
155 : INHERITED(device, paint) { in SkRGB16_Black_Blitter()
200 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); in blitMask() local
216 *device = SkAlphaMulRGB16(*device, SkAlpha255To256(255 - aa)); in blitMask()
[all …]
DSkBlitter_A8.cpp14 SkA8_Blitter::SkA8_Blitter(const SkPixmap& device, const SkPaint& paint) : INHERITED(device) { in SkA8_Blitter() argument
34 uint8_t* device = fDevice.writable_addr8(x, y); in blitH() local
37 memset(device, 0xFF, width); in blitH()
43 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH()
54 uint8_t* device = fDevice.writable_addr8(x, y); in blitAntiH() local
66 memset(device, 0xFF, count); in blitAntiH()
72 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH()
77 device += count; in blitAntiH()
140 uint8_t* device = fDevice.writable_addr8(x, y); in blitMask() local
155 device[i] = 0xFF; in blitMask()
[all …]
DSkBlitter_PM4f.cpp24 SkState_Blitter(const SkPixmap& device, const SkPaint& paint) in SkState_Blitter() argument
25 : INHERITED(device) in SkState_Blitter()
26 , fState(device.info(), paint, nullptr) in SkState_Blitter()
39 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitV() local
43 fState.fProc1(fState.fMode, device, &fState.fPM4f, 1, &alpha); in blitV()
44 device = (typename State::DstType*)((char*)device + deviceRB); in blitV()
52 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitRect() local
56 fState.fProc1(fState.fMode, device, &fState.fPM4f, width, nullptr); in blitRect()
58 device = (typename State::DstType*)((char*)device + deviceRB); in blitRect()
63 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitAntiH() local
[all …]
/external/syslinux/gpxe/src/drivers/nvs/
Dthreewire.c44 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_read() local
45 struct spi_bus *bus = device->bus; in threewire_read()
50 DBGC ( device, "3wire %p reading %zd bytes at %04x\n", in threewire_read()
51 device, len, address ); in threewire_read()
53 if ( ( rc = bus->rw ( bus, device, THREEWIRE_READ, address, in threewire_read()
55 DBGC ( device, "3wire %p could not read: %s\n", in threewire_read()
56 device, strerror ( rc ) ); in threewire_read()
74 struct spi_device *device = nvs_to_spi ( nvs ); in threewire_write() local
75 struct spi_bus *bus = device->bus; in threewire_write()
80 DBGC ( device, "3wire %p writing %zd bytes at %04x\n", in threewire_write()
[all …]
Dspi.c57 static int spi_wait ( struct spi_device *device ) { in spi_wait() argument
58 struct spi_bus *bus = device->bus; in spi_wait()
65 if ( ( rc = bus->rw ( bus, device, SPI_RDSR, -1, NULL, in spi_wait()
71 DBG ( "SPI %p timed out\n", device ); in spi_wait()
86 struct spi_device *device = nvs_to_spi ( nvs ); in spi_read() local
87 struct spi_bus *bus = device->bus; in spi_read()
89 device->munge_address ); in spi_read()
92 DBG ( "SPI %p reading %zd bytes from %#04x\n", device, len, address ); in spi_read()
93 if ( ( rc = bus->rw ( bus, device, command, address, in spi_read()
95 DBG ( "SPI %p failed to read data from device\n", device ); in spi_read()
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dspi.h152 int ( * rw ) ( struct spi_bus *bus, struct spi_device *device,
212 init_spi ( struct spi_device *device ) { in init_spi() argument
213 device->nvs.word_len_log2 = 0; in init_spi()
214 device->command_len = 8, in init_spi()
215 device->nvs.read = spi_read; in init_spi()
216 device->nvs.write = spi_write; in init_spi()
221 init_at25f1024 ( struct spi_device *device ) { in init_at25f1024() argument
222 device->address_len = 24; in init_at25f1024()
223 device->nvs.size = ( 128 * 1024 ); in init_at25f1024()
224 device->nvs.block_size = 256; in init_at25f1024()
[all …]
Dthreewire.h48 extern int threewire_detect_address_len ( struct spi_device *device );
56 init_at93cx6 ( struct spi_device *device, unsigned int organisation ) { in init_at93cx6() argument
57 device->nvs.word_len_log2 = ( ( organisation == 8 ) ? 0 : 1 ); in init_at93cx6()
58 device->nvs.block_size = 1; in init_at93cx6()
59 device->command_len = 3, in init_at93cx6()
60 device->nvs.read = threewire_read; in init_at93cx6()
61 device->nvs.write = threewire_write; in init_at93cx6()
71 init_at93c46 ( struct spi_device *device, unsigned int organisation ) { in init_at93c46() argument
72 device->nvs.size = ( 1024 / organisation ); in init_at93c46()
73 device->address_len = ( ( organisation == 8 ) ? 7 : 6 ); in init_at93c46()
[all …]
/external/ImageMagick/MagickCore/
Dopencl.c373 device; in SelectOpenCLDevice() local
384 device=clEnv->devices[i]; in SelectOpenCLDevice()
385 if (device->type != type) in SelectOpenCLDevice()
388 device->enabled=MagickTrue; in SelectOpenCLDevice()
395 if (IsSameOpenCLDevice(device,other_device)) in SelectOpenCLDevice()
445 MagickPrivate cl_mem CreateOpenCLBuffer(MagickCLDevice device, in CreateOpenCLBuffer() argument
448 return(openCL_library->clCreateBuffer(device->context,flags,size,host_ptr, in CreateOpenCLBuffer()
496 MagickPrivate MagickCLCacheInfo AcquireMagickCLCacheInfo(MagickCLDevice device, in AcquireMagickCLCacheInfo() argument
510 device->requested++; in AcquireMagickCLCacheInfo()
512 info->device=device; in AcquireMagickCLCacheInfo()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl5 void DeviceDriver::destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const argument
7 m_vk.destroyDevice(device, pAllocator);
10 void DeviceDriver::getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex,… argument
12 m_vk.getDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue);
25 VkResult DeviceDriver::deviceWaitIdle (VkDevice device) const
27 return m_vk.deviceWaitIdle(device);
30 VkResult DeviceDriver::allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, … argument
32 return m_vk.allocateMemory(device, pAllocateInfo, pAllocator, pMemory);
35 void DeviceDriver::freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks*… argument
37 m_vk.freeMemory(device, memory, pAllocator);
[all …]
/external/vulkan-validation-layers/layers/
Dobject_tracker.cpp55 static void AddQueueInfo(VkDevice device, uint32_t queue_node_index, VkQueue queue) { in AddQueueInfo() argument
56 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AddQueueInfo()
74 static void DestroyQueueDataStructures(VkDevice device) { in DestroyQueueDataStructures() argument
75 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in DestroyQueueDataStructures()
117 static void AllocateCommandBuffer(VkDevice device, const VkCommandPool command_pool, const VkComman… in AllocateCommandBuffer() argument
119 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AllocateCommandBuffer()
139 static bool ValidateCommandBuffer(VkDevice device, VkCommandPool command_pool, VkCommandBuffer comm… in ValidateCommandBuffer() argument
140 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in ValidateCommandBuffer()
165 static void AllocateDescriptorSet(VkDevice device, VkDescriptorPool descriptor_pool, VkDescriptorSe… in AllocateDescriptorSet() argument
167 layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in AllocateDescriptorSet()
[all …]
/external/clang/test/OpenMP/
Dtarget_update_device_messages.cpp15 #pragma omp target update to(i) device // expected-error {{expected '(' after 'device'}} in tmain()
16 #pragma omp target update to(i) device ( // expected-error {{expected expression}} expected-error {… in tmain()
17 #pragma omp target update to(i) device () // expected-error {{expected expression}} in tmain()
18 #pragma omp target update to(i) device (argc // expected-error {{expected ')'}} expected-note {{to … in tmain()
19 #pragma omp target update to(i) device (argc)) // expected-warning {{extra tokens at the end of '#p… in tmain()
20 #pragma omp target update from(i) device (argc > 0 ? argv[1] : argv[2]) // expected-error {{express… in tmain()
21 #pragma omp target update from(i) device (argc + argc) in tmain()
22 #pragma omp target update from(i) device (argc), device (argc+1) // expected-error {{directive '#pr… in tmain()
23 #pragma omp target update from(i) device (S1) // expected-error {{'S1' does not refer to a value}} in tmain()
24 #pragma omp target update from(i) device (3.14) // expected-error 2 {{expression must have integral… in tmain()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_objects.h30 GalliumD3D11Screen* device; // must not be null member
35 : device(0) in GalliumD3D11DeviceChild()
41 device = p_device; in GalliumD3D11DeviceChild()
42 device->AddRef(); in GalliumD3D11DeviceChild()
47 if(device) in ~GalliumD3D11DeviceChild()
48 device->Release(); in ~GalliumD3D11DeviceChild()
81 device->AddRef(); in GetDevice()
82 *out_device = device; in GetDevice()
90 GalliumD3D11Object(GalliumD3D11Screen* device, Object* object) in GalliumD3D11Object()
91 : GalliumD3D11DeviceChild<Base>(device), object(object) in GalliumD3D11Object()
[all …]
/external/vulkan-validation-layers/tests/layers/
Dwrap_objects.cpp196 VKAPI_ATTR void VKAPI_CALL vkDestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) in vkDestroyDevice() argument
198 dispatch_key key = get_dispatch_key(device); in vkDestroyDevice()
199 VkLayerDispatchTable *pDisp = device_dispatch_table(device); in vkDestroyDevice()
200 pDisp->DestroyDevice(device, pAllocator); in vkDestroyDevice()
215 VKAPI_ATTR void VKAPI_CALL vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t qu… in vkGetDeviceQueue() argument
217 device_dispatch_table(device)->GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); in vkGetDeviceQueue()
234 VKAPI_ATTR VkResult VKAPI_CALL vkDeviceWaitIdle(VkDevice device) in vkDeviceWaitIdle() argument
236 VkResult result = device_dispatch_table(device)->DeviceWaitIdle(device); in vkDeviceWaitIdle()
241 VKAPI_ATTR VkResult VKAPI_CALL vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAlloc… in vkAllocateMemory() argument
243 …VkResult result = device_dispatch_table(device)->AllocateMemory(device, pAllocateInfo, pAllocator,… in vkAllocateMemory()
[all …]
/external/libmtp/src/
Dlibmtp.c104 static void add_error_to_errorstack(LIBMTP_mtpdevice_t *device,
107 static void add_ptp_error_to_errorstack(LIBMTP_mtpdevice_t *device,
110 static void flush_handles(LIBMTP_mtpdevice_t *device);
111 static void get_handles_recursively(LIBMTP_mtpdevice_t *device,
115 static void free_storage_list(LIBMTP_mtpdevice_t *device);
116 static int sort_storage_by(LIBMTP_mtpdevice_t *device, int const sortby);
117 static uint32_t get_writeable_storageid(LIBMTP_mtpdevice_t *device, uint64_t fitsize);
118 static int get_storage_freespace(LIBMTP_mtpdevice_t *device,
121 static int check_if_file_fits(LIBMTP_mtpdevice_t *device,
128 static int get_device_unicode_property(LIBMTP_mtpdevice_t *device,
[all …]
/external/autotest/client/site_tests/network_MobileSuspendResume/
Dnetwork_MobileSuspendResume.py75 def get_powered(self, device): argument
76 properties = device.GetProperties(utf8_strings=True)
82 def _check_powered(self, device, check_enabled): argument
83 properties = device.GetProperties(utf8_strings=True)
87 def check_powered(self, device, check_enabled): argument
91 lambda: self._check_powered(device, check_enabled),
98 def enable_device(self, device, enable): argument
99 lambda_func = lambda: device.Enable() if enable else device.Disable()
106 return self.get_powered(device) == enable
134 device = self.FindMobileDevice(timeout)
[all …]
/external/libdrm/tests/
Ddrmdevice.c33 print_device_info(drmDevicePtr device, int i) in print_device_info() argument
36 printf("\tavailable_nodes %04x\n", device->available_nodes); in print_device_info()
39 if (device->available_nodes & 1 << j) in print_device_info()
40 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]); in print_device_info()
42 printf("\tbustype %04x\n", device->bustype); in print_device_info()
44 if (device->bustype == DRM_BUS_PCI) { in print_device_info()
46 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain); in print_device_info()
47 printf("\t\t\tbu\t%02x\n", device->businfo.pci->bus); in print_device_info()
48 printf("\t\t\tde\t%02x\n", device->businfo.pci->dev); in print_device_info()
49 printf("\t\t\tfunc\t%1u\n", device->businfo.pci->func); in print_device_info()
[all …]
/external/swiftshader/src/D3D9/
DDirect3DStateBlock9.cpp30 …t3DStateBlock9::Direct3DStateBlock9(Direct3DDevice9 *device, D3DSTATEBLOCKTYPE type) : device(devi… in Direct3DStateBlock9() argument
94 CriticalSection cs(device); in QueryInterface()
128 CriticalSection cs(device); in Apply()
132 if(device->isRecording()) in Apply()
139 device->SetFVF(FVF); in Apply()
144 device->SetVertexDeclaration(vertexDeclaration); in Apply()
149 device->SetIndices(indexBuffer); in Apply()
156 device->SetRenderState((D3DRENDERSTATETYPE)state, renderState[state]); in Apply()
162 device->SetNPatchMode(nPatchMode); in Apply()
171device->SetTextureStageState(stage, (D3DTEXTURESTAGESTATETYPE)state, textureStageState[stage][stat… in Apply()
[all …]
/external/autotest/client/deps/fakegudev/src/
Dfakegudev.c326 get_fake_g_udev_device (GUdevDevice *device) in get_fake_g_udev_device() argument
333 if (!FAKE_G_UDEV_IS_DEVICE (device)) in get_fake_g_udev_device()
335 fake_device = FAKE_G_UDEV_DEVICE (device); in get_fake_g_udev_device()
493 g_udev_device_get_device_file (GUdevDevice *device) in g_udev_device_get_device_file() argument
498 fake_device = get_fake_g_udev_device (device); in g_udev_device_get_device_file()
505 return realfunc (device); in g_udev_device_get_device_file()
509 g_udev_device_get_devtype (GUdevDevice *device) in g_udev_device_get_devtype() argument
514 fake_device = get_fake_g_udev_device (device); in g_udev_device_get_devtype()
521 return realfunc (device); in g_udev_device_get_devtype()
525 g_udev_device_get_driver (GUdevDevice *device) in g_udev_device_get_driver() argument
[all …]

12345678910>>...89