Searched refs:lim (Results 1 - 9 of 9) sorted by relevance
| /xsrc/external/mit/xorg-server.old/dist/mi/ |
| H A D | micmap.c | 96 unsigned lim = (1 << pVisual->bitsPerRGBValue) - 1; local in function:miResolveColor 102 *pblue = *pgreen = *pred = ((*pred >> shift) * 65535) / lim; 107 *pred = ((*pred >> shift) * 65535) / lim; 108 *pgreen = ((*pgreen >> shift) * 65535) / lim; 109 *pblue = ((*pblue >> shift) * 65535) / lim; 118 unsigned lim, maxent, shift; local in function:miInitializeColormap 121 lim = (1 << pVisual->bitsPerRGBValue) - 1; 135 ((((i * 65535) / limr) >> shift) * 65535) / lim; 137 ((((i * 65535) / limg) >> shift) * 65535) / lim; 139 ((((i * 65535) / limb) >> shift) * 65535) / lim; [all...] |
| /xsrc/external/mit/xorg-server/dist/mi/ |
| H A D | micmap.c | 91 unsigned lim = (1 << pVisual->bitsPerRGBValue) - 1; local in function:miResolveColor 96 *pblue = *pgreen = *pred = ((*pred >> shift) * 65535) / lim; 100 *pred = ((*pred >> shift) * 65535) / lim; 101 *pgreen = ((*pgreen >> shift) * 65535) / lim; 102 *pblue = ((*pblue >> shift) * 65535) / lim; 111 unsigned lim, maxent, shift; local in function:miInitializeColormap 114 lim = (1 << pVisual->bitsPerRGBValue) - 1; 126 ((((i * 65535) / limr) >> shift) * 65535) / lim; 128 ((((i * 65535) / limg) >> shift) * 65535) / lim; 130 ((((i * 65535) / limb) >> shift) * 65535) / lim; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xnest/ |
| H A D | Color.c | 416 unsigned int lim; local in function:xnestResolveColor 419 lim = (1 << pVisual->bitsPerRGBValue) - 1; 424 *pRed = ((*pRed >> shift) * 65535) / lim; 425 *pGreen = ((*pGreen >> shift) * 65535) / lim; 426 *pBlue = ((*pBlue >> shift) * 65535) / lim; 432 *pBlue = *pGreen = *pRed = ((*pRed >> shift) * 65535) / lim; 442 *pBlue = *pGreen = *pRed = ((*pRed >> shift) * 65535) / lim; 453 65535) / limr) >> shift) * 65535) / lim; 455 65535) / limg) >> shift) * 65535) / lim; 457 65535) / limb) >> shift) * 65535) / lim; [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xnest/ |
| H A D | Color.c | 416 unsigned int lim; local in function:xnestResolveColor 419 lim = (1 << pVisual->bitsPerRGBValue) - 1; 423 *pRed = ((*pRed >> shift) * 65535) / lim; 424 *pGreen = ((*pGreen >> shift) * 65535) / lim; 425 *pBlue = ((*pBlue >> shift) * 65535) / lim; 430 *pBlue = *pGreen = *pRed = ((*pRed >> shift) * 65535) / lim; 439 *pBlue = *pGreen = *pRed = ((*pRed >> shift) * 65535) / lim; 449 65535) / limr) >> shift) * 65535) / lim; 451 65535) / limg) >> shift) * 65535) / lim; 453 65535) / limb) >> shift) * 65535) / lim; [all...] |
| /xsrc/external/mit/libXt/dist/test/ |
| H A D | Alloc.c | 734 struct rlimit lim; local in function:main 742 g_assert_no_errno(getrlimit(RLIMIT_AS, &lim)); 743 if (lim.rlim_cur > ALLOC_LIMIT) { 744 lim.rlim_cur = ALLOC_LIMIT; 745 g_assert_no_errno(setrlimit(RLIMIT_AS, &lim));
|
| /xsrc/external/mit/mesa-demos/dist/src/xdemos/ |
| H A D | glinfo_common.c | 382 print_shader_limit_list(const struct token_name *lim) argument 387 for (i = 0; lim[i].token; i++) { 388 glGetIntegerv(lim[i].token, max); 390 printf(" %s = %d\n", lim[i].name, max[0]);
|
| /xsrc/external/mit/freetype/dist/src/pfr/ |
| H A D | pfrsbit.c | 301 FT_Byte* lim; local in function:pfr_lookup_bitmap_data 308 lim = base + count * char_len; 310 if ( lim > limit ) 321 for ( p = base; p < lim; p += char_len )
|
| /xsrc/external/mit/libXaw/dist/src/ |
| H A D | AsciiSrc.c | 653 register char *ptr, *lim; local in function:Scan 672 lim = piece->text + piece->used; 683 if (ptr >= lim) { 688 lim = piece->text + piece->used; 746 lim = piece->text; 757 if (ptr < lim) { 762 lim = piece->text;
|
| /xsrc/external/mit/xwud/dist/ |
| H A D | xwud.c | 948 unsigned lim; local in function:Do_StdGray 950 lim = stdmap->red_max + 1; 956 * lim) >> 16) * stdmap->red_mult); 965 #define MapVal(val,lim,mult) ((((val * lim) + 32768) / 65535) * mult)
|
Completed in 11 milliseconds