Lines Matching refs:index
67 short index = e->top++ ;
72 e->proc[index] = handler ;
73 e->events[index] = event ;
74 e->data[index] = data ;
85 short index = e->bottom ;
87 while ( e->top != index )
89 if ( e->data[index] == data )
90 e->data[index] = NULL ;
91 index++ ;
92 if ( index == kMaxEvents )
93 index = 0 ;
114 short index = gMacNotificationEvents.bottom++ ;
117 void* data = gMacNotificationEvents.data[index] ;
118 unsigned long event = gMacNotificationEvents.events[index] ;
119 wxMacNotificationProcPtr handler = gMacNotificationEvents.proc[index] ;
121 gMacNotificationEvents.data[index] = NULL ;
122 gMacNotificationEvents.events[index] = 0 ;
123 gMacNotificationEvents.proc[index] = NULL ;