Lines Matching refs:scale
84 test_absolute_kevent(int time, int scale) in test_absolute_kevent() argument
97 switch (scale) { in test_absolute_kevent()
114 T_FAIL("Failure: scale 0x%x not recognized.\n", scale); in test_absolute_kevent()
120 if (scale == NOTE_MACHTIME) { in test_absolute_kevent()
134 NOTE_ABSOLUTE | scale, deadline, 0, 0, 0); in test_absolute_kevent()
139 T_PASS("%s time:%d, scale:0x%x", __func__, time, scale); in test_absolute_kevent()
142 T_FAIL("%s time:%d, scale:0x%x", __func__, time, scale); in test_absolute_kevent()
147 test_oneshot_kevent(int time, int scale) in test_oneshot_kevent() argument
155 switch (scale) { in test_oneshot_kevent()
177 T_FAIL("Failure: scale 0x%x not recognized.\n", scale); in test_oneshot_kevent()
188 EV_SET64(&kev, 2, EVFILT_TIMER, EV_ADD | EV_ONESHOT, scale, time, in test_oneshot_kevent()
194 T_PASS("%s time:%d, scale:0x%x", __func__, time, scale); in test_oneshot_kevent()
197 T_FAIL("%s time:%d, scale:0x%x", __func__, time, scale); in test_oneshot_kevent()