/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/tools/ |
D | provision_devices.py | 132 def ProvisionDevice(device, steps, blacklist, reboot_timeout=None): argument 135 if device.build_version_sdk >= version_codes.LOLLIPOP: 142 device.WaitUntilFullyBooted(timeout=reboot_timeout, retries=0) 145 device.Reboot(timeout=reboot_timeout) 146 step.cmd(device) 148 device.Reboot(False, retries=0) 149 device.adb.WaitForDevice() 153 str(device)) 155 blacklist.Extend([str(device)], reason='provision_timeout') 159 str(device)) [all …]
|
/external/v8/build/android/ |
D | provision_devices.py | 72 if args.device: 73 devices = [d for d in devices if d == args.device] 75 raise device_errors.DeviceUnreachableError(args.device) 92 def ProvisionDevice(device, blacklist, options): argument 95 elif device.build_version_sdk >= version_codes.LOLLIPOP: 105 device.WaitUntilFullyBooted(timeout=reboot_timeout, retries=0) 108 device.Reboot(timeout=reboot_timeout) 109 phase_func(device, options) 111 device.Reboot(False, retries=0) 112 device.adb.WaitForDevice() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils_test.py | 163 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 …]
|
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/ImageMagick/MagickCore/ |
D | opencl.c | 373 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/ |
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 …]
|
/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/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/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/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/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 …]
|
/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/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/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 …]
|
D | target_data_device_messages.cpp | 13 #pragma omp target data device // expected-error {{expected '(' after 'device'}} in main() 14 …#pragma omp target data device ( // expected-error {{expected expression}} expected-error {{expect… in main() 15 #pragma omp target data device () // expected-error {{expected expression}} in main() 16 …#pragma omp target data device (argc // expected-error {{expected ')'}} expected-note {{to match t… in main() 17 …#pragma omp target data device (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in main() 18 #pragma omp target data device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must h… in main() 19 #pragma omp target data device (argc + argc) in main() 20 …#pragma omp target data device (argc), device (argc+1) // expected-error {{directive '#pragma omp … in main() 21 #pragma omp target data device (S1) // expected-error {{'S1' does not refer to a value}} in main() 22 …#pragma omp target data device (-2) // expected-error {{argument to 'device' clause must be a non-… in main() [all …]
|
/external/v8/build/android/pylib/ |
D | valgrind_tools.py | 18 def SetChromeTimeoutScale(device, scale): argument 23 device.RunShellCommand('rm %s' % path) 25 device.WriteFile(path, '%f' % scale, as_root=True) 38 def __init__(self, device): argument 40 self._device = device 43 def CopyFiles(cls, device): argument 54 '--device', str(device), 57 device.WaitUntilFullyBooted() 94 def __init__(self, device): argument 96 self._device = device [all …]
|