/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;
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
d1_lib.c | 305 if (s->d1->next_timeout.tv_sec == 0 && s->d1->next_timeout.tv_usec == 0) 314 s->d1->next_timeout.tv_sec += s->d1->timeout_duration; 323 if (s->d1->next_timeout.tv_sec == 0 && s->d1->next_timeout.tv_usec == 0) 332 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || 333 (s->d1->next_timeout.tv_sec == timenow.tv_sec && 342 timeleft->tv_sec -= timenow.tv_sec; 346 timeleft->tv_sec-- [all...] |
/external/openssl/ssl/ |
d1_lib.c | 305 if (s->d1->next_timeout.tv_sec == 0 && s->d1->next_timeout.tv_usec == 0) 314 s->d1->next_timeout.tv_sec += s->d1->timeout_duration; 323 if (s->d1->next_timeout.tv_sec == 0 && s->d1->next_timeout.tv_usec == 0) 332 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || 333 (s->d1->next_timeout.tv_sec == timenow.tv_sec && 342 timeleft->tv_sec -= timenow.tv_sec; 346 timeleft->tv_sec-- [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 67 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + 101 long tv_sec, tv_usec; // NOLINT member in struct:talk_base::timeval 117 tv->tv_sec = static_cast<long>(micros / kNumMicrosecsPerSec); // NOLINT 139 timeval.tv_sec = timeval.tv_usec = 0; 141 time_t secs = timeval.tv_sec;
|
/external/llvm/lib/Support/ |
LockFileManager.cpp | 179 Interval.tv_sec = 0; 224 Interval.tv_sec = 0; 242 Interval.tv_sec *= 2; 245 ++Interval.tv_sec; 253 Interval.tv_sec < (time_t)MaxSeconds
|
/system/core/toolbox/ |
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/ext4/ |
rand_emmc_perf.c | 78 fprintf(full_stats, "%lld\n", (t.tv_sec * 1000000LL) + t.tv_usec); 87 max_usecs = (max.tv_sec * 1000000LL) + max.tv_usec; 88 total_usecs = (sum.tv_sec * 1000000LL) + sum.tv_usec; 101 x = (t.tv_sec * 1000000LL) + t.tv_usec; /* Convert to long long */ 153 res.tv_sec = 0; 155 while (res.tv_sec < TEST_LEN) { 179 msecs = (res.tv_sec * 1000) + (res.tv_usec / 1000);
|
/external/chromium_org/base/time/ |
time_posix.cc | 81 (static_cast<int64>(ts.tv_sec) * base::Time::kMicrosecondsPerSecond) + 148 return Time((tv.tv_sec * kMicrosecondsPerSecond + tv.tv_usec) + 331 (static_cast<int64>(ts.tv_sec) * Time::kMicrosecondsPerSecond) + 352 if (t.tv_usec == 0 && t.tv_sec == 0) 355 t.tv_sec == std::numeric_limits<time_t>::max()) 358 (static_cast<int64>(t.tv_sec) * Time::kMicrosecondsPerSecond) + 366 result.tv_sec = 0; 371 result.tv_sec = std::numeric_limits<time_t>::max(); 376 result.tv_sec = us / Time::kMicrosecondsPerSecond;
|
/external/strace/ |
resource.c | 272 unsigned tv_sec; member in struct:timeval32 302 (long) ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec, 303 (long) ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec); 319 (long) ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec, 320 (long) ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec); 338 (long) ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec, 339 (long) ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec); 355 (long) ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec, 356 (long) ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
event.cc | 164 ts.tv_sec = tv.tv_sec + (cms / 1000); 169 ts.tv_sec++;
|
/hardware/invensense/60xx/libsensors_iio/ |
MPLSupport.cpp | 33 t.tv_sec = t.tv_nsec = 0; 35 return int64_t(t.tv_sec) * 1000000000LL + t.tv_nsec; 39 return t.tv_sec * 1000000000LL + t.tv_usec * 1000;
|
/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...] |
/system/media/audio_utils/ |
echo_reference.c | 120 er->wr_render_time.tv_sec = 0; 152 (int)buffer->time_stamp.tv_sec, 158 if ((buffer->time_stamp.tv_sec == 0) && (buffer->time_stamp.tv_nsec == 0) && 159 (er->wr_render_time.tv_sec == 0) && (er->wr_render_time.tv_nsec == 0)) { 175 er->wr_render_time.tv_sec = buffer->time_stamp.tv_sec; 277 (int)er->wr_render_time.tv_sec, (int)er->wr_render_time.tv_nsec, er->playback_delay); 333 ts.tv_sec = timeoutMs/1000; 346 if ((er->wr_render_time.tv_sec == 0 && er->wr_render_time.tv_nsec == 0) || 347 (buffer->time_stamp.tv_sec == 0 && buffer->time_stamp.tv_nsec == 0)) [all...] |
/bionic/libc/include/ |
utmp.h | 79 #define ut_time ut_tv.tv_sec
|
/cts/suite/audio_quality/lib/src/ |
Semaphore.cpp | 65 timeNew.tv_sec += secToGo; 68 // timeOld.tv_sec, timeOld.tv_nsec, timeNew.tv_sec, timeNew.tv_nsec, timeInMSec);
|
/development/ndk/platforms/android-3/include/ |
utmp.h | 79 #define ut_time ut_tv.tv_sec
|
/external/bluetooth/bluedroid/hci/src/ |
lpm.c | 154 ts.it_value.tv_sec = bt_lpm_cb.timeout_ms/1000; 156 ts.it_interval.tv_sec = 0; 181 ts.it_value.tv_sec = 0; 183 ts.it_interval.tv_sec = 0;
|
/external/ceres-solver/internal/ceres/ |
wall_time.cc | 57 return (time_val.tv_sec + time_val.tv_usec * 1e-6);
|
/external/chromium_org/base/process/ |
process_metrics_posix.cc | 16 int64 ret = tv.tv_sec; // Avoid (int * int) integer overflow.
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
conio_posix.cc | 32 tv.tv_sec = 0;
|
/external/chromium_org/third_party/skia/src/ports/ |
SkTime_Unix.cpp | 38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 43 #define gettimeofday(p, v) ((p)->tv_sec = (p)->tv_usec = 0)
|