Searched refs:denom (Results 1 - 25 of 33) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_idiv.c45 nir_ssa_def *numer, nir_ssa_def *denom)
56 bf = nir_i2f32(bld, denom);
60 b = nir_iabs(bld, denom);
63 bf = nir_u2f32(bld, denom);
65 b = denom;
102 r = nir_ixor(bld, numer, denom);
108 q = nir_imul(bld, q, denom);
113 nir_bcsel(bld, r, nir_iadd(bld, q, denom), q));
124 emit_udiv(nir_builder *bld, nir_ssa_def *numer, nir_ssa_def *denom, bool modulo) argument
126 nir_ssa_def *rcp = nir_frcp(bld, nir_u2f32(bld, denom));
44 convert_instr(nir_builder * bld,nir_op op,nir_ssa_def * numer,nir_ssa_def * denom) argument
161 emit_idiv(nir_builder * bld,nir_ssa_def * numer,nir_ssa_def * denom,nir_op op) argument
192 convert_instr_precise(nir_builder * bld,nir_op op,nir_ssa_def * numer,nir_ssa_def * denom) argument
202 convert_instr_small(nir_builder * b,nir_op op,nir_ssa_def * numer,nir_ssa_def * denom,const nir_lower_idiv_options * options) argument
248 nir_ssa_def *denom = nir_ssa_for_alu_src(b, alu, 1); local in function:lower_idiv
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_idiv.c42 nir_ssa_def *numer, *denom, *af, *bf, *a, *b, *q, *r; local in function:convert_instr
56 denom = nir_ssa_for_alu_src(bld, alu, 1);
60 bf = nir_i2f32(bld, denom);
64 b = nir_iabs(bld, denom);
67 bf = nir_u2f32(bld, denom);
69 b = denom;
103 r = nir_ixor(bld, numer, denom);
/xsrc/external/mit/ctwm/dist/
H A Dparse_be.h22 int denom /* 0 or indicates fraction denom */
H A Dparse_be.c1883 int denom) // 0 or indicates fraction denom
1887 if(denom < 0) {
1889 fprintf(stderr, "negative SqueezeTitle denominator %d\n", denom);
1893 if(absnum > denom && denom != 0) {
1896 num, denom);
1907 if(denom == 0 && num == 0) {
1910 denom = 2;
1914 denom
1879 do_squeeze_entry(name_list ** slist,const char * name,SIJust justify,int num,int denom) argument
[all...]
H A Dfunctions_win.c556 if(si->denom != 0) {
565 if(si->denom != target_denom) {
566 float scale = (float)target_denom / si->denom;
568 si->denom = target_denom; /* s->denom *= scale; */
717 * Keep within [ -denom, -1] or [ 0, denom >.
720 int wtmp = tmp_win->frame_width; /* or si->denom; if it were != 0 */
H A Dctwm.h180 int denom; /* 0 for pix count or denominator */ member in struct:SqueezeInfo
/xsrc/external/mit/xf86-video-cirrus/dist/src/
H A DCirrusClk.c33 /* clock in kHz is (numer * CLOCK_FACTOR / (denom & 0x3E)) >> (denom & 1) */
42 unsigned char denom; member in struct:__anon9e6691170108
100 cirrusClockTab[i].denom) - freq);
103 den = cirrusClockTab[i].denom;
/xsrc/external/mit/twm/dist/src/
H A Dparse.h95 int num, int denom);
H A Dparse.c1129 * \param denom 0 or indicates fraction denom
1132 do_squeeze_entry(name_list ** list, char *name, int justify, int num, int denom) argument
1136 if (denom < 0) {
1137 parseWarning("negative SqueezeTitle denominator %d", denom);
1140 if (absnum > denom && denom != 0) {
1141 parseWarning("SqueezeTitle fraction %d/%d outside window", num, denom);
1144 if (denom == 1) {
1146 num, denom);
[all...]
H A Dtwm.h193 int denom; /* 0 for pix count or denominator */ member in struct:_SqueezeInfo
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dtrimline.cc197 REAL denom = a->param[1] - b->param[1]; local in function:Trimline::interpvert
199 if(denom != 0) {
211 REAL r = (a->param[1] - vval)/denom;
/xsrc/external/mit/glu/dist/src/libnurbs/nurbtess/
H A DpolyDBG.cc330 Real denom = (v2[0]-v1[0])*(-dy) - (v2[1]-v1[1]) * (-dx); local in function:DBG_rayIntersectEdge
336 if(denom == 0.0)
365 if(nomEdge == denom) {
371 if(denom*nomRay>0 && denom*nomEdge>0 && nomEdge/denom <=1.0)
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
H A DxaaWideLine.c660 double denom = 0; local in function:XAALineJoin
676 denom = - pLeft->dx * (double)pRight->dy + pRight->dx *
678 if (denom == 0.0)
692 denom = - pLeft->dx * (double)pRight->dy + pRight->dx *
694 if (denom == 0.0)
699 if (denom > 0) {
730 denom;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_clip.c472 float denom = dp - dp_prev; local in function:do_clip_tri
478 float t = dp / denom;
481 float t = -dp_prev / denom;
504 float t = -dp_prev / denom;
507 float t = dp / denom;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_aaline.c162 const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y; local in function:solve_plane_recip
163 if (denom == 0.0F)
166 return -plane[2] / denom;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_aaline.c161 const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y; local in function:solve_plane_recip
162 if (denom == 0.0F)
165 return -plane[2] / denom;
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dchgfctl.c219 swaps(&f->denom, n);
240 accelDenom = f->denom;
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dchgfctl.c218 swaps(&f->denom);
240 accelDenom = f->denom;
/xsrc/external/mit/libXi/dist/src/
H A DXChgFCtl.c116 p.denom = P->accelDenom;
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmiwideline.c519 double denom = 0.0; local in function:miLineJoin
537 denom = - pLeft->dx * (double)pRight->dy + pRight->dx * (double)pLeft->dy;
538 if (denom == 0)
553 denom = - pLeft->dx * (double)pRight->dy + pRight->dx * (double)pLeft->dy;
554 if (denom == 0.0)
559 if (denom > 0)
594 denom;
968 double denom; local in function:miRoundJoinClip
970 denom = - pLeft->dx * (double)pRight->dy + pRight->dx * (double)pLeft->dy;
972 if (denom >
[all...]
/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dz4l.c996 int height, int numer, int denom, int inp, v4l2_std_id std,
1019 enc->rate.denominator = denom;
1311 int numer, denom, width, height; local in function:Z4lInit
1404 denom = standard.frameperiod.denominator;
1437 (enc, &enc_name[0], id, width, height, denom, numer,
995 Z4lAddEncoding(XF86VideoEncodingPtr enc,char * name,int id,int width,int height,int numer,int denom,int inp,v4l2_std_id std,unsigned int fmt) argument
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmiwideline.c978 double denom = 0.0; local in function:miLineJoin
996 denom =
999 if (denom == 0)
1013 denom =
1015 if (denom == 0.0)
1020 if (denom > 0) {
1052 denom;
1387 double denom; local in function:miRoundJoinClip
1389 denom = -pLeft->dx * (double) pRight->dy + pRight->dx * (double) pLeft->dy;
1391 if (denom >
[all...]
/xsrc/external/mit/libXaw/dist/src/
H A DDisplayList.c513 short denom; member in struct:_XawDLPosition
546 #define X_ARG(x) ((Position)(((x).denom != 0) ? \
547 ((float)XtWidth(w) * ((float)(x).pos / (float)(x).denom)) : \
549 #define Y_ARG(x) ((Position)(((x).denom != 0) ? \
550 ((float)XtHeight(w) * ((float)(x).pos / (float)(x).denom)): \
1638 pos->denom = (Position)read_int(str, NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_gmem.c165 div_align(unsigned num, unsigned denom, unsigned al) argument
167 return util_align_npot(DIV_ROUND_UP(num, denom), al);
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dradeon_driver.c1015 int hTotal, vTotal, num, denom, m, n; local in function:RADEONProbePLLParameters
1066 denom = 1;
1072 denom = 2*m;
1078 denom = 2*m;
1089 denom *= m;
1093 denom *= 2;
1096 denom *= 4;
1099 denom *= 8;
1102 denom *= 3;
1105 denom *
[all...]

Completed in 31 milliseconds

12