Home
last modified time | relevance | path

Searched refs:__time (Results 1 – 7 of 7) sorted by relevance

/src/contrib/llvm-project/libcxx/include/__chrono/
H A Dtime_zone.h68 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI sys_info get_info(const sys_time<_Duration>& __time) const { in get_info() argument
69 return __get_info(chrono::time_point_cast<seconds>(__time)); in get_info()
73 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI local_info get_info(const local_time<_Duration>& __time) const… in get_info() argument
74 return __get_info(chrono::time_point_cast<seconds>(__time)); in get_info()
80 …ABI sys_time<common_type_t<_Duration, seconds>> to_sys(const local_time<_Duration>& __time) const { in to_sys() argument
81 local_info __info = get_info(__time); in to_sys()
84 …return sys_time<common_type_t<_Duration, seconds>>{__time.time_since_epoch() - __info.first.offset… in to_sys()
87 chrono::__throw_nonexistent_local_time(__time, __info); in to_sys()
90 chrono::__throw_ambiguous_local_time(__time, __info); in to_sys()
104 to_sys(const local_time<_Duration>& __time, choose __z) const { in to_sys() argument
[all …]
H A Dexception.h42 …_LIBCPP_HIDE_FROM_ABI nonexistent_local_time(const local_time<_Duration>& __time, const local_info… in nonexistent_local_time() argument
43 : runtime_error{__create_message(__time, __info)} { in nonexistent_local_time()
58 …_LIBCPP_HIDE_FROM_ABI string __create_message(const local_time<_Duration>& __time, const local_inf… in __create_message() argument
64 __time, in __create_message()
75 … [[maybe_unused]] const local_time<_Duration>& __time, [[maybe_unused]] const local_info& __info) { in __throw_nonexistent_local_time() argument
77 throw nonexistent_local_time(__time, __info); in __throw_nonexistent_local_time()
86 …_LIBCPP_HIDE_FROM_ABI ambiguous_local_time(const local_time<_Duration>& __time, const local_info& … in ambiguous_local_time() argument
87 : runtime_error{__create_message(__time, __info)} { in ambiguous_local_time()
102 …_LIBCPP_HIDE_FROM_ABI string __create_message(const local_time<_Duration>& __time, const local_inf… in __create_message() argument
109 __time, in __create_message()
[all …]
H A Dparser_std_format_spec.h47 __time = __hour | __minute | __second, enumerator
60 __date_time = __date | __time,
62 __duration = 0x80 | __time,
89 if ((__flags & __flags::__time) != __flags::__time) in __validate_time()
H A Dformatter.h942 return _Base::__parse(__ctx, __format_spec::__fields_chrono, __format_spec::__flags::__time);
/src/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp189 return __continuation.__at.__time - __continuation.__stdoff - in __at_to_sys_seconds()
196 return chrono::duration_cast<seconds>(__value.__time); in __at_to_sys_seconds()
209 return __continuation.__at.__time; in __at_to_sys_seconds()
212 return __continuation.__at.__time - __continuation.__stdoff; in __at_to_sys_seconds()
284 return __rule.__at.__time - __stdoff; in __at_to_seconds()
287 return __rule.__at.__time; in __at_to_seconds()
290 return __rule.__at.__time - __stdoff; in __at_to_seconds()
332 | views::filter([](const __tz::__rule& __rule) { return __rule.__save.__time == 0s; }) // in __letters_before_first_rule()
381 if (__rule->__save.__time != 0s) in __get_sys_info_before_first_rule()
391 return __rule.__at.__time - __stdoff - __save; in __at_to_seconds()
[all …]
H A Dtzdb.cpp430 seconds __time = chrono::__parse_duration(__input); in __parse_save() local
431 return {__time, chrono::__parse_dst(__input, __time)}; in __parse_save()
/src/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtypes_private.h64 seconds __time{0};
69 seconds __time; member