Searched refs:PyDateTime_Delta (Results 1 – 7 of 7) sorted by relevance
111 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days)112 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)113 #define GET_TD_MICROSECONDS(o) (((PyDateTime_Delta *)(o))->microseconds)1022 PyDateTime_Delta *self; in new_delta_ex()1032 self = (PyDateTime_Delta *) (type->tp_alloc(type, 0)); in new_delta_ex()1083 static int delta_bool(PyDateTime_Delta *self);1092 if (name == NULL && delta_bool((PyDateTime_Delta *)offset) == 0) { in new_timezone()1352 static PyObject *delta_negative(PyDateTime_Delta *self);1385 Py_SETREF(offset, delta_negative((PyDateTime_Delta *)offset)); in format_utcoffset()1750 delta_to_microseconds(PyDateTime_Delta *self) in delta_to_microseconds()[all …]
41 } PyDateTime_Delta; typedef151 #define PyDateTime_DELTA_GET_DAYS(o) (((PyDateTime_Delta*)o)->days)152 #define PyDateTime_DELTA_GET_SECONDS(o) (((PyDateTime_Delta*)o)->seconds)154 (((PyDateTime_Delta*)o)->microseconds)
82 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days)83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)84 #define GET_TD_MICROSECONDS(o) (((PyDateTime_Delta *)(o))->microseconds)734 PyDateTime_Delta *self; in new_delta_ex()744 self = (PyDateTime_Delta *) (type->tp_alloc(type, 0)); in new_delta_ex()1501 delta_to_microseconds(PyDateTime_Delta *self) in delta_to_microseconds()1635 multiply_int_timedelta(PyObject *intobj, PyDateTime_Delta *delta) in multiply_int_timedelta()1656 divide_timedelta_int(PyDateTime_Delta *delta, PyObject *intobj) in divide_timedelta_int()1699 delta_negative(PyDateTime_Delta *self) in delta_negative()1708 delta_positive(PyDateTime_Delta *self) in delta_positive()[all …]
21 #define PyDateTime_DELTA_GET_DAYS(o) (((PyDateTime_Delta*)o)->days)24 #define PyDateTime_DELTA_GET_SECONDS(o) (((PyDateTime_Delta*)o)->seconds)27 #define PyDateTime_DELTA_GET_MICROSECONDS(o) (((PyDateTime_Delta*)o)->microseconds)
230 instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument must233 .. c:function:: int PyDateTime_DELTA_GET_DAYS(PyDateTime_Delta *o)240 .. c:function:: int PyDateTime_DELTA_GET_SECONDS(PyDateTime_Delta *o)247 .. c:function:: int PyDateTime_DELTA_GET_MICROSECONDS(PyDateTime_Delta *o)
41 } PyDateTime_Delta; typedef
10543 - Issue #13727: Add 3 macros to access PyDateTime_Delta members: