/third_party/boost/boost/date_time/ |
D | int_adapter.hpp | 89 return (v == neg_infinity().as_number() || in is_inf() 90 v == pos_infinity().as_number()); in is_inf() 94 return (v == neg_infinity().as_number()); in is_neg_inf() 98 return (v == pos_infinity().as_number()); in is_pos_inf() 102 return (v == not_a_number().as_number()); in is_not_a_number() 120 return (value_ == neg_infinity().as_number() || in is_infinity() 121 value_ == pos_infinity().as_number()); in is_infinity() 125 return(value_ == pos_infinity().as_number()); in is_pos_infinity() 129 return(value_ == neg_infinity().as_number()); in is_neg_infinity() 133 return (value_ == not_a_number().as_number()); in is_nan() [all …]
|
D | time_resolution_traits.hpp | 34 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i){ return i;} in as_number() function 42 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i){ return i.as_number();} in as_number() function 50 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i){ return i;} in as_number() function 58 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i){ return i.as_number();} in as_number() function 106 static BOOST_CXX14_CONSTEXPR fractional_seconds_type as_number(impl_type i) in as_number() function in boost::date_time::time_resolution_traits 108 return frac_sec_type::as_number(i); in as_number()
|
D | time_system_counted.hpp | 84 … return static_cast<unsigned long>(resolution_traits::as_number(time_count_) / frac_sec_per_day()); in day_count() 88 return resolution_traits::as_number(time_count_); in time_count() 92 return resolution_traits::as_number(time_count_) % frac_sec_per_day(); in tod() 102 return impl_type::is_pos_inf(time_count_.as_number()); in is_pos_infinity() 106 return impl_type::is_neg_inf(time_count_.as_number()); in is_neg_infinity() 110 return impl_type::is_not_a_number(time_count_.as_number()); in is_not_a_date_time() 253 impl_type::to_special((lhs.get_rep() - rhs.get_rep()).as_number()))); in subtract_times()
|
D | date_duration.hpp | 61 return duration_rep_traits::as_number(days_); in days() 128 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i) { return i; } in as_number() function 138 static BOOST_CXX14_CONSTEXPR int_type as_number(impl_type i) { return i.as_number(); } in as_number() function
|
D | date_duration_types.hpp | 61 month_adjustor_type m_adj(_m.as_number()); in get_neg_offset() 66 month_adjustor_type m_adj(_m.as_number()); in get_offset() 181 month_adjustor_type m_adj(_y.as_number() * 12); in get_neg_offset() 186 month_adjustor_type m_adj(_y.as_number() * 12); in get_offset()
|
D | date_generators.hpp | 461 duration_type dd(wd.as_number() - d.day_of_week().as_number()); in days_until_weekday() 479 duration_type dd(wd.as_number() - d.day_of_week().as_number()); in days_before_weekday()
|
D | date_formatting_limited.hpp | 49 os << std::setw(2) << std::setfill('0') << month.as_number(); in format_month()
|
D | date_formatting.hpp | 56 os << std::setw(2) << std::setfill(os.widen('0')) << month.as_number(); in format_month()
|
D | date.hpp | 196 BOOST_CXX14_CONSTEXPR explicit date(date_rep_type days) : days_(days.as_number()) {} in date()
|
D | date_formatting_locales.hpp | 61 os << std::setw(2) << std::setfill(os.widen('0')) << month.as_number(); in format_month()
|
D | date_facet.hpp | 190 …turn std::use_facet<num_put>(a_ios.getloc()).put(next, a_ios, fill_char, dd.get_rep().as_number()); in put() 196 return f->put(next, a_ios, fill_char, dd.get_rep().as_number()); in put() 225 dtm.tm_mday = day.as_number(); in put()
|
D | time_duration.hpp | 215 return traits_type::as_number(ticks_); in ticks()
|
/third_party/boost/boost/date_time/gregorian/ |
D | greg_serialize.hpp | 140 typename gregorian::date_duration::duration_rep::int_type it = dr.as_number(); in save() 230 unsigned short us = gm.as_number(); in save() 256 unsigned short us = gd.as_number(); in save() 282 unsigned short us = gd.as_number(); in save() 314 gregorian::greg_month gm(pd.month().as_number()); in save() 352 typename gregorian::nth_kday_of_month::day_of_week_type d(nkd.day_of_week().as_number()); in save() 353 typename gregorian::nth_kday_of_month::month_type m(nkd.month().as_number()); in save() 395 typename gregorian::first_kday_of_month::day_of_week_type d(fkd.day_of_week().as_number()); in save() 396 typename gregorian::first_kday_of_month::month_type m(fkd.month().as_number()); in save() 434 typename gregorian::last_kday_of_month::day_of_week_type d(lkd.day_of_week().as_number()); in save() [all …]
|
D | greg_day.hpp | 46 BOOST_CXX14_CONSTEXPR value_type as_number() const {return value_;} in as_number() function in boost::gregorian::greg_day
|
D | greg_weekday.hpp | 48 BOOST_CXX14_CONSTEXPR value_type as_number() const {return value_;} in as_number() function in boost::gregorian::greg_weekday
|
D | formatters_limited.hpp | 69 << ymd.month.as_number() //solves problem with gcc 3.1 hanging in to_sql_string()
|
D | greg_month.hpp | 63 BOOST_CXX14_CONSTEXPR value_type as_number() const {return value_;} in as_number() function in boost::gregorian::greg_month
|
D | formatters.hpp | 111 << ymd.month.as_number() //solves problem with gcc 3.1 hanging in to_sql_string_type()
|
D | greg_facet.hpp | 81 os << std::setw(2) << std::setfill(os.widen('0')) << m.as_number(); in operator <<()
|
/third_party/boost/libs/date_time/test/ |
D | testint_adapter.cpp | 22 std::cout << "min: " << (int_type::min)().as_number() << std::endl; in print() 23 std::cout << "max: " << (int_type::max)().as_number() << std::endl; in print() 25 int_type::neg_infinity().as_number() << std::endl; in print() 27 int_type::pos_infinity().as_number() << std::endl; in print() 29 int_type::not_a_number().as_number() << std::endl; in print() 66 check("as_special convert", boost::date_time::neg_infin == int_type::to_special(i.as_number()) ); in test_int()
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_month.cpp | 19 check("January as_number", m1.as_number() == 1); in test_month() 20 check("December as_number", m12.as_number() == 12); in test_month()
|
/third_party/boost/libs/log/src/setup/ |
D | default_formatter_factory.cpp | 192 m_strm << value.get_rep().as_number();
|
/third_party/python/Include/cpython/ |
D | object.h | 281 PyNumberMethods as_number; member
|
/third_party/python/Objects/ |
D | typeobject.c | 2755 type->tp_as_number = &et->as_number; in type_new_alloc() 3490 type->tp_as_number = &res->as_number; in PyType_FromModuleAndSpec() 7886 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, DOC) 7888 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 7891 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ 7894 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 7897 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 7900 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \ 7903 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \ 8115 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) { in slotptr() [all …]
|
/third_party/boost/libs/log/src/ |
D | text_file_backend.cpp | 1100 m_Day(static_cast< unsigned char >(mday.as_number())), in rotation_at_time_point() 1144 …nt weekday = m_Day, previous_weekday = static_cast< int >(previous_date.day_of_week().as_number()); in operator ()()
|