Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp.c1515 if (params->nrofevents) in ptp_check_event()
1516 params->events = realloc(params->events, sizeof(PTPContainer)*(evtcnt+params->nrofevents)); in ptp_check_event()
1519 memcpy (&params->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 (&params->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 …]
Dptp.h1942 int nrofevents; member