/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;
|
/bionic/libc/unistd/ |
alarm.c | 43 alarm(secs) 44 unsigned int secs; 51 itp->it_value.tv_sec = secs;
|
/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
|
/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);
|
/external/libppp/src/ |
ip.h | 38 struct filter *, const char *, unsigned *secs);
|
/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/netbsd/nameser/ |
ns_ttl.c | 57 int secs, mins, hours, days, weeks, x; local 60 secs = src % 60; src /= 60; 83 if (secs || !(weeks || days || hours || mins)) { 84 T(fmt1(secs, 'S', &dst, &dstlen));
|
/external/linux-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/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/kernel-headers/original/linux/ |
ktime.h | 70 * @secs: seconds to set 75 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) 78 if (unlikely(secs >= KTIME_SEC_MAX)) 81 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; 138 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) 140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } };
|
/external/tcpdump/ |
util.c | 211 relts_print(int secs) 218 if (secs == 0) { 222 if (secs < 0) { 224 secs = -secs; 226 while (secs > 0) { 227 if (secs >= *s) { 228 (void)printf("%d%s", secs / *s, *l); 229 secs -= (secs / *s) * *s [all...] |
/external/linux-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/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())
|
/sdk/emulator/qtools/ |
profile_trace.cpp | 107 double secs = 1.0 * total / kMHz; local 109 secs, total, kMHz / kMillion); 112 printf("Elapsed secs Elapsed cyc %% %% Function\n"); 120 double secs = 1.0 * sym->elapsed / kMHz; local 125 secs, sym->elapsed, per, sum_per, ksym, sym->name);
|
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
Util.pm | 34 my ($secs, $nsecs) = @_; 36 return $secs * $NSECS_PER_SEC + $nsecs;
|
/external/grub/netboot/ |
misc.c | 26 sleep (int secs) 28 unsigned long tmo = currticks () + secs;
|
/external/dropbear/ |
common-session.c | 360 long secs; local 366 secs = tv.tv_sec; 368 if (ses.connecttimeout != 0 && secs > ses.connecttimeout) { 378 && (secs - ses.kexstate.lastkextime >= KEX_REKEY_TIMEOUT
|
/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/qemu/android/ |
snapshot.c | 211 uint64_t secs = vm_clock_nsec / 1000000000; local 213 (int)(secs / 3600), 214 (int)((secs / 60) % 60), 215 (int)(secs % 60),
|