Searched refs:polled_interval (Results 1 – 5 of 5) sorted by relevance
16 static struct polled_interval* create_interval() { in create_interval()17 struct polled_interval *interval = in create_interval()19 EXPECT_NE(interval, static_cast<struct polled_interval*>(NULL)); in create_interval()25 struct polled_interval *interval = create_interval(); in TEST()30 EXPECT_EQ(interval, static_cast<struct polled_interval*>(NULL)); in TEST()40 struct polled_interval *interval = create_interval(); in TEST()71 struct polled_interval *interval = create_interval(); in TEST()101 struct polled_interval *interval = create_interval(); in TEST()
9 struct polled_interval *pic_polled_interval_create(int interval_sec) { in pic_polled_interval_create()13 int pic_interval_elapsed(const struct polled_interval *interval) { in pic_interval_elapsed()17 void pic_interval_reset(struct polled_interval *interval) {} in pic_interval_reset()19 void pic_polled_interval_destroy(struct polled_interval **interval) {} in pic_polled_interval_destroy()
9 struct polled_interval { struct27 struct polled_interval *pic_polled_interval_create(int interval_sec) { in pic_polled_interval_create() argument28 struct polled_interval *pi; in pic_polled_interval_create()35 void pic_polled_interval_destroy(struct polled_interval **interval) { in pic_polled_interval_destroy()40 int pic_interval_elapsed(const struct polled_interval *pi) { in pic_interval_elapsed()45 void pic_interval_reset(struct polled_interval *pi) { in pic_interval_reset()
12 struct polled_interval;20 struct polled_interval *pic_polled_interval_create(int interval_sec);25 void pic_polled_interval_destroy(struct polled_interval **interval);33 int pic_interval_elapsed(const struct polled_interval *interval);40 void pic_interval_reset(struct polled_interval *pi);
27 struct polled_interval *non_empty_check_pi;28 struct polled_interval *empty_pi;