Home
last modified time | relevance | path

Searched refs:nrofobjects (Results 1 – 3 of 3) sorted by relevance

/external/libmtp/src/
Dlibmtp.c1867 current_params->nrofobjects = 0; in LIBMTP_Open_Raw_Device_Uncached()
2736 params->nrofobjects = i+1; in get_all_metadata_fast()
2738 params->nrofobjects = 0; in get_all_metadata_fast()
2815 for (i=0;i<params->nrofobjects;i++) in flush_handles()
2819 params->nrofobjects = 0; in flush_handles()
2831 if (params->nrofobjects == 0) { in flush_handles()
2854 for(i = 0; i < params->nrofobjects; i++) { in flush_handles()
4369 if (device->cached && params->nrofobjects == 0) { in LIBMTP_Get_Filemetadata()
4443 if (params->nrofobjects == 0) { in LIBMTP_Get_Filelisting_With_Callback()
4447 for (i = 0; i < params->nrofobjects; i++) { in LIBMTP_Get_Filelisting_With_Callback()
[all …]
Dptp.c1128 for (i=0;i<params->nrofobjects;i++) in ptp_free_params()
2168 for (i=0;i<params->nrofobjects;i++) in handle_event_internal()
2172 params->nrofobjects = 0; in handle_event_internal()
6537 if (i < params->nrofobjects-1) in ptp_remove_object_from_cache()
6538 memmove (ob,ob+1,(params->nrofobjects-1-i)*sizeof(PTPObject)); in ptp_remove_object_from_cache()
6539 params->nrofobjects--; in ptp_remove_object_from_cache()
6541 params->objects = realloc(params->objects, sizeof(PTPObject)*params->nrofobjects); in ptp_remove_object_from_cache()
6561 qsort (params->objects, params->nrofobjects, sizeof(PTPObject), _cmp_ob); in ptp_objects_sort()
6571 *retob = bsearch (&tmpob, params->objects, params->nrofobjects, sizeof(tmpob), _cmp_ob); in ptp_object_find()
6587 if (!params->nrofobjects) { in ptp_object_find_or_insert()
[all …]
Dptp.h2483 unsigned int nrofobjects; member