Lines Matching refs:item_id

2336   file->item_id = ob->oid;
2411 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
2413 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
3825 new->item_id = 0;
3944 file->item_id = ob->oid;
4013 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
4015 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
4095 file->item_id = fileid;
4130 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
4132 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0);
4169 new->item_id = 0;
4327 ret = ptp_object_want(params, track->item_id, PTPOBJECT_MTPPROPLIST_LOADED, &ob);
4346 track->title = get_string_from_object(device, track->item_id, PTP_OPC_Name);
4349 track->artist = get_string_from_object(device, track->item_id, PTP_OPC_Artist);
4352 track->composer = get_string_from_object(device, track->item_id, PTP_OPC_Composer);
4355 track->duration = get_u32_from_object(device, track->item_id, PTP_OPC_Duration, 0);
4358 track->tracknumber = get_u16_from_object(device, track->item_id, PTP_OPC_Track, 0);
4361 track->genre = get_string_from_object(device, track->item_id, PTP_OPC_Genre);
4364 track->album = get_string_from_object(device, track->item_id, PTP_OPC_AlbumName);
4367 track->date = get_string_from_object(device, track->item_id, PTP_OPC_OriginalReleaseDate);
4371 track->samplerate = get_u32_from_object(device, track->item_id, PTP_OPC_SampleRate, 0);
4374 track->nochannels = get_u16_from_object(device, track->item_id, PTP_OPC_NumberOfChannels, 0);
4377 track->wavecodec = get_u32_from_object(device, track->item_id, PTP_OPC_AudioWAVECodec, 0);
4380 track->bitrate = get_u32_from_object(device, track->item_id, PTP_OPC_AudioBitRate, 0);
4383 track->bitratetype = get_u16_from_object(device, track->item_id, PTP_OPC_BitRateType, 0);
4386 track->rating = get_u16_from_object(device, track->item_id, PTP_OPC_Rating, 0);
4389 track->usecount = get_u32_from_object(device, track->item_id, PTP_OPC_UseCount, 0);
4393 track->filesize = get_u64_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0);
4395 track->filesize = (uint64_t) get_u32_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0);
4503 track->item_id = ob->oid;
4611 track->item_id = ob->oid;
4995 * After this call the field <code>metadata-&gt;item_id</code>
5072 * After this call the field <code>metadata-&gt;item_id</code>
5117 filedata.item_id = metadata->item_id;
5136 // (void) LIBMTP_Delete_Object(device, metadata->item_id);
5141 metadata->item_id = filedata.item_id;
5150 // (void) LIBMTP_Delete_Object(device, metadata->item_id);
5169 * After this call the field <code>metadata-&gt;item_id</code>
5214 filedata.item_id = metadata->item_id;
5234 // (void) LIBMTP_Delete_Object(device, metadata->item_id);
5239 metadata->item_id = filedata.item_id;
5248 // (void) LIBMTP_Delete_Object(device, metadata->item_id);
5265 * After this call the field <code>filedata-&gt;item_id</code>
5342 * After this call the field <code>filedata-&gt;item_id</code>
5409 add_object_to_cache(device, filedata->item_id);
5417 newfilemeta = LIBMTP_Get_Filemetadata(device, filedata->item_id);
5446 * After this call the field <code>filedata-&gt;item_id</code>
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, &opd));
6084 ret = set_object_u16(device, metadata->item_id, PTP_OPC_Track, adjust_u16(metadata->tracknumber, &opd));
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->samplerate, &opd));
6113 ret = set_object_u16(device, metadata->item_id, PTP_OPC_NumberOfChannels, adjust_u16(metadata->nochannels, &opd));
6123 ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioWAVECodec, adjust_u32(metadata->wavecodec, &opd));
6133 ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioBitRate, adjust_u32(metadata->bitrate, &opd));
6143 ret = set_object_u16(device, metadata->item_id, PTP_OPC_BitRateType, adjust_u16(metadata->bitratetype, &opd));
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, &opd));
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,