Searched refs:fileType (Results 1 - 25 of 34) sorted by relevance

12

/haiku/src/kits/storage/mime/
H A DDatabase.cpp391 Database::SetIconForType(const char* type, const char* fileType, argument
395 return SetIconForType(type, fileType, icon->Bits(),
398 return SetIconForType(type, fileType, NULL, 0, which);
415 \param fileType The MIME type whose custom icon you wish to set.
425 Database::SetIconForType(const char *type, const char *fileType, argument
455 if (fileType) {
458 + BPrivate::Storage::to_lower(fileType);
477 if (fileType) {
478 _SendMonitorUpdate(B_ICON_FOR_TYPE_CHANGED, type, fileType,
497 \param fileType Th
506 SetIconForType(const char *type, const char *fileType, const void *data, size_t dataSize) argument
1167 DeleteIconForType(const char *type, const char *fileType, icon_size which) argument
1201 DeleteIconForType(const char *type, const char *fileType) argument
[all...]
H A DDatabaseLocation.cpp539 \param fileType Pointer to a pre-allocated string containing the MIME type
552 DatabaseLocation::GetIconForType(const char* type, const char* fileType, argument
569 if (fileType != NULL) {
570 BString lowerCaseFileType(fileType);
598 \param fileType Reference to a pre-allocated string containing the MIME type
609 DatabaseLocation::GetIconForType(const char* type, const char* fileType, argument
624 if (fileType != NULL)
625 iconAttrName << kIconAttrPrefix << BString(fileType).ToLower();
/haiku/headers/private/storage/mime/
H A DDatabase.h77 status_t SetIconForType(const char* type, const char* fileType,
79 status_t SetIconForType(const char *type, const char *fileType,
81 status_t SetIconForType(const char *type, const char *fileType,
113 status_t DeleteIconForType(const char *type, const char *fileType,
115 status_t DeleteIconForType(const char *type, const char *fileType);
H A DDatabaseLocation.h85 const char* fileType, BBitmap& _icon,
88 const char* fileType, uint8*& _data,
/haiku/src/kits/tracker/
H A DIconCache.cpp404 IconCache::GetIconFromMetaMime(const char* fileType, IconDrawMode mode, argument
410 entry = fSharedCache.FindItem(fileType);
421 __FILE__, __LINE__, fileType));
423 BMimeType mime(fileType);
438 aliasTo = (SharedCacheEntry*)GetIconForPreferredApp(fileType,
449 __FILE__, __LINE__, fileType));
450 entry = fSharedCache.AddItem(fileType);
461 __FILE__, __LINE__, fileType));
462 entry = fSharedCache.AddItem(fileType);
477 PRINT(("failing on %s, mode %ld, size %ld\n", fileType, mod
495 const char* fileType = model->MimeType(); local
1163 Preload(const char* fileType, IconDrawMode mode, BSize size) argument
1454 FindItem(const char* fileType, const char* appSignature) const argument
1467 AddItem(const char* fileType, const char* appSignature) argument
1520 SharedCacheEntry(const char* fileType, const char* appSignature) argument
[all...]
H A DIconCache.h231 SharedCacheEntry(const char* fileType, const char* appSignature = 0);
276 SharedCacheEntry* FindItem(const char* fileType,
278 SharedCacheEntry* AddItem(const char* fileType,
436 IconCacheEntry* GetIconFromMetaMime(const char* fileType,
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDirectoryIterator.h41 uint8 fileType);
53 uint8 nameLength, ino_t id, uint8 fileType,
/haiku/3rdparty/vmware/
H A Dhaiku.vmx27 serial0.fileType = "file"
H A Dhaiku-alpha.vmx27 serial0.fileType = "file"
H A Dhaiku-nightly.vmx27 serial0.fileType = "file"
/haiku/src/servers/registrar/
H A DMIMEManager.cpp411 const char *fileType; local
413 err = message->FindString("file type", &fileType);
416 ? fDatabase.SetIconForType(type, fileType, data,
418 : fDatabase.SetIconForType(type, fileType, data,
523 const char *fileType; local
525 err = message->FindString("file type", &fileType);
528 ? fDatabase.DeleteIconForType(type, fileType)
529 : fDatabase.DeleteIconForType(type, fileType,
/haiku/src/apps/resedit/
H A DResView.cpp391 type_code fileType = 0; local
396 fileType = info.type;
398 fileType = B_RAW_TYPE;
403 if (resData->GetType() == fileType && resData->GetID() > lastID)
416 ResourceData *resData = new ResourceData(fileType, lastID + 1, ref.name,
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.h71 status_t SetIcon(const BMimeType* fileType,
H A DIconButton.cpp376 IconButton::SetIcon(const BMimeType* fileType, bool small) argument
378 status_t status = fileType ? fileType->InitCheck() : B_BAD_VALUE;
382 status = fileType->GetIcon(mimeBitmap, small ? B_MINI_ICON : B_LARGE_ICON);
390 printf("IconButton::SetIcon() - fileType->GetIcon() failed: %s\n", strerror(status));
395 printf("IconButton::SetIcon() - fileType is not valid: %s\n", strerror(status));
/haiku/headers/private/shared/
H A DIconButton.h76 status_t SetIcon(const BMimeType* fileType,
/haiku/src/tools/fs_shell/
H A Dfssh.cpp380 char fileType = '?'; local
382 fileType = '-';
384 fileType = 'l';
386 fileType = 'b';
388 fileType = 'd';
390 fileType = 'c';
392 fileType = 'f';
394 fileType = 'i';
413 fileType, permissions.c_str(), (int)st.fssh_st_uid, (int)st.fssh_st_gid,
/haiku/src/kits/package/hpkg/
H A DPackageReaderImpl.cpp249 status_t _SetFileType(AttributeHandlerContext* context, uint64 fileType) argument
251 switch (fileType) {
269 "package entry (%llu)\n", fileType);
H A DPackageWriterImpl.cpp1456 uint8 fileType; local
1459 fileType = B_HPKG_FILE_TYPE_FILE;
1462 fileType = B_HPKG_FILE_TYPE_SYMLINK;
1465 fileType = B_HPKG_FILE_TYPE_DIRECTORY;
1485 if (fileType != B_HPKG_DEFAULT_FILE_TYPE)
1486 _AddAttribute(B_HPKG_ATTRIBUTE_ID_FILE_TYPE, fileType);
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.cpp663 BMimeType fileType(mimeString.String());
665 if (fileType.GetSupertype(&superType) != B_OK)
679 BMimeType fileType(mimeString.String());
681 if (fileType.GetSupertype(&superType) != B_OK)
/haiku/src/kits/package/hpkg/v1/
H A DPackageReaderImplV1.cpp322 status_t _SetFileType(AttributeHandlerContext* context, uint64 fileType) argument
324 switch (fileType) {
342 "package entry (%llu)\n", fileType);
/haiku/headers/private/package/hpkg/
H A DWriterImplBase.h43 WriterImplBase(const char* fileType,
/haiku/headers/build/os/app/
H A DRoster.h129 const char *fileType = 0,
/haiku/src/kits/shared/
H A DIconButton.cpp399 BIconButton::SetIcon(const BMimeType* fileType, bool small) argument
401 status_t status = fileType ? fileType->InitCheck() : B_BAD_VALUE;
406 status = fileType->GetIcon(mimeBitmap, small ? B_MINI_ICON
417 printf("BIconButton::SetIcon() - fileType->GetIcon() failed: "
424 printf("BIconButton::SetIcon() - fileType is not valid: %s\n",
/haiku/headers/os/app/
H A DRoster.h122 int32 maxCount, const char* fileType = NULL,
/haiku/src/preferences/filetypes/
H A DIconView.h102 const char* fileType = NULL);

Completed in 274 milliseconds

12