Lines Matching refs:Nanosleep
131 Nanosleep(Pointee(EqualsTimespec({0, kSleepTimeNsec})), _)); in TEST_F()
132 os_->Nanosleep(kSleepTimeNsec); in TEST_F()
137 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); in TEST_F()
138 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
142 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 0})), _)); in TEST_F()
143 os_->Nanosleep(0); in TEST_F()
148 Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)); in TEST_F()
149 os_->Nanosleep(Os::kMaxNanos + 1); in TEST_F()
154 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
160 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 100})), _)); in TEST_F()
161 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
166 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
172 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
178 EXPECT_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, 50})), _)); in TEST_F()
179 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
184 EXPECT_CALL(*raw_os_, Nanosleep(_, NotNull())) in TEST_F()
190 EXPECT_CALL(*raw_os_, Nanosleep(_, _)).Times(0); in TEST_F()
191 os_->Nanosleep(Os::kMaxNanos); in TEST_F()
326 ON_CALL(*raw_os_, Nanosleep(Pointee(EqualsTimespec({0, Os::kMaxNanos})), _)) in TEST_F()
328 EXPECT_DEATH(os_->Nanosleep(Os::kMaxNanos), "Unexpected error"); in TEST_F()