Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dtzdb.h43 vector<time_zone> zones;
48 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* __locate_zone(string_view __name) const { in __locate_zone()
49 if (const time_zone* __result = __find_in_zone(__name)) in __locate_zone()
54 if (const time_zone* __result = __find_in_zone(__it->target())) in __locate_zone()
60 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* locate_zone(string_view __name) const { in locate_zone()
61 if (const time_zone* __result = __locate_zone(__name)) in locate_zone()
67 …[[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI const time_zone* current_zone() cons… in current_zone()
72 _LIBCPP_HIDE_FROM_ABI const time_zone* __find_in_zone(string_view __name) const noexcept { in __find_in_zone()
73 if (auto __it = ranges::lower_bound(zones, __name, {}, &time_zone::name); in __find_in_zone()
80 …[[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI const time_zone* __current_zone(…
H A Dtime_zone.h47 class _LIBCPP_AVAILABILITY_TZDB time_zone {
48 _LIBCPP_HIDE_FROM_ABI time_zone() = default;
58 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI static time_zone __create(unique_ptr<__impl>&& __p);
60 _LIBCPP_EXPORTED_FROM_ABI ~time_zone();
62 _LIBCPP_HIDE_FROM_ABI time_zone(time_zone&&) = default;
63 _LIBCPP_HIDE_FROM_ABI time_zone& operator=(time_zone&&) = default;
162 operator==(const time_zone& __x, const time_zone& __y) noexcept {
167 operator<=>(const time_zone& __x, const time_zone& __y) noexcept {
H A Dzoned_time.h50 struct zoned_traits<const time_zone*> {
51 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* default_zone() { return chrono::locate…
52 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* locate_zone(string_view __name) {
57 template <class _Duration, class _TimeZonePtr = const time_zone*>
190 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.cpp729 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI time_zone time_zone::__create(unique_ptr<time_zone::__impl>… in __create()
731 time_zone result; in __create()
736 _LIBCPP_EXPORTED_FROM_ABI time_zone::~time_zone() = default;
738 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI string_view time_zone::__name() const noexcept { return __i… in __name()
741 time_zone::__get_info(sys_seconds __time) const { in __get_info()
950 time_zone::__get_info(local_seconds __local_time) const { in __get_info()
H A Dtzdb.cpp562 auto __p = std::make_unique<time_zone::__impl>(chrono::__parse_string(__input), __rules); in __parse_zone()
573 __tzdb.zones.emplace_back(time_zone::__create(std::move(__p))); in __parse_zone()
693 [[nodiscard]] static const time_zone* __current_zone_windows(const tzdb& tzdb) { in __current_zone_windows()
698 [[nodiscard]] static const time_zone* __current_zone_posix(const tzdb& tzdb) { in __current_zone_posix()
723 if (const time_zone* __result = tzdb.__locate_zone(__tz)) in __current_zone_posix()
740 if (const time_zone* __result = tzdb.__locate_zone(__name)) in __current_zone_posix()
756 [[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_EXPORTED_FROM_ABI const time_zone* tzdb::__current_… in __current_zone()
/freebsd/contrib/llvm-project/libcxx/include/
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/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.inc225 // [time.zone.timezone], class time_zone
227 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 DMakefile570 CHR_HEADERS+= time_zone.h
H A Dlibcxx.imp271 { include: [ "<__chrono/time_zone.h>", "private", "<chrono>", "public" ] },
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc3398 SYMBOL(time_zone, std::chrono::, <chrono>)