Lines Matching refs:ref

441 	// entry ref representation and support more URLs.
449 entry_ref ref;
451 for (int i = 0; refsReceivedMessage->FindRef("refs", i, &ref) == B_OK;
454 BString type = _MIMEString(&ref);
457 AppendPlaylistToPlaylist(ref, &subPlaylist);
463 AppendQueryToPlaylist(ref, &subPlaylist);
465 PlaylistFileReader* reader = PlaylistFileReader::GenerateReader(ref);
467 reader->AppendToPlaylist(ref, &subPlaylist);
470 if (!_ExtraMediaExists(this, ref)) {
471 AppendToPlaylistRecursive(ref, &subPlaylist);
484 be_roster->AddToRecentDocuments(&ref, kAppSig);
506 Playlist::AppendToPlaylistRecursive(const entry_ref& ref, Playlist* playlist)
508 // recursively append the ref (dive into folders)
509 BEntry entry(&ref, true);
525 BString mimeString = _MIMEString(&ref);
527 PlaylistItem* item = new (std::nothrow) FilePlaylistItem(ref);
528 if (!_ExtraMediaExists(playlist, ref)) {
541 Playlist::AppendPlaylistToPlaylist(const entry_ref& ref, Playlist* playlist)
543 BEntry entry(&ref, true);
547 BString mimeString = _MIMEString(&ref);
550 BFile file(&ref, B_READ_ONLY);
576 BFile file(&ref, B_READ_ONLY);
585 Playlist::AppendQueryToPlaylist(const entry_ref& ref, Playlist* playlist)
587 BQueryFile query(&ref);
628 Playlist::_ExtraMediaExists(Playlist* playlist, const entry_ref& ref)
630 BString exceptExtension = _GetExceptExtension(BPath(&ref).Path());
636 if (compare->Ref() != ref
692 BFile appFile(&appInfo.ref, B_READ_ONLY);
739 Playlist::_MIMEString(const entry_ref* ref)
741 BFile file(ref, B_READ_ONLY);
746 if (BMimeType::GuessMimeType(ref, &type) != B_OK)
791 entry_ref ref;
792 entry.GetRef(&ref);
793 BString mimeString = _MIMEString(&ref);
795 fileItem->AddRef(ref);
797 fileItem->AddImageRef(ref);