Lines Matching refs:oi
704 unsigned char* oi=NULL; in ptp_getobjectinfo() local
712 ret=ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &oi, &len); in ptp_getobjectinfo()
713 if (ret == PTP_RC_OK) ptp_unpack_OI(params, oi, objectinfo, len); in ptp_getobjectinfo()
714 free(oi); in ptp_getobjectinfo()
2766 ptp_free_objectinfo (PTPObjectInfo *oi) in ptp_free_objectinfo() argument
2768 if (!oi) return; in ptp_free_objectinfo()
2769 free (oi->Filename); oi->Filename = NULL; in ptp_free_objectinfo()
2770 free (oi->Keywords); oi->Keywords = NULL; in ptp_free_objectinfo()
2779 ptp_free_objectinfo (&ob->oi); in ptp_free_object()
4824 saveparent = ob->oi.ParentObject; in ptp_object_want()
4826 ret = ptp_getobjectinfo (params, handle, &ob->oi); in ptp_object_want()
4829 if (!ob->oi.Filename) ob->oi.Filename=strdup("<none>"); in ptp_object_want()
4831 ob->oi.ParentObject = saveparent; in ptp_object_want()
4834 if (ob->oi.ParentObject == handle) in ptp_object_want()
4835 ob->oi.ParentObject = 0; in ptp_object_want()