Lines Matching refs:nrofentries
2330 ptp_canon_eos_getevent (PTPParams* params, PTPCanon_changes_entry **entries, int *nrofentries) in ptp_canon_eos_getevent() argument
2337 *nrofentries = 0; in ptp_canon_eos_getevent()
2340 *nrofentries = ptp_unpack_CANON_changes(params,data,size,entries); in ptp_canon_eos_getevent()
2349 int nrofentries = 0; in ptp_check_eos_events() local
2352 CHECK_PTP_RC(ptp_canon_eos_getevent (params, &entries, &nrofentries)); in ptp_check_eos_events()
2353 if (!nrofentries) in ptp_check_eos_events()
2357 …ries = realloc(params->backlogentries,sizeof(entries[0])*(params->nrofbacklogentries+nrofentries)); in ptp_check_eos_events()
2361 memcpy (nentries+params->nrofbacklogentries, entries, nrofentries*sizeof(entries[0])); in ptp_check_eos_events()
2362 params->nrofbacklogentries += nrofentries; in ptp_check_eos_events()
2366 params->nrofbacklogentries = nrofentries; in ptp_check_eos_events()
2446 PTPCANONFolderEntry **entries, unsigned int *nrofentries in ptp_canon_eos_getobjectinfoex() argument
2456 *nrofentries = 0; in ptp_canon_eos_getobjectinfoex()
2470 *nrofentries = dtoh32a(data); in ptp_canon_eos_getobjectinfoex()
2471 *entries = malloc(*nrofentries * sizeof(PTPCANONFolderEntry)); in ptp_canon_eos_getobjectinfoex()
2478 for (i=0;i<*nrofentries;i++) { in ptp_canon_eos_getobjectinfoex()
2483 *nrofentries = 0; in ptp_canon_eos_getobjectinfoex()