Searched refs:nrofobjects (Results 1 – 3 of 3) sorted by relevance
/external/libmtp/src/ |
D | libmtp.c | 1704 current_params->nrofobjects = 0; in LIBMTP_Open_Raw_Device() 2263 params->nrofobjects = i+1; in get_all_metadata_fast() 2550 for (i=0;i<params->nrofobjects;i++) in flush_handles() 2554 params->nrofobjects = 0; in flush_handles() 2566 if (params->nrofobjects == 0) { in flush_handles() 2589 for(i = 0; i < params->nrofobjects; i++) { in flush_handles() 3918 if (params->nrofobjects == 0) { in LIBMTP_Get_Filelisting_With_Callback() 3922 for (i = 0; i < params->nrofobjects; i++) { in LIBMTP_Get_Filelisting_With_Callback() 3927 callback(i, params->nrofobjects, data); in LIBMTP_Get_Filelisting_With_Callback() 4069 if (params->nrofobjects == 0) { in LIBMTP_Get_Filemetadata() [all …]
|
D | ptp.c | 535 for (i=0;i<params->nrofobjects;i++) in ptp_free_params() 4706 if (i < params->nrofobjects-1) in ptp_remove_object_from_cache() 4707 memmove (ob,ob+1,(params->nrofobjects-1-i)*sizeof(PTPObject)); in ptp_remove_object_from_cache() 4708 params->nrofobjects--; in ptp_remove_object_from_cache() 4710 params->objects = realloc(params->objects, sizeof(PTPObject)*params->nrofobjects); in ptp_remove_object_from_cache() 4722 qsort (params->objects, params->nrofobjects, sizeof(PTPObject), _cmp_ob); in ptp_objects_sort() 4731 *retob = bsearch (&tmpob, params->objects, params->nrofobjects, sizeof(tmpob), _cmp_ob); in ptp_object_find() 4746 if (!params->nrofobjects) { in ptp_object_find_or_insert() 4748 params->nrofobjects = 1; in ptp_object_find_or_insert() 4754 end = params->nrofobjects-1; in ptp_object_find_or_insert() [all …]
|
D | ptp.h | 1936 int nrofobjects; member
|