Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime.h111 constexpr TimeDelta() : delta_(0) {} in TimeDelta()
158 constexpr int64_t ToInternalValue() const { return delta_; } in ToInternalValue()
165 const int64_t mask = delta_ >> (sizeof(delta_) * 8 - 1); in magnitude()
166 return TimeDelta((delta_ + mask) ^ mask); in magnitude()
170 constexpr bool is_zero() const { return delta_ == 0; } in is_zero()
174 return delta_ == std::numeric_limits<int64_t>::max(); in is_max()
177 return delta_ == std::numeric_limits<int64_t>::min(); in is_min()
210 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_));
213 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_));
222 constexpr TimeDelta operator-() const { return TimeDelta(-delta_); }
[all …]
Dtime.cc45 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); in InDays()
53 int result = delta_ / Time::kMicrosecondsPerDay; in InDaysFloored()
54 int64_t remainder = delta_ - (result * Time::kMicrosecondsPerDay); in InDaysFloored()
66 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); in InHours()
74 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); in InMinutes()
82 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; in InSecondsF()
90 return delta_ / Time::kMicrosecondsPerSecond; in InSeconds()
98 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; in InMillisecondsF()
106 return delta_ / Time::kMicrosecondsPerMillisecond; in InMilliseconds()
114 int64_t result = delta_ / Time::kMicrosecondsPerMillisecond; in InMillisecondsRoundedUp()
[all …]
/external/google-breakpad/src/processor/
Drange_map.h138 : base_(base), delta_(delta), entry_(entry) {} in Range()
141 AddressType delta() const { return delta_; } in delta()
150 const AddressType delta_; variable
/external/tensorflow/tensorflow/lite/kernels/
Drange_test.cc34 delta_ = AddInput(dtype); in RangeOpModel()
38 BuildInterpreter({GetShape(start_), GetShape(limit_), GetShape(delta_)}); in RangeOpModel()
43 int delta() { return delta_; } in delta()
51 int delta_; member in tflite::__anon37f30bfc0111::RangeOpModel
/external/libchrome/libchrome_tools/patches/
DFix-TimeDelta.patch33 - delta_ = other.delta_;
41 return delta_ >= other.delta_;
46 - constexpr TimeDelta(const TimeDelta& other) : delta_(other.delta_) {}
/external/flatbuffers/src/
Dreflection.cpp184 delta_(delta), in ResizeContext()
188 delta_ = (delta_ + mask) & ~mask; in ResizeContext()
189 if (!delta_) return; // We can't shrink by less than largest_scalar_t. in ResizeContext()
195 if (delta_ > 0) in ResizeContext()
196 buf_.insert(buf_.begin() + start, delta_, 0); in ResizeContext()
198 buf_.erase(buf_.begin() + start, buf_.begin() + start - delta_); in ResizeContext()
207 WriteScalar<T>(offsetloc, ReadScalar<T>(offsetloc) + delta_ * D); in Straddle()
304 int delta_; member in flatbuffers::ResizeContext
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc783 int32 delta_; member in tensorflow::__anonf02e412f0111::ForOp::State
792 TF_RETURN_IF_ERROR(GetScalar(ctx_, 2, &delta_, "delta")); in StartLoop()
794 if ((delta_ > 0 && *iter_ <= limit_) || in StartLoop()
795 (delta_ < 0 && *iter_ >= limit_) || in StartLoop()
796 (delta_ == 0 && *iter_ == limit_)) { in StartLoop()
801 " ", limit_, " ", delta_); in StartLoop()
807 if (delta_ > 0) { in RunNext()
831 *iter_ += delta_; in RunNext()
Dstateful_random_ops.cc272 DeltaType delta_; in Compute() local
274 ctx, GetScalar(ctx->input(delta_input_idx), delta_input_idx, &delta_)); in Compute()
275 uint64 delta = static_cast<uint64>(delta_); in Compute()
/external/tensorflow/tensorflow/core/util/
Dgpu_device_functions.h116 __device__ Iterator(T index, T delta) : index_(index), delta_(delta) {} in Iterator()
119 index_ += delta_;
127 if (!other.delta_) {
130 if (!delta_) {
138 const T delta_; member
143 : begin_(begin), delta_(delta), end_(end) {} in GpuGridRange()
145 __device__ Iterator begin() const { return Iterator{begin_, delta_}; } in begin()
150 T delta_; variable
/external/freetype/include/freetype/internal/
Dftobjs.h1009 delta_ ) \ argument
1017 delta_ \
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instructions.h1909 int64 delta() const { return delta_; } in delta()
1910 void set_delta(int64 delta) { delta_ = delta; } in set_delta()
1926 int64 delta_; variable
Dhlo_instructions.cc3156 : HloInstruction(HloOpcode::kRngGetAndUpdateState, shape), delta_(delta) {} in HloRngGetAndUpdateStateInstruction()
3160 proto.set_delta(delta_); in ToProto()
/external/freetype/src/smooth/
Dftgrays.c252 shift_, delta_ ) \ argument
260 delta_ \
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc1240 PRE_SYSCALL(compat_50_adjtime)(void *delta_, void *olddelta_) { /* TODO */ }
1241 POST_SYSCALL(compat_50_adjtime)(long long res, void *delta_, void *olddelta_) {
3078 PRE_SYSCALL(__adjtime50)(void *delta_, void *olddelta_) {
3079 if (delta_) {
3080 PRE_READ(delta_, timeval_sz);
3083 POST_SYSCALL(__adjtime50)(long long res, void *delta_, void *olddelta_) {}