Searched refs:rSum (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_lines.c | 168 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()
|
D | s_triangle.c | 337 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()
|
D | s_points.c | 519 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/ |
D | sqlite3.c | 99986 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/ |
D | sqlite3.c | 99968 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);
|