Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddatetimemodule.c1478 static PyObject *us_per_ms = NULL; /* 1000 */ variable
1977 y = accum("milliseconds", x, ms, us_per_ms, &leftover_us); in delta_new()
4905 us_per_ms = PyInt_FromLong(1000); in initdatetime()
4909 if (us_per_us == NULL || us_per_ms == NULL || us_per_second == NULL || in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c1718 static PyObject *us_per_ms = NULL; /* 1000 */ variable
2447 y = accum("milliseconds", x, ms, us_per_ms, &leftover_us); in delta_new()
6459 us_per_ms = PyLong_FromLong(1000); in PyInit__datetime()
6463 if (us_per_ms == NULL || us_per_second == NULL || in PyInit__datetime()