Home
last modified time | relevance | path

Searched refs:rSum (Results 1 – 6 of 6) 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/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c118559 double rSum; /* Floating point sum */
118587 p->rSum += v;
118592 p->rSum += sqlite3_value_double(argv[0]);
118613 p->rSum -= v;
118616 p->rSum -= sqlite3_value_double(argv[0]);
118630 sqlite3_result_double(context, p->rSum);
118640 sqlite3_result_double(context, p->rSum/(double)p->cnt);
118647 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/orig/
Dsqlite3.c118240 double rSum; /* Floating point sum */
118268 p->rSum += v;
118273 p->rSum += sqlite3_value_double(argv[0]);
118294 p->rSum -= v;
118297 p->rSum -= sqlite3_value_double(argv[0]);
118311 sqlite3_result_double(context, p->rSum);
118321 sqlite3_result_double(context, p->rSum/(double)p->cnt);
118328 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/
Dsqlite3.c118256 double rSum; /* Floating point sum */
118284 p->rSum += v;
118289 p->rSum += sqlite3_value_double(argv[0]);
118310 p->rSum -= v;
118313 p->rSum -= sqlite3_value_double(argv[0]);
118327 sqlite3_result_double(context, p->rSum);
118337 sqlite3_result_double(context, p->rSum/(double)p->cnt);
118344 sqlite3_result_double(context, p ? p->rSum : (double)0);