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/sqlite/dist/orig/
Dsqlite3.c123857 double rSum; /* Floating point sum */
123885 p->rSum += v;
123890 p->rSum += sqlite3_value_double(argv[0]);
123911 p->rSum -= v;
123914 p->rSum -= sqlite3_value_double(argv[0]);
123928 sqlite3_result_double(context, p->rSum);
123938 sqlite3_result_double(context, p->rSum/(double)p->cnt);
123945 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/
Dsqlite3.c123873 double rSum; /* Floating point sum */
123901 p->rSum += v;
123906 p->rSum += sqlite3_value_double(argv[0]);
123927 p->rSum -= v;
123930 p->rSum -= sqlite3_value_double(argv[0]);
123944 sqlite3_result_double(context, p->rSum);
123954 sqlite3_result_double(context, p->rSum/(double)p->cnt);
123961 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c119922 double rSum; /* Floating point sum */
119950 p->rSum += v;
119955 p->rSum += sqlite3_value_double(argv[0]);
119976 p->rSum -= v;
119979 p->rSum -= sqlite3_value_double(argv[0]);
119993 sqlite3_result_double(context, p->rSum);
120003 sqlite3_result_double(context, p->rSum/(double)p->cnt);
120010 sqlite3_result_double(context, p ? p->rSum : (double)0);