Home
last modified time | relevance | path

Searched refs:seconds_per_day (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c1484 static PyObject *seconds_per_day = NULL; /* 3600*24 as Python int */ variable
1511 x2 = PyNumber_Multiply(x1, seconds_per_day); /* days in seconds */ in delta_to_microseconds()
1589 tuple = PyNumber_Divmod(num, seconds_per_day); in microseconds_to_delta_ex()
4908 seconds_per_day = PyInt_FromLong(24 * 3600); in initdatetime()
4910 us_per_minute == NULL || seconds_per_day == NULL) in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c1724 static PyObject *seconds_per_day = NULL; /* 3600*24 as Python int */ variable
1751 x2 = PyNumber_Multiply(x1, seconds_per_day); /* days in seconds */ in delta_to_microseconds()
1844 tuple = checked_divmod(num, seconds_per_day); in microseconds_to_delta_ex()
6462 seconds_per_day = PyLong_FromLong(24 * 3600); in PyInit__datetime()
6464 us_per_minute == NULL || seconds_per_day == NULL) in PyInit__datetime()