Searched refs:_PyTime_t (Results 1 - 13 of 13) sorted by relevance
/external/python/cpython3/Include/ |
H A D | pytime.h | 16 /* _PyTime_t: Python timestamp with subsecond precision. It can be used to 19 typedef int64_t _PyTime_t; typedef 69 PyAPI_FUNC(_PyTime_t) _PyTime_FromSeconds(int seconds); 74 ((_PyTime_t)(seconds) * (1000 * 1000 * 1000)) 77 PyAPI_FUNC(_PyTime_t) _PyTime_FromNanoseconds(long long ns); 81 PyAPI_FUNC(int) _PyTime_FromSecondsObject(_PyTime_t *t, 87 PyAPI_FUNC(int) _PyTime_FromMillisecondsObject(_PyTime_t *t, 92 PyAPI_FUNC(double) _PyTime_AsSecondsDouble(_PyTime_t t); 95 PyAPI_FUNC(_PyTime_t) _PyTime_AsMilliseconds(_PyTime_t [all...] |
/external/python/cpython3/Python/ |
H A D | pytime.c | 12 (_PyTime_t)(a) < _PyTime_MIN / (_PyTime_t)(b) \ 13 || _PyTime_MAX / (_PyTime_t)(b) < (_PyTime_t)(a)) 201 "timestamp too large to convert to C _PyTime_t"); 204 _PyTime_t 207 _PyTime_t t; 208 t = (_PyTime_t)seconds; 210 bits, whereas _PyTime_t type has at least 64 bits (SEC_TO_MS takes 30 220 _PyTime_t [all...] |
/external/python/cpython3/Modules/ |
H A D | socketmodule.h | 177 _PyTime_t sock_timeout; /* Operation timeout in seconds;
|
H A D | _threadmodule.c | 52 acquire_timed(PyThread_type_lock lock, _PyTime_t timeout) 55 _PyTime_t endtime = 0; 56 _PyTime_t microseconds; 99 _PyTime_t *timeout) 104 const _PyTime_t unset_timeout = _PyTime_FromSeconds(-1); 130 _PyTime_t microseconds; 145 _PyTime_t timeout; 296 _PyTime_t timeout;
|
H A D | timemodule.c | 34 static int pysleep(_PyTime_t); 171 _PyTime_t t; 227 _PyTime_t secs; 897 _PyTime_t t; 1401 _PyTime_t t; 1417 pysleep(_PyTime_t secs) 1419 _PyTime_t deadline, monotonic; 1424 _PyTime_t millisecs;
|
H A D | selectmodule.c | 205 _PyTime_t timeout, deadline = 0; 531 _PyTime_t timeout, ms, deadline; 886 _PyTime_t timeout, ms, deadline = 0; 1498 _PyTime_t timeout, ms, deadline; 2112 _PyTime_t timeout, deadline = 0;
|
H A D | socketmodule.c | 684 internal_select(PySocketSockObject *s, int writing, _PyTime_t interval, 690 _PyTime_t ms; 791 _PyTime_t timeout) 794 _PyTime_t deadline = 0; 810 _PyTime_t interval; 926 static _PyTime_t defaulttimeout = _PYTIME_FROMSECONDS(-1); 2468 socket_parse_timeout(_PyTime_t *timeout, PyObject *timeout_obj) 2474 _PyTime_t ms; 2517 _PyTime_t timeout; 3756 _PyTime_t interva [all...] |
H A D | _randommodule.c | 218 _PyTime_t now;
|
H A D | gcmodule.c | 913 _PyTime_t t1 = 0; /* initialize to prevent a compiler warning */ 1032 _PyTime_t t2 = _PyTime_GetMonotonicClock();
|
H A D | _ssl.c | 337 static int PySSL_select(PySocketSockObject *s, int writing, _PyTime_t timeout); 687 _PyTime_t timeout, deadline = 0; 1872 PySSL_select(PySocketSockObject *s, int writing, _PyTime_t timeout) 1877 _PyTime_t ms; 1955 _PyTime_t timeout, deadline = 0; 2088 _PyTime_t timeout, deadline = 0; 2214 _PyTime_t timeout, deadline = 0;
|
H A D | _testcapimodule.c | 3760 _PyTime_t ts; 3773 _PyTime_t ts; 3788 _PyTime_t ts; 3803 _PyTime_t t; 3826 _PyTime_t t; 3843 _PyTime_t t, ms; 3851 /* This conversion rely on the fact that _PyTime_t is a number of 3861 _PyTime_t t, ms; 3869 /* This conversion rely on the fact that _PyTime_t is a number of
|
H A D | signalmodule.c | 1032 _PyTime_t timeout, deadline, monotonic;
|
H A D | _datetimemodule.c | 4329 _PyTime_t ts = _PyTime_GetSystemClock();
|
Completed in 344 milliseconds