Lines Matching refs:constexpr
97 if constexpr (chrono::treat_as_floating_point_v<_Rep>) in __format_sub_seconds()
130 if constexpr (chrono::treat_as_floating_point_v<typename _Duration::rep>) in __format_sub_seconds()
153 if constexpr (__is_time_point<_Tp>) in __use_fraction()
157 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __use_fraction()
160 else if constexpr (chrono::__is_duration<_Tp>::value) in __use_fraction()
162 else if constexpr (__is_hh_mm_ss<_Tp>) in __use_fraction()
229 if constexpr (same_as<_Tp, chrono::sys_info>) in __convert_to_time_zone()
233 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __convert_to_time_zone()
275 if constexpr (chrono::__is_duration<_Tp>::value) in __format_chrono_using_chrono_specs()
287 if constexpr (chrono::__is_duration<_Tp>::value) { in __format_chrono_using_chrono_specs()
303 if constexpr (chrono::__is_duration<_Tp>::value) { in __format_chrono_using_chrono_specs()
313 if constexpr (__use_fraction<_Tp>()) in __format_chrono_using_chrono_specs()
376 if constexpr (__use_fraction<_Tp>()) { in __format_chrono_using_chrono_specs()
410 _LIBCPP_HIDE_FROM_ABI constexpr bool __weekday_ok(const _Tp& __value) { in __weekday_ok()
411 if constexpr (__is_time_point<_Tp>) in __weekday_ok()
413 else if constexpr (same_as<_Tp, chrono::day>) in __weekday_ok()
415 else if constexpr (same_as<_Tp, chrono::month>) in __weekday_ok()
417 else if constexpr (same_as<_Tp, chrono::year>) in __weekday_ok()
419 else if constexpr (same_as<_Tp, chrono::weekday>) in __weekday_ok()
421 else if constexpr (same_as<_Tp, chrono::weekday_indexed>) in __weekday_ok()
423 else if constexpr (same_as<_Tp, chrono::weekday_last>) in __weekday_ok()
425 else if constexpr (same_as<_Tp, chrono::month_day>) in __weekday_ok()
427 else if constexpr (same_as<_Tp, chrono::month_day_last>) in __weekday_ok()
429 else if constexpr (same_as<_Tp, chrono::month_weekday>) in __weekday_ok()
431 else if constexpr (same_as<_Tp, chrono::month_weekday_last>) in __weekday_ok()
433 else if constexpr (same_as<_Tp, chrono::year_month>) in __weekday_ok()
435 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __weekday_ok()
437 else if constexpr (same_as<_Tp, chrono::year_month_day_last>) in __weekday_ok()
439 else if constexpr (same_as<_Tp, chrono::year_month_weekday>) in __weekday_ok()
441 else if constexpr (same_as<_Tp, chrono::year_month_weekday_last>) in __weekday_ok()
443 else if constexpr (__is_hh_mm_ss<_Tp>) in __weekday_ok()
446 else if constexpr (same_as<_Tp, chrono::sys_info>) in __weekday_ok()
448 else if constexpr (same_as<_Tp, chrono::local_info>) in __weekday_ok()
452 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __weekday_ok()
461 _LIBCPP_HIDE_FROM_ABI constexpr bool __weekday_name_ok(const _Tp& __value) { in __weekday_name_ok()
462 if constexpr (__is_time_point<_Tp>) in __weekday_name_ok()
464 else if constexpr (same_as<_Tp, chrono::day>) in __weekday_name_ok()
466 else if constexpr (same_as<_Tp, chrono::month>) in __weekday_name_ok()
468 else if constexpr (same_as<_Tp, chrono::year>) in __weekday_name_ok()
470 else if constexpr (same_as<_Tp, chrono::weekday>) in __weekday_name_ok()
472 else if constexpr (same_as<_Tp, chrono::weekday_indexed>) in __weekday_name_ok()
474 else if constexpr (same_as<_Tp, chrono::weekday_last>) in __weekday_name_ok()
476 else if constexpr (same_as<_Tp, chrono::month_day>) in __weekday_name_ok()
478 else if constexpr (same_as<_Tp, chrono::month_day_last>) in __weekday_name_ok()
480 else if constexpr (same_as<_Tp, chrono::month_weekday>) in __weekday_name_ok()
482 else if constexpr (same_as<_Tp, chrono::month_weekday_last>) in __weekday_name_ok()
484 else if constexpr (same_as<_Tp, chrono::year_month>) in __weekday_name_ok()
486 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __weekday_name_ok()
488 else if constexpr (same_as<_Tp, chrono::year_month_day_last>) in __weekday_name_ok()
490 else if constexpr (same_as<_Tp, chrono::year_month_weekday>) in __weekday_name_ok()
492 else if constexpr (same_as<_Tp, chrono::year_month_weekday_last>) in __weekday_name_ok()
494 else if constexpr (__is_hh_mm_ss<_Tp>) in __weekday_name_ok()
497 else if constexpr (same_as<_Tp, chrono::sys_info>) in __weekday_name_ok()
499 else if constexpr (same_as<_Tp, chrono::local_info>) in __weekday_name_ok()
503 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __weekday_name_ok()
512 _LIBCPP_HIDE_FROM_ABI constexpr bool __date_ok(const _Tp& __value) { in __date_ok()
513 if constexpr (__is_time_point<_Tp>) in __date_ok()
515 else if constexpr (same_as<_Tp, chrono::day>) in __date_ok()
517 else if constexpr (same_as<_Tp, chrono::month>) in __date_ok()
519 else if constexpr (same_as<_Tp, chrono::year>) in __date_ok()
521 else if constexpr (same_as<_Tp, chrono::weekday>) in __date_ok()
523 else if constexpr (same_as<_Tp, chrono::weekday_indexed>) in __date_ok()
525 else if constexpr (same_as<_Tp, chrono::weekday_last>) in __date_ok()
527 else if constexpr (same_as<_Tp, chrono::month_day>) in __date_ok()
529 else if constexpr (same_as<_Tp, chrono::month_day_last>) in __date_ok()
531 else if constexpr (same_as<_Tp, chrono::month_weekday>) in __date_ok()
533 else if constexpr (same_as<_Tp, chrono::month_weekday_last>) in __date_ok()
535 else if constexpr (same_as<_Tp, chrono::year_month>) in __date_ok()
537 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __date_ok()
539 else if constexpr (same_as<_Tp, chrono::year_month_day_last>) in __date_ok()
541 else if constexpr (same_as<_Tp, chrono::year_month_weekday>) in __date_ok()
543 else if constexpr (same_as<_Tp, chrono::year_month_weekday_last>) in __date_ok()
545 else if constexpr (__is_hh_mm_ss<_Tp>) in __date_ok()
548 else if constexpr (same_as<_Tp, chrono::sys_info>) in __date_ok()
550 else if constexpr (same_as<_Tp, chrono::local_info>) in __date_ok()
554 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __date_ok()
563 _LIBCPP_HIDE_FROM_ABI constexpr bool __month_name_ok(const _Tp& __value) { in __month_name_ok()
564 if constexpr (__is_time_point<_Tp>) in __month_name_ok()
566 else if constexpr (same_as<_Tp, chrono::day>) in __month_name_ok()
568 else if constexpr (same_as<_Tp, chrono::month>) in __month_name_ok()
570 else if constexpr (same_as<_Tp, chrono::year>) in __month_name_ok()
572 else if constexpr (same_as<_Tp, chrono::weekday>) in __month_name_ok()
574 else if constexpr (same_as<_Tp, chrono::weekday_indexed>) in __month_name_ok()
576 else if constexpr (same_as<_Tp, chrono::weekday_last>) in __month_name_ok()
578 else if constexpr (same_as<_Tp, chrono::month_day>) in __month_name_ok()
580 else if constexpr (same_as<_Tp, chrono::month_day_last>) in __month_name_ok()
582 else if constexpr (same_as<_Tp, chrono::month_weekday>) in __month_name_ok()
584 else if constexpr (same_as<_Tp, chrono::month_weekday_last>) in __month_name_ok()
586 else if constexpr (same_as<_Tp, chrono::year_month>) in __month_name_ok()
588 else if constexpr (same_as<_Tp, chrono::year_month_day>) in __month_name_ok()
590 else if constexpr (same_as<_Tp, chrono::year_month_day_last>) in __month_name_ok()
592 else if constexpr (same_as<_Tp, chrono::year_month_weekday>) in __month_name_ok()
594 else if constexpr (same_as<_Tp, chrono::year_month_weekday_last>) in __month_name_ok()
596 else if constexpr (__is_hh_mm_ss<_Tp>) in __month_name_ok()
599 else if constexpr (same_as<_Tp, chrono::sys_info>) in __month_name_ok()
601 else if constexpr (same_as<_Tp, chrono::local_info>) in __month_name_ok()
605 else if constexpr (__is_specialization_v<_Tp, chrono::zoned_time>) in __month_name_ok()
633 if constexpr (chrono::__is_duration<_Tp>::value) { in __format_chrono()
636 if constexpr (numeric_limits<typename _Tp::rep>::is_signed) { in __format_chrono()
664 if constexpr (__is_hh_mm_ss<_Tp>) { in __format_chrono()
700 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator
720 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
731 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
742 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
754 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
763 if constexpr (std::floating_point<_Rep>)
776 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
787 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
798 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
809 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
820 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
831 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
842 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
853 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
864 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
875 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
886 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
897 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
908 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
919 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
930 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
941 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
953 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
964 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {
978 _LIBCPP_HIDE_FROM_ABI constexpr typename _ParseContext::iterator parse(_ParseContext& __ctx) {