/bionic/libc/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-3/arch-arm/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-4/arch-arm/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-5/arch-arm/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-8/arch-arm/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/ndk/build/platforms/android-8/arch-x86/usr/include/sys/ |
time.h | 46 ((a)->tv_sec = (a)->tv_usec = 0) 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 52 ((a)->tv_sec == (b)->tv_sec \ 54 : (a)->tv_sec op (b)->tv_sec) 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 62 (res)->tv_sec += 1; [all...] |
/system/extras/tests/timetest/ |
timetest.c | 22 return (((long long) t.tv_sec) * 1000000000LL) + 29 r.tv_sec = a.tv_sec - b.tv_sec; 32 r.tv_sec--; 35 if(r.tv_sec < 0 && r.tv_nsec > 0) { 36 r.tv_sec++; 44 if(a.tv_sec < b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_nsec < b.tv_nsec) [all...] |
/bionic/libc/bionic/ |
pthread_internal.h | 55 a->tv_sec += b->tv_sec; 59 a->tv_sec += 1; 65 a->tv_sec -= b->tv_sec; 69 a->tv_sec -= 1; 75 a->tv_sec = a->tv_nsec = 0; 80 return (a->tv_sec == 0 && a->tv_nsec == 0); 85 if (a->tv_sec < b->tv_sec) return -1 [all...] |
utime.c | 48 tv[0].tv_sec = times->actime; 49 tv[1].tv_sec = times->modtime;
|
/external/dropbear/ |
scpmisc.h | 54 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 57 --(result)->tv_sec; \ 65 (ts)->tv_sec = (tv)->tv_sec; \
|
/bionic/libc/unistd/ |
alarm.c | 50 itp->it_interval.tv_sec = 0; 51 itp->it_value.tv_sec = secs; 56 oitv.it_value.tv_sec++; 57 return (oitv.it_value.tv_sec);
|
sleep.c | 35 /* seconds is unsigned, while t.tv_sec is signed 42 t.tv_sec = seconds; 49 return t.tv_sec;
|
usleep.c | 35 ts.tv_sec = usec/1000000UL; 39 ts.tv_nsec = (usec - ts.tv_sec*1000000UL)*1000;
|
time.c | 41 *t = (time_t)tt.tv_sec; 42 return (tt.tv_sec); 55 now = tm.tv_sec * CLOCKS_PER_SEC + (tm.tv_nsec * (CLOCKS_PER_SEC/1e9));
|
pselect.c | 45 tv.tv_sec = timeout->tv_sec; 48 tv.tv_sec += 1;
|
/external/bluetooth/bluez/common/ |
ppoll.h | 12 else if (timeout->tv_sec == 0) 15 return poll(fds, nfds, timeout->tv_sec * 1000);
|
/external/kernel-headers/original/linux/ |
time.h | 13 time_t tv_sec; /* seconds */ member in struct:timespec 19 time_t tv_sec; /* seconds */ member in struct:timeval 41 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); 51 if (lhs->tv_sec < rhs->tv_sec) 53 if (lhs->tv_sec > rhs->tv_sec) 60 if (lhs->tv_sec < rhs->tv_sec) [all...] |
/frameworks/base/libs/utils/ |
Timers.cpp | 44 t.tv_sec = t.tv_nsec = 0; 46 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec; 50 t.tv_sec = t.tv_usec = 0; 52 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL; 87 long long stop = ((long long) ptv1->tv_sec) * 1000000LL + 89 long long start = ((long long) ptv2->tv_sec) * 1000000LL + 104 ptv->tv_sec += ptv->tv_usec / 1000000; 111 ptv->tv_sec++; 113 ptv->tv_sec += usec / 1000000;
|
SystemClock.cpp | 64 tv.tv_sec = (time_t) (millis / 1000LL); 67 LOGD("Setting time of day to sec=%d\n", (int) tv.tv_sec); 75 ts.tv_sec = tv.tv_sec; 79 LOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); 86 (int) tv.tv_sec, (int) tv.tv_usec, strerror(errno)); 124 int64_t when = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
|
/system/extras/tests/icachetest/ |
icache_main.c | 22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); 29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
|
/external/skia/src/ports/ |
SkOSEvent_android.cpp | 71 gTimeSpec.tv_sec = 0; 74 if (spec.tv_sec == 0 && spec.tv_nsec == 0) 110 tv.tv_sec += tv.tv_usec / kMillion; 116 gTimeSpec.tv_sec = (tv.tv_sec + (delay / kThousand) * kThousand) * kThousand; 122 gTimeSpec.tv_sec += 1; 126 // printf("SignalQueueTimer(%d) timespec(%d %d)\n", delay, gTimeSpec.tv_sec, gTimeSpec.tv_nsec); 131 gTimeSpec.tv_sec = 0;
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_common.h | 73 ((target).tv_sec = (source).tv_sec), ((target).tv_usec = (source).tv_usec) 75 #define TIME_SECONDS(time) (time).tv_sec 77 ((time).tv_sec += ((microsecs) / 1000000) + \ 81 ((time).tv_sec = (sec)), ((time).tv_usec = (microsec))
|
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_time.inl | 113 return ((ts.tv_usec == 0) && (ts.tv_sec == 0)); 118 return ts.tv_sec; 124 return ((ts.tv_usec / 1000) + (ts.tv_sec * 1000)); 145 this->ts.tv_sec = a.ts.tv_sec; 154 this->ts.tv_sec += a.ts.tv_sec; 159 ++this->ts.tv_sec; 170 this->ts.tv_sec -= a.ts.tv_sec; [all...] |
/hardware/ti/omap3/dspbridge/libbridge/ |
perfutils.c | 58 tv_end->tv_sec -= 1; 61 totalTimeuSec = (tv_end->tv_sec - tv_beg->tv_sec) * 1000000 +
|