Lines Matching refs:cur

143     TimerEvent_t* cur = TimerListHead;  in TimerInsertTimer()  local
146 while( cur->Next != NULL ) in TimerInsertTimer()
150 cur = next; in TimerInsertTimer()
155 cur->Next = obj; in TimerInsertTimer()
160 cur->Next = obj; in TimerInsertTimer()
166 TimerEvent_t* cur = TimerListHead; in TimerInsertNewHeadTimer() local
168 if( cur != NULL ) in TimerInsertNewHeadTimer()
170 cur->IsNext2Expire = false; in TimerInsertNewHeadTimer()
173 obj->Next = cur; in TimerInsertNewHeadTimer()
185 TimerEvent_t* cur; in TimerIrqHandler() local
196 for( cur = TimerListHead; cur->Next != NULL; cur = cur->Next ) in TimerIrqHandler()
198 next = cur->Next; in TimerIrqHandler()
213 cur = TimerListHead; in TimerIrqHandler()
215 cur->IsStarted = false; in TimerIrqHandler()
216 ExecuteCallBack( cur->Callback, cur->Context ); in TimerIrqHandler()
222 cur = TimerListHead; in TimerIrqHandler()
224 cur->IsStarted = false; in TimerIrqHandler()
225 ExecuteCallBack( cur->Callback, cur->Context ); in TimerIrqHandler()
240 TimerEvent_t* cur = TimerListHead; in TimerStop() local
281 while( cur != NULL ) in TimerStop()
283 if( cur == obj ) in TimerStop()
285 if( cur->Next != NULL ) in TimerStop()
287 cur = cur->Next; in TimerStop()
288 prev->Next = cur; in TimerStop()
292 cur = NULL; in TimerStop()
293 prev->Next = cur; in TimerStop()
299 prev = cur; in TimerStop()
300 cur = cur->Next; in TimerStop()
309 TimerEvent_t* cur = TimerListHead; in TimerExists() local
311 while( cur != NULL ) in TimerExists()
313 if( cur == obj ) in TimerExists()
317 cur = cur->Next; in TimerExists()