Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 25 of 80) sorted by relevance

1234

/external/e2fsprogs/lib/e2p/
Dls.c54 static const char *interval_string(unsigned int secs) in interval_string() argument
61 if (secs == 0) in interval_string()
64 if (secs >= MONTH_INT) { in interval_string()
65 num = secs / MONTH_INT; in interval_string()
66 secs -= num*MONTH_INT; in interval_string()
69 if (secs >= WEEK_INT) { in interval_string()
70 num = secs / WEEK_INT; in interval_string()
71 secs -= num*WEEK_INT; in interval_string()
76 if (secs >= DAY_INT) { in interval_string()
77 num = secs / DAY_INT; in interval_string()
[all …]
/external/srec/portable/src/
Dptimestamp.c31 timestamp->secs = 0; in PTimeStampSet()
39 timestamp->secs = now.time; in PTimeStampSet()
44 timestamp->secs = now.tv_sec; in PTimeStampSet()
55 return (a->secs - b->secs) * 1000 + a->msecs - b->msecs; in PTimeStampDiff()
/external/tcpdump/
Dutil.c211 relts_print(int secs) in relts_print() argument
218 if (secs == 0) { in relts_print()
222 if (secs < 0) { in relts_print()
224 secs = -secs; in relts_print()
226 while (secs > 0) { in relts_print()
227 if (secs >= *s) { in relts_print()
228 (void)printf("%d%s", secs / *s, *l); in relts_print()
229 secs -= (secs / *s) * *s; in relts_print()
/external/kernel-headers/original/linux/
Dktime.h75 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) in ktime_set() argument
78 if (unlikely(secs >= KTIME_SEC_MAX)) in ktime_set()
81 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
138 static inline ktime_t ktime_set(const long secs, const unsigned long nsecs) in ktime_set() argument
140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } }; in ktime_set()
Drtc.h127 int (*set_mmss)(struct device *, unsigned long secs);
182 extern int rtc_set_mmss(struct class_device *class_dev, unsigned long secs);
/external/e2fsprogs/debugfs/
Dlsdel.c84 long secs = 0; in do_lsdel() local
94 secs = strtol(argv[1],&tmp,0); in do_lsdel()
135 (secs && ((unsigned) abs(now - secs) > inode.i_dtime))) in do_lsdel()
/external/chromium/base/third_party/nspr/
Dprtime.cc79 static void localtime_r(const time_t* secs, struct tm* time) { in localtime_r() argument
80 (void) localtime_s(time, secs); in localtime_r()
1115 time_t secs; in PR_ParseTimeString() local
1170 secs = (time_t) -1; in PR_ParseTimeString()
1172 secs = mktime(&localTime); in PR_ParseTimeString()
1175 secs = mktime(&localTime); in PR_ParseTimeString()
1177 if (secs != (time_t) -1) in PR_ParseTimeString()
1180 LL_I2L(usecs64, secs); in PR_ParseTimeString()
1191 secs = 86400; in PR_ParseTimeString()
1192 localtime_r(&secs, &localTime); in PR_ParseTimeString()
/external/bluetooth/glib/glib/
Dgtimer.c422 time_t secs; in g_time_val_to_iso8601() local
426 secs = time_->tv_sec; in g_time_val_to_iso8601()
428 tm = gmtime (&secs); in g_time_val_to_iso8601()
431 tm = gmtime_r (&secs, &tm_); in g_time_val_to_iso8601()
433 tm = gmtime (&secs); in g_time_val_to_iso8601()
/external/dropbear/
Dcommon-session.c360 long secs; in checktimeouts() local
366 secs = tv.tv_sec; in checktimeouts()
368 if (ses.connecttimeout != 0 && secs > ses.connecttimeout) { in checktimeouts()
378 && (secs - ses.kexstate.lastkextime >= KEX_REKEY_TIMEOUT in checktimeouts()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_imaadpcm.c285 EAS_I32 secs, msecs; in IMADecoderLocate() local
306 secs = time / 1000; in IMADecoderLocate()
307 msecs = time - (secs * 1000); in IMADecoderLocate()
314 temp += secs * pState->sampleRate; in IMADecoderLocate()
/external/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c285 EAS_I32 secs, msecs; in IMADecoderLocate() local
306 secs = time / 1000; in IMADecoderLocate()
307 msecs = time - (secs * 1000); in IMADecoderLocate()
314 temp += secs * pState->sampleRate; in IMADecoderLocate()
/external/sonivox/arm-fm-22k/lib_src/
Deas_imaadpcm.c285 EAS_I32 secs, msecs; in IMADecoderLocate() local
306 secs = time / 1000; in IMADecoderLocate()
307 msecs = time - (secs * 1000); in IMADecoderLocate()
314 temp += secs * pState->sampleRate; in IMADecoderLocate()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch114 +int async_event(int pipe, time_t now, struct event_desc* event, unsigned int secs)
121 + if (read_timeout(pipe, (unsigned char *)&ev, sizeof(ev), now, secs) > 0)
178 +int read_timeout(int fd, unsigned char *packet, int size, time_t now, int secs);
230 +int read_timeout(int fd, unsigned char *packet, int size, time_t now, int secs)
235 + expire = now + secs;
240 + if (secs > 0) alarm(secs);
254 + if (secs == 0 || (secs > 0 && dnsmasq_time() < expire))
258 + my_syslog(LOG_INFO, _("error in read (timeout %d, errno %d)"), secs, errno);
/external/qemu/
Dblock.c811 int cylinders, heads, secs; in bdrv_guess_geometry() local
816 bdrv_get_geometry_hint(bs, &cylinders, &heads, &secs); in bdrv_guess_geometry()
821 *psecs = secs; in bdrv_guess_geometry()
823 if (guess_disk_lchs(bs, &cylinders, &heads, &secs) == 0) { in bdrv_guess_geometry()
833 *psecs = secs; in bdrv_guess_geometry()
868 int cyls, int heads, int secs) in bdrv_set_geometry_hint() argument
872 bs->secs = secs; in bdrv_set_geometry_hint()
892 *psecs = bs->secs; in bdrv_get_geometry_hint()
1266 int64_t secs; in bdrv_snapshot_dump() local
1283 secs = sn->vm_clock_nsec / 1000000000; in bdrv_snapshot_dump()
[all …]
/external/grub/netboot/
Dmisc.c26 sleep (int secs) in sleep() argument
28 unsigned long tmo = currticks () + secs; in sleep()
/external/iproute2/ip/
Dipmonitor.c90 time_t secs = ((__u32*)NLMSG_DATA(n))[0]; in accept_msg() local
92 tstr = asctime(localtime(&secs)); in accept_msg()
/external/sonivox/jet_tools/JetCreator/
Deas.py395 def Locate (self, secs, offset=False): argument
397 eas_logger.debug('Call EAS_Locate: location=%.3f, relative=%s' % (secs, offset))
399 result = eas_dll.EAS_Locate(self.eas.handle, self.handle, int(secs * 1000 + 0.5), offset)
761 def Render (self, count=None, secs=None): argument
774 if secs is not None:
775 count = int(secs * float(self.config.sampleRate) / float(self.buf_size) + 0.5)
1163 def Render (self, count=None, secs=None): argument
1175 self.eas.Render(count, secs)
/external/chromium/base/
Dtime.h54 static TimeDelta FromSeconds(int64 secs);
391 inline TimeDelta TimeDelta::FromSeconds(int64 secs) { in FromSeconds() argument
392 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
/external/v8/src/
Dplatform-nullos.cc65 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
67 *secs = 0; in GetUserTime()
Dplatform-posix.cc75 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
79 *secs = usage.ru_utime.tv_sec; in GetUserTime()
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch220 + int deg = 0, min = 0, secs = 0, secsfrac = 0;
242 + secs = secs * 10 + (*cp++ - '0');
268 + + (((((deg * 60) + min) * 60) + secs) * 1000)
274 + - (((((deg * 60) + min) * 60) + secs) * 1000)
/external/srec/portable/include/
Dptimestamp.h45 time_t secs; member
/external/webkit/JavaScriptCore/runtime/
DDatePrototype.cpp743 double secs = floor(milli / msPerSecond); in dateProtoFuncGetMilliSeconds() local
744 double ms = milli - secs * msPerSecond; in dateProtoFuncGetMilliSeconds()
758 double secs = floor(milli / msPerSecond); in dateProtoFuncGetUTCMilliseconds() local
759 double ms = milli - secs * msPerSecond; in dateProtoFuncGetUTCMilliseconds()
803 double secs = floor(milli / msPerSecond); in setNewValueFromTimeArgs() local
804 double ms = milli - secs * msPerSecond; in setNewValueFromTimeArgs()
969 double secs = floor(milli / msPerSecond); in dateProtoFuncSetYear() local
970 ms = milli - secs * msPerSecond; in dateProtoFuncSetYear()
/external/srec/doc/logs/uapi/
Drun_robustness3.log92 Record for 2 secs.
216 Record for 2 secs.
340 Record for 2 secs.
464 Record for 2 secs.
588 Record for 2 secs.
712 Record for 2 secs.
836 Record for 2 secs.
960 Record for 2 secs.
1084 Record for 2 secs.
1208 Record for 2 secs.
[all …]
/external/qemu/hw/
Dscsi-disk.c625 int cylinders, heads, secs; in scsi_send_command() local
631 bdrv_get_geometry_hint(s->bdrv, &cylinders, &heads, &secs); in scsi_send_command()
656 int cylinders, heads, secs; in scsi_send_command() local
665 bdrv_get_geometry_hint(s->bdrv, &cylinders, &heads, &secs); in scsi_send_command()
667 p[5] = secs & 0xff; in scsi_send_command()

1234