/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...] |
/external/iptables/include/linux/netfilter_ipv4/ |
ipt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
ipt_dstlimit.h | 18 u_int32_t avg; /* Average secs between packets * scale */
|
ipt_hashlimit.h | 19 u_int32_t avg; /* Average secs between packets * scale */
|
/external/iptables/include/linux/netfilter_ipv6/ |
ip6t_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/external/kernel-headers/original/linux/netfilter/ |
xt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/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;
|
/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...] |
/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);
|
/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
|
/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/netfilter_ipv4/ |
ipt_hashlimit.h | 19 u_int32_t avg; /* Average secs between packets * scale */
|
/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/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...] |
print-mobility.c | 125 /* units of 4 secs */ 268 /* units of 4 secs */ 284 /* units of 4 secs */
|
/external/grub/docs/ |
menu.lst | 5 # Boot automatically after 30 secs.
|
/packages/apps/Mms/res/layout/ |
edit_slide_duration.xml | 55 android:text="@string/secs" />
|
/external/bluetooth/glib/glib/ |
gtimer.c | 422 time_t secs; local 426 secs = time_->tv_sec; 428 tm = gmtime (&secs); 431 tm = gmtime_r (&secs, &tm_); 433 tm = gmtime (&secs);
|
/external/dnsmasq/contrib/lease-access/ |
lease.access.patch | 114 +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) [all...] |
/frameworks/base/cmds/stagefright/ |
stagefright.cpp | 135 printf("wanted: %.2f secs, got: %.2f secs\n", 143 printf("buffer has timestamp %lld us (%.2f secs)\n", 166 printf("seeking to %lld us (%.2f secs)\n", 228 printf("seeking to 5 secs."); 558 printf("thumbnailTime: %lld us (%.2f secs)\n",
|
/bootable/recovery/ |
install.c | 74 // progress <frac> <secs> 76 // over <secs> seconds. If <secs> is zero, use
|
/frameworks/base/media/libstagefright/ |
TimedEventQueue.cpp | 263 static int64_t kMaxTimeoutUs = 10000000ll; // 10 secs 268 // We'll never block for more than 10 secs, instead 270 // 10 secs at a time. This will also avoid overflow
|
/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
|