Searched refs:us_per_second (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 1479 static PyObject *us_per_second = NULL; /* 1000000 */ variable 1529 x1 = PyNumber_Multiply(x3, us_per_second); /* us */ in delta_to_microseconds() 1564 tuple = PyNumber_Divmod(pyus, us_per_second); in microseconds_to_delta_ex() 1981 y = accum("seconds", x, second, us_per_second, &leftover_us); in delta_new() 4906 us_per_second = PyInt_FromLong(1000000); in initdatetime() 4909 if (us_per_us == NULL || us_per_ms == NULL || us_per_second == NULL || in initdatetime()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 1728 static PyObject *us_per_second = NULL; /* 1000000 */ variable 1778 x1 = PyNumber_Multiply(x3, us_per_second); /* us */ in delta_to_microseconds() 1834 tuple = checked_divmod(pyus, us_per_second); in microseconds_to_delta_ex() 2460 y = accum("seconds", x, second, us_per_second, &leftover_us); in delta_new() 2631 total_seconds = PyNumber_TrueDivide(total_microseconds, us_per_second); in delta_total_seconds() 6673 us_per_second = PyLong_FromLong(1000000); in _datetime_exec() 6676 if (us_per_ms == NULL || us_per_second == NULL || in _datetime_exec()
|
/external/python/cpython3/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 2722 Modules/_datetimemodule.c - us_per_second -
|