Lines Matching refs:mimetype
491 void _SetTo(const char* mimetype);
495 void _Dump(const char* mimetype);
802 MimeType::_SetTo(const char* mimetype)
804 if (mimetype == NULL)
807 if (BMimeType::SetTo(mimetype) != B_OK)
808 throw Error("failed to set mimetype to '%s'", mimetype);
883 MimeType::_Dump(const char* mimetype)
886 if (Type() == NULL || strcasecmp(Type(), mimetype) != 0)
887 _SetTo(mimetype);
892 && fPrefApp.ICompare(mimetype) == 0
902 cout << fToolName << " -set " << mimetype;
964 throw Error("could not install mimetype '%s'", Type());
1084 throw Error("set mimetype attributes failed");
1161 MimeType mimetype(argv);
1163 mimetype.Process();