/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | i915_io32.c | 33 copyin32_i915_batchbuffer(void * dest, void * src) argument 38 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); 51 copyin32_i915_irq_emit(void *dest, void *src) argument 56 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); 64 copyin32_i915_getparam(void *dest, void *src) argument 69 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); 78 copyin32_i915_cmdbuffer(void * dest, void * src) argument 83 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof (dest32)); 96 copyin32_i915_mem_alloc(void *dest, void *src) argument 101 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeo [all...] |
H A D | intel_sprite.c | 624 struct drm_rect src = { 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); 708 hscale = drm_rect_calc_hscale(&src, &dst, min_scale, max_scale); 711 drm_rect_debug_print(&src, true); 717 vscale = drm_rect_calc_vscale(&src, &dst, min_scale, max_scale); 720 drm_rect_debug_print(&src, true); 727 drm_rect_adjust_size(&src, 728 drm_rect_width(&dst) * hscale - drm_rect_width(&src), [all...] |
H A D | i915_gem.c | 3870 char *src = (caddr_t)(obj->phys_obj->handle->vaddr + (i * PAGE_SIZE)); local 3872 (void) memcpy(dst, src, PAGE_SIZE); 3929 char *src = (caddr_t)(obj->phys_obj->handle->vaddr + (i * PAGE_SIZE)); local 3930 (void) memcpy(dst, src, PAGE_SIZE);
|
H A D | i915_irq.c | 1458 struct drm_i915_gem_object *src, 1465 if (src == NULL || src->pages == NULL) 1472 reloc_offset = src->gtt_offset; 1483 src->has_global_gtt_mapping) { 1495 } else if (src->stolen) { 1499 offset += src->stolen->start; 1507 page = i915_gem_object_get_page(src, i); 1524 dst->gtt_offset = src->gtt_offset; 1534 #define i915_error_object_create(dev_priv, src) \ 1457 i915_error_object_create_sized(struct drm_i915_private *dev_priv, struct drm_i915_gem_object *src, const int num_pages) argument [all...] |
H A D | intel_dp.c | 164 pack_aux(uint8_t *src, int src_bytes) argument 172 v |= ((uint32_t) src[i]) << ((3-i) * 8); 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/kernel/drm/src/ |
H A D | drm_io32.c | 35 copyin32_drm_map(void *dest, void *src) argument 40 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof(dest32)); 53 copyout32_drm_map(void *dest, void *src) argument 55 struct drm_map *src64 = src; 71 copyin32_drm_buf_desc(void *dest, void *src) argument 76 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeof(dest32)); 89 copyout32_drm_buf_desc(void *dest, void *src) argument 91 struct drm_buf_desc *src64 = src; 107 copyin32_drm_buf_free(void *dest, void *src) argument 112 DRM_COPYFROM_WITH_RETURN(&dest32, (void *)src, sizeo 121 copyin32_drm_buf_map(void *dest, void *src) argument 137 copyout32_drm_buf_map(void *dest, void *src) argument 151 copyin32_drm_ctx_priv_map(void *dest, void *src) argument 165 copyout32_drm_ctx_priv_map(void *dest, void *src) argument 179 copyin32_drm_ctx_res(void *dest, void *src) argument 193 copyout32_drm_ctx_res(void *dest, void *src) argument 207 copyin32_drm_unique(void *dest, void *src) argument 221 copyout32_drm_unique(void *dest, void *src) argument 235 copyin32_drm_client(void *dest, void *src) argument 253 copyout32_drm_client(void *dest, void *src) argument 271 copyout32_drm_stats(void *dest, void *src) argument 289 copyin32_drm_version(void *dest, void *src) argument 307 copyout32_drm_version(void *dest, void *src) argument 328 copyin32_drm_wait_vblank(void *dest, void *src) argument 343 copyout32_drm_wait_vblank(void *dest, void *src) argument 359 copyin32_drm_scatter_gather(void *dest, void *src) argument 373 copyout32_drm_scatter_gather(void *dest, void *src) argument [all...] |
H A D | drm_rect.c | 51 * @src: source window rectangle 57 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by the 64 int drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, argument 72 int64_t tmp = src->x1 + (int64_t) diff * hscale; 73 src->x1 = clamp_int64_t(tmp); 77 int64_t tmp = src->y1 + (int64_t) diff * vscale; 78 src->y1 = clamp_int64_t(tmp); 82 int64_t tmp = src->x2 - (int64_t) diff * hscale; 83 src->x2 = clamp_int64_t(tmp); 87 int64_t tmp = src 94 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 | 779 * @src: mode to copy 787 void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src) argument 792 *dst = *src;
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | Dialog.c | 338 DialogWidget src = (DialogWidget) w; local 344 XtGetValues(src->dialog.valueW, a, 1);
|
H A D | AsciiSrc.c | 202 AsciiSrcObject src = (AsciiSrcObject) new; local 209 src->text_src.text_format = XawFmt8Bit; /* data format. */ 213 src->ascii_src.type = XawAsciiFile; 214 src->ascii_src.string = src->ascii_src.filename; 220 src->ascii_src.use_string_in_place = TRUE; 221 src->ascii_src.type = XawAsciiString; 225 src->ascii_src.changes = FALSE; 226 src->ascii_src.allocated_string = FALSE; 228 file = InitStringOrFile(src, sr 250 AsciiSrcObject src = (AsciiSrcObject) w; local 276 AsciiSrcObject src = (AsciiSrcObject) w; local 419 AsciiSrcObject src = (AsciiSrcObject) w; local 551 AsciiSrcObject src = (AsciiSrcObject) w; local 632 AsciiSrcObject src = (AsciiSrcObject) new; local 691 AsciiSrcObject src = (AsciiSrcObject) w; local 743 AsciiSrcObject src = (AsciiSrcObject) w; local 778 AsciiSrcObject src = (AsciiSrcObject) w; local 840 AsciiSrcObject src = (AsciiSrcObject) w; local 1341 XawTextSource src; local 1367 AsciiSrcObject src = (AsciiSrcObject) XawTextGetSource(w); local 1387 XawTextSource src; local [all...] |
H A D | MultiSrc.c | 227 MultiSrcObject src = (MultiSrcObject) new; local 234 src->multi_src.changes = FALSE; 235 src->multi_src.allocated_string = FALSE; 237 file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile); 238 LoadPieces(src, file, NULL); 241 src->text_src.text_format = XawFmtWide; 261 MultiSrcObject src = (MultiSrcObject) w; local 263 MultiPiece * piece = FindPiece(src, pos, &start); 288 MultiSrcObject src local 472 MultiSrcObject src = (MultiSrcObject) w; local 601 MultiSrcObject src = (MultiSrcObject) w; local 713 MultiSrcObject src = (MultiSrcObject) new; local 789 MultiSrcObject src = (MultiSrcObject) w; local 845 MultiSrcObject src = (MultiSrcObject) w; local 873 MultiSrcObject src = (MultiSrcObject) w; local 955 MultiSrcObject src = (MultiSrcObject) w; local [all...] |
H A D | TextAction.c | 639 Widget src = ctx->text.source; local 649 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 668 XtGetValues(src, args, 1); 681 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 1846 Widget src = ctx->text.source; local 1869 endPos=SrcScan(src, startPos, XawstEOL, XawsdRight, 1, FALSE); 1871 temp = SrcScan(src, endPos, XawstWhiteSpace, XawsdLeft, 1, FALSE); 1872 temp = SrcScan(src, temp, XawstWhiteSpace, XawsdRight,1, FALSE); 1882 eop_begin=SrcScan(src, startPos, XawstParagraph, XawsdRight, 1,FALSE); 1883 eop_end = SrcScan(src, startPo [all...] |
H A D | Text.c | 965 Widget src = ctx->text.source; local 988 endPos = SrcScan(src, position, XawstEOL, XawsdRight, 1, TRUE); 991 if(SrcScan(src, position, XawstEOL, XawsdRight, 1, FALSE) == endPos) 1512 Widget src = ctx->text.source; local 1523 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 1541 XtGetValues(src, args, ONE); 1554 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 1956 Widget src = ctx->text.source; local 1968 XtGetValues(src, args, ONE); 1972 pos2 = SrcScan(src, ct 2154 Widget src = ctx->text.source; local [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | csconndi.c | 119 static char *copystring (char *src, int len) argument 124 strncpy (dst, src, len);
|
H A D | cslibint.c | 1699 N_XANYSET(unsigned long *src) argument 1704 if (src[ i ])
|
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1AsciiSrc.c | 190 AsciiSrcObject src = (AsciiSrcObject) new; local 199 src->ascii_src.type = XawAsciiFile; 200 src->ascii_src.string = src->ascii_src.filename; 206 src->ascii_src.use_string_in_place = TRUE; 207 src->ascii_src.type = XawAsciiString; 211 src->ascii_src.changes = FALSE; 212 src->ascii_src.allocated_string = FALSE; 214 file = InitStringOrFile(src); 215 LoadPieces(src, fil 239 AsciiSrcObject src = (AsciiSrcObject) w; local 265 AsciiSrcObject src = (AsciiSrcObject) w; local 407 AsciiSrcObject src = (AsciiSrcObject) w; local 538 AsciiSrcObject src = (AsciiSrcObject) w; local 616 AsciiSrcObject src = (AsciiSrcObject) new; local 682 AsciiSrcObject src = (AsciiSrcObject) w; local 728 AsciiSrcObject src = (AsciiSrcObject) w; local 746 AsciiSrcObject src = (AsciiSrcObject) w; local 794 AsciiSrcObject src = (AsciiSrcObject) w; local 1256 XawTextSource src; local 1282 AsciiSrcObject src = (AsciiSrcObject) XawTextGetSource(w); local 1302 XawTextSource src; local [all...] |
H A D | Xaw3_1TextAction.c | 1149 Widget src = ctx->text.source; local 1163 endPos=SrcScan(src, startPos, XawstEOL, XawsdRight, 1, FALSE); 1165 temp=SrcScan(src, endPos, XawstWhiteSpace, XawsdLeft, 1, FALSE); 1166 temp=SrcScan(src, temp, XawstWhiteSpace, XawsdRight, 1, FALSE); 1175 eop_begin = SrcScan(src, startPos, XawstParagraph, XawsdRight, 1, FALSE); 1176 eop_end = SrcScan(src, startPos, XawstParagraph, XawsdRight, 1, TRUE); 1182 periodPos= SrcScan(src, endPos, XawstPositions, XawsdLeft, 1, TRUE); 1183 next_word = SrcScan(src, endPos, XawstWhiteSpace, XawsdRight, 1, FALSE); 1204 startPos = SrcScan(src, periodPos, XawstPositions, XawsdRight, i, TRUE);
|
H A D | Xaw3_1Text.c | 874 Widget src = ctx->text.source; local 896 endPos = SrcScan(src, position, XawstEOL, XawsdRight, 1, TRUE); 899 if(SrcScan(src, position, XawstEOL, XawsdRight, 1, FALSE) == endPos) 1376 Widget src = ctx->text.source; local 1384 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 1402 XtGetValues(src, args, ONE); 1415 if ( SrcCvtSel(src, selection, target, type, value, length, format) ) 1622 Widget src = ctx->text.source; local 1633 XtGetValues(src, args, ONE); 1637 pos2 = SrcScan(src, ct 1822 Widget src = ctx->text.source; local [all...] |
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | resource.c | 459 char *src; local 464 src = xfilesearchpath; 484 if (*src == '%') { 485 src++; 486 switch (*src) { 489 appenddata = src++; 495 src++; 500 src++; 503 src++; 506 src [all...] |
/solaris-x11-s11/open-src/lib/libX11/sun-src/modules/lc/gb18030/ |
H A D | lcGB18030.c | 194 unsigned char *src = (unsigned char *)*from; local 203 if (isgb18030_2(src)) { 210 *dst++ = *src++; 211 *dst++ = *src++; 218 } else if (isgb18030_4(src)) { 226 fourbyte_to_twobyte(src, iconv_buf); 230 src += 4; 237 } else if (ISASCII(*src)) { 244 *dst++ = *src++; 252 src 275 unsigned char *src = (unsigned char *)*from; local 375 wchar_t *src = (wchar_t *)*from; local 499 unsigned char *src = (unsigned char *)*from; local 1071 char *src = *((char **) from); local 1114 wchar_t *src = *((wchar_t **)from); local [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libpsres/ |
H A D | PSres.c | 291 char *dst = buf, *src = buf; local 293 while (*src != '\0') { 294 if (*src == '\\') { 295 src++; 296 if (*src == '\0') { 299 } else if (*src == dontDequote) *dst++ = '\\'; 301 *dst++ = *src++; 319 char *dst = buf, *src = buf; local 324 while (*src != '\0') { 325 if (*src [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/makepsres/ |
H A D | makepsres.c | 748 register char *src, *dst, prev; local 761 src = fullname; 762 while (isdigit(*src)) src++; 763 while (*src == ' ' || *src == '\t') src++; 764 if (strncmp(src, "pt ", 3) == 0) src += 3; 765 else if (strncmp(src, "p [all...] |
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | TransOvl.c | 1039 Drawable src, 1062 req->srcDrawable = src; 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 373 src.addr = str; 374 src.size = strlen(str); 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 350 /* If bottom of sub is greater than bottom of src, there's a 352 if (BOTTOM(sub) > BOTTOM(src)) { 353 LEFT(dst) = LEFT(src); 354 BOTTOM(dst) = BOTTOM(src); 355 WIDTH(dst) = WIDTH(src); 356 HEIGHT(dst) = BOTTOM(sub) - BOTTOM(src); 361 /* If left of sub is greater than left of src, there's a left rectangle. */ 362 if (LEFT(sub) > LEFT(src)) { 394 Copy(float *src, float *dst) argument 418 SubtractRects( float **src, short *src_size, short *num_src, float *sub, int num_sub) argument [all...] |