Searched refs:nrofevents (Results 1 – 2 of 2) sorted by relevance
2134 params->events = realloc(params->events, sizeof(PTPContainer)*(params->nrofevents+1)); in ptp_add_event()2135 memcpy (¶ms->events[params->nrofevents],evt,1*sizeof(PTPContainer)); in ptp_add_event()2136 params->nrofevents += 1; in ptp_add_event()2225 params->events = realloc(params->events, sizeof(PTPContainer)*(evtcnt+params->nrofevents)); in ptp_check_event()2226 memcpy (¶ms->events[params->nrofevents],xevent,evtcnt*sizeof(PTPContainer)); in ptp_check_event()2227 params->nrofevents += evtcnt; in ptp_check_event()2304 if (!params->nrofevents) in ptp_get_one_event()2307 memmove (params->events, params->events+1, sizeof(PTPContainer)*(params->nrofevents-1)); in ptp_get_one_event()2309 params->nrofevents--; in ptp_get_one_event()2310 if (!params->nrofevents) { in ptp_get_one_event()
2489 int nrofevents; member