Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dtzdb.h45 vector<time_zone> zones;
50 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* __locate_zone(string_view __name) const { in __locate_zone()
51 if (const time_zone* __result = __find_in_zone(__name)) in __locate_zone()
56 if (const time_zone* __result = __find_in_zone(__it->target())) in __locate_zone()
62 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* locate_zone(string_view __name) const { in locate_zone()
63 if (const time_zone* __result = __locate_zone(__name)) in locate_zone()
69 …[[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI const time_zone* current_zone() cons… in current_zone()
74 _LIBCPP_HIDE_FROM_ABI const time_zone* __find_in_zone(string_view __name) const noexcept { in __find_in_zone()
75 if (auto __it = ranges::lower_bound(zones, __name, {}, &time_zone::name); in __find_in_zone()
82 …[[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI const time_zone* __current_zone(…
H A Dtime_zone.h46 class _LIBCPP_AVAILABILITY_TZDB time_zone {
47 _LIBCPP_HIDE_FROM_ABI time_zone() = default;
57 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI static time_zone __create(unique_ptr<__impl>&& __p);
59 _LIBCPP_EXPORTED_FROM_ABI ~time_zone();
61 _LIBCPP_HIDE_FROM_ABI time_zone(time_zone&&) = default;
62 _LIBCPP_HIDE_FROM_ABI time_zone& operator=(time_zone&&) = default;
165 operator==(const time_zone& __x, const time_zone& __y) noexcept {
170 operator<=>(const time_zone& __x, const time_zone& __y) noexcept {
H A Dzoned_time.h51 struct zoned_traits<const time_zone*> {
52 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* default_zone() { return chrono::locate…
53 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* locate_zone(string_view __name) {
58 template <class _Duration, class _TimeZonePtr = const time_zone*>
191 const time_zone*,
H A Dtzdb_list.h87 [[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI inline const time_zone* locate_zone(s… in locate_zone()
91 [[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI inline const time_zone* current_zone(… in current_zone()
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp738 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI time_zone time_zone::__create(unique_ptr<time_zone::__impl>… in __create()
740 time_zone result; in __create()
745 _LIBCPP_EXPORTED_FROM_ABI time_zone::~time_zone() = default;
747 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI string_view time_zone::__name() const noexcept { return __i… in __name()
750 time_zone::__get_info(sys_seconds __time) const { in __get_info()
959 time_zone::__get_info(local_seconds __local_time) const { in __get_info()
H A Dtzdb.cpp575 auto __p = std::make_unique<time_zone::__impl>(chrono::__parse_string(__input), __rules); in __parse_zone()
586 __tzdb.zones.emplace_back(time_zone::__create(std::move(__p))); in __parse_zone()
706 [[nodiscard]] static const time_zone* __current_zone_windows(const tzdb& tzdb) { in __current_zone_windows()
744 [[nodiscard]] static const time_zone* __current_zone_posix(const tzdb& tzdb) { in __current_zone_posix()
775 if (const time_zone* __result = tzdb.__locate_zone(__name)) in __current_zone_posix()
785 if (const time_zone* __result = tzdb.__locate_zone(__name)) in __current_zone_posix()
801 [[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI const time_zone* tzdb::__current_… in __current_zone()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dchrono689 vector<time_zone> zones;
693 const time_zone* locate_zone(string_view tz_name) const;
694 const time_zone* current_zone() const;
720 const time_zone* locate_zone(string_view tz_name); // C++20
721 const time_zone* current_zone() // C++20
758 // 25.10.5, class time_zone // C++20
760 class time_zone {
761 time_zone(time_zone&&) = default;
762 time_zone& operator=(time_zone&&) = default;
786 bool operator==(const time_zone& x, const time_zone& y) noexcept; // C++20
[all …]
H A Dmodule.modulemap1136 header "__chrono/time_zone.h"
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono784 vector<time_zone> zones;
788 const time_zone* locate_zone(string_view tz_name) const;
789 const time_zone* current_zone() const;
815 const time_zone* locate_zone(string_view tz_name); // C++20
816 const time_zone* current_zone() // C++20
853 // [time.zone.timezone] class time_zone // C++…
855 class time_zone {
856 time_zone(time_zone&&) = default;
857 time_zone& operator=(time_zone&&) = default;
881 bool operator==(const time_zone& x, const time_zone& y) noexcept; // C++20
[all …]
H A Dmodule.modulemap.in1009 module time_zone { header "__chrono/time_zone.h" }
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtime_zone_private.h25 class time_zone::__impl {
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.cppm
H A Dchrono.inc227 // [time.zone.timezone], class time_zone
229 using std::chrono::time_zone;
/freebsd/contrib/wpa/src/ap/
H A Dieee802_11_shared.c673 if (hapd->conf->time_advertisement != 2 || !hapd->conf->time_zone) in hostapd_eid_time_zone()
676 len = os_strlen(hapd->conf->time_zone); in hostapd_eid_time_zone()
680 os_memcpy(eid, hapd->conf->time_zone, len); in hostapd_eid_time_zone()
H A Dap_config.h559 char *time_zone; member
H A Dap_config.c867 os_free(conf->time_zone); in hostapd_config_free_bss()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc461 static void SetTimeZone(const char* time_zone) { in SetTimeZone() argument
469 std::string("TZ=") + (time_zone ? time_zone : ""); in SetTimeZone()
481 if (time_zone) { in SetTimeZone()
482 setenv(("TZ"), time_zone, 1); in SetTimeZone()
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c4146 os_free(bss->time_zone); in hostapd_config_fill()
4147 bss->time_zone = os_strdup(pos); in hostapd_config_fill()
4148 if (bss->time_zone == NULL) in hostapd_config_fill()
/freebsd/lib/libc++/
H A Dmodule.modulemap1009 module time_zone { header "__chrono/time_zone.h" }
H A Dlibcxx.imp278 { include: [ "<__chrono/time_zone.h>", "private", "<chrono>", "public" ] },
H A DMakefile588 CHR_HEADERS+= time_zone.h
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc3480 SYMBOL(time_zone, std::chrono::, <chrono>)