Lines Matching refs:item_id

2336   file->item_id = ob->oid;  in obj2file()
2411 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
2413 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
3825 new->item_id = 0; in LIBMTP_new_file_t()
3944 file->item_id = ob->oid; in LIBMTP_Get_Filelisting_With_Callback()
4013 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filelisting_With_Callback()
4015 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filelisting_With_Callback()
4095 file->item_id = fileid; in LIBMTP_Get_Filemetadata()
4130 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filemetadata()
4132 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filemetadata()
4169 new->item_id = 0; in LIBMTP_new_track_t()
4327 ret = ptp_object_want(params, track->item_id, PTPOBJECT_MTPPROPLIST_LOADED, &ob); in get_track_metadata()
4346 track->title = get_string_from_object(device, track->item_id, PTP_OPC_Name); in get_track_metadata()
4349 track->artist = get_string_from_object(device, track->item_id, PTP_OPC_Artist); in get_track_metadata()
4352 track->composer = get_string_from_object(device, track->item_id, PTP_OPC_Composer); in get_track_metadata()
4355 track->duration = get_u32_from_object(device, track->item_id, PTP_OPC_Duration, 0); in get_track_metadata()
4358 track->tracknumber = get_u16_from_object(device, track->item_id, PTP_OPC_Track, 0); in get_track_metadata()
4361 track->genre = get_string_from_object(device, track->item_id, PTP_OPC_Genre); in get_track_metadata()
4364 track->album = get_string_from_object(device, track->item_id, PTP_OPC_AlbumName); in get_track_metadata()
4367 track->date = get_string_from_object(device, track->item_id, PTP_OPC_OriginalReleaseDate); in get_track_metadata()
4371 track->samplerate = get_u32_from_object(device, track->item_id, PTP_OPC_SampleRate, 0); in get_track_metadata()
4374 track->nochannels = get_u16_from_object(device, track->item_id, PTP_OPC_NumberOfChannels, 0); in get_track_metadata()
4377 track->wavecodec = get_u32_from_object(device, track->item_id, PTP_OPC_AudioWAVECodec, 0); in get_track_metadata()
4380 track->bitrate = get_u32_from_object(device, track->item_id, PTP_OPC_AudioBitRate, 0); in get_track_metadata()
4383 track->bitratetype = get_u16_from_object(device, track->item_id, PTP_OPC_BitRateType, 0); in get_track_metadata()
4386 track->rating = get_u16_from_object(device, track->item_id, PTP_OPC_Rating, 0); in get_track_metadata()
4389 track->usecount = get_u32_from_object(device, track->item_id, PTP_OPC_UseCount, 0); in get_track_metadata()
4393 track->filesize = get_u64_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0); in get_track_metadata()
4395 … track->filesize = (uint64_t) get_u32_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0); in get_track_metadata()
4503 track->item_id = ob->oid; in LIBMTP_Get_Tracklisting_With_Callback()
4611 track->item_id = ob->oid; in LIBMTP_Get_Trackmetadata()
5117 filedata.item_id = metadata->item_id;
5141 metadata->item_id = filedata.item_id;
5214 filedata.item_id = metadata->item_id;
5239 metadata->item_id = filedata.item_id;
5409 add_object_to_cache(device, filedata->item_id);
5417 newfilemeta = LIBMTP_Get_Filemetadata(device, filedata->item_id);
5522 add_object_to_cache(device, filedata->item_id);
5530 newfilemeta = LIBMTP_Get_Filemetadata(device, filedata->item_id);
5703 filedata->item_id = 0x00000000U;
5718 prop->ObjectHandle = filedata->item_id;
5730 prop->ObjectHandle = filedata->item_id;
5737 prop->ObjectHandle = filedata->item_id;
5744 prop->ObjectHandle = filedata->item_id;
5754 prop->ObjectHandle = filedata->item_id;
5767 ret = ptp_mtp_sendobjectproplist(params, &store, &localph, &filedata->item_id,
5798 ret = ptp_sendobjectinfo(params, &store, &localph, &filedata->item_id, &new_file);
5873 prop->ObjectHandle = metadata->item_id;
5882 prop->ObjectHandle = metadata->item_id;
5891 prop->ObjectHandle = metadata->item_id;
5900 prop->ObjectHandle = metadata->item_id;
5909 prop->ObjectHandle = metadata->item_id;
5916 prop->ObjectHandle = metadata->item_id;
5923 prop->ObjectHandle = metadata->item_id;
5932 prop->ObjectHandle = metadata->item_id;
5939 prop->ObjectHandle = metadata->item_id;
5946 prop->ObjectHandle = metadata->item_id;
5953 prop->ObjectHandle = metadata->item_id;
5960 prop->ObjectHandle = metadata->item_id;
5967 prop->ObjectHandle = metadata->item_id;
5977 prop->ObjectHandle = metadata->item_id;
5984 prop->ObjectHandle = metadata->item_id;
5993 prop->ObjectHandle = metadata->item_id;
6033 ret = set_object_string(device, metadata->item_id, PTP_OPC_Name, metadata->title);
6041 ret = set_object_string(device, metadata->item_id, PTP_OPC_AlbumName, metadata->album);
6049 ret = set_object_string(device, metadata->item_id, PTP_OPC_Artist, metadata->artist);
6057 ret = set_object_string(device, metadata->item_id, PTP_OPC_Composer, metadata->composer);
6065 ret = set_object_string(device, metadata->item_id, PTP_OPC_Genre, metadata->genre);
6074 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_Duration, adjust_u32(metadata->duration, &…
6084 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Track, adjust_u16(metadata->tracknumber, &…
6093 ret = set_object_string(device, metadata->item_id, PTP_OPC_OriginalReleaseDate, metadata->date);
6103 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_SampleRate, adjust_u32(metadata->samplerat…
6113 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_NumberOfChannels, adjust_u16(metadata->noc…
6123 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioWAVECodec, adjust_u32(metadata->wavec…
6133 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioBitRate, adjust_u32(metadata->bitrate…
6143 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_BitRateType, adjust_u16(metadata->bitratet…
6154 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Rating, adjust_u16(metadata->rating, &opd)…
6163 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_UseCount, adjust_u32(metadata->usecount, &…
6173 ret = set_object_string(device, metadata->item_id, PTP_OPC_DateModified, tmpstamp);
6198 update_metadata_cache(device, metadata->item_id);
6334 ret = set_object_filename(device, file->item_id,
6394 ret = set_object_filename(device, track->item_id,