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::__anon077283990111::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::__anon077283990111::Remover
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc29 : total_(0.0), binding_(this, std::move(request)) {} in MathCalculatorImpl()
37 total_ = 0.0; in Clear()
38 callback.Run(total_); in Clear()
42 total_ += value; in Add()
43 callback.Run(total_); in Add()
47 total_ *= value; in Multiply()
48 callback.Run(total_); in Multiply()
52 double total_; member in mojo::test::__anon269cf8270111::MathCalculatorImpl
496 void Clear(const CalcCallback& callback) override { callback.Run(total_); } in Clear()
499 total_ += value; in Add()
[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/base/threading/
Dsimple_thread_unittest.cc57 : seq_(seq), total_(total), event_(event) { } in VerifyPoolRunner()
60 if (seq_->GetNext() == total_) { in Run()
69 int total_; member in base::__anondfbafaf70111::VerifyPoolRunner