/external/skia/src/core/ |
D | SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, in SkARGB32_Blit32() argument 31 SkPMColor* dstRow = device.getAddr32(x, y); in SkARGB32_Blit32() 36 dstRow = (SkPMColor*)((char*)dstRow + device.rowBytes()); in SkARGB32_Blit32() 43 SkARGB32_Blitter::SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint) in SkARGB32_Blitter() argument 44 : INHERITED(device) { in SkARGB32_Blitter() 73 uint32_t* device = fDevice.getAddr32(x, y); in blitH() local 74 SkBlitRow::Color32(device, device, width, fPMColor); in blitH() 84 uint32_t* device = fDevice.getAddr32(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 | 20 extern void blitmask_d565_opaque_mips(int width, int height, uint16_t* device, 61 SkRGB16_Blitter(const SkBitmap& device, const SkPaint& paint); 90 SkRGB16_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint); 106 SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint); 118 SkRGB16_Shader_Blitter(const SkBitmap& device, const SkPaint& paint, 141 SkRGB16_Shader16_Blitter(const SkBitmap& device, const SkPaint& paint, 154 SkRGB16_Shader_Xfermode_Blitter(const SkBitmap& device, const SkPaint& paint, 174 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkBitmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter() argument 175 : INHERITED(device, paint) { in SkRGB16_Black_Blitter() 220 uint16_t* SK_RESTRICT device = fDevice.getAddr16(clip.fLeft, clip.fTop); in blitMask() local [all …]
|
D | SkBlitter_A8.cpp | 15 SkA8_Blitter::SkA8_Blitter(const SkBitmap& device, const SkPaint& paint) in SkA8_Blitter() argument 16 : INHERITED(device) { in SkA8_Blitter() 36 uint8_t* device = fDevice.getAddr8(x, y); in blitH() local 39 memset(device, 0xFF, width); in blitH() 45 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); in blitH() 56 uint8_t* device = fDevice.getAddr8(x, y); in blitAntiH() local 68 memset(device, 0xFF, count); in blitAntiH() 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); in blitAntiH() 79 device += count; in blitAntiH() 142 uint8_t* device = fDevice.getAddr8(x, y); in blitMask() local [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/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 …]
|
D | emptyfolders.c | 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *… in prune_empty_folders() argument 46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) { in prune_empty_folders() 48 LIBMTP_Dump_Errorstack(device); in prune_empty_folders() 49 LIBMTP_Clear_Errorstack(device); in prune_empty_folders() 55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down in prune_empty_folders() 56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along in prune_empty_folders() 82 LIBMTP_mtpdevice_t *device; in main() local 87 device = LIBMTP_Get_First_Device(); in main() 88 if (device == NULL) { in main() 94 files = LIBMTP_Get_Filelisting_With_Callback(device,NULL,NULL); in main() [all …]
|
D | format.c | 51 LIBMTP_mtpdevice_t *device; in main() local 57 device = LIBMTP_Get_First_Device(); in main() 58 if (device == NULL) { in main() 69 ret = LIBMTP_Format_Storage(device, device->storage); in main() 77 LIBMTP_Dump_Errorstack(device); in main() 78 LIBMTP_Clear_Errorstack(device); in main() 79 LIBMTP_Release_Device(device); in main() 83 LIBMTP_Release_Device(device); in main()
|
D | playlists.c | 25 static void dump_plinfo(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) in dump_plinfo() argument 38 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); in dump_plinfo() 44 LIBMTP_Dump_Errorstack(device); in dump_plinfo() 45 LIBMTP_Clear_Errorstack(device); in dump_plinfo() 52 LIBMTP_mtpdevice_t *device; in main() local 58 device = LIBMTP_Get_First_Device(); in main() 59 if (device == NULL) { in main() 65 playlists = LIBMTP_Get_Playlist_List(device); in main() 72 dump_plinfo(device, pl); in main() 79 LIBMTP_Release_Device(device); in main()
|
D | getplaylist.c | 26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) in dump_playlist() argument 35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]); in dump_playlist() 41 LIBMTP_Dump_Errorstack(device); in dump_playlist() 42 LIBMTP_Clear_Errorstack(device); in dump_playlist() 51 LIBMTP_mtpdevice_t *device; in main() local 75 device = LIBMTP_Get_First_Device(); in main() 76 if (device == NULL) { in main() 81 playlist = LIBMTP_Get_Playlist(device,id); in main() 84 dump_playlist(device,playlist); in main() 89 LIBMTP_Release_Device(device); in main()
|
/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 …]
|
D | output.c | 44 vlVdpOutputSurfaceCreate(VdpDevice device, in vlVdpOutputSurfaceCreate() argument 59 vlVdpDevice *dev = vlGetDataHTAB(device); in vlVdpOutputSurfaceCreate() 71 vlsurface->device = dev; in vlVdpOutputSurfaceCreate() 142 pipe = vlsurface->device->context; in vlVdpOutputSurfaceDestroy() 144 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfaceDestroy() 145 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceDestroy() 151 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfaceDestroy() 201 pipe = vlsurface->device->context; in vlVdpOutputSurfaceGetBitsNative() 205 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfaceGetBitsNative() 206 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceGetBitsNative() [all …]
|
/external/libpcap/ |
D | pcap-dos.h | 109 extern struct device el2_dev LOCKED_VAR; /* 3Com EtherLink II */ 110 extern struct device el3_dev LOCKED_VAR; /* EtherLink III */ 111 extern struct device tc59_dev LOCKED_VAR; /* 3Com Vortex Card (?) */ 112 extern struct device tc515_dev LOCKED_VAR; 113 extern struct device tc90x_dev LOCKED_VAR; 114 extern struct device tc90bcx_dev LOCKED_VAR; 115 extern struct device wd_dev LOCKED_VAR; 116 extern struct device ne_dev LOCKED_VAR; 117 extern struct device acct_dev LOCKED_VAR; 118 extern struct device cs89_dev LOCKED_VAR; [all …]
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | common.c | 48 struct udev_device *device; in dri2_udev_device_new_from_fd() local 56 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in dri2_udev_device_new_from_fd() 57 if (device == NULL) { in dri2_udev_device_new_from_fd() 63 return device; in dri2_udev_device_new_from_fd() 70 struct udev_device *device; in dri2_get_device_name_for_fd() local 75 device = dri2_udev_device_new_from_fd(udev, fd); in dri2_get_device_name_for_fd() 76 if (device == NULL) in dri2_get_device_name_for_fd() 79 const_device_name = udev_device_get_devnode(device); in dri2_get_device_name_for_fd() 85 udev_device_unref(device); in dri2_get_device_name_for_fd() 95 struct udev_device *device, *parent; in dri2_get_driver_for_fd() local [all …]
|
/external/iputils/ |
D | arping.c | 64 struct device { struct 76 struct device device = { argument 578 printf("Interface \"%s\" is down\n", device.name); in check_ifflags() 586 printf("Interface \"%s\" is not ARPable\n", device.name); in check_ifflags() 612 if (device.name && ifa->ifa_name && strcmp(ifa->ifa_name, device.name)) in find_device_by_ifaddrs() 615 if (check_ifflags(ifa->ifa_flags, device.name != NULL) < 0) in find_device_by_ifaddrs() 623 device.ifa = ifa; in find_device_by_ifaddrs() 629 if (count == 1 && device.ifa) { in find_device_by_ifaddrs() 630 device.ifindex = if_nametoindex(device.ifa->ifa_name); in find_device_by_ifaddrs() 631 if (!device.ifindex) { in find_device_by_ifaddrs() [all …]
|
/external/libusb/libusb/os/ |
D | darwin_usb.c | 153 usb_device_t **device; in usb_get_next_device() local 177 (LPVOID)&device); in usb_get_next_device() 182 (*(device))->GetLocationID(device, locationp); in usb_get_next_device() 184 return device; in usb_get_next_device() 220 io_service_t device; in darwin_devices_detached() local 227 while ((device = IOIteratorNext (rem_devices)) != 0) { in darwin_devices_detached() 229 …locationCF = IORegistryEntryCreateCFProperty (device, CFSTR(kUSBDevicePropertyLocationID), kCFAllo… in darwin_devices_detached() 233 IOObjectRelease (device); in darwin_devices_detached() 253 io_service_t device; in darwin_clear_iterator() local 255 while ((device = IOIteratorNext (iter)) != 0) in darwin_clear_iterator() [all …]
|
/external/deqp/android/scripts/ |
D | install.py | 47 def installToDevice (device, printPrefix=""): argument 49 print "Installing to %s (%s)...\n" % (device.serial, device.model), 51 print printPrefix + "Installing to %s\n" % device.serial, 53 install(['-s', device.serial], printPrefix) 56 padLen = max([len(device.model) for device in devices])+1 58 ….parallelApply(installToDevice, [(device, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.m… 60 common.serialApply(installToDevice, [(device, ) for device in devices]);
|
/external/openssh/ |
D | auth-chall.c | 46 static KbdintDevice *device; variable 61 device = devices[0]; /* we always use the 1st device for protocol 1 */ in get_challenge() 62 if (device == NULL) in get_challenge() 64 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL) in get_challenge() 66 if (device->query(authctxt->kbdintctxt, &name, &info, in get_challenge() 68 device->free_ctx(authctxt->kbdintctxt); in get_challenge() 91 if (device == NULL) in verify_response() 96 switch (device->respond(authctxt->kbdintctxt, 1, resp)) { in verify_response() 101 if ((device->query(authctxt->kbdintctxt, &name, &info, in verify_response() 105 device->respond(authctxt->kbdintctxt, 0, resp) == 0) in verify_response() [all …]
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 21 SkSurface_Gpu::SkSurface_Gpu(SkGpuDevice* device) in SkSurface_Gpu() argument 22 : INHERITED(device->width(), device->height(), &device->surfaceProps()) in SkSurface_Gpu() 23 , fDevice(SkRef(device)) { in SkSurface_Gpu() 92 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(target, props)); in NewRenderTargetDirect() local 93 if (!device) { in NewRenderTargetDirect() 96 return SkNEW_ARGS(SkSurface_Gpu, (device)); in NewRenderTargetDirect() 101 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(ctx, budgeted, info, sampleCount, props, in NewRenderTarget() local 103 if (!device) { in NewRenderTarget() 106 return SkNEW_ARGS(SkSurface_Gpu, (device)); in NewRenderTarget() 121 SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(surface->asRenderTarget(), props, in NewWrappedRenderTarget() local [all …]
|
/external/toybox/toys/posix/ |
D | df.c | 40 char *device; local 70 device = *mt->device == '/' ? realpath(mt->device, NULL) : NULL; 71 if (!device) device = mt->device; 74 len = 25 - strlen(device); 76 xprintf("%s% *lld % 10lld % 10lld % *lld%% %s\n", device, len, 79 if (device != mt->device) free(device); 132 if (!strcmp(mt->device, mt2->device)) { in df_main()
|
/external/mesa3d/src/gbm/main/ |
D | common.c | 42 struct udev_device *device; in _gbm_udev_device_new_from_fd() local 50 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev); in _gbm_udev_device_new_from_fd() 51 if (device == NULL) { in _gbm_udev_device_new_from_fd() 57 return device; in _gbm_udev_device_new_from_fd() 64 struct udev_device *device; in _gbm_fd_get_device_name() local 69 device = _gbm_udev_device_new_from_fd(udev, fd); in _gbm_fd_get_device_name() 70 if (device == NULL) in _gbm_fd_get_device_name() 73 const_device_name = udev_device_get_devnode(device); in _gbm_fd_get_device_name() 79 udev_device_unref(device); in _gbm_fd_get_device_name()
|
/external/blktrace/btt/ |
D | devs.c | 62 struct d_info *__dip_find(__u32 device) in __dip_find() argument 67 __list_for_each(p, &dev_heads[DEV_HASH(device)]) { in __dip_find() 69 if (device == dip->device) in __dip_find() 106 static inline char *mkhandle(char *str, __u32 device, char *post) in mkhandle() argument 108 int mjr = device >> MINORBITS; in mkhandle() 109 int mnr = device & ((1 << MINORBITS) - 1); in mkhandle() 125 struct d_info *dip_alloc(__u32 device, struct io *iop) in dip_alloc() argument 127 struct d_info *dip = __dip_find(device); in dip_alloc() 136 dip->device = device; in dip_alloc() 138 dip->devmap = dev_map_find(device); in dip_alloc() [all …]
|
/external/gptfdisk/ |
D | gdisk.cc | 16 string device = ""; in main() local 30 device = ReadString(); in main() 31 if (device.length() == 0) in main() 33 else if (theGPT.LoadPartitions(device)) { in main() 36 theGPT.MainMenu(device); in main() 48 device = (string) argv[2]; in main() 50 device = (string) argv[1]; in main() 55 if (device != "") { in main() 57 if (theGPT.LoadPartitions(device)) in main()
|
D | fixparts.cc | 27 string device; in main() local 34 device = ReadString(); in main() 35 if (device.length() == 0) in main() 39 device = argv[1]; in main() 46 cout << "\nLoading MBR data from " << device << "\n"; in main() 47 if (!mbrTable.ReadMBRData(device)) { in main() 48 cerr << "\nUnable to read MBR data from '" << device << "'! Exiting!\n\n"; in main() 61 cerr << "\nCannot find valid MBR data on '" << device << "'! Exiting!\n\n"; in main() 68 cerr << "\nCannot determine the validity of the disk on '" << device in main()
|
/external/llvm/test/Analysis/BasicAA/ |
D | 2007-12-08-OutOfBoundsCrash.ll | 6 %struct.device = type { [20 x i8] } 8 %struct.usb_bus = type { %struct.device* } 16 …mentptr %struct.usb_hcd, %struct.usb_hcd* %hcd, i32 0, i32 0, i32 0 ; <%struct.device**> [#uses=1] 17 %tmp15 = load %struct.device*, %struct.device** %tmp14, align 8 ; <%struct.device*> [#uses=0] 25 %tmp67 = bitcast i64* %tmp601 to %struct.device** ; <%struct.device**> [#uses=1] 26 %tmp68 = load %struct.device*, %struct.device** %tmp67, align 8 ; <%struct.device*> [#uses=0]
|