Home
last modified time | relevance | path

Searched refs:time_zone (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup.cc72 std::string time_zone::name() const { return effective_impl().Name(); } in name()
74 time_zone::absolute_lookup time_zone::lookup( in lookup()
79 time_zone::civil_lookup time_zone::lookup(const civil_second& cs) const { in lookup()
83 bool time_zone::next_transition(const time_point<seconds>& tp, in next_transition()
88 bool time_zone::prev_transition(const time_point<seconds>& tp, in prev_transition()
93 std::string time_zone::version() const { return effective_impl().Version(); } in version()
95 std::string time_zone::description() const { in description()
99 const time_zone::Impl& time_zone::effective_impl() const { in effective_impl()
103 return *time_zone::Impl::UTC().impl_; in effective_impl()
108 bool load_time_zone(const std::string& name, time_zone* tz) { in load_time_zone()
[all …]
Dtime_zone_impl.cc36 std::unordered_map<std::string, const time_zone::Impl*>;
49 time_zone time_zone::Impl::UTC() { return time_zone(UTCImpl()); } in UTC()
51 bool time_zone::Impl::LoadTimeZone(const std::string& name, time_zone* tz) { in LoadTimeZone()
57 *tz = time_zone(utc_impl); in LoadTimeZone()
67 *tz = time_zone(itr->second); in LoadTimeZone()
83 *tz = time_zone(impl); in LoadTimeZone()
87 void time_zone::Impl::ClearTimeZoneMapTestOnly() { in ClearTimeZoneMapTestOnly()
94 static auto* cleared = new std::deque<const time_zone::Impl*>; in ClearTimeZoneMapTestOnly()
102 time_zone::Impl::Impl(const std::string& name) in Impl()
105 const time_zone::Impl* time_zone::Impl::UTCImpl() { in UTCImpl()
Dtime_zone_lookup_test.cc635 time_zone LoadZone(const std::string& name) { in LoadZone()
636 time_zone tz; in LoadZone()
645 time_zone::absolute_lookup al = tz.lookup(tp); \
662 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp()
680 time_zone tz; in TEST()
721 const time_zone utc = utc_time_zone(); in TEST()
723 time_zone loaded_utc; in TEST()
727 time_zone loaded_utc0; in TEST()
733 const time_zone utc = utc_time_zone(); in TEST()
735 const time_zone nyc = LoadZone("America/New_York"); in TEST()
[all …]
Dtime_zone_impl.h33 class time_zone::Impl {
36 static time_zone UTC();
40 static bool LoadTimeZone(const std::string& name, time_zone* tz);
53 time_zone::absolute_lookup BreakTime(const time_point<seconds>& tp) const { in BreakTime()
60 time_zone::civil_lookup MakeTime(const civil_second& cs) const { in MakeTime()
66 time_zone::civil_transition* trans) const { in NextTransition()
70 time_zone::civil_transition* trans) const { in PrevTransition()
Dcctz_benchmark.cc715 cctz::time_zone TestTimeZone() { in TestTimeZone()
716 cctz::time_zone tz; in TestTimeZone()
722 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneFirst()
724 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadUTCTimeZoneFirst()
732 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneLast()
743 cctz::time_zone tz = cctz::utc_time_zone(); // in case we're first in BM_Zone_LoadTimeZoneFirst()
747 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadTimeZoneFirst()
755 cctz::time_zone tz = cctz::utc_time_zone(); // in case we're first in BM_Zone_LoadTimeZoneCached()
756 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadTimeZoneCached()
767 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadLocalTimeZoneCached()
[all …]
Dtime_zone_info.h75 time_zone::absolute_lookup BreakTime(
77 time_zone::civil_lookup MakeTime(const civil_second& cs) const override;
79 time_zone::civil_transition* trans) const override;
81 time_zone::civil_transition* trans) const override;
108 time_zone::absolute_lookup LocalTime(std::int_fast64_t unix_time,
110 time_zone::absolute_lookup LocalTime(std::int_fast64_t unix_time,
112 time_zone::civil_lookup TimeLocal(const civil_second& cs,
Dtime_zone_libc.cc189 time_zone::absolute_lookup TimeZoneLibC::BreakTime( in BreakTime()
191 time_zone::absolute_lookup al; in BreakTime()
227 time_zone::civil_lookup TimeZoneLibC::MakeTime(const civil_second& cs) const { in MakeTime()
238 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
245 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
250 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
264 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
278 return {time_zone::civil_lookup::SKIPPED, pre, trans, post}; in MakeTime()
284 return {time_zone::civil_lookup::REPEATED, pre, trans, post}; in MakeTime()
291 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
[all …]
Dtime_zone_libc.h36 time_zone::absolute_lookup BreakTime(
38 time_zone::civil_lookup MakeTime(const civil_second& cs) const override;
40 time_zone::civil_transition* trans) const override;
42 time_zone::civil_transition* trans) const override;
Dtime_zone_if.h41 virtual time_zone::absolute_lookup BreakTime(
43 virtual time_zone::civil_lookup MakeTime(const civil_second& cs) const = 0;
46 time_zone::civil_transition* trans) const = 0;
48 time_zone::civil_transition* trans) const = 0;
/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup.cc72 std::string time_zone::name() const { return effective_impl().Name(); } in name()
74 time_zone::absolute_lookup time_zone::lookup( in lookup()
79 time_zone::civil_lookup time_zone::lookup(const civil_second& cs) const { in lookup()
83 bool time_zone::next_transition(const time_point<seconds>& tp, in next_transition()
88 bool time_zone::prev_transition(const time_point<seconds>& tp, in prev_transition()
93 std::string time_zone::version() const { return effective_impl().Version(); } in version()
95 std::string time_zone::description() const { in description()
99 const time_zone::Impl& time_zone::effective_impl() const { in effective_impl()
103 return *time_zone::Impl::UTC().impl_; in effective_impl()
108 bool load_time_zone(const std::string& name, time_zone* tz) { in load_time_zone()
[all …]
Dtime_zone_impl.cc36 std::unordered_map<std::string, const time_zone::Impl*>;
49 time_zone time_zone::Impl::UTC() { return time_zone(UTCImpl()); } in UTC()
51 bool time_zone::Impl::LoadTimeZone(const std::string& name, time_zone* tz) { in LoadTimeZone()
57 *tz = time_zone(utc_impl); in LoadTimeZone()
67 *tz = time_zone(itr->second); in LoadTimeZone()
83 *tz = time_zone(impl); in LoadTimeZone()
87 void time_zone::Impl::ClearTimeZoneMapTestOnly() { in ClearTimeZoneMapTestOnly()
94 static auto* cleared = new std::deque<const time_zone::Impl*>; in ClearTimeZoneMapTestOnly()
102 time_zone::Impl::Impl(const std::string& name) in Impl()
105 const time_zone::Impl* time_zone::Impl::UTCImpl() { in UTCImpl()
Dtime_zone_lookup_test.cc635 time_zone LoadZone(const std::string& name) { in LoadZone()
636 time_zone tz; in LoadZone()
645 time_zone::absolute_lookup al = tz.lookup(tp); \
662 int VersionCmp(time_zone tz, const std::string& target) { in VersionCmp()
680 time_zone tz; in TEST()
721 const time_zone utc = utc_time_zone(); in TEST()
723 const time_zone nyc = LoadZone("America/New_York"); in TEST()
725 const time_zone syd = LoadZone("Australia/Sydney"); in TEST()
727 const time_zone fixed0 = in TEST()
730 const time_zone fixed_pos = fixed_time_zone( in TEST()
[all …]
Dtime_zone_impl.h33 class time_zone::Impl {
36 static time_zone UTC();
40 static bool LoadTimeZone(const std::string& name, time_zone* tz);
53 time_zone::absolute_lookup BreakTime(const time_point<seconds>& tp) const { in BreakTime()
60 time_zone::civil_lookup MakeTime(const civil_second& cs) const { in MakeTime()
66 time_zone::civil_transition* trans) const { in NextTransition()
70 time_zone::civil_transition* trans) const { in PrevTransition()
Dcctz_benchmark.cc715 cctz::time_zone TestTimeZone() { in TestTimeZone()
716 cctz::time_zone tz; in TestTimeZone()
722 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneFirst()
724 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadUTCTimeZoneFirst()
732 cctz::time_zone tz; in BM_Zone_LoadUTCTimeZoneLast()
743 cctz::time_zone tz = cctz::utc_time_zone(); // in case we're first in BM_Zone_LoadTimeZoneFirst()
747 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadTimeZoneFirst()
755 cctz::time_zone tz = cctz::utc_time_zone(); // in case we're first in BM_Zone_LoadTimeZoneCached()
756 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadTimeZoneCached()
767 cctz::time_zone::Impl::ClearTimeZoneMapTestOnly(); in BM_Zone_LoadLocalTimeZoneCached()
[all …]
Dtime_zone_info.h75 time_zone::absolute_lookup BreakTime(
77 time_zone::civil_lookup MakeTime(const civil_second& cs) const override;
79 time_zone::civil_transition* trans) const override;
81 time_zone::civil_transition* trans) const override;
108 time_zone::absolute_lookup LocalTime(std::int_fast64_t unix_time,
110 time_zone::absolute_lookup LocalTime(std::int_fast64_t unix_time,
112 time_zone::civil_lookup TimeLocal(const civil_second& cs,
Dtime_zone_libc.cc183 time_zone::absolute_lookup TimeZoneLibC::BreakTime( in BreakTime()
185 time_zone::absolute_lookup al; in BreakTime()
221 time_zone::civil_lookup TimeZoneLibC::MakeTime(const civil_second& cs) const { in MakeTime()
232 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
239 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
244 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
258 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
272 return {time_zone::civil_lookup::SKIPPED, pre, trans, post}; in MakeTime()
278 return {time_zone::civil_lookup::REPEATED, pre, trans, post}; in MakeTime()
285 return {time_zone::civil_lookup::UNIQUE, tp, tp, tp}; in MakeTime()
[all …]
Dtime_zone_libc.h36 time_zone::absolute_lookup BreakTime(
38 time_zone::civil_lookup MakeTime(const civil_second& cs) const override;
40 time_zone::civil_transition* trans) const override;
42 time_zone::civil_transition* trans) const override;
Dtime_zone_if.h41 virtual time_zone::absolute_lookup BreakTime(
43 virtual time_zone::civil_lookup MakeTime(const civil_second& cs) const = 0;
46 time_zone::civil_transition* trans) const = 0;
48 time_zone::civil_transition* trans) const = 0;
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dtime_zone.h78 class time_zone {
80 time_zone() : time_zone(nullptr) {} // Equivalent to UTC in time_zone() function
81 time_zone(const time_zone&) = default;
82 time_zone& operator=(const time_zone&) = default;
220 friend bool operator==(time_zone lhs, time_zone rhs) {
223 friend bool operator!=(time_zone lhs, time_zone rhs) { return !(lhs == rhs); }
226 friend H AbslHashValue(H h, time_zone tz) { in AbslHashValue()
233 explicit time_zone(const Impl* impl) : impl_(impl) {} in time_zone() function
241 bool load_time_zone(const std::string& name, time_zone* tz);
244 time_zone utc_time_zone();
[all …]
/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dtime_zone.h78 class time_zone {
80 time_zone() : time_zone(nullptr) {} // Equivalent to UTC in time_zone() function
81 time_zone(const time_zone&) = default;
82 time_zone& operator=(const time_zone&) = default;
220 friend bool operator==(time_zone lhs, time_zone rhs) {
223 friend bool operator!=(time_zone lhs, time_zone rhs) { return !(lhs == rhs); }
226 friend H AbslHashValue(H h, time_zone tz) { in AbslHashValue()
233 explicit time_zone(const Impl* impl) : impl_(impl) {} in time_zone() function
241 bool load_time_zone(const std::string& name, time_zone* tz);
244 time_zone utc_time_zone();
[all …]
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_arm64_dbg.def11time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@ti…
19 …@std@@@?$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVI…
28 …??$?0$$TX@?$__compressed_pair_elem@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@$0A@$0A@@__1@…
39time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@@__1@std@@V?$allocator@U?$__hash_node@U…
40time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@@__1@std@@V?$__bucket_list_deallocator@…
41 …VImpl@time_zone@cctz@time_internal@absl@@U?$default_delete@$$CBVImpl@time_zone@cctz@time_internal@…
42time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PEBVImpl@time_zone@cctz@…
43time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@V?$__hash_node_destructor@V?$allocator@…
52time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PEBVImpl@time_zone@cctz@…
53time_zone@cctz@time_internal@absl@@X@?$__compressed_pair_elem@PEAPEBVImpl@time_zone@cctz@time_inte…
[all …]
Dsymbols_x64_dbg.def11time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@ti…
19 …@std@@@?$__compressed_pair@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PEAPEBVI…
28 …??$?0$$TX@?$__compressed_pair_elem@PEAPEAPEBVImpl@time_zone@cctz@time_internal@absl@@$0A@$0A@@__1@…
39time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@@__1@std@@V?$allocator@U?$__hash_node@U…
40time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@@__1@std@@V?$__bucket_list_deallocator@…
41 …VImpl@time_zone@cctz@time_internal@absl@@U?$default_delete@$$CBVImpl@time_zone@cctz@time_internal@…
42time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PEBVImpl@time_zone@cctz@…
43time_zone@cctz@time_internal@absl@@@__1@std@@PEAX@__1@std@@V?$__hash_node_destructor@V?$allocator@…
52time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PEBVImpl@time_zone@cctz@…
53time_zone@cctz@time_internal@absl@@X@?$__compressed_pair_elem@PEAPEBVImpl@time_zone@cctz@time_inte…
[all …]
Dsymbols_x86_dbg.def11time_zone@cctz@time_internal@absl@@@__1@std@@@?$__compressed_pair@PAPAPBVImpl@time_zone@cctz@time_…
19 …@__1@std@@@?$__compressed_pair@PAPAPBVImpl@time_zone@cctz@time_internal@absl@@V?$allocator@PAPBVIm…
28 …??$?0$$TX@?$__compressed_pair_elem@PAPAPBVImpl@time_zone@cctz@time_internal@absl@@$0A@$0A@@__1@std…
39time_zone@cctz@time_internal@absl@@@__1@std@@PAX@__1@std@@@__1@std@@V?$allocator@U?$__hash_node@U?…
40time_zone@cctz@time_internal@absl@@@__1@std@@PAX@__1@std@@@__1@std@@V?$__bucket_list_deallocator@V…
41 …BVImpl@time_zone@cctz@time_internal@absl@@U?$default_delete@$$CBVImpl@time_zone@cctz@time_internal…
42time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PBVImpl@time_zone@cctz@t…
43time_zone@cctz@time_internal@absl@@@__1@std@@PAX@__1@std@@V?$__hash_node_destructor@V?$allocator@U…
55time_zone@cctz@time_internal@absl@@V?$__allocator_destructor@V?$allocator@PBVImpl@time_zone@cctz@t…
56 …@time_zone@cctz@time_internal@absl@@X@?$__compressed_pair_elem@PAPBVImpl@time_zone@cctz@time_inter…
[all …]
/third_party/boost/libs/locale/src/icu/
Dtime_zone.cpp48 icu::TimeZone *get_time_zone(std::string const &time_zone) in get_time_zone() argument
51 if(time_zone.empty()) { in get_time_zone()
55 return icu::TimeZone::createTimeZone(time_zone.c_str()); in get_time_zone()
212 icu::TimeZone *get_time_zone(std::string const &time_zone)
215 if(!time_zone.empty()) {
216 return icu::TimeZone::createTimeZone(time_zone.c_str());
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-date.c707 int32_t time_zone = (int32_t) ecma_date_local_time_zone_adjustment (datetime_number); in ecma_date_to_string_format() local
709 if (time_zone >= 0) in ecma_date_to_string_format()
716 time_zone = -time_zone; in ecma_date_to_string_format()
719 number = time_zone / (int32_t) ECMA_DATE_MS_PER_HOUR; in ecma_date_to_string_format()
727 int32_t time_zone = (int32_t) ecma_date_local_time_zone_adjustment (datetime_number); in ecma_date_to_string_format() local
729 if (time_zone < 0) in ecma_date_to_string_format()
731 time_zone = -time_zone; in ecma_date_to_string_format()
734 number = time_zone % (int32_t) ECMA_DATE_MS_PER_HOUR / (int32_t) ECMA_DATE_MS_PER_MINUTE; in ecma_date_to_string_format()

1234