Home
last modified time | relevance | path

Searched refs:subbedEvtCount (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/src/
Dseos.c96 uint8_t subbedEvtCount; member
945 for (i = 0; i < task->subbedEvtCount && task->subbedEvents[i] != da->evtSub.evt; i++); in osInternalEvtHandle()
948 if (evtType == EVT_UNSUBSCRIBE_TO_EVT && i != task->subbedEvtCount) in osInternalEvtHandle()
949 task->subbedEvents[i] = task->subbedEvents[--task->subbedEvtCount]; in osInternalEvtHandle()
951 else if (evtType == EVT_SUBSCRIBE_TO_EVT && i == task->subbedEvtCount) { in osInternalEvtHandle()
952 if (task->subbedEvtListSz == task->subbedEvtCount) { /* enlarge the list */ in osInternalEvtHandle()
963 if (task->subbedEvtListSz > task->subbedEvtCount) { /* have space ? */ in osInternalEvtHandle()
964 task->subbedEvents[task->subbedEvtCount++] = da->evtSub.evt; in osInternalEvtHandle()
1062 for (j = 0; j < task->subbedEvtCount; j++) { in osMainDequeueLoop()