Searched refs:MTPProperties (Results 1 – 4 of 4) sorted by relevance
/external/libmtp/src/ |
D | ptp.h | 927 typedef struct _MTPProperties MTPProperties; typedef 1897 MTPProperties *mtpprops; 2123 uint16_t ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int … 2125 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops); 2126 uint16_t ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops); 2555 MTPProperties *ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops); 2556 void ptp_destroy_object_prop(MTPProperties *prop); 2557 void ptp_destroy_object_prop_list(MTPProperties *props, int nrofprops); 2558 MTPProperties *ptp_find_object_prop_in_cache(PTPParams *params, uint32_t const handle, uint32_t con…
|
D | libmtp.c | 1265 MTPProperties *prop; in get_string_from_object() 1308 MTPProperties *prop; in get_u64_from_object() 1347 MTPProperties *prop; in get_u32_from_object() 1385 MTPProperties *prop; in get_u16_from_object() 1426 MTPProperties *prop; in get_u8_from_object() 2142 MTPProperties *props = NULL; in get_all_metadata_fast() 2143 MTPProperties *prop; in get_all_metadata_fast() 2243 MTPProperties *newprops; in get_all_metadata_fast() 2247 …s = realloc(params->objects[i].mtpprops,(params->objects[i].nrofmtpprops+1)*sizeof(MTPProperties)); in get_all_metadata_fast() 2249 newprops = calloc(sizeof(MTPProperties),1); in get_all_metadata_fast() [all …]
|
D | ptp-pack.c | 976 ptp_pack_OPL (PTPParams *params, MTPProperties *props, int nrofprops, unsigned char** opldataptr) in ptp_pack_OPL() 979 MTPProperties *propitr; in ptp_pack_OPL() 1035 const MTPProperties *px = x; in _compare_func() 1036 const MTPProperties *py = y; in _compare_func() 1042 ptp_unpack_OPL (PTPParams *params, unsigned char* data, MTPProperties **pprops, unsigned int len) in ptp_unpack_OPL() 1045 MTPProperties *props = NULL; in ptp_unpack_OPL() 1055 props = malloc(prop_count * sizeof(MTPProperties)); in ptp_unpack_OPL() 1062 qsort (props, i, sizeof(MTPProperties),_compare_func); in ptp_unpack_OPL() 1083 qsort (props, prop_count, sizeof(MTPProperties),_compare_func); in ptp_unpack_OPL()
|
D | ptp.c | 2573 ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int *nrofprop… in ptp_mtp_getobjectproplist() 2597 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops) in ptp_mtp_sendobjectproplist() 2625 ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops) in ptp_mtp_setobjectproplist() 4618 MTPProperties * 4619 ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops) { in ptp_get_new_object_prop_entry() 4620 MTPProperties *newprops; in ptp_get_new_object_prop_entry() 4621 MTPProperties *prop; in ptp_get_new_object_prop_entry() 4624 newprops = malloc(sizeof(MTPProperties)*(*nrofprops+1)); in ptp_get_new_object_prop_entry() 4626 newprops = realloc(*props,sizeof(MTPProperties)*(*nrofprops+1)); in ptp_get_new_object_prop_entry() 4642 ptp_destroy_object_prop(MTPProperties *prop) in ptp_destroy_object_prop() [all …]
|