Lines Matching refs:tv
107 timeval tv; in TEST() local
108 tv.tv_sec = -1; in TEST()
109 tv.tv_usec = 0; in TEST()
110 ASSERT_EQ(-1, select(max, &r, &w, &e, &tv)); in TEST()
114 tv.tv_sec = 1; in TEST()
120 ASSERT_EQ(1, select(fd+1, &r, nullptr, nullptr, &tv)); in TEST()
122 ASSERT_EQ(0, tv.tv_sec); in TEST()
123 ASSERT_NE(0, tv.tv_usec); in TEST()
162 timespec tv; in TEST() local
163 tv.tv_sec = -1; in TEST()
164 tv.tv_nsec = 0; in TEST()
165 ASSERT_EQ(-1, pselect(max, &r, &w, &e, &tv, &ss)); in TEST()
169 tv.tv_sec = 1; in TEST()
175 ASSERT_EQ(1, pselect(fd+1, &r, nullptr, nullptr, &tv, nullptr)); in TEST()
177 ASSERT_EQ(1, tv.tv_sec); in TEST()
178 ASSERT_EQ(0, tv.tv_nsec); in TEST()