Home
last modified time | relevance | path

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

/external/libmtp/src/
Dptp.c1507 int evtcnt; in ptp_check_event() local
1510 ret = ptp_nikon_check_event(params, &xevent, &evtcnt); in ptp_check_event()
1514 if (evtcnt) { in ptp_check_event()
1516 params->events = realloc(params->events, sizeof(PTPContainer)*(evtcnt+params->nrofevents)); in ptp_check_event()
1518 params->events = malloc(sizeof(PTPContainer)*evtcnt); 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()
2153 ptp_nikon_check_event (PTPParams* params, PTPContainer** event, int* evtcnt) in ptp_nikon_check_event() argument
2163 *evtcnt = 0; in ptp_nikon_check_event()
2166 ptp_unpack_Nikon_EC (params, data, size, event, evtcnt); in ptp_nikon_check_event()
Dptp.h2515 uint16_t ptp_nikon_check_event (PTPParams* params, PTPContainer **evt, int *evtcnt);