/solaris-x11-s11/open-src/lib/libX11/sun-src/src/xlibi18n/lcUniConv/ |
H A D | gb18030uni.h | 189 unsigned int diff = gb18030uni_ranges[k1]; local 190 *pwc = (ucs4_t) (i + diff); 232 unsigned int diff = gb18030uni_ranges[k1]; local 233 i -= diff;
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_rect.c | 68 int diff; local 70 diff = clip->x1 - dst->x1; 71 if (diff > 0) { 72 int64_t tmp = src->x1 + (int64_t) diff * hscale; 75 diff = clip->y1 - dst->y1; 76 if (diff > 0) { 77 int64_t tmp = src->y1 + (int64_t) diff * vscale; 80 diff = dst->x2 - clip->x2; 81 if (diff > 0) { 82 int64_t tmp = src->x2 - (int64_t) diff * hscal [all...] |
H A D | drm_irq.c | 1021 u32 cur_vblank, diff, tslot, rc; local 1042 diff = cur_vblank - dev->last_vblank[crtc]; 1044 diff += dev->max_vblank_count; 1046 DRM_DEBUG("last_vblank[%d]=0x%x, cur_vblank=0x%x => diff=0x%x\n", 1047 crtc, dev->last_vblank[crtc], cur_vblank, diff); 1051 crtc, diff); 1058 tslot = atomic_read(&dev->_vblank_count[crtc]) + diff; 1062 atomic_add(diff, &dev->_vblank_count[crtc]);
|
H A D | drm_modes.c | 1000 int diff; local 1002 diff = ((b->type & DRM_MODE_TYPE_PREFERRED) != 0) - 1004 if (diff) 1005 return diff; 1006 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; 1007 if (diff) 1008 return diff; 1010 diff = b->vrefresh - a->vrefresh; 1011 if (diff) 1012 return diff; [all...] |
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | intel_ddi.c | 511 uint64_t a, b, c, d, diff, diff_best; local 537 diff = ABS_DIFF((freq2k * p * r2), (LC_FREQ_2K * n2)); 540 c = 1000000 * diff; 545 if (best->p * best->r2 * diff < p * r2 * diff_best) {
|
H A D | intel_pm.c | 3398 int diff = dev_priv->rps.max_delay - gpu_freq; local 3416 ia_freq = max_ia_freq - ((diff * scaling_factor) / 2);
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | FontCreato.c | 432 int diff; local 434 diff = fc->creator.managed_axes - fc->creator.font->blend_data->num_axes; 436 if (diff == 0) return; 438 if (diff < 0) { 439 for (i = fc->creator.managed_axes, j=0; j < -diff * 5; i++, j+=5) { 446 XtManageChildren(w, -diff * 5); 448 for (i = fc->creator.font->blend_data->num_axes, j=0; j < diff * 5; 456 XtUnmanageChildren(w, diff * 5);
|
H A D | ColorSB.c | 1727 double diff, x, r, g, b; local 1741 diff = value - x; 1742 if (diff != 0.0) { 1743 sat = diff / value; 1744 r = (value - red) / diff; 1745 g = (value - green) / diff; 1746 b = (value - blue) / diff;
|
H A D | FontSB.c | 614 int i, diff; local 705 diff = strcmp(family, bugFamilies[i]); 706 if (diff < 0) break; 707 if (diff == 0) { 744 diff = strncmp(*fullnameReturn, missingFoundries[i], 746 if (diff > 0) continue; 747 if (diff == 0 && strncmp(buf, missingFoundries[i], 805 register int i, diff; local 817 diff = strncmp(family, strip[i], striplen[i]); 818 if (diff < [all...] |
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1Paned.c | 947 int diff, add_size = 0, sub_size = 0; local 949 diff = loc - pw->paned.start_loc; 952 add_size = PaneSize(pw->paned.whichadd, IsVert(pw) ) + diff; 955 sub_size = PaneSize(pw->paned.whichsub, IsVert(pw) ) - diff;
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | Paned.c | 974 int diff, add_size = 0, sub_size = 0; local 976 diff = loc - pw->paned.start_loc; 979 add_size = PaneSize(pw->paned.whichadd, IsVert(pw) ) + diff; 982 sub_size = PaneSize(pw->paned.whichsub, IsVert(pw) ) - diff;
|
/solaris-x11-s11/open-src/lib/DPS/sun-src/makepsres/ |
H A D | makepsres.c | 751 int i, diff; local 824 diff = strcmp(family, bugFamilies[i]); 825 if (diff < 0) break; 826 if (diff == 0) { 863 diff = strncmp(fullnameReturn, missingFoundries[i], 865 if (diff > 0) continue; 866 if (diff == 0 && strncmp(buf, missingFoundries[i],
|