Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 25 of 85) 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/clang/utils/
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/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/qemu/
Dblockdev.c144 int cyls, heads, secs, translation; in drive_init() local
178 secs = qemu_opt_get_number(opts, "secs", 0); in drive_init()
221 if (cyls || heads || secs) { in drive_init()
230 if (secs < 1 || (type == IF_IDE && secs > 63)) { in drive_init()
259 if (cyls || secs || heads) { in drive_init()
434 bdrv_set_geometry_hint(dinfo->bdrv, cyls, heads, secs); in drive_init()
Dvl.c840 int cyls, heads, secs, translation; in drive_init() local
863 cyls = heads = secs = 0; in drive_init()
948 secs = strtol(buf, NULL, 0); in drive_init()
951 if (cyls || heads || secs) { in drive_init()
960 if (secs < 1 || secs > 63) { in drive_init()
989 if (cyls || secs || heads) { in drive_init()
1143 bdrv_set_geometry_hint(bdrv, cyls, heads, secs); in drive_init()
2072 int cyls, heads, secs, translation; in main() local
2114 cyls = heads = secs = 0; in main()
2224 0, cyls, heads, secs, in main()
[all …]
Dblock.c1215 int cylinders, heads, secs; in bdrv_guess_geometry() local
1220 bdrv_get_geometry_hint(bs, &cylinders, &heads, &secs); in bdrv_guess_geometry()
1225 *psecs = secs; in bdrv_guess_geometry()
1227 if (guess_disk_lchs(bs, &cylinders, &heads, &secs) == 0) { in bdrv_guess_geometry()
1237 *psecs = secs; in bdrv_guess_geometry()
1272 int cyls, int heads, int secs) in bdrv_set_geometry_hint() argument
1276 bs->secs = secs; in bdrv_set_geometry_hint()
1296 *psecs = bs->secs; in bdrv_get_geometry_hint()
1939 int64_t secs; in bdrv_snapshot_dump() local
1956 secs = sn->vm_clock_nsec / 1000000000; in bdrv_snapshot_dump()
[all …]
/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/qemu/android/
Dsnapshot.c211 uint64_t secs = vm_clock_nsec / 1000000000; in snapshot_format_vm_clock() local
213 (int)(secs / 3600), in snapshot_format_vm_clock()
214 (int)((secs / 60) % 60), in snapshot_format_vm_clock()
215 (int)(secs % 60), in snapshot_format_vm_clock()
/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/chromium/base/third_party/nspr/
Dprtime.cc80 static void localtime_r(const time_t* secs, struct tm* time) { in localtime_r() argument
81 (void) localtime_s(time, secs); in localtime_r()
1116 time_t secs; in PR_ParseTimeString() local
1171 secs = (time_t) -1; in PR_ParseTimeString()
1173 secs = mktime(&localTime); in PR_ParseTimeString()
1176 secs = mktime(&localTime); in PR_ParseTimeString()
1178 if (secs != (time_t) -1) in PR_ParseTimeString()
1181 LL_I2L(usecs64, secs); in PR_ParseTimeString()
1192 secs = 86400; in PR_ParseTimeString()
1193 localtime_r(&secs, &localTime); in PR_ParseTimeString()
/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/grub/netboot/
Dmisc.c26 sleep (int secs) in sleep() argument
28 unsigned long tmo = currticks () + secs; in sleep()
/external/srec/portable/include/
Dptimestamp.h45 time_t secs; member
/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/chromium/base/
Dtime.h61 static TimeDelta FromSeconds(int64 secs);
433 inline TimeDelta TimeDelta::FromSeconds(int64 secs) { in FromSeconds() argument
434 return TimeDelta(secs * Time::kMicrosecondsPerSecond); in FromSeconds()
/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/webkit/Source/JavaScriptCore/runtime/
DDatePrototype.cpp805 double secs = floor(milli / msPerSecond); in dateProtoFuncGetMilliSeconds() local
806 double ms = milli - secs * msPerSecond; in dateProtoFuncGetMilliSeconds()
821 double secs = floor(milli / msPerSecond); in dateProtoFuncGetUTCMilliseconds() local
822 double ms = milli - secs * msPerSecond; in dateProtoFuncGetUTCMilliseconds()
869 double secs = floor(milli / msPerSecond); in setNewValueFromTimeArgs() local
870 double ms = milli - secs * msPerSecond; in setNewValueFromTimeArgs()
1037 double secs = floor(milli / msPerSecond); in dateProtoFuncSetYear() local
1038 ms = milli - secs * msPerSecond; in dateProtoFuncSetYear()
/external/v8/src/
Dplatform-nullos.cc66 int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { in GetUserTime() argument
68 *secs = 0; in GetUserTime()

1234