Searched refs:mime (Results 1 - 25 of 101) sorted by relevance

12345

/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Dmime_table.c10 char *mime; member in struct:ext_mime
H A Dmime_table.h11 char *mime; member in struct:ext_mime
H A Dattr.c7 * handles mime type information for dosfs
8 * gets/sets mime information in vnode
37 node->mime = NULL;
54 node->mime = p->mime;
154 if ((*cookie == 0) && (node->mime)) {
183 if (node->mime == NULL) {
223 if (node->mime == NULL) {
229 stat->st_size = strlen(node->mime) + 1;
250 if (node->mime
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Dmime_table.c10 char *mime; member in struct:ext_mime
H A Dmime_table.h11 char *mime; member in struct:ext_mime
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/
H A Dmime_table.h11 char *mime; member in struct:ext_mime
H A Dmime_table.c10 char *mime; member in struct:ext_mime
H A Dfake_attributes.c6 * handles mime type information for ntfs
7 * gets/sets mime information in vnode
39 node->mime = NULL;
43 node->mime = kDirectoryMime;
60 if(p->mime==NULL)
61 node->mime = kFailBackMime;
63 node->mime = p->mime;
191 if ((*cookie == kOpenTypeCookie) && (node->mime)) {
285 if (node->mime
[all...]
/haiku-fatelf/src/add-ons/kernel/generic/mime_table/
H A Dmktable.sh8 mime="$1"
13 echo " { \"$extension\", \"$mime\" },"
H A Dmodule.c63 return mimes[i].mime;
68 const char *ext_for_mime(const char *mime) argument
72 for (i = 0; mimes[i].mime; i++) {
73 if (!strcmp(mime, mimes[i].mime))
/haiku-fatelf/headers/os/drivers/
H A Dmime_table.h5 / Description: Kernel mime table and matcher module API
18 char *mime; member in struct:ext_mime
27 Returns the current kernel mime table.
31 Frees the given mime table;
34 Returns the known mime type for the given extension.
36 const char * ext_for_mime(const char *mime)
37 Returns the known extension for the given mime type.
48 const char * (*ext_for_mime)(const char *mime);
/haiku-fatelf/src/tests/kits/storage/
H A DMimeTypeTest.cpp23 #include <mime/database_support.h>
55 "x-vnd.obos.mime.test.test1";
57 "x-vnd.obos.mime.test.test2";
59 "x-vnd.obos.mime.test.test3";
94 static const char *testSig = "application/x-vnd.obos.mime-type-test";
95 static const char *testSig2 = "application/x-vnd.obos.mime-type-test-2";
96 static const char *longSig = "application/x-vnd.obos.mime-type-test-long."
453 virtual status_t GetIcon(BMimeType &mime, BBitmap *icon) { argument
454 return mime.GetIcon(icon, size);
458 virtual status_t SetIcon(BMimeType &mime, BBitma argument
463 DeleteIcon(BMimeType &mime) argument
499 GetIcon(BMimeType &mime, BBitmap *icon) argument
502 SetIcon(BMimeType &mime, BBitmap *icon) argument
505 DeleteIcon(BMimeType &mime) argument
632 BMimeType mime; local
848 BMimeType mime; local
1140 BMimeType mime; local
1330 BMimeType mime; local
1887 BMimeType mime; local
2016 BMimeType mime; local
2211 BMimeType mime; local
[all...]
/haiku-fatelf/src/kits/app/
H A DRosterPrivate.cpp45 \a mime specifies whether to send the message to the roster or to the
52 \param mime \c true, if the message should be sent to the MIME data base
61 BRoster::Private::SendTo(BMessage *message, BMessage *reply, bool mime) argument
68 if (mime)
77 \a mime specifies whether to check the roster messenger or the one of
80 \param mime \c true, if the MIME data base service messenger should be
85 BRoster::Private::IsMessengerValid(bool mime) const
87 return fRoster != NULL && (mime ? fRoster->_MimeMessenger().IsValid()
/haiku-fatelf/src/tools/
H A Dpropset-files.sh13 hasProperty=`svn propget svn:mime-type "$file"`
19 svn propset svn:mime-type "$mimetype" "$file"
23 # #svn propset svn:mime-type "$mimetype" "$file"
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/BeManager/
H A DBeManager.cpp190 BMimeType mime; local
191 mime.SetTo("application/x-vnd.BeServed-DomainManager");
192 if (!mime.IsInstalled())
194 mime.Install();
195 mime.SetShortDescription("DomainManager");
196 mime.SetLongDescription("BeServed Domain Management Console 1.2.6");
197 setMimeIcon(&mime, ICON_BMC_LARGE, B_LARGE_ICON);
198 setMimeIcon(&mime, ICON_BMC_SMALL, B_MINI_ICON);
201 mime.SetTo("application/x-vnd.Teldar-User");
202 if (!mime
222 setMimeIcon(BMimeType *mime, int32 resourceID, icon_size which) argument
[all...]
H A DConsoleHeaderView.cpp24 BMimeType mime("application/x-vnd.BeServed-DomainManager");
25 mime.GetIcon(icon, B_LARGE_ICON);
/haiku-fatelf/src/apps/processcontroller/
H A DIconMenuItem.h41 IconMenuItem(const char* mime, const char* title, BMessage*,
52 void DefaultIcon(const char* mime);
H A DIconMenuItem.cpp57 IconMenuItem::IconMenuItem(const char* mime, const char* title, BMessage* msg, bool drawText) argument
62 DefaultIcon(mime);
136 IconMenuItem::DefaultIcon(const char* mime) argument
140 if (mime) {
141 BMimeType mimeType(mime);
H A DUtilities.h40 bool launch(const char* mime, const char* path);
/haiku-fatelf/src/build/libbe/storage/
H A DMime.cpp15 #include <mime/database_access.h>
16 #include <mime/UpdateMimeInfoThread.h>
/haiku-fatelf/src/servers/registrar/mime/
H A DCreateAppMetaMimeThread.cpp24 #include <mime/database_support.h>
78 BMimeType mime;
79 status = mime.SetTo(signature.String());
85 if (!mime.IsInstalled())
86 mime.Install();
102 status = mime.SetPreferredApp(signature.String());
106 status = mime.SetShortDescription(ref->name);
110 status = mime.SetAppHint(ref);
117 status = mime.SetIcon(data, size);
125 status = mime
[all...]
/haiku-fatelf/headers/build/private/storage/mime/
H A DUpdateMimeInfoThread.h13 #include <mime/MimeUpdateThread.h>
/haiku-fatelf/src/kits/support/
H A DUrl.cpp47 BMimeType mime(appSignature.String());
50 && mime.IsValid())
61 BMimeType mime(_UrlMimeType().String());
62 mime.GetPreferredApp(appSignature.LockBuffer(B_MIME_TYPE_LENGTH));
183 BString mime; local
184 mime << "application/x-vnd.Be.URL." << fProto;
186 return BString(mime);
/haiku-fatelf/src/kits/textencoding/
H A DCharacterSetRoster.cpp96 // first search standard names and mime names
101 const char * mime = character_sets_by_id[id]->GetMIMEName(); local
102 if ((mime != NULL) && (strcasecmp(mime,name) == 0)) {
/haiku-fatelf/src/tests/add-ons/translators/
H A DTranslatorTestAddOn.h16 const char *name, const char *mime);

Completed in 119 milliseconds

12345