Home
last modified time | relevance | path

Searched refs:scaler_ (Results 1 – 2 of 2) 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()
23 void IncrementByMultipleOfScaler(int x) { total_ += x * scaler_; } in IncrementByMultipleOfScaler()
29 int scaler_; member in base::__anonff0d39ba0111::Listener
Dobserver_list_unittest.cc45 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder()
48 void Observe(int x) override { total += x * scaler_; } in Observe()
54 int scaler_; member in base::__anonea3212f50111::Adder