Searched refs:extensions (Results 26 - 30 of 30) sorted by relevance

12

/haiku/headers/private/storage/mime/
H A DDatabase.h71 status_t SetFileExtensions(const char *type, const BMessage *extensions);
/haiku/src/kits/storage/mime/
H A DDatabase.cpp320 \brief Sets the list of filename extensions associated with the MIME type
322 The list of extensions is given in a pre-allocated BMessage pointed to by
323 the \c extensions parameter. Please see BMimeType::SetFileExtensions()
326 \param extensions Pointer to a pre-allocated, properly formatted BMessage containing
327 the new list of file extensions to associate with this MIME type.
333 Database::SetFileExtensions(const char *type, const BMessage *extensions) argument
337 if (type == NULL || extensions == NULL)
342 kFileExtensionsAttr, *extensions, &didCreate);
757 - If sniffing fails, the filename is checked for known extensions.
802 // If that fails, check extensions
[all...]
/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp77 static const char *fileExtField = "extensions";
3224 // file extensions
3225 BMessage extensions; local
3226 CHK(extensions.AddString("extensions", "arg") == B_OK);
3227 CHK(extensions.AddString("extensions", "ugh") == B_OK);
3228 CHK(type.SetFileExtensions(&extensions) == B_OK);
3274 // file extensions
3275 CHK(extensions
[all...]
/haiku/headers/private/audio/
H A Dhmulti_audio.h62 B_MULTI_LIST_EXTENSIONS, /* get a list of supported extensions */
637 /* Good extensions should be put into this header; really */
638 /* good extensions should become part of the regular API. */
639 /* For developer-developed extensions, use all lowercase */
655 int32 actual_count; /* return # of actual extensions */
657 extensions; /* allocated by caller */
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatReader.cpp251 extension = message.FindString("extensions");
1592 if (context->iformat->extensions != NULL)
1593 strlcpy(mff->file_extension, context->iformat->extensions, sizeof(mff->file_extension));
1595 TRACE(" no file extensions for AVInputFormat.\n");

Completed in 107 milliseconds

12