Home
last modified time | relevance | path

Searched refs:MTPProperties (Results 1 – 4 of 4) sorted by relevance

/external/libmtp/src/
Dptp.h1163 typedef struct _MTPProperties MTPProperties; typedef
2425 MTPProperties *mtpprops;
2746 uint16_t ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int …
2747 uint16_t ptp_mtp_getobjectproplist_single (PTPParams* params, uint32_t handle, MTPProperties **prop…
2749 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops);
2750 uint16_t ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops);
3355 MTPProperties *ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops);
3356 void ptp_destroy_object_prop(MTPProperties *prop);
3357 void ptp_destroy_object_prop_list(MTPProperties *props, int nrofprops);
3358 MTPProperties *ptp_find_object_prop_in_cache(PTPParams *params, uint32_t const handle, uint32_t con…
Dlibmtp.c1345 MTPProperties *prop; in get_string_from_object()
1389 MTPProperties *prop; in get_u64_from_object()
1429 MTPProperties *prop; in get_u32_from_object()
1468 MTPProperties *prop; in get_u16_from_object()
1510 MTPProperties *prop; in get_u8_from_object()
2611 MTPProperties *props = NULL; in get_all_metadata_fast()
2612 MTPProperties *prop; in get_all_metadata_fast()
2713 MTPProperties *newprops; in get_all_metadata_fast()
2718 (params->objects[i].nrofmtpprops+1)*sizeof(MTPProperties)); in get_all_metadata_fast()
2720 newprops = calloc(1,sizeof(MTPProperties)); in get_all_metadata_fast()
[all …]
Dptp-pack.c1273 ptp_pack_OPL (PTPParams *params, MTPProperties *props, int nrofprops, unsigned char** opldataptr) in ptp_pack_OPL()
1276 MTPProperties *propitr; in ptp_pack_OPL()
1332 const MTPProperties *px = x; in _compare_func()
1333 const MTPProperties *py = y; in _compare_func()
1339 ptp_unpack_OPL (PTPParams *params, unsigned char* data, MTPProperties **pprops, unsigned int len) in ptp_unpack_OPL()
1342 MTPProperties *props = NULL; in ptp_unpack_OPL()
1348 if (prop_count >= INT_MAX/sizeof(MTPProperties)) { in ptp_unpack_OPL()
1355 props = malloc(prop_count * sizeof(MTPProperties)); in ptp_unpack_OPL()
1362 qsort (props, i, sizeof(MTPProperties),_compare_func); in ptp_unpack_OPL()
1381 qsort (props, i, sizeof(MTPProperties),_compare_func); in ptp_unpack_OPL()
[all …]
Dptp.c3740 ptp_mtp_getobjectproplist (PTPParams* params, uint32_t handle, MTPProperties **props, int *nrofprop… in ptp_mtp_getobjectproplist()
3759 ptp_mtp_getobjectproplist_single (PTPParams* params, uint32_t handle, MTPProperties **props, int *n… in ptp_mtp_getobjectproplist_single()
3779 uint16_t objecttype, uint64_t objectsize, MTPProperties *props, int nrofprops) in ptp_mtp_sendobjectproplist()
3802 ptp_mtp_setobjectproplist (PTPParams* params, MTPProperties *props, int nrofprops) in ptp_mtp_setobjectproplist()
6455 MTPProperties *
6456 ptp_get_new_object_prop_entry(MTPProperties **props, int *nrofprops) in ptp_get_new_object_prop_entry()
6458 MTPProperties *newprops; in ptp_get_new_object_prop_entry()
6459 MTPProperties *prop; in ptp_get_new_object_prop_entry()
6461 newprops = realloc(*props,sizeof(MTPProperties)*(*nrofprops+1)); in ptp_get_new_object_prop_entry()
6476 ptp_destroy_object_prop(MTPProperties *prop) in ptp_destroy_object_prop()
[all …]