Home
last modified time | relevance | path

Searched refs:seconds_ (Results 1 – 9 of 9) sorted by relevance

/external/llvm/include/llvm/Support/
DTimeValue.h95 TimeValue() : seconds_(0), nanos_(0) {} in TimeValue()
101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() function
107 : seconds_( 0 ) , nanos_ ( 0 ) { in TimeValue()
109 seconds_ = integer_part; in TimeValue()
128 this->seconds_ += that.seconds_ ;
138 this->seconds_ -= that.seconds_ ;
153 if ( this->seconds_ > that.seconds_ ) {
155 } else if ( this->seconds_ == that.seconds_ ) {
169 if ( this->seconds_ > that.seconds_ ) {
171 } else if ( this->seconds_ == that.seconds_ ) {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h95 TimeValue() : seconds_(0), nanos_(0) {} in TimeValue()
101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() function
107 : seconds_( 0 ) , nanos_ ( 0 ) { in TimeValue()
109 seconds_ = integer_part; in TimeValue()
128 this->seconds_ += that.seconds_ ;
138 this->seconds_ -= that.seconds_ ;
153 if ( this->seconds_ > that.seconds_ ) {
155 } else if ( this->seconds_ == that.seconds_ ) {
169 if ( this->seconds_ > that.seconds_ ) {
171 } else if ( this->seconds_ == that.seconds_ ) {
[all …]
/external/llvm/lib/Support/
DTimeValue.cpp29 seconds_++; in normalize()
34 seconds_--; in normalize()
39 if (seconds_ >= 1 && nanos_ < 0) { in normalize()
40 seconds_--; in normalize()
42 } else if (seconds_ < 0 && nanos_ > 0) { in normalize()
43 seconds_++; in normalize()
/external/protobuf/src/google/protobuf/
Dduration.pb.cc48 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Duration, seconds_),
109 ::memcpy(&seconds_, &from.seconds_, in Duration()
111 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in Duration()
116 ::memset(&seconds_, 0, static_cast<size_t>( in SharedCtor()
118 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in SharedCtor()
151 ::memset(&seconds_, 0, static_cast<size_t>( in Clear()
153 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in Clear()
169 seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); in _InternalParse()
216 input, &seconds_))); in MergePartialFromCodedStream()
387 swap(seconds_, other->seconds_); in InternalSwap()
Dtimestamp.pb.cc48 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Timestamp, seconds_),
109 ::memcpy(&seconds_, &from.seconds_, in Timestamp()
111 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in Timestamp()
116 ::memset(&seconds_, 0, static_cast<size_t>( in SharedCtor()
118 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in SharedCtor()
151 ::memset(&seconds_, 0, static_cast<size_t>( in Clear()
153 reinterpret_cast<char*>(&seconds_)) + sizeof(nanos_)); in Clear()
169 seconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); in _InternalParse()
216 input, &seconds_))); in MergePartialFromCodedStream()
387 swap(seconds_, other->seconds_); in InternalSwap()
Dduration.pb.h223 ::PROTOBUF_NAMESPACE_ID::int64 seconds_;
241 seconds_ = PROTOBUF_LONGLONG(0); in clear_seconds()
245 return seconds_; in seconds()
249 seconds_ = value; in set_seconds()
Dtimestamp.pb.h223 ::PROTOBUF_NAMESPACE_ID::int64 seconds_;
241 seconds_ = PROTOBUF_LONGLONG(0); in clear_seconds()
245 return seconds_; in seconds()
249 seconds_ = value; in set_seconds()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDuration.cs128 seconds_ = other.seconds_; in Duration()
140 private long seconds_; field in Google.Protobuf.WellKnownTypes.Duration
148 get { return seconds_; }
150 seconds_ = value;
DTimestamp.cs151 seconds_ = other.seconds_; in Timestamp()
163 private long seconds_; field in Google.Protobuf.WellKnownTypes.Timestamp
171 get { return seconds_; }
173 seconds_ = value;