/external/chromium/third_party/libevent/sample/ |
time-test.c | 44 tv.tv_sec = 2; 61 tv.tv_sec = 2;
|
/external/chromium/third_party/libevent/test/ |
test-time.c | 56 tv.tv_sec = 0; 80 tv.tv_sec = 0;
|
/external/iproute2/misc/ |
lnstat_util.c | 70 if (now->tv_sec > last->tv_sec + tout->tv_sec) 73 if (now->tv_sec == last->tv_sec + tout->tv_sec) { 107 / lf->interval.tv_sec; 191 lf->interval.tv_sec = 1;
|
/external/kernel-headers/original/linux/ |
compat.h | 210 if (lhs->tv_sec < rhs->tv_sec) 212 if (lhs->tv_sec > rhs->tv_sec) 220 if (lhs->tv_sec < rhs->tv_sec) 222 if (lhs->tv_sec > rhs->tv_sec)
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_uart.c | 272 delta.tv_sec = timeout.tv_sec - now.tv_sec; 277 delta.tv_sec--; 279 if (delta.tv_sec < 0) { 280 delta.tv_sec = 0; 318 timeout.tv_sec++; 324 timeout.tv_sec += 10;
|
/external/valgrind/main/none/tests/ |
sem.c | 43 ts.tv_sec = 0; 70 ts.tv_sec = 0;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
gettimeofday.c | 130 tv->tv_sec = timebuf.time; 139 tv->tv_sec = time (NULL);
|
/system/core/toolbox/ |
uptime.c | 70 return ts.tv_sec; 97 up_time = up_timespec.tv_sec + up_timespec.tv_nsec / 1e9;
|
alarm.c | 50 //timeout.tv_sec = strtol(optarg, NULL, 0); 102 time(&tv.tv_sec); 105 time(&ts.tv_sec); 109 //tv.tv_sec = mktime(&tm); 119 ts.tv_sec += strtol(argv[optind], NULL, 0); 121 gmtime_r(&ts.tv_sec, &tm); 122 printf("time %s -> %ld.%09ld\n", argv[optind], ts.tv_sec, ts.tv_nsec);
|
/system/extras/tests/bionic/libc/common/ |
test_pthread_getcpuclockid.c | 55 ts.tv_sec = 0; 60 fprintf(stderr, "thread %08lx: clock_gettime() returned %g nsecs\n", self, ts.tv_sec*1e9 + ts.tv_nsec);
|
/system/extras/tests/bionic/libc/other/ |
test_timer_create.c | 66 ts.it_value.tv_sec = 3; 68 ts.it_interval.tv_sec = seconds;
|
test_timer_create2.c | 65 ts.it_value.tv_sec = 3; 67 ts.it_interval.tv_sec = seconds;
|
/system/extras/tests/pftest/ |
pftest.c | 40 t.tv_sec = t.tv_nsec = 0; 42 return t.tv_sec*1000000000ULL + t.tv_nsec;
|
/system/media/mca/filterfw/native/core/ |
time_util.cpp | 35 basesec = tv.tv_sec; 37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
|
/system/media/mca/filterpacks/base/native/ |
time_util.cpp | 33 basesec = tv.tv_sec; 35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
|
/external/dhcpcd/ |
common.c | 160 tp->tv_sec = ts.tv_sec; 184 tp->tv_sec = nano / NSEC_PER_SEC; 187 tp->tv_sec--; 210 return tv.tv_sec;
|
/external/bluetooth/glib/glib/ |
gtimer.c | 168 request.tv_sec = microseconds / G_USEC_PER_SEC; 176 request.tv_sec = microseconds / G_USEC_PER_SEC; 209 tv.tv_sec = microseconds / G_USEC_PER_SEC; 234 time_->tv_sec += microseconds / G_USEC_PER_SEC; 238 time_->tv_sec++; 245 time_->tv_sec -= microseconds / G_USEC_PER_SEC; 249 time_->tv_sec--; 367 time_->tv_sec = mktime_utc (&tm); 392 time_->tv_sec += (time_t) (60 * val * sign); 426 secs = time_->tv_sec; [all...] |
/external/bluetooth/glib/tests/ |
testglib.c | [all...] |
/external/ipsec-tools/src/racoon/ |
schedule.c | 71 tv->tv_sec = ts.tv_sec; 91 return time(NULL) + res.tv_sec; 93 return tv->tv_sec; 147 sc->tick.tv_sec = tick; 212 dst->xtime = p->xtime.tv_sec; 215 dst->tick = p->tick.tv_sec;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
event.cc | 164 ts.tv_sec = tv.tv_sec + (cms / 1000); 169 ts.tv_sec++;
|
/external/e2fsprogs/lib/uuid/ |
gen_uuid.c | 126 tv->tv_sec = n / 1000000; 154 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); 156 jrand_seed[0] = getpid() ^ (tv.tv_sec & 0xFFFF); 158 jrand_seed[2] = (tv.tv_sec ^ tv.tv_usec) >> 16; 163 for (i = (tv.tv_sec ^ tv.tv_usec) & 0x1F; i > 0; i--) 354 last.tv_sec = tv1; 360 if ((last.tv_sec == 0) && (last.tv_usec == 0)) { 364 last.tv_sec--; 369 if ((tv.tv_sec < last.tv_sec) || [all...] |
/bionic/libc/include/ |
utmp.h | 79 #define ut_time ut_tv.tv_sec
|
/development/ndk/platforms/android-3/include/ |
utmp.h | 79 #define ut_time ut_tv.tv_sec
|
/device/moto/wingray/libaudio/ |
AudioPostProcessor.cpp | 733 tv1.tv_sec = mtv1.tv_sec; 735 tv2.tv_sec = mtv8.tv_sec; 738 tv2.tv_sec -= tv1.tv_sec; 740 tv2.tv_sec--; 745 usecs = tv2.tv_usec + tv2.tv_sec*1000000; 752 LOGD("Point 1 ( start): %03d.%06d:", (int)mtv1.tv_sec, (int)mtv1.tv_usec); 753 LOGD("Point 2 (after read1): %03d.%06d:", (int)mtv2.tv_sec, (int)mtv2.tv_usec) [all...] |
/external/e2fsprogs/include/nonunix/ |
unistd.h | 43 #define gettimeofday(p, v) ((p)->tv_sec = (p)->tv_usec = 0)
|