Searched refs:max (Results 1 - 25 of 36) sorted by relevance

12

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Ddpsabbrev.c346 int min, max, n; local
350 max = sizeof(abbrev) / sizeof(abbrev[0]) - 1;
352 while (min <= max) {
353 n = (max + min) / 2;
356 if (res < 0) max = n - 1;
H A DdpsXcmu.c400 unsigned long max = 1 << vinfo->depth; local
404 if (c->base_pixel > max) return False;
407 if (pixel > max) return False;
416 unsigned long max = 1 << vinfo->depth; local
420 if (c->base_pixel > max) return False;
422 if (pixel > max) return False;
513 unsigned long max; local
567 ColorValuesFromMask(vinfo->red_mask, &max,
569 ColorValuesFromMask(vinfo->green_mask, &max,
571 ColorValuesFromMask(vinfo->blue_mask, &max,
1471 int max = 1; /* longest sequence we found */ local
[all...]
/solaris-x11-s11/open-src/app/xcolor/sun-src/
H A Dxcolor.c81 int max; local
88 case 2: max = 2; break;
89 case 16: max = 4; break;
90 case 256: max = 16; break;
91 default: max = (int)sqrt((double)cmap_size);
95 fw = (float) width / (float)max;
96 fh = (float) height / (float)max;
98 fw = (float) ICON_WIDTH / (float)max;
99 fh = (float) ICON_HEIGHT / (float)max;
102 for (i = 0; i < max;
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_panel.c367 u32 max; local
369 max = i915_read_blc_pwm_ctl(dev);
372 max >>= 16;
375 max >>= 17;
377 max >>= 16;
380 max *= 0xff;
383 DRM_DEBUG_DRIVER("max backlight PWM = %d\n", max);
384 return max;
397 u32 max local
457 u32 max = intel_panel_get_max_backlight(dev); local
477 intel_panel_set_backlight(struct drm_device *dev, u32 level, u32 max) argument
[all...]
H A Dintel_display.c44 int min, max; member in struct:__anon159
83 .dot = { .min = 25000, .max = 350000 },
84 .vco = { .min = 930000, .max = 1400000 },
85 .n = { .min = 3, .max = 16 },
86 .m = { .min = 96, .max = 140 },
87 .m1 = { .min = 18, .max = 26 },
88 .m2 = { .min = 6, .max = 16 },
89 .p = { .min = 4, .max = 128 },
90 .p1 = { .min = 2, .max = 33 },
96 .dot = { .min = 25000, .max
[all...]
H A Dintel_pm.c2277 static bool hsw_compute_lp_wm(uint32_t mem_value, struct hsw_wm_maximums *max, argument
2293 result->pri_val = max(max(pri_val[0], pri_val[1]), pri_val[2]);
2294 result->spr_val = max(max(spr_val[0], spr_val[1]), spr_val[2]);
2295 result->cur_val = max(max(cur_val[0], cur_val[1]), cur_val[2]);
2296 result->fbc_val = max(max(fbc_val[0], fbc_val[1]), fbc_val[2]);
2298 if (result->fbc_val > max
[all...]
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1PanedP.h72 Dimension max; /* Maximum height */ member in struct:_PanedConstraintsPart
H A DXaw3_1Paned.c150 offset(max), XtRImmediate, (caddr_t) ~0},
275 AssignMin(size, (int) PaneInfo(*childP)->max);
358 * 1) size < max && size > min
440 (!shrink && (pane->size != pane->max)) );
520 * Try to resize this pane so that all panes will fit, take min and max
545 AssignMin(pane->size, (int) pane->max);
586 AssignMin(pane->size, (int) pane->max);
606 AssignMin(pane->size, (int) pane->max);
959 * to go beyond the min or max size allowed.
966 AssignMin(add_size, (int) PaneInfo(pw->paned.whichadd)->max);
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DPanedP.h95 Dimension max; /* Maximum height */ member in struct:_PanedConstraintsPart
H A DPaned.c174 offset(max), XtRImmediate, (XtPointer) ~0},
299 AssignMin(size, (int) PaneInfo(*childP)->max);
383 * 1) size < max && size > min
467 (!shrink && (pane->size != pane->max)) );
547 * Try to resize this pane so that all panes will fit, take min and max
572 AssignMin(pane->size, (int) pane->max);
613 AssignMin(pane->size, (int) pane->max);
633 AssignMin(pane->size, (int) pane->max);
986 * to go beyond the min or max size allowed.
993 AssignMin(add_size, (int) PaneInfo(pw->paned.whichadd)->max);
1844 XawPanedSetMinMax(Widget widget, int min, int max) argument
1867 XawPanedGetMinMax(Widget widget, int *min, int *max) argument
[all...]
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_rect.c41 r1->x1 = max(r1->x1, r2->x1);
42 r1->y1 = max(r1->y1, r2->y1);
H A Ddrm_fops.c439 size_t total, size_t max, struct drm_pending_event **out)
453 if (e->event->length + total > max)
438 drm_dequeue_event(struct drm_file *file_priv, size_t total, size_t max, struct drm_pending_event **out) argument
H A Ddrm_modes.c770 p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
772 p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
885 * @maxPitch: max pitch
918 * @max: maximum clock rate array
926 * sure each mode falls within a given range (defined by @min and @max
932 int *min, int *max, int n_ranges)
940 if (mode->clock >= min[i] && mode->clock <= max[i]) {
930 drm_mode_validate_clocks(struct drm_device *dev, struct list_head *mode_list, int *min, int *max, int n_ranges) argument
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.h101 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
H A Dmultivis.c215 x1 = max(x, xwa.x+px);
216 y1 = max(y, xwa.y+py);
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_linux.h24 #ifndef max
25 #define max(a, b) (((a) > (b)) ? (a) : (b)) macro
30 val = max((int64_t)INT_MIN, val);
H A Ddrm_context.c43 find_first_zero_bit(volatile void *p, int max) argument
48 for (b = 0; b < max; b += 32) {
57 return (max);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_linux.h43 #ifndef max
44 #define max(a, b) (((a) > (b)) ? (a) : (b)) macro
49 val = max((int64_t)INT_MIN, val);
H A Ddrm_crtc.h575 * @max_tmds_clock: max clock rate, if found
931 int *min, int *max, int n_ranges);
981 uint64_t min, uint64_t max);
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dpyro.c100 #define INTRAND(min,max) (random()%((max+1)-(min))+(min))
101 #define FLOATRAND(min,max) ((min)+(random()/MAXRAND)*((max)-(min)))
H A Dqix.c129 #define check_bounds(qp, val, del, max) \
133 } else if ((val) > (max)) { \
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DFontCreato.c402 oldbd->max[i] != bd->max[i]) {
403 sprintf(buf, "%d", bd->max[i]);
421 else if (carry_values[i] > bd->max[i]) carry_values[i] = bd->max[i];
423 XmNminimum, bd->min[i], XmNmaximum, bd->max[i],
579 int val, min, max; local
584 XtVaGetValues(scale, XmNminimum, &min, XmNmaximum, &max, NULL);
586 if (val > max) val = max;
[all...]
H A DXDPSpreview.c313 void XDPSSetImagingTimeout(int timeout, int max) argument
316 maxDoubles = max;
/solaris-x11-s11/open-src/common/
H A DX-parfait.conf318 XDisplayKeycodes(d, min, max) : noescape {
321 max <= 255;
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DFontSBP.h61 int min[MAX_AXES], max[MAX_AXES]; member in struct:__anon210

Completed in 120 milliseconds

12