Lines Matching refs:first
53 queue->first = (SEC_QElem *)SEC_OSAL_Malloc(sizeof(SEC_QElem));
54 if (queue->first == NULL)
57 SEC_OSAL_Memset(queue->first, 0, sizeof(SEC_QElem));
58 currentqelem = queue->last = queue->first;
64 while (queue->first != NULL) {
65 currentqelem = queue->first->qNext;
66 SEC_OSAL_Free((OMX_PTR)queue->first);
67 queue->first = currentqelem;
77 currentqelem->qNext = queue->first;
93 currentqelem = queue->first->qNext;
94 SEC_OSAL_Free(queue->first);
95 queue->first = currentqelem;
98 if(queue->first) {
99 SEC_OSAL_Free(queue->first);
100 queue->first = NULL;
137 if ((queue->first->data == NULL) || (queue->numElem <= 0)) {
141 data = queue->first->data;
142 queue->first->data = NULL;
143 queue->first = queue->first->qNext;