Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_lines.c168 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
175 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_line()
178 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
182 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_line()
185 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line()
Ds_triangle.c337 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
340 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
942 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
945 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
949 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
952 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle()
956 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_triangle()
959 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
Ds_points.c519 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
525 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[FRAG_ATTRIB_COL1][0]; in _swrast_add_spec_terms_point()
528 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
/external/sqlite/dist/
Dsqlite3.c99986 double rSum; /* Floating point sum */
100014 p->rSum += v;
100019 p->rSum += sqlite3_value_double(argv[0]);
100031 sqlite3_result_double(context, p->rSum);
100041 sqlite3_result_double(context, p->rSum/(double)p->cnt);
100048 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/orig/
Dsqlite3.c99968 double rSum; /* Floating point sum */
99996 p->rSum += v;
100001 p->rSum += sqlite3_value_double(argv[0]);
100013 sqlite3_result_double(context, p->rSum);
100023 sqlite3_result_double(context, p->rSum/(double)p->cnt);
100030 sqlite3_result_double(context, p ? p->rSum : (double)0);