/system/core/include/utils/ |
Timers.h | 36 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) 38 return secs*1000000000; 41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) 43 return secs*1000000; 46 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) 48 return secs*1000; 51 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) 53 return secs/1000000000; 56 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) 58 return secs/1000000 [all...] |
/external/srec/portable/src/ |
ptimestamp.c | 31 timestamp->secs = 0; 39 timestamp->secs = now.time; 44 timestamp->secs = now.tv_sec; 55 return (a->secs - b->secs) * 1000 + a->msecs - b->msecs;
|
/external/srec/portable/include/ |
ptimestamp.h | 36 * Time stamp structure with two fields: seconds and milliseconds. The secs 45 time_t secs; member in struct:PTimeStamp_t 55 * Sets the time stamp to represent current time. Sets both secs field and
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
alarm.c | 38 alarm(unsigned int secs) 44 itp->it_value.tv_sec = secs;
|
/external/smack/src/org/xbill/DNS/ |
Resolver.java | 65 * @param secs The number of seconds to wait. 68 void setTimeout(int secs, int msecs); 72 * @param secs The number of seconds to wait. 74 void setTimeout(int secs);
|
TTL.java | 90 long secs, mins, hours, days, weeks; local 91 secs = ttl % 60; 108 if (secs > 0 || (weeks == 0 && days == 0 && hours == 0 && mins == 0)) 109 sb.append(secs + "S");
|
ExtendedResolver.java | 337 setTimeout(int secs, int msecs) { 339 ((Resolver)resolvers.get(i)).setTimeout(secs, msecs); 343 setTimeout(int secs) { 344 setTimeout(secs, 0);
|
SimpleResolver.java | 166 setTimeout(int secs, int msecs) { 167 timeoutValue = (long)secs * 1000 + msecs; 171 setTimeout(int secs) { 172 setTimeout(secs, 0);
|
/external/libunwind/tests/ |
forker.c | 37 double secs; local 71 secs = ((stop.tv_sec + 1e-6 * stop.tv_usec) 74 (unsigned long) (1e9 * secs / (double) count));
|
/external/mdnsresponder/mDNSPosix/ |
parselog.py | 98 secs=0 100 secs = secs*60 +float(t) 101 if (secs>maxTime): 102 maxTime=secs 103 if (secs<minTime): 104 minTime=secs 107 #print (("getIP:%s" % (line)), time, secs) 123 plotPoints.append([secs, ipList[ip][0], (qaList[1])[1:-1]]) 125 plotPoints.append([secs, ipList[ip][0], (qaList[1])[1:-1]] [all...] |
/external/e2fsprogs/lib/e2p/ |
ls.c | 56 static const char *interval_string(unsigned int secs) 63 if (secs == 0) 66 if (secs >= MONTH_INT) { 67 num = secs / MONTH_INT; 68 secs -= num*MONTH_INT; 71 if (secs >= WEEK_INT) { 72 num = secs / WEEK_INT; 73 secs -= num*WEEK_INT; 78 if (secs >= DAY_INT) { 79 num = secs / DAY_INT [all...] |
/bionic/libc/dns/nameser/ |
ns_ttl.c | 58 int secs, mins, hours, days, weeks, x; local 61 secs = (int)(src % 60); src /= 60; 84 if (secs || !(weeks || days || hours || mins)) { 85 T(fmt1(secs, 'S', &dst, &dstlen));
|
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/ |
oi_bt_spec.h | 213 #define OI_SECONDS_TO_BT_TICKS(secs) ((secs)*1600)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/ |
check-perf-trace.pl | 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_; 105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
check-perf-trace.py | 60 def print_header(event_name, cpu, secs, nsecs, pid, comm): 62 (event_name, cpu, secs, nsecs, pid, comm),
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
Core.py | 112 self.secs = common_secs 118 return (self.secs * (10 ** 9)) + self.nsecs 121 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
|
Util.py | 22 def nsecs(secs, nsecs): 23 return secs * NSECS_PER_SEC + nsecs
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/ |
module.cpp | 133 __proc(s, x.secs); 163 auto it = std::find_if(secs.begin(), secs.end(), [&](const section &x) { 167 if (it == secs.end())
|
/external/e2fsprogs/debugfs/ |
lsdel.c | 84 long secs = 0; local 90 "[secs]", 0)) 94 secs = strtol(argv[1],&tmp,0); 135 (secs && ((unsigned) abs(now - secs) > inode.i_dtime)))
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
module.cpp | 133 __proc(s, x.secs); 163 auto it = std::find_if(secs.begin(), secs.end(), [&](const section &x) { 167 if (it == secs.end())
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
Util.pm | 34 my ($secs, $nsecs) = @_; 36 return $secs * $NSECS_PER_SEC + $nsecs;
|
/external/tcpdump/ |
util.c | 230 relts_print(int secs) 237 if (secs == 0) { 241 if (secs < 0) { 243 secs = -secs; 245 while (secs > 0) { 246 if (secs >= *s) { 247 (void)printf("%d%s", secs / *s, *l); 248 secs -= (secs / *s) * *s [all...] |
/external/chromium_org/base/time/ |
time.h | 67 static TimeDelta FromSeconds(int64 secs); 69 static TimeDelta FromSecondsD(double secs); 532 inline TimeDelta TimeDelta::FromSeconds(int64 secs) { 534 if (secs == std::numeric_limits<int64>::max()) 536 return TimeDelta(secs * Time::kMicrosecondsPerSecond); 548 inline TimeDelta TimeDelta::FromSecondsD(double secs) { 550 if (secs == std::numeric_limits<double>::infinity()) 552 return TimeDelta(secs * Time::kMicrosecondsPerSecond);
|
/external/qemu/android/ |
snapshot.c | 210 uint64_t secs = vm_clock_nsec / 1000000000; local 212 (int)(secs / 3600), 213 (int)((secs / 60) % 60), 214 (int)(secs % 60),
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_imaadpcm.c | 285 EAS_I32 secs, msecs; local 305 /* break down into secs and msecs */ 306 secs = time / 1000; 307 msecs = time - (secs * 1000); 314 temp += secs * pState->sampleRate;
|