Searched refs:contentType (Results 1 - 14 of 14) sorted by relevance

/haiku/src/kits/network/libnetservices/
H A DUrlResult.cpp30 BUrlResult::SetContentType(BString contentType) argument
32 fContentType = contentType;
H A DHttpRequest.cpp1024 BString contentType; local
1028 contentType << "multipart/form-data; boundary="
1033 contentType << "application/x-www-form-urlencoded";
1037 outputHeaders.AddHeader("Content-Type", contentType);
/haiku/headers/private/netservices/
H A DUrlResult.h22 void SetContentType(BString contentType);
/haiku/src/kits/mail/
H A DMailAttachment.cpp153 BMessage contentType; local
154 HeaderField("Content-Type", &contentType);
156 const char *fileName = contentType.FindString("name");
158 fileName = contentType.FindString("filename");
160 contentType.MakeEmpty();
161 HeaderField("Content-Disposition", &contentType);
162 fileName = contentType.FindString("name");
165 fileName = contentType.FindString("filename");
167 contentType.MakeEmpty();
168 HeaderField("Content-Location", &contentType);
182 BMessage contentType; local
[all...]
/haiku/headers/private/storage/
H A DDiskSystem.h50 status_t GetTypeForContentType(const char* contentType,
H A DDiskSystemAddOn.h45 virtual status_t GetTypeForContentType(const char* contentType,
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dintel.cpp61 get_type_for_content_type(const char* contentType, char* type) argument
64 contentType));
66 if (!contentType || !type)
70 ptype.SetContentType(contentType);
/haiku/src/kits/storage/disk_device/
H A DDiskSystem.cpp306 BDiskSystem::GetTypeForContentType(const char* contentType, BString* type) const argument
311 if (!contentType || !type || !IsPartitioningSystem())
320 status_t result = addOn->GetTypeForContentType(contentType, type);
H A DDiskSystemAddOn.cpp74 BDiskSystemAddOn::GetTypeForContentType(const char* contentType, BString* type) argument
/haiku/headers/private/kernel/disk_device_manager/
H A Dddm_modules.h69 status_t (*get_type_for_content_type)(const char* contentType, char* type);
/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMap.h121 bool SetContentType(const char* contentType);
H A DPartitionMap.cpp301 PartitionType::SetContentType(const char* contentType) argument
304 if (!strcmp(contentType, kPartitionContentTypes[i].name)) {
/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp4604 SniffingTestFile(string name, string extensionType, string contentType,
4608 , contentType(contentType)
4616 if (this->contentType == "")
4617 this->contentType = "application/octet-stream";
4660 string contentType;
4749 const char *contentType = file.contentType.c_str();
4750 const char *realType = contentType;
4751 if (file.contentType
[all...]
/haiku/src/system/kernel/disk_device_manager/
H A DKPartition.cpp1282 char* contentType = writer.PlaceString(ContentType()); local
1302 data->content_type = contentType;

Completed in 157 milliseconds