Home
last modified time | relevance | path

Searched refs:AvahiUsec (Results 1 – 9 of 9) sorted by relevance

/external/avahi/avahi-common/
Dtimeval.c49 AvahiUsec avahi_timeval_diff(const struct timeval *a, const struct timeval *b) { in avahi_timeval_diff()
56 return ((AvahiUsec) a->tv_sec - b->tv_sec)*1000000 + a->tv_usec - b->tv_usec; in avahi_timeval_diff()
59 struct timeval* avahi_timeval_add(struct timeval *a, AvahiUsec usec) { in avahi_timeval_add()
60 AvahiUsec u; in avahi_timeval_add()
76 AvahiUsec avahi_age(const struct timeval *a) { in avahi_age()
92 avahi_timeval_add(tv, (AvahiUsec) msec*1000); in avahi_elapse_time()
118 avahi_timeval_add(tv, (AvahiUsec) (jitter*1000.0*r/(RAND_MAX+1.0))); in avahi_elapse_time()
Dtimeval.h33 typedef int64_t AvahiUsec; typedef
39 AvahiUsec avahi_timeval_diff(const struct timeval *a, const struct timeval *b);
42 struct timeval* avahi_timeval_add(struct timeval *a, AvahiUsec usec);
45 AvahiUsec avahi_age(const struct timeval *a);
Dsimple-watch.c484 AvahiUsec usec; in avahi_simple_poll_prepare()
/external/avahi/avahi-core/
Dcache.c237 AvahiUsec usec, left, right; in next_expiry()
244 usec = (AvahiUsec) e->record->ttl * 10000; in next_expiry()
256 usec = left + (AvahiUsec) ((double) (right-left) * c->last_rand / (RAND_MAX+1.0)); in next_expiry()
306 AvahiUsec t; in avahi_cache_update()
Dcore.h70 AvahiUsec ratelimit_interval; /**< If non-zero, rate-limiting interval parameter. */
/external/avahi/avahi-qt/
Dqt-watch.cpp127 AvahiUsec u = avahi_age(tv)/1000; in update()
/external/avahi/avahi-daemon/
Dmain.c565 static int parse_usec(const char *s, AvahiUsec *u) { in parse_usec()
568 AvahiUsec k; in parse_usec()
576 k = (AvahiUsec) ull; in parse_usec()
709 AvahiUsec k; in load_config_file()
/external/avahi/avahi-autoipd/
Dmain.c794 avahi_timeval_add(tv, (AvahiUsec) msec*1000); in elapse_time()
797 avahi_timeval_add(tv, (AvahiUsec) (jitter*1000.0*rand()/(RAND_MAX+1.0))); in elapse_time()
1152 AvahiUsec usec; in loop()
/external/avahi/avahi-glib/
Dglib-watch.c271 AvahiUsec usec; in prepare_func()