Lines Matching refs:PTPObject
4162 ptp_free_object (PTPObject *ob) in ptp_free_object()
6511 PTPObject *ob; in ptp_find_object_prop_in_cache()
6530 PTPObject *ob; in ptp_remove_object_from_cache()
6538 memmove (ob,ob+1,(params->nrofobjects-1-i)*sizeof(PTPObject)); in ptp_remove_object_from_cache()
6541 params->objects = realloc(params->objects, sizeof(PTPObject)*params->nrofobjects); in ptp_remove_object_from_cache()
6547 PTPObject *oa = (PTPObject*)a; in _cmp_ob()
6548 PTPObject *ob = (PTPObject*)b; in _cmp_ob()
6561 qsort (params->objects, params->nrofobjects, sizeof(PTPObject), _cmp_ob); in ptp_objects_sort()
6566 ptp_object_find (PTPParams *params, uint32_t handle, PTPObject **retob) in ptp_object_find()
6568 PTPObject tmpob; in ptp_object_find()
6579 ptp_object_find_or_insert (PTPParams *params, uint32_t handle, PTPObject **retob) in ptp_object_find_or_insert()
6583 PTPObject *newobs; in ptp_object_find_or_insert()
6588 params->objects = calloc(1,sizeof(PTPObject)); in ptp_object_find_or_insert()
6628 newobs = realloc (params->objects, sizeof(PTPObject)*(params->nrofobjects+1)); in ptp_object_find_or_insert()
6632 …->objects[insertat+1],¶ms->objects[insertat],(params->nrofobjects-insertat)*sizeof(PTPObject)); in ptp_object_find_or_insert()
6633 memset(¶ms->objects[insertat],0,sizeof(PTPObject)); in ptp_object_find_or_insert()
6641 ptp_object_want (PTPParams *params, uint32_t handle, unsigned int want, PTPObject **retob) in ptp_object_want()
6644 PTPObject *ob; in ptp_object_want()
6894 PTPObject *ob; in ptp_add_object_to_cache()