Home | History | Annotate | Download | only in src

Lines Matching refs:PTPObject

2774 ptp_free_object (PTPObject *ob)
4677 PTPObject *ob;
4696 PTPObject *ob;
4707 memmove (ob,ob+1,(params->nrofobjects-1-i)*sizeof(PTPObject));
4710 params->objects = realloc(params->objects, sizeof(PTPObject)*params->nrofobjects);
4714 PTPObject *oa = (PTPObject*)a;
4715 PTPObject *ob = (PTPObject*)b;
4722 qsort (params->objects, params->nrofobjects, sizeof(PTPObject), _cmp_ob);
4727 ptp_object_find (PTPParams *params, uint32_t handle, PTPObject **retob) {
4728 PTPObject tmpob;
4739 ptp_object_find_or_insert (PTPParams *params, uint32_t handle, PTPObject **retob) {
4742 PTPObject *newobs;
4747 params->objects = calloc(1,sizeof(PTPObject));
4787 newobs = realloc (params->objects, sizeof(PTPObject)*(params->nrofobjects+1));
4791 memmove (&params->objects[insertat+1],&params->objects[insertat],(params->nrofobjects-insertat)*sizeof(PTPObject));
4792 memset(&params->objects[insertat],0,sizeof(PTPObject));
4800 ptp_object_want (PTPParams *params, uint32_t handle, int want, PTPObject **retob) {
4802 PTPObject *ob;
4972 PTPObject *ob;