Searched refs:secs (Results 1 - 25 of 94) sorted by relevance

1234

/external/srec/portable/src/
H A Dptimestamp.c31 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/
H A Dptimestamp.h36 * 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/libppp/src/
H A Dip.h38 struct filter *, const char *, unsigned *secs);
/external/mdnsresponder/mDNSPosix/
H A Dparselog.py98 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, ipLis
[all...]
/external/e2fsprogs/lib/e2p/
H A Dls.c56 static const char *interval_string(unsigned int secs) argument
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_IN
[all...]
/external/linux-tools-perf/scripts/perl/
H A Dcheck-perf-trace.pl102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py22 def nsecs(secs, nsecs):
23 return secs * NSECS_PER_SEC + nsecs
H A DCore.py112 self.secs = common_secs
118 return (self.secs * (10 ** 9)) + self.nsecs
121 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
/external/linux-tools-perf/scripts/python/
H A Dcheck-perf-trace.py60 def print_header(event_name, cpu, secs, nsecs, pid, comm):
62 (event_name, cpu, secs, nsecs, pid, comm),
/external/kernel-headers/original/linux/
H A Dktime.h70 * @secs: seconds to set
75 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) argument
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) argument
140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } };
/external/tcpdump/
H A Dutil.c211 relts_print(int secs) argument
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 / *
[all...]
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.pm34 my ($secs, $nsecs) = @_;
36 return $secs * $NSECS_PER_SEC + $nsecs;
/external/grub/netboot/
H A Dmisc.c26 sleep (int secs) argument
28 unsigned long tmo = currticks () + secs;
/external/dropbear/
H A Dcommon-session.c360 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/
H A Dlsdel.c84 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/
H A Dsnapshot.c211 uint64_t secs = vm_clock_nsec / 1000000000; local
213 (int)(secs / 3600),
214 (int)((secs / 60) % 60),
215 (int)(secs % 60),
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_imaadpcm.c285 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;
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_imaadpcm.c285 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;
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_imaadpcm.c285 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;
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Deloop.h181 * @secs: Number of seconds to the timeout
191 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.h169 * @secs: Number of seconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/external/wpa_supplicant_8/src/utils/
H A Deloop.h169 * @secs: Number of seconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.h169 * @secs: Number of seconds to the timeout
179 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
/external/clang/utils/
H A DFindSpecRefs683 secs = str[1:str.index(']')].split('.')
690 indices = secs
692 secs = str.split('.')
694 if 'p' in secs[-1]:
695 secs[-1],p = secs[-1].split('p',1)
697 indices = map(int, secs)
/external/qemu/
H A Dblockdev.c144 int cyls, heads, secs, translation; local
178 secs = qemu_opt_get_number(opts, "secs", 0);
221 if (cyls || heads || secs) {
230 if (secs < 1 || (type == IF_IDE && secs > 63)) {
231 fprintf(stderr, "qemu: '%s' invalid physical secs number\n", buf);
239 "qemu: '%s' trans must be used with cyls,heads and secs\n",
259 if (cyls || secs || heads) {
434 bdrv_set_geometry_hint(dinfo->bdrv, cyls, heads, secs);
[all...]

Completed in 485 milliseconds

1234