Lines Matching refs:q_iter
521 void *Q_Iter_Del(queue *q, q_iter iter) in Q_Iter_Del()
532 if(iter == (q_iter)q->head) in Q_Iter_Del()
535 if(iter == (q_iter)q->tail) in Q_Iter_Del()
588 return Q_Iter_Del(q, (q_iter)q->cursor); in Q_DelCur()
956 q_iter Q_Iter_Head(queue *q) { in Q_Iter_Head()
957 return q ? (q_iter)q->head : NULL; in Q_Iter_Head()
960 q_iter Q_Iter_Tail(queue *q) { in Q_Iter_Tail()
961 return q ? (q_iter)q->tail : NULL; in Q_Iter_Tail()
964 q_iter Q_Iter_Next(q_iter qi) { in Q_Iter_Next()
965 return qi ? (q_iter)((node*)qi)->next : NULL; in Q_Iter_Next()
968 q_iter Q_Iter_Prev(q_iter qi) { in Q_Iter_Prev()
969 return qi ? (q_iter)((node*)qi)->prev : NULL; in Q_Iter_Prev()
972 void * Q_Iter_Get(q_iter qi) { in Q_Iter_Get()
976 int Q_Iter_Put(q_iter qi, void* data) { in Q_Iter_Put()