/external/openssh/openbsd-compat/ |
bsd-misc.h | 58 struct timeval { struct 64 int utimes(char *, struct timeval *);
|
/external/toybox/toys/other/ |
hwclock.c | 62 struct timeval timeval; local 104 if (gettimeofday(&timeval, 0)) perror_exit("gettimeofday failed"); 105 if (!(TT.utc ? gmtime_r : localtime_r)(&timeval.tv_sec, &tm)) 117 timeval.tv_sec = time; 118 timeval.tv_usec = 0; // todo: fixit 124 if (!TT.utc) timeval.tv_sec += tzone.tz_minuteswest * 60; 134 if (settimeofday(&timeval, &tzone)) perror_exit("settimeofday failed");
|
/bionic/libc/kernel/uapi/linux/ |
time.h | 29 struct timeval { struct 45 struct timeval it_interval; 46 struct timeval it_value;
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
shadertoy_renderer.cpp | 35 timespec timeval;
local 36 clock_gettime(CLOCK_REALTIME, &timeval);
37 double time = 1000.0 * timeval.tv_sec + (double) timeval.tv_nsec / 1e6;
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
time.h | 54 struct timeval {
struct 60 * Structure defined by POSIX.1b to be like a timeval.
145 struct timeval it_interval; /* timer interval */
146 struct timeval it_value; /* current value */
193 int gettimeofday (struct timeval *tp, void *ignore);
|
/external/grpc-grpc/src/php/ext/grpc/ |
timeval.c | 19 #include "timeval.h" 45 wrapped_grpc_timeval *timeval = local 47 memcpy(&timeval->wrapped, &wrapped, sizeof(gpr_timespec)); 52 * Constructs a new instance of the Timeval class 55 PHP_METHOD(Timeval, __construct) { 56 wrapped_grpc_timeval *timeval = local 64 "Timeval expects a long", 1 TSRMLS_CC); 68 memcpy(&timeval->wrapped, &time, sizeof(gpr_timespec)); 72 * Adds another Timeval to this one and returns the sum. Calculations saturate 74 * @param Timeval $other_obj The other Timeval object to ad [all...] |
/external/kernel-headers/original/uapi/linux/ |
time.h | 16 struct timeval { struct 41 struct timeval it_interval; /* timer interval */ 42 struct timeval it_value; /* current value */ 60 * legacy timeval structure, only embedded in structures that 61 * traditionally used 'timeval' to pass time intervals (not absolute
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
EmuThunk.c | 38 struct timeval settimer_timeval; 156 struct timeval timeval; local 159 gettimeofday (&timeval, NULL); 160 delta = ((UINT64)timeval.tv_sec * 1000) + (timeval.tv_usec / 1000) 163 settimer_timeval = timeval; 296 struct timeval start, end;
|
/external/ppp/pppd/plugins/radius/ |
avpair.c | 532 time_t timeval; local 634 timeval = time (0); 635 tm = localtime (&timeval);
|
/external/u-boot/drivers/i2c/ |
fsl_i2c.c | 215 unsigned long long timeval = 0; local 229 timeval = get_ticks(); 231 if ((get_ticks() - timeval) > timeout) 245 timeval = get_ticks(); 247 if ((get_ticks() - timeval) > timeout) 264 unsigned long long timeval; local 280 timeval = get_ticks(); 282 if ((get_ticks() - timeval) < timeout) 295 unsigned long long timeval = get_ticks(); local 299 if ((get_ticks() - timeval) > timeout 309 unsigned long long timeval = get_ticks(); local [all...] |
/external/webrtc/webrtc/base/ |
timeutils.cc | 92 struct timeval { struct in namespace:rtc 98 static int gettimeofday(struct timeval *tv, void *tz) { 128 struct timeval timeval; local 129 if (gettimeofday(&timeval, NULL) < 0) { 131 timeval.tv_sec = timeval.tv_usec = 0; 133 time_t secs = timeval.tv_sec; 135 *microseconds = timeval.tv_usec;
|
/external/adhd/cras/src/tests/ |
dbus_test.cc | 728 struct timeval timeval; local 744 timeval.tv_sec = interval / 1000; 745 timeval.tv_usec = (interval % 1000) * 1000; 747 r = select(nfds, &readfds, &writefds, NULL, &timeval);
|
/external/curl/lib/ |
curl_setup_once.h | 105 * Definition of timeval struct for platforms that don't have it. 109 struct timeval { struct
|
/external/u-boot/drivers/crypto/fsl/ |
jr.c | 351 unsigned long long timeval = get_ticks(); local 365 timeval = get_ticks(); 375 if ((get_ticks() - timeval) > timeout) {
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
OpenSslSupport.h | 141 struct timeval {
struct
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
Platform.java | 151 Object timeval = m_fromMillis.invoke(null, timeoutMillis); local 198 f_SO_SNDTIMEO.get(null), timeval); [all...] |
/external/scapy/scapy/modules/ |
winpcapy.py | 70 class timeval(Structure): class in inherits:Structure 72 timeval._fields_ = [('tv_sec', c_long), 146 _fields_ = [('ts', timeval),
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 2244 class timeval(Structure): class in inherits:Structure [all...] |
/external/python/cpython2/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 2244 class timeval(Structure): class in inherits:Structure [all...] |
/external/python/cpython3/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 2244 class timeval(Structure): class in inherits:Structure [all...] |