/haiku/src/kits/storage/mime/ |
H A D | MimeSnifferAddonManager.cpp | 7 #include <mime/MimeSnifferAddonManager.h> 63 : fLock("mime sniffer manager"),
|
H A D | TextSnifferAddon.cpp | 7 #include <mime/TextSnifferAddon.h> 11 #include <mime/DatabaseLocation.h>
|
H A D | DatabaseLocation.cpp | 12 #include <mime/DatabaseLocation.h> 29 #include <mime/database_support.h> 319 \param type The mime type 495 \param type The mime type 512 \param type The mime type
|
H A D | Database.cpp | 12 #include <mime/Database.h> 33 #include <mime/database_support.h> 34 #include <mime/DatabaseLocation.h> 60 by this class on the mime type strings passed to it. It's assumed 358 \brief Sets a bitmap icon for the given mime type 370 \brief Sets a bitmap icon for the given mime type 381 \brief Sets the vector icon for the given mime type 572 /*! \brief Sets the mime sniffer rule for the given mime type 605 \param type The mime typ [all...] |
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 803 const char* mime = NULL; local 806 mime = formats[ix].MIME; 811 if (mime == NULL) { 818 return ninfo.SetType(mime);
|
/haiku/src/kits/tracker/ |
H A D | OpenWithWindow.cpp | 231 // set entry as default handler for one mime string 232 BMimeType mime(element->String()); 233 if (!mime.IsInstalled()) 245 if (mime.SetPreferredApp(appSignature) != B_OK) 249 mime.SetTo(appSignature); 253 mime.SetAppHint(appRef); 286 // mime types in the list 591 BMimeType mime(type); 592 if (!mime.IsInstalled()) 596 mime [all...] |
H A D | IconCache.cpp | 423 BMimeType mime(fileType); 425 if (mime.GetIcon(lazyBitmap->Get(), icon_size_for(size)) != B_OK) { 428 if (mime.GetPreferredApp(preferredAppSig) != B_OK) 522 BMimeType mime(fileType); 523 if (!mime.IsSupertypeOnly()) { 525 mime.GetSupertype(&superType); 606 // go for the default mime based icon 1168 BMimeType mime(fileType); 1170 status_t result = mime.GetPreferredApp(preferredAppSig); 1181 result = mime [all...] |
H A D | Utilities.cpp | 574 BMimeType mime(type); 575 status_t result = mime.GetIcon(fBitmap, which); 576 ASSERT(mime.IsValid()); 579 BMimeType mime(B_FILE_MIMETYPE); 580 ASSERT(mime.IsInstalled()); 581 mime.GetIcon(fBitmap, which);
|
H A D | Model.cpp | 612 // check if a specific mime type is set 614 // node has a specific mime type 897 // sync up cached values of mime type and preferred app and 917 // node has a specific mime type 989 BNodeInfo mime(&file); 991 if (mime.InitCheck() != B_OK) 995 mime.GetType(mimeType); 1000 // do some mime-based matching 1060 // perform a mime type wildcard match
|
H A D | WidgetAttributeText.cpp | 699 BMimeType mime; local 702 // get the mime type 703 if (mime.SetType(fModel->MimeType()) != B_OK) 705 else if (mime.GetShortDescription(desc) == B_OK) { 706 // get the short mime type description
|
H A D | PoseView.cpp | 4253 // TODO: collect all mime types here and pass into 4297 // get the mime type of the model, following a possible symlink 4304 BNodeInfo mime(&file); 4306 if (mime.InitCheck() != B_OK) 4310 mime.GetType(mimeType);
|
/haiku/src/apps/packageinstaller/ |
H A D | PackageInfo.cpp | 787 char *mime = new char[length + 1]; local 788 fPackageFile->Read(mime, length); 789 mime[length] = 0; 790 parser_debug("Mime: %s\n", mime); 792 mimeString = mime; 793 delete[] mime;
|
H A D | PackageItem.h | 159 uint32 platform, const BString& mime,
|
H A D | PackageItem.cpp | 861 uint64 originalSize, uint32 platform, const BString &mime, 868 fMimeType(mime), 859 PackageFile(BFile *parent, const BString &path, uint8 type, uint32 ctime, uint32 mtime, uint64 offset, uint64 size, uint64 originalSize, uint32 platform, const BString &mime, const BString &signature, uint32 mode) argument
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditWindow.cpp | 791 const char* mime = charset->GetMIMEName(); local 793 if (mime) 794 name << " (" << mime << ")"; local 916 const char* mime = charset.GetMIMEName(); local 917 if (mime) { 919 name.Append(mime); 2033 const char* mime = charset.GetMIMEName(); local 2036 if (mime) 2037 name << " (" << mime << ")"; local
|
/haiku/src/apps/mail/ |
H A D | Prefs.cpp | 837 const char* mime = charset.GetMIMEName(); local 838 if (mime) 839 name << " (" << mime << ")"; local 842 if ((mime == 0) || (strcasecmp(mime, "UTF-8") != 0))
|
H A D | MailWindow.cpp | 492 const char* mime = charSet.GetMIMEName(); local 493 if (mime != NULL) 494 name << " (" << mime << ")"; local 497 if (mime == NULL || strcasecmp(mime, "UTF-8") != 0) 3179 // ignore the mime type, we'll force it to be email
|
H A D | Content.cpp | 2210 bool stripHeader, bool mime, TTextView *view, BEmailMessage *mail, 2218 fMime(mime),
|
/haiku/src/kits/tracker/infowindow/ |
H A D | GeneralInfoView.cpp | 223 BMimeType mime(fModel->MimeType()); 242 mime.GetSupportingApps(&supportingAppList); 305 BMimeType mime; local 375 if (mime.SetType(model->MimeType()) == B_OK 376 && mime.GetShortDescription(kind) == B_OK)
|
/haiku/src/apps/terminal/ |
H A D | TermWindow.cpp | 424 const char* mime = charset->GetMIMEName(); local 425 if (mime) 426 name << " (" << mime << ")"; local 452 const char* mime = charset.GetMIMEName(); 453 if (mime == NULL || strcasecmp(mime, "UTF-8") != 0) 461 if (mime) 462 name << " (" << mime << ")";
|
/haiku/src/kits/support/ |
H A D | Url.cpp | 695 BMimeType mime(appSignature.String()); 698 && mime.IsValid()) 711 BMimeType mime(_UrlMimeType().String()); 712 mime.GetPreferredApp(appSignature.LockBuffer(B_MIME_TYPE_LENGTH)); 1483 BString mime; local 1484 mime << "application/x-vnd.Be.URL." << fProtocol; 1486 return BString(mime);
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dosfs.cpp | 108 if (n->mime) kprintf("mime type %s\n", n->mime); 636 vol->root_vnode.mime = NULL; 1131 dprintf("mime = %s\n", node->mime ? node->mime : "(null)");
|
/haiku/src/kits/mail/ |
H A D | MailAttachment.cpp | 764 BAttributedMailAttachment::MIMEType(BMimeType *mime) argument 766 return _data->MIMEType(mime);
|
H A D | MailComponent.cpp | 356 BMailComponent::MIMEType(BMimeType* mime) argument 410 mime->SetTo(typeAsLowerCaseString);
|
/haiku/src/apps/people/ |
H A D | PictureView.cpp | 98 BMimeType mime(B_PERSON_MIMETYPE); 101 if (mime.GetIcon(&iconData, &iconDataSize) == B_OK) {
|