Lines Matching refs:val

514      * @param val The new value.
516 void set(Counter val) { data = val; }
519 * @param val The new value.
521 void inc(Counter val) { data += val; }
524 * @param val The new value.
526 void dec(Counter val) { data -= val; }
585 * @param val The new count.
588 set(Counter val)
592 current = val;
597 * @param val The amount to increment.
599 void inc(Counter val) { set(current + val); }
603 * @param val The amount to decrement.
605 void dec(Counter val) { set(current - val); }
793 ValueProxy(T &val) : scalar(&val) {}
1448 * @param val The value to add.
1452 sample(Counter val, int number)
1454 if (val < min_track)
1456 else if (val > max_track)
1460 (size_type)std::floor((val - min_track) / bucket_size);
1465 if (val < min_val)
1466 min_val = val;
1468 if (val > max_val)
1469 max_val = val;
1471 sum += val * number;
1472 squares += val * val * number;
1591 * @param val The value to add.
1595 sample(Counter val, int number)
1598 if (val < min_bucket) {
1602 while (val < min_bucket)
1604 } else if (val >= max_bucket + bucket_size) {
1606 while (val >= max_bucket + bucket_size)
1609 while (val >= max_bucket + bucket_size)
1615 (int64_t)std::floor((val - min_bucket) / bucket_size);
1620 sum += val * number;
1621 squares += val * val * number;
1622 logs += log(val) * number;
1721 * @param val The value to add.
1725 sample(Counter val, int number)
1727 Counter value = val * number;
1798 * @param val The value to add.
1802 sample(Counter val, int number)
1804 Counter value = val * number;
2935 * @param val The value to add.
2939 sample(Counter val, int number)
2941 cmap[val] += number;
3075 * the first entry in the VResult val() returns.
3334 constant(T val)
3336 return Temp(std::make_shared<ConstNode<T> >(val));
3341 constantVector(T val)
3343 return Temp(std::make_shared<ConstVectorNode<T> >(val));
3347 sum(Temp val)
3349 return Temp(std::make_shared<SumNode<std::plus<Result> > >(val));