Searched refs:nrofevents (Results 1 – 2 of 2) sorted by relevance
1515 if (params->nrofevents) in ptp_check_event()1516 params->events = realloc(params->events, sizeof(PTPContainer)*(evtcnt+params->nrofevents)); in ptp_check_event()1519 memcpy (¶ms->events[params->nrofevents],xevent,evtcnt*sizeof(PTPContainer)); in ptp_check_event()1520 params->nrofevents += evtcnt; in ptp_check_event()1542 if (params->nrofevents) in ptp_check_event()1543 params->events = realloc(params->events, sizeof(PTPContainer)*(params->nrofevents+1)); in ptp_check_event()1546 memcpy (¶ms->events[params->nrofevents],&event,1*sizeof(PTPContainer)); in ptp_check_event()1547 params->nrofevents += 1; in ptp_check_event()1556 if (!params->nrofevents) in ptp_get_one_event()1559 memmove (params->events, params->events+1, sizeof(PTPContainer)*(params->nrofevents-1)); in ptp_get_one_event()[all …]
1942 int nrofevents; member