Searched refs:rSum (Results 1 – 10 of 10) 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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/sqlite/src/src/ |
D | func.c | 1213 double rSum; /* Floating point sum */ member 1241 p->rSum += v; in sumStep() 1246 p->rSum += sqlite3_value_double(argv[0]); in sumStep() 1258 sqlite3_result_double(context, p->rSum); in sumFinalize() 1268 sqlite3_result_double(context, p->rSum/(double)p->cnt); in avgFinalize() 1275 sqlite3_result_double(context, p ? p->rSum : (double)0); in totalFinalize()
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 82912 double rSum; /* Floating point sum */ 82940 p->rSum += v; 82945 p->rSum += sqlite3_value_double(argv[0]); 82957 sqlite3_result_double(context, p->rSum); 82967 sqlite3_result_double(context, p->rSum/(double)p->cnt); 82974 sqlite3_result_double(context, p ? p->rSum : (double)0);
|
/external/sqlite/dist/ |
D | sqlite3.c | 93076 double rSum; /* Floating point sum */ 93104 p->rSum += v; 93109 p->rSum += sqlite3_value_double(argv[0]); 93121 sqlite3_result_double(context, p->rSum); 93131 sqlite3_result_double(context, p->rSum/(double)p->cnt); 93138 sqlite3_result_double(context, p ? p->rSum : (double)0);
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 93056 double rSum; /* Floating point sum */ 93084 p->rSum += v; 93089 p->rSum += sqlite3_value_double(argv[0]); 93101 sqlite3_result_double(context, p->rSum); 93111 sqlite3_result_double(context, p->rSum/(double)p->cnt); 93118 sqlite3_result_double(context, p ? p->rSum : (double)0);
|