/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_rect.c | 52 * @dst: destination window rectangle 57 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by the 61 * %true if rectangle @dst is still visible after being clipped, 64 int drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, argument 70 diff = clip->x1 - dst->x1; 75 diff = clip->y1 - dst->y1; 80 diff = dst->x2 - clip->x2; 85 diff = dst->y2 - clip->y2; 91 return drm_rect_intersect(dst, clip); 94 static int drm_calc_scale(int src, int dst) argument 122 drm_rect_calc_hscale(const struct drm_rect *src, const struct drm_rect *dst, int min_hscale, int max_hscale) argument 152 drm_rect_calc_vscale(const struct drm_rect *src, const struct drm_rect *dst, int min_vscale, int max_vscale) argument 188 drm_rect_calc_hscale_relaxed(struct drm_rect *src, struct drm_rect *dst, int min_hscale, int max_hscale) argument 237 drm_rect_calc_vscale_relaxed(struct drm_rect *src, struct drm_rect *dst, int min_vscale, int max_vscale) argument [all...] |
H A D | drm_modes.c | 599 * @new: dst list 778 * @dst: mode to overwrite 787 void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src) argument 789 int id = dst->base.id; 790 struct list_head head = dst->head; 792 *dst = *src; 793 dst->base.id = id; 794 dst->head = head;
|
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | intel_sprite.c | 631 struct drm_rect dst = { local 693 hscale = drm_rect_calc_hscale_relaxed(&src, &dst, min_scale, max_scale); 696 vscale = drm_rect_calc_vscale_relaxed(&src, &dst, min_scale, max_scale); 699 visible = drm_rect_clip_scaled(&src, &dst, &clip, hscale, vscale); 701 crtc_x = dst.x1; 702 crtc_y = dst.y1; 703 crtc_w = drm_rect_width(&dst); 704 crtc_h = drm_rect_height(&dst); 708 hscale = drm_rect_calc_hscale(&src, &dst, min_scale, max_scale); 712 drm_rect_debug_print(&dst, fals [all...] |
H A D | i915_gem.c | 3869 char *dst = obj->page_list[i]; local 3872 (void) memcpy(dst, src, PAGE_SIZE); 3928 char *dst = obj->page_list[i]; local 3930 (void) memcpy(dst, src, PAGE_SIZE);
|
H A D | i915_irq.c | 1461 struct drm_i915_error_object *dst; local 1468 dst = kmalloc(sizeof(*dst) + num_pages * sizeof(u32 *), GFP_ATOMIC); 1469 if (dst == NULL) 1519 dst->pages[i] = d; 1523 dst->page_count = num_pages; 1524 dst->gtt_offset = src->gtt_offset; 1526 return dst; 1530 kfree(dst->pages[i]); 1531 kfree(dst); [all...] |
H A D | intel_dp.c | 177 unpack_aux(uint32_t src, uint8_t *dst, int dst_bytes) argument 183 dst[i] = src >> ((3-i) * 8);
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | csconndi.c | 121 char *dst = Xmalloc (len + 1); local 123 if (dst) { 124 strncpy (dst, src, len); 125 dst[len] = '\0'; 128 return dst;
|
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | resource.c | 460 char *dst; local 471 dst = appdefaults; 512 dst = appdefaults; 513 *dst = '\0'; 525 buflen = dst - appdefaults; 539 dst = appdefaults + buflen; 547 *dst++ = *appenddata; 549 strncat(dst, appenddata, appendsize); 550 dst += appendsize; 552 *dst [all...] |
/solaris-x11-s11/open-src/lib/libX11/sun-src/modules/lc/gb18030/ |
H A D | lcGB18030.c | 195 unsigned char *dst = (unsigned char *)*to; local 210 *dst++ = *src++; 211 *dst++ = *src++; 228 *dst++ = iconv_buf[0]; 229 *dst++ = iconv_buf[1]; 244 *dst++ = *src++; 256 *to = (XPointer)dst; 276 unsigned char *dst = (unsigned char *)*to; local 298 *dst++ = *src++; 299 *dst 374 unsigned char *dst = (unsigned char *)*to; local 500 unsigned char *dst = (unsigned char *)*to; local 1072 wchar_t *dst = *((wchar_t **) to); local 1115 char *dst = *((char **) to); local [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libpsres/ |
H A D | PSres.c | 291 char *dst = buf, *src = buf; local 297 *dst = '\0'; 299 } else if (*src == dontDequote) *dst++ = '\\'; 301 *dst++ = *src++; 303 *dst = '\0'; 319 char *dst = buf, *src = buf; local 328 *dst = '\0'; 330 } else if (*src == dontDequote && *sep != NULL) *dst++ = '\\'; 332 *sep = dst; 338 *dst [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/makepsres/ |
H A D | makepsres.c | 748 register char *src, *dst, prev; local 759 dst = buf; 775 prev = *dst++ = ' '; 776 } else prev = *dst++ = '.'; 786 *dst++ = ' '; 787 prev = *dst++ = *src++; 788 } else prev = *dst++ = *src++; 795 prev = *dst++ = ' '; 798 } else prev = *dst++ = *src++; 802 dst [all...] |
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | TransOvl.c | 1040 Drawable dst, 1063 req->dstDrawable = dst; 1037 XSolarisOvlCopyPaintType( Display *dpy, Drawable src, Drawable dst, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y, unsigned long action_mask, unsigned long planemask ) argument
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | ColorSB.c | 370 XrmValue src, dst; local 376 dst.addr = (caddr_t) &result; 377 dst.size = sizeof(result); 379 if (XtConvertAndStore(w, XtRString, &src, XmRXmString, &dst)) {
|
H A D | DPSScrollW.c | 344 /* Subtract sub from src, putting result into dst. Return rectangle count */ 346 static int Subtract(float *src, float *sub, float *dst) argument 353 LEFT(dst) = LEFT(src); 354 BOTTOM(dst) = BOTTOM(src); 355 WIDTH(dst) = WIDTH(src); 356 HEIGHT(dst) = BOTTOM(sub) - BOTTOM(src); 358 dst += 4; 363 LEFT(dst) = LEFT(src); 364 BOTTOM(dst) = MAX(BOTTOM(src), BOTTOM(sub)); 365 WIDTH(dst) 394 Copy(float *src, float *dst) argument 402 Intersection(float *r1, float *r2, float *dst) argument [all...] |
H A D | FontSB.c | 444 XrmValue src, dst; local 450 dst.addr = (caddr_t) &result; 451 dst.size = sizeof(result); 453 if (XtConvertAndStore(w, XtRString, &src, XmRXmString, &dst)) { 611 register char *src, *dst, prev; local 636 dst = buf; 652 prev = *dst++ = ' '; 653 } else prev = *dst++ = '.'; 663 *dst++ = ' '; 664 prev = *dst 2431 char *src, *dst; local [all...] |