Searched refs:mime (Results 51 - 75 of 101) sorted by relevance

12345

/haiku-fatelf/src/apps/stylededit/
H A DStyledEditApp.cpp114 const char* mime = charset.GetMIMEName(); local
115 if (mime != NULL) {
117 name.Append(mime);
H A DStyledEditWindow.cpp706 const char* mime = charset->GetMIMEName(); local
708 if (mime)
709 name << " (" << mime << ")"; local
832 const char* mime = charset.GetMIMEName(); local
833 if (mime) {
835 name.Append(mime);
1900 const char* mime = charset.GetMIMEName(); local
1903 if (mime)
1904 name << " (" << mime << ")"; local
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing/
H A DFileSharing.cpp178 // Here we're going to get the mini icon from a specific mime type
182 BMimeType mime("application/x-vnd.BeServed-fileshare");
183 mime.GetIcon(icon, B_MINI_ICON);
212 BMimeType mime("application/x-vnd.Teldar-FileSharing");
213 mime.GetIcon(icon, B_LARGE_ICON);
825 BMimeType mime("application/x-vnd.BeServed-fileshare");
826 mime.GetIcon(icon, B_LARGE_ICON);
1214 BMimeType mime("application/x-vnd.Teldar-FileSharing");
1215 mime.GetIcon(icon, B_LARGE_ICON);
2026 BMimeType mime; local
2039 setMimeIcon(BMimeType *mime, int32 resourceID, icon_size which) argument
[all...]
/haiku-fatelf/src/bin/
H A Dtranslate.cpp88 uint32 GetTypeCodeForOutputMime(const char *mime);
536 BMimeType mime(argv[3]);
538 if (mime.IsValid() && !mime.IsSupertypeOnly()) {
636 TranslateApp::GetTypeCodeForOutputMime(const char *mime) argument
644 if (!strcmp(mime, format[j].MIME))
/haiku-fatelf/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp218 char mime[B_MIME_TYPE_LENGTH]; local
219 err = info.GetType(mime);
223 if (strncmp(mime, "text/plain", B_MIME_TYPE_LENGTH))
/haiku-fatelf/headers/os/mail/
H A DMailComponent.h71 virtual status_t MIMEType(BMimeType *mime);
H A DMailAttachment.h111 virtual status_t MIMEType(BMimeType *mime);
/haiku-fatelf/src/apps/resedit/
H A DResView.cpp381 BString mime;
382 file.ReadAttrString("BEOS:TYPE", &mime);
384 if (mime == "application/x-be-resource") {
395 if (roster->Identify(&file, NULL, &info, 0, mime.String()) == B_OK)
/haiku-fatelf/src/apps/mail/
H A DContent.h74 bool mime; member in struct:__anon3043
245 bool stripHeaders, bool mime, TTextView* view,
H A DHeader.cpp204 const char* mime = charset.GetMIMEName(); local
205 if (mime)
206 name << " (" << mime << ")"; local
209 if (mime == NULL || strcasecmp(mime, "UTF-8") != 0)
H A DPrefs.cpp848 const char* mime = charset.GetMIMEName(); local
849 if (mime)
850 name << " (" << mime << ")"; local
853 if ((mime == 0) || (strcasecmp(mime, "UTF-8") != 0))
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/BeManager/
H A DGroupProperties.cpp93 BMimeType mime("application/x-vnd.Teldar-Group");
94 mime.GetIcon(icon, B_LARGE_ICON);
H A DUserProperties.cpp54 BMimeType mime("application/x-vnd.Teldar-User");
55 mime.GetIcon(icon, B_LARGE_ICON);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/
H A DInstallPrinter.cpp50 BMimeType mime("application/x-vnd.Be.printer");
51 mime.GetIcon(icon, B_LARGE_ICON);
/haiku-fatelf/src/tests/add-ons/translators/
H A DTranslatorTestAddOn.cpp74 float quality, float capability, const char *name, const char *mime)
84 CPPUNIT_ASSERT(strcmp(pti->MIME, mime) == 0);
73 CheckTranslatorInfo(translator_info *pti, uint32 type, uint32 group, float quality, float capability, const char *name, const char *mime) argument
/haiku-fatelf/build/scripts/
H A Dbuild_haiku_image288 mimeTmpDir=$tmpDir/mime
289 mimeDBTmpDir=$tmpDir/mime/db
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dnanohttp.c691 const xmlChar *charset, *last, *mime; local
697 mime = (const xmlChar *) cur;
698 last = mime;
704 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
717 const xmlChar *charset, *last, *mime; local
722 mime = (const xmlChar *) cur;
723 last = mime;
729 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime);
[all...]
/haiku-fatelf/src/kits/storage/
H A DMimeType.cpp15 #include <mime/database_access.h>
231 BMimeType mime; local
233 mime.SetTo(type);
234 return (*this) == mime;
666 BMimeType mime; local
667 status_t err = mime.SetTo("application/octet-stream");
669 err = mime.GetSupportingApps(wild_ones);
950 err = reply.FindString("mime type", &str);
981 err = reply.FindString("mime type", &str);
1012 err = reply.FindString("mime typ
[all...]
/haiku-fatelf/src/servers/print/
H A DConfigWindow.cpp438 ConfigWindow::UpdateAppSettings(const char* mime, const char* printer) argument
443 AppSettings* app = s->FindAppSettings(mime);
447 s->AddAppSettings(new AppSettings(mime, printer));
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Ddosfs.h92 const char *mime; // mime type (null if none) member in struct:vnode
/haiku-fatelf/src/apps/codycam/
H A DVideoConsumer.cpp773 const char* mime = NULL; local
776 mime = formats[ix].MIME;
781 if (mime == NULL) {
788 return ninfo.SetType(mime);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Ddosfs.h101 const char *mime; // mime type (null if none) member in struct:vnode
/haiku-fatelf/src/kits/tracker/
H A DOpenWithWindow.cpp246 // set entry as default handler for one mime string
247 BMimeType mime(element->String());
248 if (!mime.IsInstalled())
260 if (mime.SetPreferredApp(appSignature) != B_OK)
264 mime.SetTo(appSignature);
268 mime.SetAppHint(appRef);
301 // mime types in the list
564 BMimeType mime(type);
565 if (!mime.IsInstalled())
569 mime
[all...]
H A DIconCache.cpp396 BMimeType mime(fileType);
398 if (mime.GetIcon(lazyBitmap->Get(), size) != B_OK) {
401 if (mime.GetPreferredApp(preferredAppSig) != B_OK)
493 BMimeType mime(fileType);
494 if (!mime.IsSupertypeOnly()) {
496 mime.GetSupertype(&superType);
574 // go for the default mime based icon
1130 BMimeType mime(fileType);
1132 status_t result = mime.GetPreferredApp(preferredAppSig);
1143 result = mime
[all...]
/haiku-fatelf/src/apps/packageinstaller/
H A DPackageInfo.cpp760 char *mime = new char[length + 1]; local
761 fPackageFile->Read(mime, length);
762 mime[length] = 0;
763 parser_debug("Mime: %s\n", mime);
765 mimeString = mime;
766 delete mime;

Completed in 150 milliseconds

12345