Searched refs:tv_sec (Results 1 - 25 of 605) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libevent/compat/sys/
H A D_libevent_time.h45 long tv_sec; /* seconds */ member in struct:timeval
53 time_t tv_sec; /* seconds */ member in struct:timespec
58 (ts)->tv_sec = (tv)->tv_sec; \
62 (tv)->tv_sec = (ts)->tv_sec; \
79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
82 (((tvp)->tv_sec == (uvp)->tv_sec)
[all...]
H A D_time.h45 long tv_sec; /* seconds */ member in struct:timeval
53 time_t tv_sec; /* seconds */ member in struct:timespec
58 (ts)->tv_sec = (tv)->tv_sec; \
62 (tv)->tv_sec = (ts)->tv_sec; \
79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
82 (((tvp)->tv_sec == (uvp)->tv_sec)
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dptw32_timespec.c61 *(int64_t *) ft = ts->tv_sec * 10000000
76 ts->tv_sec =
80 ((int64_t) ts->tv_sec * (int64_t) 10000000)) * 100);
/external/chromium_org/third_party/skia/tools/timer/
H A DSysTimer_posix.cpp13 duration_clock = (end_clock.tv_sec - start_clock.tv_sec - 1) * 1000;
16 duration_clock = (end_clock.tv_sec - start_clock.tv_sec) * 1000;
/external/ltrace/testsuite/ltrace.minor/
H A Dtime-record.c16 request.tv_sec = 0;
/external/skia/tools/timer/
H A DSysTimer_posix.cpp13 duration_clock = (end_clock.tv_sec - start_clock.tv_sec - 1) * 1000;
16 duration_clock = (end_clock.tv_sec - start_clock.tv_sec) * 1000;
/external/lldb/tools/debugserver/source/
H A DDNBTimer.h82 return (uint64_t)(m_timeval.tv_sec) * 1000000ull + (uint64_t)m_timeval.tv_usec;
89 sec = m_timeval.tv_sec;
102 uint64_t now_usec = (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec;
103 uint64_t this_usec = (uint64_t)(m_timeval.tv_sec) * 1000000ull + (uint64_t)m_timeval.tv_usec;
115 uint64_t now_usec = (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec;
134 ts->tv_sec = ts->tv_sec + ts->tv_nsec / 1000000000 + sec_offset;
143 if (now.tv_sec > ts.tv_sec)
145 else if (now.tv_sec < t
[all...]
/external/chromium_org/base/synchronization/
H A Dcondition_variable_posix.cc65 relative_time.tv_sec = usecs / Time::kMicrosecondsPerSecond;
83 absolute_time.tv_sec = now.tv_sec;
88 absolute_time.tv_sec = now.tv_sec;
92 absolute_time.tv_sec += relative_time.tv_sec;
94 absolute_time.tv_sec += absolute_time.tv_nsec / Time::kNanosecondsPerSecond;
96 DCHECK_GE(absolute_time.tv_sec, now.tv_sec); // Overflo
[all...]
/external/chromium_org/third_party/libevent/
H A Devutil.h128 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
131 (vvp)->tv_sec++; \
137 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
140 (vvp)->tv_sec--; \
149 #define evutil_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
153 (((tvp)->tv_sec
[all...]
/external/ltrace/
H A Dsummary.c61 diff.tv_sec = tv.tv_sec - start.tv_sec;
65 diff.tv_sec--;
82 data->tot_usecs += 1000000 * st->tv.tv_sec;
90 if (en2->tv.tv_sec - en1->tv.tv_sec)
91 return en2->tv.tv_sec - en1->tv.tv_sec;
102 c = 1000000 * (int)entry->tv.tv_sec
[all...]
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_futex.cc23 // (I.e., for -0.1 sec, {tv_sec: -1, tv_nsec: 900000000} will be returned).
27 reltime->tv_sec = nacl_abstime.tv_sec - now.tv_sec;
30 reltime->tv_sec -= 1;
50 // Here check only tv_sec since we assume time_t is signed. See also
52 if (timeout.tv_sec < 0)
H A Dabi_conversion.cc19 host_timespec->tv_sec = nacl_timespec.tv_sec;
25 nacl_timespec->tv_sec = host_timespec.tv_sec;
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/
H A Dvpx_timer.h39 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
42 --(result)->tv_sec; \
92 return diff.tv_sec * 1000000 + diff.tv_usec;
/external/libvpx/libvpx/vpx_ports/
H A Dvpx_timer.h36 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
39 --(result)->tv_sec; \
89 return diff.tv_sec * 1000000 + diff.tv_usec;
/external/compiler-rt/test/tsan/
H A Dcond_version.c28 ts1.tv_sec += 2;
37 sleep = (u64)ts2.tv_sec * 1000000000 + ts2.tv_nsec -
38 ((u64)ts0.tv_sec * 1000000000 + ts0.tv_nsec);
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_windows.h111 (tv)->tv_sec = (long)(ts)->tv_sec; \
118 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
121 --(result)->tv_sec; \
/external/kernel-headers/original/uapi/linux/
H A Dtime.h10 __kernel_time_t tv_sec; /* seconds */ member in struct:timespec
16 __kernel_time_t tv_sec; /* seconds */ member in struct:timeval
/external/lldb/test/expression_command/timeout/
H A Dwait-a-while.c14 uint64_t target = start_time.tv_sec * 1000000 + start_time.tv_usec + interval;
24 interval = target - now.tv_sec * 1000000 + now.tv_usec;
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dopj_clock.c59 procTime = (OPJ_FLOAT64)(t.ru_utime.tv_sec + t.ru_stime.tv_sec);
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
H A DSDL_systimer.c77 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_nsec-start.tv_nsec)/1000000;
83 ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
92 tv.tv_sec = ms/1000;
107 elapsed.tv_sec = ms/1000;
116 tv.tv_sec = elapsed.tv_sec;
128 tv.tv_sec = ms/1000;
173 timer.it_value.tv_sec
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dsleep.cc30 short_wait.tv_sec = msecs / 1000;
/external/lldb/source/Utility/
H A DTimeSpecTimeout.h23 m_timespec.tv_sec = 0;
/external/webrtc/src/system_wrappers/source/
H A Dsleep.cc30 short_wait.tv_sec = msecs / 1000;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
H A Dtestlib.c128 y->tv_sec += nsec;
134 y->tv_sec -= nsec;
141 result->tv_sec = x->tv_sec - y->tv_sec;
145 return x->tv_sec < y->tv_sec;
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
H A Dtestlib.c128 y->tv_sec += nsec;
134 y->tv_sec -= nsec;
141 result->tv_sec = x->tv_sec - y->tv_sec;
145 return x->tv_sec < y->tv_sec;

Completed in 6436 milliseconds

1234567891011>>