Searched refs:interval_ (Results 1 – 5 of 5) sorted by relevance
31 constexpr CharBlock(const char *x, std::size_t n = 1) : interval_{x, n} {}33 : interval_{b, static_cast<std::size_t>(ep1 - b)} {} in CharBlock()34 CharBlock(const std::string &s) : interval_{s.data(), s.size()} {} in CharBlock()40 constexpr bool empty() const { return interval_.empty(); } in empty()41 constexpr std::size_t size() const { return interval_.size(); } in size()42 constexpr const char *begin() const { return interval_.start(); } in begin()44 return interval_.start() + interval_.size(); in end()47 return interval_.start()[j];51 return interval_.Contains(that.interval_); in Contains()55 interval_.ExtendToCover(that.interval_); in ExtendToCover()[all …]
18 interval_.AddSample(event_time - last_time_); in AddEvent()28 interval_.AddSamples(other.interval_); in AddEvents()
33 SampleStats<TimeDelta>& interval() { return interval_; } in interval()41 SampleStats<TimeDelta> interval_; variable
54 base::TimeDelta interval() const { return interval_; } in interval()74 const base::TimeDelta interval_; variable
14 : task_(task), callback_(callback), interval_(interval) { in PolicyScheduler()42 base::TimeDelta interval = overlap_ ? base::TimeDelta() : interval_; in ScheduleNextTask()