/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;
|
/frameworks/base/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...] |
/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/e2fsprogs/lib/e2p/ |
ls.c | 54 static const char *interval_string(unsigned int secs) 61 if (secs == 0) 64 if (secs >= MONTH_INT) { 65 num = secs / MONTH_INT; 66 secs -= num*MONTH_INT; 69 if (secs >= WEEK_INT) { 70 num = secs / WEEK_INT; 71 secs -= num*WEEK_INT; 76 if (secs >= DAY_INT) { 77 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/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 } };
|
rtc.h | 127 int (*set_mmss)(struct device *, unsigned long secs); 182 extern int rtc_set_mmss(struct class_device *class_dev, unsigned long secs);
|
/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...] |
/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
ExperimentService.java | 143 public void delay(int secs) { 145 sendMessageDelayed(obtainMessage(0), secs * 1000);
|
/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/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;
|
/external/sonivox/arm-hybrid-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;
|
/external/sonivox/arm-wt-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;
|
/external/wpa_supplicant/ |
eloop.h | 181 * @secs: Number of seconds to the timeout 191 int eloop_register_timeout(unsigned int secs, unsigned int usecs,
|