Home
last modified time | relevance | path

Searched refs:rSum (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_lines.c167 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
174 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
177 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
181 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
184 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line()
Ds_triangle.c338 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
341 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
935 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
943 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
950 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle()
957 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
Ds_points.c518 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
524 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_point()
527 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
/external/sqlite/dist/orig/
Dsqlite3.c108978 double rSum; /* Floating point sum */
109006 p->rSum += v;
109011 p->rSum += sqlite3_value_double(argv[0]);
109023 sqlite3_result_double(context, p->rSum);
109033 sqlite3_result_double(context, p->rSum/(double)p->cnt);
109040 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/
Dsqlite3.c108994 double rSum; /* Floating point sum */
109022 p->rSum += v;
109027 p->rSum += sqlite3_value_double(argv[0]);
109039 sqlite3_result_double(context, p->rSum);
109049 sqlite3_result_double(context, p->rSum/(double)p->cnt);
109056 sqlite3_result_double(context, p ? p->rSum : (double)0);