Lines Matching refs:PyDateTime_Delta
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()
1720 delta_abs(PyDateTime_Delta *self) in delta_abs()
1762 delta_richcompare(PyDateTime_Delta *self, PyObject *other, int op) in delta_richcompare()
1784 static PyObject *delta_getstate(PyDateTime_Delta *self);
1787 delta_hash(PyDateTime_Delta *self) in delta_hash()
1808 (PyDateTime_Delta *) left); in delta_multiply()
1812 (PyDateTime_Delta *) right); in delta_multiply()
1828 (PyDateTime_Delta *)left, in delta_divide()
2021 delta_nonzero(PyDateTime_Delta *self) in delta_nonzero()
2029 delta_repr(PyDateTime_Delta *self) in delta_repr()
2049 delta_str(PyDateTime_Delta *self) in delta_str()
2098 delta_getstate(PyDateTime_Delta *self) in delta_getstate()
2112 total_microseconds = delta_to_microseconds((PyDateTime_Delta *)self); in delta_total_seconds()
2130 delta_reduce(PyDateTime_Delta* self) in delta_reduce()
2135 #define OFFSET(field) offsetof(PyDateTime_Delta, field)
2207 sizeof(PyDateTime_Delta), /* tp_basicsize */
2413 add_date_timedelta(PyDateTime_Date *date, PyDateTime_Delta *delta, int negate) in add_date_timedelta()
2439 (PyDateTime_Delta *) right, in date_add()
2449 (PyDateTime_Delta *) left, in date_add()
2477 (PyDateTime_Delta *) right, in date_subtract()
4073 add_datetime_timedelta(PyDateTime_DateTime *date, PyDateTime_Delta *delta, in add_datetime_timedelta()
4107 (PyDateTime_Delta *)right, in datetime_add()
4113 (PyDateTime_Delta *) left, in datetime_add()
4172 (PyDateTime_Delta *)right, in datetime_subtract()
4321 PyDateTime_Delta *delta; in datetime_richcompare()
4324 delta = (PyDateTime_Delta *)datetime_subtract((PyObject *)self, in datetime_richcompare()