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

12

/xsrc/external/mit/x11perf/dist/
H A Dx11perfcomp.in36 ratio=
41 ratio=1
45 ratio=2
94 case x$ratio in
96 ratio=/bin/cat
99 ratio="perfboth $n"
102 ratio="perfratio $n"
107 paste $allfiles - | sed 's/ / /g' | $ratio
/xsrc/external/mit/MesaLib/dist/src/tool/pps/
H A Dpps.h32 /// @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/
H A Dglutfx.c65 float ratio = (float) width / (float) height; local in function:Reshape
82 glFrustum( -ratio, ratio, -1.0, 1.0, 5.0, 30.0 );
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dtunnel2.c280 float ratio; local in function:reshapechannel0
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 in function:reshapechannel1
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/compiler/glsl/glcpp/tests/
H A D147-define-macro-no-space.c28 #define R% ratio indicator
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/tests/
H A D147-define-macro-no-space.c28 #define R% ratio indicator
/xsrc/external/mit/xedit/dist/lisp/
H A Dhelper.c199 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 in function:LispCoerce
502 mpr_init(ratio);
503 mpr_setd(ratio, DFLOAT_VALUE(object));
504 if (mpr_fiti(ratio)) {
[all...]
H A Dread.c1367 char *ratio, *ptr; local in function:LispParseNumber
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 || radi
[all...]
H A Dhash.c110 key = (object->data.ratio.numerator << 16) ^
111 object->data.ratio.denominator;
130 bigi = mpr_num(object->data.mp.ratio);
137 bigi = mpr_den(object->data.mp.ratio);
H A Dwrite.c929 format_integer(stk, object->data.ratio.numerator, 10);
932 format_integer(stk, object->data.ratio.denominator, 10);
939 sz = mpi_getsize(mpr_num(object->data.mp.ratio), 10) + 1 +
940 mpi_getsize(mpr_den(object->data.mp.ratio), 10) + 1 +
941 (mpi_sgn(mpr_num(object->data.mp.ratio)) < 0);
946 mpr_getstr(ptr, object->data.mp.ratio, 10);
H A Dinternal.h231 /* ratio */
240 #define BIGRATIO(ratio) LispNewBigratio(ratio)
582 } ratio; member in union:_LispObj::__anon0d52a560020a
585 mpr *ratio; member in union:_LispObj::__anon0d52a560020a::__anon0d52a560050a
H A Dlisp.c1023 mpr_clear(entry->data.mp.ratio);
1024 free(entry->data.mp.ratio);
2834 LispObj *ratio = objseg.freeobj; local in function:LispNewRatio
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
3108 LispObj *ratio = LispNew(NIL, NIL); local in function:LispNewBigratio
[all...]
H A Dmathimp.c107 #define OFRN(object) (object)->data.ratio.numerator
108 #define OFRD(object) (object)->data.ratio.denominator
109 #define OBR(object) (object)->data.mp.ratio
197 /* ratio */
4200 rop_fi_br_as_xr(n_real *real, mpr *ratio, int nop) argument
4209 mpr_set(bigr, ratio);
4211 mpi_mul(&iop, &iop, mpr_den(ratio));
4224 rop_fi_br_md_xr(n_real *real, mpr *ratio, int nop) argument
4234 mpr_set(bigr, ratio);
4236 mpr_inv(bigr, ratio);
4247 radd_fi_br(n_real * real,mpr * ratio) argument
4253 rsub_fi_br(n_real * real,mpr * ratio) argument
4259 rmul_fi_br(n_real * real,mpr * ratio) argument
4265 rdiv_fi_br(n_real * real,mpr * ratio) argument
[all...]
/xsrc/external/mit/freetype/dist/src/truetype/
H A Dttobjs.h211 * - 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/MesaLib.old/dist/src/intel/vulkan/
H A DgenX_state.c264 vk_to_gen_max_anisotropy(float ratio) argument
266 return (anv_clamp_f(ratio, 2, 16) - 2) / 2;
/xsrc/external/mit/libX11/dist/src/xcms/
H A DLRGB.c1093 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 in function:_XcmsValueInterpolation
1117 XcmsFloat ratio; local in function:_XcmsIntensityInterpolation
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c508 unsigned ratio = 1; local in function:lp_build_conv_auto
513 ratio = 2;
518 lp_build_conv(gallivm, src_type, *dst_type, &src[i*ratio], ratio, &dst[i], 1);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c536 unsigned ratio = 1; local in function:lp_build_conv_auto
541 ratio = 2;
546 lp_build_conv(gallivm, src_type, *dst_type, &src[i*ratio], ratio, &dst[i], 1);
/xsrc/external/mit/brotli/dist/
H A DREADME.md13 and 2nd order context modeling, with a compression ratio comparable to the best
/xsrc/external/mit/brotli/dist/c/tools/
H A Dbrotli.md15 coding and 2-nd order context modeling, with a compression ratio comparable to
/xsrc/external/mit/libXfont/dist/src/FreeType/
H A Dftfuncs.c1117 double ratio; local in function:FreeTypeRasteriseGlyph
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 in function:FreeTypeLoadXFont
3278 /* calculate correction ratio */
3284 ratio = (double)new_width/width;
3303 /* calculate correction ratio */
[all...]
/xsrc/external/mit/libXfont2/dist/src/FreeType/
H A Dftfuncs.c1119 double ratio; local in function:FreeTypeRasteriseGlyph
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 in function:FreeTypeLoadXFont
3282 /* calculate correction ratio */
3288 ratio = (double)new_width/width;
3307 /* calculate correction ratio */
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dintersect.cc166 REAL ratio = (val - l->param[p]) / (r->param[p] - l->param[p]); local in function:vert_interp
168 ratio * (r->param[1-p] - l->param[1-p]);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Dsampler.rst108 Maximum anistropy ratio to use when sampling from textures. For example,
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Dsampler.rst108 Maximum anisotropy ratio to use when sampling from textures. For example,

Completed in 61 milliseconds

12