Home
last modified time | relevance | path

Searched refs:offset_seconds (Results 1 – 4 of 4) sorted by relevance

/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_fixed.cc92 int offset_seconds = static_cast<int>(offset.count()); in FixedOffsetToName() local
93 const char sign = (offset_seconds < 0 ? '-' : '+'); in FixedOffsetToName()
94 int offset_minutes = offset_seconds / 60; in FixedOffsetToName()
95 offset_seconds %= 60; in FixedOffsetToName()
97 if (offset_seconds > 0) { in FixedOffsetToName()
98 offset_seconds -= 60; in FixedOffsetToName()
101 offset_seconds = -offset_seconds; in FixedOffsetToName()
114 ep = Format02d(ep, offset_seconds); in FixedOffsetToName()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_fixed.cc92 int offset_seconds = static_cast<int>(offset.count()); in FixedOffsetToName() local
93 const char sign = (offset_seconds < 0 ? '-' : '+'); in FixedOffsetToName()
94 int offset_minutes = offset_seconds / 60; in FixedOffsetToName()
95 offset_seconds %= 60; in FixedOffsetToName()
97 if (offset_seconds > 0) { in FixedOffsetToName()
98 offset_seconds -= 60; in FixedOffsetToName()
101 offset_seconds = -offset_seconds; in FixedOffsetToName()
114 ep = Format02d(ep, offset_seconds); in FixedOffsetToName()
/third_party/libsoup/libsoup/
Dsoup-date.c196 soup_date_new_from_now (int offset_seconds) in soup_date_new_from_now() argument
199 time_t then = now + offset_seconds; in soup_date_new_from_now()
202 if (offset_seconds < 0 && then > now) in soup_date_new_from_now()
204 else if (offset_seconds > 0 && then < now) in soup_date_new_from_now()
Dsoup-date.h54 SoupDate *soup_date_new_from_now (int offset_seconds);