HomeSort by relevance Sort by last modified time
    Searched full:tv_sec (Results 151 - 175 of 1263) sorted by null

1 2 3 4 5 67 8 91011>>

  /system/core/toolbox/
date.c 38 ts.tv_sec = t;
114 //tv.tv_sec = mktime(&tm);
117 printf("time %s -> %d.%d\n", argv[optind], tv.tv_sec, tv.tv_usec);
119 ts.tv_sec = tv.tv_sec;
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);
  /external/chromium_org/v8/src/platform/
time.cc 125 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond +
133 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond;
148 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond +
155 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond;
290 if (ts.tv_nsec == 0 && ts.tv_sec == 0) {
294 ts.tv_sec == std::numeric_limits<time_t>::max()) {
297 return Time(ts.tv_sec * kMicrosecondsPerSecond +
305 ts.tv_sec = 0;
310 ts.tv_sec = std::numeric_limits<time_t>::max();
314 ts.tv_sec = us_ / kMicrosecondsPerSecond
    [all...]
  /external/webrtc/src/system_wrappers/source/
event_posix.cc 153 tEnd.tv_sec += timeout / 1000;
158 tEnd.tv_sec++;
219 _tCreate.tv_sec = 0;
247 if (_tCreate.tv_sec == 0)
268 tEnd.tv_sec = _tCreate.tv_sec + time/1000;
273 tEnd.tv_sec++;
sleep.cc 30 short_wait.tv_sec = msecs / 1000;
  /external/tremolo/Tremolo/
misc.c 115 if(start_time==-1)start_time=(tv.tv_sec*1000)+(tv.tv_usec/1000);
121 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
124 -start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
129 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
131 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
156 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
158 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
169 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
171 fprintf(out,"%ld, %ld\n",-start_time+(tv.tv_sec*1000)+(tv.tv_usec/1000),
  /frameworks/av/media/libmedia/
AudioTrackShared.cpp 53 const struct timespec ClientProxy::kForever = {INT_MAX /*tv_sec*/, 0 /*tv_nsec*/};
54 const struct timespec ClientProxy::kNonBlocking = {0 /*tv_sec*/, 0 /*tv_nsec*/};
69 total.tv_sec = 0;
82 } else if (requested->tv_sec == 0 && requested->tv_nsec == 0) {
84 } else if (requested->tv_sec == INT_MAX) {
88 if (requested->tv_sec > 0 || requested->tv_nsec >= MEASURE_NS) {
186 if (!measure || requested->tv_sec < total.tv_sec ||
187 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec))
    [all...]
  /external/bison/m4/
time_h.m4 40 [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
56 [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
68 [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
  /hardware/ti/omap3/dspbridge/libbridge/
perfutils.c 58 tv_end->tv_sec -= 1;
61 totalTimeuSec = (tv_end->tv_sec - tv_beg->tv_sec) * 1000000 +
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
condition_variable.cpp 58 typedef decltype(ts.tv_sec) ts_sec;
62 ts.tv_sec = static_cast<ts_sec>(s.count());
67 ts.tv_sec = ts_sec_max;
  /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/bionic/
pthread-timers.c 290 a->tv_sec += b->tv_sec;
294 a->tv_sec += 1;
299 a->tv_sec -= b->tv_sec;
303 a->tv_sec -= 1;
308 a->tv_sec = a->tv_nsec = 0;
312 return (a->tv_sec == 0 && a->tv_nsec == 0);
316 if (a->tv_sec < b->tv_sec) return -1
    [all...]
usleep.c 35 ts.tv_sec = usec/1000000UL;
39 ts.tv_nsec = (usec - ts.tv_sec*1000000UL)*1000;
  /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/qemu/distrib/sdl-1.2.15/src/thread/pthread/
SDL_syssem.c 130 now.tv_sec += timeout / 1000;
135 now.tv_sec ++;
139 ts_timeout.tv_sec = now.tv_sec;
  /external/qemu/
iolooper-select.c 156 tv.tv_sec = tv.tv_usec = 0;
184 tm->tv_sec = duration / 1000;
185 tm->tv_usec = (duration - 1000*tm->tv_sec) * 1000;
227 return gettimeofday(&time_now, NULL) ? -1 : (int64_t)time_now.tv_sec * 1000LL +
osdep.h 138 res->tv_sec = val1->tv_sec - val2->tv_sec;
140 res->tv_sec--;
  /external/skia/src/ports/
SkTime_Unix.cpp 38 return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds
  /external/valgrind/main/memcheck/tests/
post-syscall.c 23 req.tv_sec = 2;
  /frameworks/av/include/media/
AudioTimestamp.h 25 mTime.tv_sec = 0;
  /hardware/ril/librilutils/
librilutils.c 23 return now.tv_sec * 1000000000LL + now.tv_nsec;
  /system/extras/tests/bionic/libc/other/
test_timer_create3.c 56 ts.it_value.tv_sec = 0;
58 ts.it_interval.tv_sec = 1;
82 ts.it_value.tv_sec = 0;
84 ts.it_interval.tv_sec = seconds;
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
TimeUtils.cpp 49 long long iDiff = (now.tv_sec * 1000LL) + now.tv_nsec/1000000LL;
56 long long iDiff = (now.tv_sec * 1000LL) + now.tv_usec/1000LL;
  /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;

Completed in 1172 milliseconds

1 2 3 4 5 67 8 91011>>