Home
last modified time | relevance | path

Searched refs:interval_ (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/flang/include/flang/Parser/
Dchar-block.h31 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 …]
/external/webrtc/rtc_base/numerics/
Devent_rate_counter.cc18 interval_.AddSample(event_time - last_time_); in AddEvent()
28 interval_.AddSamples(other.interval_); in AddEvents()
Devent_rate_counter.h33 SampleStats<TimeDelta>& interval() { return interval_; } in interval()
41 SampleStats<TimeDelta> interval_; variable
/external/libchrome/components/policy/core/common/
Dpolicy_scheduler.h54 base::TimeDelta interval() const { return interval_; } in interval()
74 const base::TimeDelta interval_; variable
Dpolicy_scheduler.cc14 : task_(task), callback_(callback), interval_(interval) { in PolicyScheduler()
42 base::TimeDelta interval = overlap_ ? base::TimeDelta() : interval_; in ScheduleNextTask()