Home
last modified time | relevance | path

Searched refs:delta_ (Results 1 – 22 of 22) sorted by relevance

/external/v8/src/base/platform/
Dtime.h47 TimeDelta() : delta_(0) {} in TimeDelta()
73 int64_t InMicroseconds() const { return delta_; } in InMicroseconds()
85 delta_ = other.delta_;
91 return TimeDelta(delta_ + other.delta_);
94 return TimeDelta(delta_ - other.delta_);
98 delta_ += other.delta_;
102 delta_ -= other.delta_;
106 return TimeDelta(-delta_);
110 return static_cast<double>(delta_) / static_cast<double>(other.delta_); in TimesOf()
119 return TimeDelta(delta_ * a);
[all …]
Dtime.cc148 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); in InDays()
153 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); in InHours()
158 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); in InMinutes()
163 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
168 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
173 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()
178 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()
183 return delta_ * Time::kNanosecondsPerMicrosecond; in InNanoseconds()
200 DCHECK(delta_ >= 0); in ToMachTimespec()
201 ts.tv_sec = static_cast<unsigned>(delta_ / Time::kMicrosecondsPerSecond); in ToMachTimespec()
[all …]
/external/libweave/third_party/chromium/base/time/
Dtime.h105 TimeDelta() : delta_(0) { in TimeDelta()
136 int64_t ToInternalValue() const { return delta_; } in ToInternalValue()
143 const int64_t mask = delta_ >> (sizeof(delta_) * 8 - 1); in magnitude()
144 return TimeDelta((delta_ + mask) ^ mask); in magnitude()
149 return delta_ == 0; in is_zero()
153 bool is_max() const { return delta_ == std::numeric_limits<int64_t>::max(); } in is_max()
175 delta_ = other.delta_;
181 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_));
184 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_));
194 return TimeDelta(-delta_);
[all …]
Dtime.cc31 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); in InDays()
39 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); in InHours()
47 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); in InMinutes()
55 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
63 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
71 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()
79 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()
87 return (delta_ + Time::kMicrosecondsPerMillisecond - 1) / in InMillisecondsRoundedUp()
96 return delta_; in InMicroseconds()
102 CheckedNumeric<int64_t> rv(delta.delta_); in SaturatedAdd()
[all …]
/external/libchrome/base/time/
Dtime.h105 TimeDelta() : delta_(0) { in TimeDelta()
136 int64_t ToInternalValue() const { return delta_; } in ToInternalValue()
143 const int64_t mask = delta_ >> (sizeof(delta_) * 8 - 1); in magnitude()
144 return TimeDelta((delta_ + mask) ^ mask); in magnitude()
149 return delta_ == 0; in is_zero()
153 bool is_max() const { return delta_ == std::numeric_limits<int64_t>::max(); } in is_max()
175 delta_ = other.delta_;
181 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_));
184 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_));
194 return TimeDelta(-delta_);
[all …]
Dtime.cc34 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); in InDays()
42 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); in InHours()
50 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); in InMinutes()
58 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
66 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
74 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()
82 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()
90 return (delta_ + Time::kMicrosecondsPerMillisecond - 1) / in InMillisecondsRoundedUp()
99 return delta_; in InMicroseconds()
105 CheckedNumeric<int64_t> rv(delta.delta_); in SaturatedAdd()
[all …]
/external/v8/src/
Dcompilation-statistics.cc48 delta_ += stats.delta_; in Accumulate()
63 double ms = stats.delta_.InMillisecondsF(); in WriteLine()
64 double percent = stats.delta_.PercentOf(total_stats.delta_); in WriteLine()
Dcompilation-statistics.h38 base::TimeDelta delta_; variable
/external/openfst/src/include/fst/
Ddeterminize.h476 delta_(opts.delta), in DeterminizeFsaImpl()
496 delta_(impl.delta_), in DeterminizeFsaImpl()
664 dest_element.weight = dest_element.weight.Quantize(delta_); in AddArc()
672 float delta_; // Quantization delta for subset weights variable
716 delta_(opts.delta), in DeterminizeFstImpl()
723 delta_(impl.delta_), in DeterminizeFstImpl()
761 float delta_; variable
889 DeterminizeFstOptions<ToArc, CommonDivisor> dopts(copts, delta_); in Init()
894 FactorWeightOptions<ToArc> fopts(CacheOptions(true, 0), delta_, in Init()
Dfactor-weight.h186 delta_(opts.delta), in FactorWeightFstImpl()
205 delta_(impl.delta_), in FactorWeightFstImpl()
322 p.second.Quantize(delta_))); in Expand()
340 p.second.Quantize(delta_))); in Expand()
370 float delta_; variable
Dsparse-power-weight.h63 SparseTupleWeightApproxMapper(float delta) { delta_ = delta; } in SparseTupleWeightApproxMapper()
65 return ApproxEqual(v1, v2, delta_) ? W::One() : W::Zero(); in Map()
67 float delta_; member
Drmepsilon.h402 delta_(opts.delta), in RmEpsilonFstImpl()
406 RmEpsilonOptions<A, FifoQueue<StateId> >(&queue_, delta_, false)) { in RmEpsilonFstImpl()
417 delta_(impl.delta_), in RmEpsilonFstImpl()
421 RmEpsilonOptions<A, FifoQueue<StateId> >(&queue_, delta_, false)) { in RmEpsilonFstImpl()
493 float delta_; variable
Dshortest-distance.h83 arc_filter_(opts.arc_filter), delta_(opts.delta), in ShortestDistanceState()
100 float delta_; variable
202 if (!ApproxEqual(nd, Plus(nd, w), delta_)) { in ShortestDistance()
Dshortest-path.h217 : pairs_(pairs), distance_(distance), superfinal_(sfinal), delta_(d) {} in ShortestPathCompare()
232 return less_(wy, wx) || ApproxEqual(wx, wy, delta_); in operator()
234 return less_(wy, wx) && !ApproxEqual(wx, wy, delta_); in operator()
244 float delta_; variable
Darc-map.h1094 QuantizeMapper() : delta_(kDelta) {} in QuantizeMapper()
1096 explicit QuantizeMapper(float d) : delta_(d) {} in QuantizeMapper()
1099 ToWeight w = arc.weight.Quantize(delta_); in operator()
1114 float delta_;
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftobjs.h1000 delta_ ) \ argument
1008 delta_ \
1020 delta_ ) \ argument
1029 clazz->delta = delta_; \
/external/freetype/include/freetype/internal/
Dftobjs.h997 delta_ ) \ argument
1005 delta_ \
1017 delta_ ) \ argument
1026 clazz->delta = delta_; \
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/internal/
Dftobjs.h1003 delta_ ) \ argument
1011 delta_ \
1023 delta_ ) \ argument
1032 clazz->delta = delta_; \
/external/v8/src/compiler/
Dpipeline-statistics.cc31 diff->delta_ = timer_.Elapsed(); in End()
/external/freetype/src/smooth/
Dftgrays.c234 shift_, delta_ ) \ argument
242 delta_ \
/external/pdfium/third_party/freetype/src/smooth/
Dftgrays.c231 shift_, delta_ ) \ argument
239 delta_ \
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/smooth/
Dftgrays.c233 shift_, delta_ ) \ argument
241 delta_ \