/external/vulkan-validation-layers/loader/ |
D | dev_ext_trampoline.c | 34 VKAPI_ATTR void VKAPI_CALL vkDevExt0(VkDevice device) { in vkDevExt0() argument 36 disp = loader_get_dev_dispatch(device); in vkDevExt0() 37 disp->ext_dispatch.DevExt[0](device); in vkDevExt0() 40 VKAPI_ATTR void VKAPI_CALL vkDevExt1(VkDevice device) { in vkDevExt1() argument 42 disp = loader_get_dev_dispatch(device); in vkDevExt1() 43 disp->ext_dispatch.DevExt[1](device); in vkDevExt1() 46 VKAPI_ATTR void VKAPI_CALL vkDevExt2(VkDevice device) { in vkDevExt2() argument 48 disp = loader_get_dev_dispatch(device); in vkDevExt2() 49 disp->ext_dispatch.DevExt[2](device); in vkDevExt2() 52 VKAPI_ATTR void VKAPI_CALL vkDevExt3(VkDevice device) { in vkDevExt3() argument [all …]
|
D | trampoline.c | 92 vkGetDeviceProcAddr(VkDevice device, const char *pName) { in vkGetDeviceProcAddr() argument 110 const VkLayerDispatchTable *disp_table = *(VkLayerDispatchTable **)device; in vkGetDeviceProcAddr() 120 return disp_table->GetDeviceProcAddr(device, pName); in vkGetDeviceProcAddr() 723 *pDevice = dev->device; 743 vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator) { argument 749 struct loader_icd *icd = loader_get_icd_and_device(device, &dev); 751 disp = loader_get_dispatch(device); 753 disp->DestroyDevice(device, pAllocator); 754 dev->device = NULL; 867 vkGetDeviceQueue(VkDevice device, uint32_t queueNodeIndex, uint32_t queueIndex, argument [all …]
|
/external/libdrm/tests/kms/ |
D | libkms-test-device.c | 55 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/ |
D | device_utils_test.py | 145 self.device = device_utils.DeviceUtils( 153 args, output, status, msg, str(self.device))) 159 msg, str(self.device))) 164 cmd, output, status, str(self.device)) 173 msg, str(self.device))) 180 self.assertTrue(self.device == other) 181 self.assertTrue(other == self.device) 185 self.assertTrue(self.device == other) 186 self.assertTrue(other == self.device) 190 self.assertTrue(self.device == other) [all …]
|
D | md5sum_test.py | 30 mock.Mock(side_effect=lambda a, device=None: mocked_attrs[a])), 93 device = mock.NonCallableMock() 94 device.RunShellCommand = mock.Mock(side_effect=Exception()) 96 out = md5sum.CalculateDeviceMd5Sums([], device) 102 device = mock.NonCallableMock() 107 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output) 110 out = md5sum.CalculateDeviceMd5Sums(test_path, device) 115 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 120 device = mock.NonCallableMock() 127 device.RunShellCommand = mock.Mock(return_value=device_md5sum_output) [all …]
|
/external/skia/src/core/ |
D | SkBlitter_ARGB32.cpp | 17 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 …]
|
D | SkBlitter_RGB16.cpp | 18 extern void blitmask_d565_opaque_mips(int width, int height, uint16_t* device, 25 extern void SkRGB16BlitterBlitV_neon(uint16_t* device, 64 SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint); 92 SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint); 106 SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint); 117 SkRGB16_Shader_Blitter(const SkPixmap& device, const SkPaint& paint, 139 SkRGB16_Shader_Xfermode_Blitter(const SkPixmap& device, const SkPaint& paint, 159 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter() argument 160 : INHERITED(device, paint) { in SkRGB16_Black_Blitter() 205 uint16_t* SK_RESTRICT device = fDevice.writable_addr16(clip.fLeft, clip.fTop); in blitMask() local [all …]
|
D | SkBlitter_PM4f.cpp | 22 SkState_Blitter(const SkPixmap& device, const SkPaint& paint) in SkState_Blitter() argument 23 : INHERITED(device) in SkState_Blitter() 24 , fState(device.info(), paint, nullptr) in SkState_Blitter() 37 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitV() local 41 fState.fProc1(fState.fXfer, device, &fState.fPM4f, 1, &alpha); in blitV() 42 device = (typename State::DstType*)((char*)device + deviceRB); in blitV() 50 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitRect() local 54 fState.fProc1(fState.fXfer, device, &fState.fPM4f, width, nullptr); in blitRect() 56 device = (typename State::DstType*)((char*)device + deviceRB); in blitRect() 61 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitAntiH() local [all …]
|
D | SkBlitter_A8.cpp | 15 SkA8_Blitter::SkA8_Blitter(const SkPixmap& device, const SkPaint& paint) : INHERITED(device) { in SkA8_Blitter() argument 35 uint8_t* device = fDevice.writable_addr8(x, y); in blitH() local 38 memset(device, 0xFF, width); in blitH() 44 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH() 55 uint8_t* device = fDevice.writable_addr8(x, y); in blitAntiH() local 67 memset(device, 0xFF, count); in blitAntiH() 73 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH() 78 device += count; in blitAntiH() 141 uint8_t* device = fDevice.writable_addr8(x, y); in blitMask() local 156 device[i] = 0xFF; in blitMask() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkDeviceDriverImpl.inl | 5 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 …]
|
D | vkRefUtilImpl.inl | 143 Move<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllo… argument 146 VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object)); 147 …return Move<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAl… 150 Move<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCr… argument 153 VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object)); 154 return Move<VkFence>(check<VkFence>(object), Deleter<VkFence>(vk, device, pAllocator)); 157 Move<VkSemaphore> createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCre… argument 160 VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object)); 161 return Move<VkSemaphore>(check<VkSemaphore>(object), Deleter<VkSemaphore>(vk, device, pAllocator)); 164 Move<VkEvent> createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCr… argument [all …]
|
D | vkConcreteDeviceInterface.inl | 4 virtual void destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator) const; 5 virtual void getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex,… 8 virtual VkResult deviceWaitIdle (VkDevice device) const; 9 virtual VkResult allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, c… 10 virtual void freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks… 11 virtual VkResult mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDe… 12 virtual void unmapMemory (VkDevice device, VkDeviceMemory memory) const; 13 virtual VkResult flushMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMa… 14 virtual VkResult invalidateMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const V… 15 virtual void getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pC… [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_objects.h | 30 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/libmtp/src/ |
D | libmtp.c | 104 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/ |
D | network_MobileSuspendResume.py | 75 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/vulkan-validation-layers/layers/ |
D | parameter_validation.cpp | 1278 static bool validate_queue_family_indices(VkDevice device, const char *function_name, const uint32_… in validate_queue_family_indices() argument 1281 layer_data *my_device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in validate_queue_family_indices() 1286 …log_msg(mdd(device), VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, 1,… in validate_queue_family_indices() 1292 …mdd(device), VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, 1, "PARAMC… in validate_queue_family_indices() 1677 void storeCreateDeviceData(VkDevice device, const VkDeviceCreateInfo *pCreateInfo) { in storeCreateDeviceData() argument 1678 layer_data *my_device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in storeCreateDeviceData() 1759 VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyDevice(VkDevice device, const VkAllocationCallb… in vkDestroyDevice() argument 1760 dispatch_key key = get_dispatch_key(device); in vkDestroyDevice() 1768 layer_debug_report_destroy_device(device); in vkDestroyDevice() 1771 fprintf(stderr, "Device: %p, key: %p\n", device, key); in vkDestroyDevice() [all …]
|
D | object_tracker.h | 71 uint64_t objTrackGetObjectCount(VkDevice device); 121 static void createDeviceRegisterExtensions(const VkDeviceCreateInfo *pCreateInfo, VkDevice device) { in createDeviceRegisterExtensions() argument 122 layer_data *my_device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); in createDeviceRegisterExtensions() 123 VkLayerDispatchTable *pDisp = get_dispatch_table(object_tracker_device_table_map, device); in createDeviceRegisterExtensions() 125 pDisp->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR)gpa(device, "vkCreateSwapchainKHR"); in createDeviceRegisterExtensions() 126 pDisp->DestroySwapchainKHR = (PFN_vkDestroySwapchainKHR)gpa(device, "vkDestroySwapchainKHR"); in createDeviceRegisterExtensions() 127 …pDisp->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR)gpa(device, "vkGetSwapchainImagesKHR"); in createDeviceRegisterExtensions() 128 pDisp->AcquireNextImageKHR = (PFN_vkAcquireNextImageKHR)gpa(device, "vkAcquireNextImageKHR"); in createDeviceRegisterExtensions() 129 pDisp->QueuePresentKHR = (PFN_vkQueuePresentKHR)gpa(device, "vkQueuePresentKHR"); in createDeviceRegisterExtensions() 462 static void alloc_command_buffer(VkDevice device, VkCommandPool commandPool, VkCommandBuffer vkObj, in alloc_command_buffer() argument [all …]
|
/external/libdrm/tests/ |
D | drmdevice.c | 33 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/autotest/client/deps/fakegudev/src/ |
D | fakegudev.c | 326 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 …]
|
D | gudev-exercise.c | 42 print_device(GUdevDevice *device) in print_device() argument 48 printf (" Name: %s\n", g_udev_device_get_name (device)); in print_device() 49 printf (" Device file: %s\n", g_udev_device_get_device_file (device)); in print_device() 50 printf (" Devtype: %s\n", g_udev_device_get_devtype (device)); in print_device() 51 printf (" Driver: %s\n", g_udev_device_get_driver (device)); in print_device() 52 printf (" Subsystem: %s\n", g_udev_device_get_subsystem (device)); in print_device() 53 printf (" Sysfs path: %s\n", g_udev_device_get_sysfs_path (device)); in print_device() 58 const gchar * const * keys = g_udev_device_get_property_keys (device); in print_device() 63 prop = g_udev_device_get_property (device, *keys); in print_device() 80 GUdevDevice *device; in lookup() local [all …]
|
/external/libmtp/examples/ |
D | detect.c | 117 LIBMTP_mtpdevice_t *device; in main() local 129 device = LIBMTP_Open_Raw_Device(&rawdevices[i]); in main() 130 if (device == NULL) { in main() 135 LIBMTP_Dump_Errorstack(device); in main() 136 LIBMTP_Clear_Errorstack(device); in main() 137 LIBMTP_Dump_Device_Info(device); in main() 141 friendlyname = LIBMTP_Get_Friendlyname(device); in main() 148 syncpartner = LIBMTP_Get_Syncpartner(device); in main() 157 ret = LIBMTP_Get_Batterylevel(device, &maxbattlevel, &currbattlevel); in main() 164 LIBMTP_Clear_Errorstack(device); in main() [all …]
|
/external/opencv3/modules/ts/src/ |
D | ocl_test.cpp | 137 const Device& device = Device::getDefault(); in dumpOpenCLDevice() local 138 if (!device.available()) in dumpOpenCLDevice() 144 DUMP_MESSAGE_STDOUT(" Platform = "<< device.getPlatform().name()); in dumpOpenCLDevice() 145 DUMP_PROPERTY_XML("cv_ocl_current_platformName", device.getPlatform().name()); in dumpOpenCLDevice() 148 const char* deviceTypeStr = device.type() == Device::TYPE_CPU in dumpOpenCLDevice() 149 …? ("CPU") : (device.type() == Device::TYPE_GPU ? device.hostUnifiedMemory() ? "iGPU" : "dGPU" : "u… in dumpOpenCLDevice() 153 DUMP_MESSAGE_STDOUT(" Name = "<< device.name()); in dumpOpenCLDevice() 154 DUMP_PROPERTY_XML("cv_ocl_current_deviceName", device.name()); in dumpOpenCLDevice() 156 DUMP_MESSAGE_STDOUT(" Version = " << device.version()); in dumpOpenCLDevice() 157 DUMP_PROPERTY_XML("cv_ocl_current_deviceVersion", device.version()); in dumpOpenCLDevice() [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capture_utils.cc | 23 DISPLAY_DEVICE device; in GetScreenList() local 24 device.cb = sizeof(device); in GetScreenList() 25 enum_result = EnumDisplayDevices(NULL, device_index, &device, 0); in GetScreenList() 32 if (!(device.StateFlags & DISPLAY_DEVICE_ACTIVE)) in GetScreenList() 48 DISPLAY_DEVICE device; in IsScreenValid() local 49 device.cb = sizeof(device); in IsScreenValid() 50 BOOL enum_result = EnumDisplayDevices(NULL, screen, &device, 0); in IsScreenValid() 52 *device_key = device.DeviceKey; in IsScreenValid() 65 DISPLAY_DEVICE device; in GetScreenRect() local 66 device.cb = sizeof(device); in GetScreenRect() [all …]
|
/external/clang/test/OpenMP/ |
D | target_device_messages.cpp | 13 #pragma omp target device // expected-error {{expected '(' after 'device'}} in main() 14 …#pragma omp target device ( // expected-error {{expected expression}} expected-error {{expected ')… in main() 15 #pragma omp target device () // expected-error {{expected expression}} in main() 16 …#pragma omp target device (argc // expected-error {{expected ')'}} expected-note {{to match this '… in main() 17 …#pragma omp target device (argc)) // expected-warning {{extra tokens at the end of '#pragma omp ta… in main() 18 #pragma omp target device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have i… in main() 19 #pragma omp target device (argc + argc) in main() 20 …#pragma omp target device (argc), device (argc+1) // expected-error {{directive '#pragma omp targe… in main() 21 #pragma omp target device (S1) // expected-error {{'S1' does not refer to a value}} in main() 22 …#pragma omp target device (-2) // expected-error {{argument to 'device' clause must be a non-negat… in main() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | presentation.c | 40 vlVdpPresentationQueueCreate(VdpDevice device, in vlVdpPresentationQueueCreate() argument 50 vlVdpDevice *dev = vlGetDataHTAB(device); in vlVdpPresentationQueueCreate() 58 if (dev != pqt->device) in vlVdpPresentationQueueCreate() 65 pq->device = dev; in vlVdpPresentationQueueCreate() 102 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueDestroy() 104 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueDestroy() 134 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor() 136 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor() 158 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueGetBackgroundColor() 160 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueGetBackgroundColor() [all …]
|