Home
last modified time | relevance | path

Searched refs:total_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dcallback_list_unittest.cc20 Listener() : total_(0), scaler_(1) {} in Listener()
21 explicit Listener(int scaler) : total_(0), scaler_(scaler) {} in Listener()
22 void IncrementTotal() { total_++; } in IncrementTotal()
23 void IncrementByMultipleOfScaler(int x) { total_ += x * scaler_; } in IncrementByMultipleOfScaler()
25 int total() const { return total_; } in total()
28 int total_; member in base::__anonf72450230111::Listener
35 Remover() : total_(0) {} in Remover()
37 total_++; in IncrementTotalAndRemove()
45 int total() const { return total_; } in total()
48 int total_; member in base::__anonf72450230111::Remover
[all …]
/external/webrtc/webrtc/test/
Dhistogram.cc26 SampleInfo(const std::string& name) : name_(name), last_(-1), total_(0) {} in SampleInfo()
29 int total_; // Total number of added samples. member
66 ++ptr->total_; in HistogramAdd()
86 return it->second.total_; in NumHistogramSamples()
93 it.second.total_ = 0; in ClearHistograms()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc41 : total_(0.0), binding_(this, std::move(request)) {} in MathCalculatorImpl()
45 total_ = 0.0; in Clear()
46 callback.Run(total_); in Clear()
50 total_ += value; in Add()
51 callback.Run(total_); in Add()
55 total_ *= value; in Multiply()
56 callback.Run(total_); in Multiply()
62 double total_; member in mojo::test::__anon2de557fa0111::MathCalculatorImpl
503 void Clear(const CalcCallback& callback) override { callback.Run(total_); } in Clear()
506 total_ += value; in Add()
[all …]
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc105 : seq_(seq), total_(total), event_(event) { } in VerifyPoolRunner()
109 if (seq_->GetNext() == total_) { in Run()
117 int total_; member in base::__anona5157c010111::VerifyPoolRunner