Searched refs:nrofobs (Results 1 – 1 of 1) sorted by relevance
2723 unsigned int i, j, nrofobs = 0, curob = 0; in ptp_unpack_canon_directory() local2727 if (ISOBJECT(dir+i*0x4c)) nrofobs++; in ptp_unpack_canon_directory()2728 handles->n = nrofobs; in ptp_unpack_canon_directory()2729 handles->Handler = calloc(nrofobs,sizeof(handles->Handler[0])); in ptp_unpack_canon_directory()2731 *oinfos = calloc(nrofobs,sizeof((*oinfos)[0])); in ptp_unpack_canon_directory()2733 *flags = calloc(nrofobs,sizeof((*flags)[0])); in ptp_unpack_canon_directory()2819 if (!changed || (changed==nrofobs-1)) in ptp_unpack_canon_directory()