| /xsrc/external/mit/MesaLib/dist/src/tool/pps/ |
| pps.h | 32 /// @return A ratio between two floating point numbers, or 0 if the denominator is 0 33 constexpr double ratio(double num, double den) function in namespace:pps
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| glutfx.c | 65 float ratio = (float) width / (float) height; local 82 glFrustum( -ratio, ratio, -1.0, 1.0, 5.0, 30.0 );
|
| /xsrc/external/mit/glu/dist/src/libnurbs/internals/ |
| intersect.cc | 166 REAL ratio = (val - l->param[p]) / (r->param[p] - l->param[p]); local 168 ratio * (r->param[1-p] - l->param[1-p]);
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| tunnel2.c | 280 float ratio; local 287 ratio = 0.5f * w / (float) h; 289 glFrustum(-2.0, 0.0, -1.0 * ratio, 1.0 * ratio, 1.0, 60.0); 299 float ratio; local 306 ratio = 0.5f * w / (float) h; 308 glFrustum(0.0, 2.0, -1.0 * ratio, 1.0 * ratio, 1.0, 60.0);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 536 unsigned ratio = 1; local 541 ratio = 2; 546 lp_build_conv(gallivm, src_type, *dst_type, &src[i*ratio], ratio, &dst[i], 1);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_conv.c | 508 unsigned ratio = 1; local 513 ratio = 2; 518 lp_build_conv(gallivm, src_type, *dst_type, &src[i*ratio], ratio, &dst[i], 1);
|
| /xsrc/external/mit/xedit/dist/lisp/ |
| helper.c | 199 if (left->data.ratio.numerator == 200 right->data.ratio.numerator && 201 left->data.ratio.denominator == 202 right->data.ratio.denominator) 219 if (mpr_cmp(left->data.mp.ratio, right->data.mp.ratio) == 0) 500 mpr *ratio = LispMalloc(sizeof(mpr)); local 502 mpr_init(ratio); 503 mpr_setd(ratio, DFLOAT_VALUE(object)); 504 if (mpr_fiti(ratio)) { [all...] |
| read.c | 1367 char *ratio, *ptr; local 1378 ratio = strchr(str, '/'); 1379 if (ratio) { 1380 /* check if looks like a correctly specified ratio */ 1381 if (ratio[1] == '\0' || strchr(ratio + 1, '/') != NULL) 1384 /* ratio must point to an integer in radix base */ 1385 *ratio++ = '\0'; 1456 if (!ratio && radix != 10 && str[len] == '.') 1459 if (ratio || radix != 10) 1499 mpi_setstr(mpr_den(bigratio), ratio, radix); local 1508 mpi_setstr(mpr_den(bigratio), ratio, radix); local [all...] |
| internal.h | 231 /* ratio */ 234 #define RATIO(num, den) LispNewRatio(num, den) 240 #define BIGRATIO(ratio) LispNewBigratio(ratio) 582 } ratio; member in union:_LispObj::__anon69 585 mpr *ratio; member in union:_LispObj::__anon69::__anon72
|
| lisp.c | 1023 mpr_clear(entry->data.mp.ratio); 1024 free(entry->data.mp.ratio); 2834 LispObj *ratio = objseg.freeobj; local 2836 if (ratio == NIL) 2837 ratio = Lisp__New(NIL, NIL); 2839 objseg.freeobj = CDR(ratio); 2842 ratio->type = LispRatio_t; 2843 ratio->data.ratio.numerator = num; 2844 ratio->data.ratio.denominator = den 3108 LispObj *ratio = LispNew(NIL, NIL); local [all...] |
| /xsrc/external/mit/freetype/dist/src/truetype/ |
| ttobjs.h | 211 * - When performing a read or write in the CVT, a ratio factor is used 223 * We compute the current ratio like: 226 * ratio = x_ratio = 1.0 229 * ratio = y_ratio 232 * ratio = sqrt( (proj.x * x_ratio) ^ 2 + (proj.y * y_ratio) ^ 2 ) 235 * ratio * cvt[index] 238 * cvt[index] / ratio 241 * ratio * ppem 257 FT_Long ratio; /* current ratio */ member in struct:TT_Size_Metrics_ [all...] |
| /xsrc/external/mit/libX11/dist/src/xcms/ |
| LRGB.c | 1093 XcmsFloat ratio; 1095 ratio = ((XcmsFloat)key->value - (XcmsFloat)lo->value) / 1098 answer->intensity = (hi->intensity - lo->intensity) * ratio; 1125 XcmsFloat ratio; 1130 ratio = (key->intensity - lo->intensity) / (hi->intensity - lo->intensity); 1133 target *= ratio; 1086 XcmsFloat ratio; local 1117 XcmsFloat ratio; local
|
| /xsrc/external/mit/xorg-server/dist/dix/ |
| getevents.c | 767 double ratio; local 775 ratio = device_ratio/resolution_ratio/screen_ratio; 776 valuator_mask_set_double(mask, 1, y / ratio);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir.c | 60 unsigned ratio = old_bit_size / new_bit_size; local 61 return util_last_bit(mask) * ratio <= NIR_MAX_VEC_COMPONENTS;
|
| /xsrc/external/mit/libXfont/dist/src/FreeType/ |
| ftfuncs.c | 1117 double ratio; local 1161 ratio = (double)new_width/characterWidth; 1173 * instance->ttcap.scaleBBoxWidth * ratio / 64. 1213 ratio = (double)new_width/characterWidth; 1218 * instance->ttcap.scaleBBoxWidth * ratio 1223 * instance->ttcap.scaleBBoxHeight * ratio 3228 double ratio,force_c_ratio; local 3278 /* calculate correction ratio */ 3284 ratio = (double)new_width/width; 3303 /* calculate correction ratio */ [all...] |
| /xsrc/external/mit/libXfont2/dist/src/FreeType/ |
| ftfuncs.c | 1119 double ratio; local 1163 ratio = (double)new_width/characterWidth; 1175 * instance->ttcap.scaleBBoxWidth * ratio / 64. 1215 ratio = (double)new_width/characterWidth; 1220 * instance->ttcap.scaleBBoxWidth * ratio 1225 * instance->ttcap.scaleBBoxHeight * ratio 3232 double ratio,force_c_ratio; local 3282 /* calculate correction ratio */ 3288 ratio = (double)new_width/width; 3307 /* calculate correction ratio */ [all...] |
| /xsrc/external/mit/xterm/dist/ |
| fontutils.c | 5038 double ratio; local 5044 ratio = dimSquareRoot((double) num / (double) den); 5046 face_size = (ratio * (double) xw->misc.face_size[0]); 5048 fontnum, num, den, ratio, face_size));
|
| graphics_regis.c | 2015 float ratio = (float) (*h) / (float) maxh; local 2020 if (targeth >= 10U && ratio > 1.1) { 2021 targeth = (unsigned) ((float) targeth / ratio); 2028 float ratio = (float) (*w) / (float) maxw; local 2033 if (targeth >= 10U && ratio > 1.1) { 2034 targeth = (unsigned) ((float) targeth / ratio); 6508 italic = -27; /* docs say 22, but that gives .404 x:y ratio */ 6512 italic = 27; /* docs say 22, but that gives .404 x:y ratio */
|