• Home
  • Raw
  • Download

Lines Matching refs:events_used

311     Int   events_used;  member
393 for(i=0; i<clgs->events_used; i++) { in flushEvents()
433 for(i = 0; i < clgs->events_used; i = inew) { in flushEvents()
442 tl_assert(i >= 0 && i < clgs->events_used); in flushEvents()
445 ev2 = ( i < clgs->events_used-1 ? &clgs->events[i+1] : NULL ); in flushEvents()
446 ev3 = ( i < clgs->events_used-2 ? &clgs->events[i+2] : NULL ); in flushEvents()
597 clgs->events_used = 0; in flushEvents()
606 if (clgs->events_used == N_EVENTS) in addEvent_Ir()
608 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_Ir()
609 evt = &clgs->events[clgs->events_used]; in addEvent_Ir()
613 clgs->events_used++; in addEvent_Ir()
625 if (clgs->events_used == N_EVENTS) in addEvent_Dr()
627 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_Dr()
628 evt = &clgs->events[clgs->events_used]; in addEvent_Dr()
634 clgs->events_used++; in addEvent_Dr()
647 if (clgs->events_used > 0) { in addEvent_Dw()
648 Event* lastEvt = &clgs->events[clgs->events_used-1]; in addEvent_Dw()
660 if (clgs->events_used == N_EVENTS) in addEvent_Dw()
662 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_Dw()
663 evt = &clgs->events[clgs->events_used]; in addEvent_Dw()
669 clgs->events_used++; in addEvent_Dw()
690 tl_assert(clgs->events_used >= 0); in addEvent_D_guarded()
692 tl_assert(clgs->events_used == 0); in addEvent_D_guarded()
725 if (clgs->events_used == N_EVENTS) in addEvent_Bc()
727 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_Bc()
728 evt = &clgs->events[clgs->events_used]; in addEvent_Bc()
733 clgs->events_used++; in addEvent_Bc()
745 if (clgs->events_used == N_EVENTS) in addEvent_Bi()
747 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_Bi()
748 evt = &clgs->events[clgs->events_used]; in addEvent_Bi()
753 clgs->events_used++; in addEvent_Bi()
762 if (clgs->events_used == N_EVENTS) in addEvent_G()
764 tl_assert(clgs->events_used >= 0 && clgs->events_used < N_EVENTS); in addEvent_G()
765 evt = &clgs->events[clgs->events_used]; in addEvent_G()
769 clgs->events_used++; in addEvent_G()
1012 clgs.events_used = 0; in CLG_()