Lines Matching refs:total

85 	Total_t		total[1];
107 Total_t* total;
121 Total_t* total;
207 r->value.number = print->total->count ? print->total->value / (Cxinteger_t)print->total->count : 0;
210 r->value.number = (Cxinteger_t)print->total->count;
213 if (print->total->count)
215 u = print->total->value / (Cxinteger_t)print->total->count;
216 if ((u = print->total->square + u * (u - 2 * print->total->value)) < 0)
218 if (print->total->count > 1)
219 u /= (Cxinteger_t)(print->total->count - 1);
256 r->value.number = print->total->max;
259 r->value.number = print->total->min;
262 r->value.number = print->total->value;
477 if (!(state->total = vmnewof(vm, 0, Total_t, state->fields, 0)))
528 register Total_t* total;
535 total = state->total;
548 total = bucket->total;
572 total = bucket->total;
576 total->count++;
585 total->count++;
586 total->value += val.value.number;
589 if (total->min > val.value.number || total->count == 1)
590 total->min = val.value.number;
591 if (total->max < val.value.number || total->count == 1)
592 total->max = val.value.number;
595 total->square += val.value.number * val.value.number;
596 total++;
616 list(Cx_t* cx, register State_t* state, Sfio_t* op, const char* label, register Field_t* field, register Total_t* total, Cxoperand_t* key)
633 pr.total = total;
643 number(op, (Cxinteger_t)total->count, FW);
644 u = total->value / (Cxinteger_t)total->count;
646 number(op, total->value, FW);
651 if ((u = total->square + u * (u - 2 * total->value)) < 0)
653 if (total->count > 1)
654 u /= (Cxinteger_t)(total->count - 1);
659 number(op, total->min, FW);
660 number(op, total->max, FW);
687 total++;
726 if (list(cx, state, expr->op, NiL, state->field, bucket->total, bucket->key))
728 if (state->total->count && list(cx, state, expr->op, "OVERFLOW", state->field, state->total, NiL))
731 else if (list(cx, state, expr->op, NiL, state->field, state->total, NiL))