/haiku/src/kits/storage/ |
H A D | MimeType.cpp | 84 // MIME type. 101 // Initializes this object to the supplied MIME type. 149 // Returns whether the object represents a valid MIME type 175 // Returns whether or not this type is currently installed in the 185 // Gets the supertype of the MIME type represented by this object 216 // Returns whether this and the supplied MIME type are equal 218 BMimeType::operator==(const BMimeType &type) const 220 if (InitCheck() == B_NO_INIT && type.InitCheck() == B_NO_INIT) 222 else if (InitCheck() == B_OK && type.InitCheck() == B_OK) 223 return strcasecmp(Type(), type 815 GetIconForType(const char* type, BBitmap* icon, icon_size which) const argument 839 GetIconForType(const char* type, uint8** _data, size_t* _size) const argument 860 SetIconForType(const char* type, const BBitmap* icon, icon_size which) argument 920 SetIconForType(const char* type, const uint8* data, size_t dataSize) argument 1027 GuessMimeType(const entry_ref* file, BMimeType* type) argument 1064 GuessMimeType(const void* buffer, int32 length, BMimeType* type) argument 1101 GuessMimeType(const char* filename, BMimeType* type) argument [all...] |
H A D | Resources.cpp | 214 ? info.type == B_APP_IMAGE 263 // Loads a resource identified by type and id into memory. 265 BResources::LoadResource(type_code type, int32 id, size_t* _size) argument 271 resource = fContainer->ResourceAt(fContainer->IndexOf(type, id)); 289 // Loads a resource identified by type and name into memory. 291 BResources::LoadResource(type_code type, const char* name, size_t* _size) argument 297 resource = fContainer->ResourceAt(fContainer->IndexOf(type, name)); 315 // Loads all resources of the specified type into memory. 317 BResources::PreloadResourceType(type_code type) argument 321 if (type 416 AddResource(type_code type, int32 id, const void* data, size_t length, const char* name) argument 450 HasResource(type_code type, int32 id) argument 459 HasResource(type_code type, const char* name) argument 590 RemoveResource(type_code type, int32 id) argument 613 WriteResource(type_code type, int32 id, const void* data, off_t offset, size_t length) argument 649 ReadResource(type_code type, int32 id, void* data, off_t offset, size_t length) argument 678 FindResource(type_code type, int32 id, size_t* lengthFound) argument 696 FindResource(type_code type, const char* name, size_t* lengthFound) argument [all...] |
H A D | ResourcesContainer.cpp | 41 // replace an item with the same type and id 125 ResourcesContainer::IndexOf(type_code type, int32 id) const argument 131 if (item->Type() == type && item->ID() == id) 139 ResourcesContainer::IndexOf(type_code type, const char *name) const argument 146 if (item->Type() == type && ((name == NULL && itemName == NULL) 157 ResourcesContainer::IndexOfType(type_code type, int32 typeIndex) const argument 163 if (item->Type() == type) {
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | ds.h | 95 #define _IOW(tag,num,type) _IOC(1,tag,num,sizeof(type)) 96 #define _IOR(tag,num,type) _IOC(2,tag,num,sizeof(type)) 97 #define _IOWR(tag,num,type) _IOC(3,tag,num,sizeof(type))
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | ddm_modules.h | 51 bool (*validate_set_type)(partition_data* partition, const char* type); 60 off_t* size, const char* type, const char* name, 68 int32* cookie, char* type); 69 status_t (*get_type_for_content_type)(const char* contentType, char* type); 94 status_t (*set_type)(int fd, partition_id partition, const char* type, 105 off_t size, const char* type, const char* name,
|
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessageBStringItemTest.h | 34 static status_t AddData(BMessage& msg, const char* name, type_code type, 36 static status_t FindData(BMessage& msg, const char* name, type_code type, 83 type_code type, const BString* data, 86 return msg.AddData(name, type, (const void*)data->String(), size, 91 type_code type, int32 index, 96 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size); 82 AddData(BMessage& msg, const char* name, type_code type, const BString* data, ssize_t size, bool) argument 90 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument
|
/haiku/src/tests/servers/app/event_mask/ |
H A D | EventMask.cpp | 81 BString type; local 83 type << "suspend"; 85 type << " & "; 88 type << "lock"; 90 type << "none"; 92 DrawString(type.String(), BPoint(6, 14));
|
/haiku/headers/private/debugger/value/value_nodes/ |
H A D | BMessageValueNode.h | 23 ValueNodeChild* nodeChild, Type* type); 42 type_code type, 45 type_code type, 49 type_code type, int32 index, 82 type_code type, int32 count); 113 type_code type, int32 count,
|
/haiku/headers/private/kernel/arch/m68k/ |
H A D | arch_030_mmu.h | 29 uint32 type : 2; // DT_* member in struct:short_page_directory_entry 42 uint32 type : 2; member in struct:long_page_directory_entry 56 uint32 type : 2; member in struct:short_page_table_entry 73 uint32 type : 2; member in struct:long_page_table_entry 83 uint32 type : 2; // DT_* member in struct:short_indirect_entry 89 uint32 type : 2; member in struct:long_indirect_entry 106 /* scalar storage type that maps them */
|
/haiku/src/add-ons/kernel/partitioning_systems/sun/ |
H A D | sun.cpp | 46 uint16_t type; member in struct:sun_vtoc::__anon3::__anon4 151 uint16_t type = B_BENDIAN_TO_HOST_INT16(vtoc->vtoc.partitions[i].type); local 153 if (type == 0 || type == 5) 160 TRACE(("Part %d type %d start %" B_PRIdOFF " size %" B_PRIdOFF "\n", i, 161 type, start, size));
|
/haiku/src/bin/ |
H A D | lsindex.cpp | 27 " -v --verbose\t gives index type, dates and owner\n" 39 switch (info.type) { 54 : "Unknown type (0x%" B_PRIx32 ")", 55 info.type); 62 type_string(type_code type) argument 69 switch (type) { 132 const char *typeString = type_string(info.type); 136 printf("%" B_PRIu32 "\t", info.type);
|
H A D | xres.cpp | 48 " -a <type>:<id>[:<name>] ( <file> | -s <data> )\n" 50 " of type <type> and has the ID <id>. If given the resource will\n" 54 " -d <type>[:<id>]\n" 55 " - Excludes resources with type <type> and, if given, ID <id> from\n" 64 " with the same type and ID. If <output file> doesn't exist yet, \n" 68 " is a resource file or a file of unknown type, it will be\n" 73 " -x <type>[:<id>]\n" 74 " - Only resources with type <typ 89 resource_type(type_code type) argument 105 type_code type; member in struct:ResourceID 361 type_code type; local 426 type_code type; local [all...] |
/haiku/src/system/boot/platform/openfirmware/ |
H A D | devices.cpp | 44 char type[16]; local 45 of_getprop(node, "device_type", type, sizeof(type)); 46 printf("boot type = %s\n", type); 50 if (strcmp(type, "network") == 0) { 88 if (strcmp("block", type) != 0) {
|
/haiku/src/add-ons/kernel/busses/agp_gart/ |
H A D | intel_gart.cpp | 53 int32 type; member in struct:supported_device 222 DeviceType* type; member in struct:intel_info 268 if (info.type->Generation() >= 6) 281 if (info.type->InGroup(INTEL_GROUP_83x)) { 298 } else if (info.type->InGroup(INTEL_GROUP_SNB) 299 || info.type->InGroup(INTEL_GROUP_IVB) 300 || info.type->InGroup(INTEL_GROUP_HAS)) { 351 } else if (info.type->InGroup(INTEL_GROUP_BDW) 352 || info.type->InFamily(INTEL_FAMILY_LAKE)) { 409 if(info.type [all...] |
/haiku/src/system/kernel/scheduler/ |
H A D | scheduling_analysis.cpp | 120 uint32 type; member in struct:SchedulingAnalysis::WaitObjectKey 123 WaitObjectKey(uint32 type, void* object) argument 125 type(type), 132 return type ^ (uint32)(addr_t)object; 138 WaitObject(uint32 type, void* object) argument 140 this->type = type; 148 return type ^ (uint32)(addr_t)object; 156 return key->type 163 uint32 type; member in struct:SchedulingAnalysis::ThreadWaitObjectKey 166 ThreadWaitObjectKey(thread_id thread, uint32 type, void* object) argument 289 WaitObjectFor(uint32 type, void* object) const argument 294 ThreadWaitObjectFor(thread_id thread, uint32 type, void* object) const argument 320 AddWaitObject(uint32 type, void* object, WaitObject** _waitObject = NULL) argument 347 UpdateWaitObject(uint32 type, void* object, const char* name, void* referencedObject) argument 371 UpdateWaitObjectDontAdd(uint32 type, void* object, const char* name, void* referencedObject) argument 387 AddThreadWaitObject(Thread* thread, uint32 type, void* object) argument [all...] |
/haiku/headers/os/package/hpkg/ |
H A D | PackageEntry.h | 44 void SetType(uint32 type); 76 BPackageEntry::SetType(uint32 type) argument 78 fMode = (fMode & ~(uint32)S_IFMT) | (type & S_IFMT);
|
/haiku/headers/posix/netinet/ |
H A D | icmp6.h | 74 uint8_t icmp6_type; /* type field */ 78 uint32_t icmp6_un_data32[1]; /* type-specific field */ 79 uint16_t icmp6_un_data16[2]; /* type-specific field */ 80 uint8_t icmp6_un_data8[4]; /* type-specific field */ 514 #define ICMP6_FILTER_SETPASS(type, filterp) \ 515 (((filterp)->icmp6_filt[(type) >> 5]) |= (1 << ((type) & 31))) 516 #define ICMP6_FILTER_SETBLOCK(type, filterp) \ 517 (((filterp)->icmp6_filt[(type) >> 5]) &= ~(1 << ((type) [all...] |
/haiku/headers/private/shared/ |
H A D | Variant.h | 47 inline BVariant(BReferenceable* value, type_code type); 48 // type must be a custom type 70 inline void SetTo(BReferenceable* value, type_code type); 71 // type must be a custom type 73 type_code type); 115 static size_t SizeOfType(type_code type); 116 static bool TypeIsNumber(type_code type); 117 static bool TypeIsInteger(type_code type, 271 BVariant(BReferenceable* value, type_code type) argument 428 SetTo(BReferenceable* value, type_code type) argument [all...] |
/haiku/src/kits/storage/disk_device/ |
H A D | PartitionDelegate.cpp | 72 TRACE(" no content type\n"); 318 BPartition::Delegate::ValidateSetType(Delegate* child, const char* type) const 323 return fPartitionHandle->ValidateSetType(&child->fMutablePartition, type); 329 BPartition::Delegate::SetType(Delegate* child, const char* type) argument 334 return fPartitionHandle->SetType(&child->fMutablePartition, type); 364 int32* cookie, BString* type) const 375 child ? &child->fMutablePartition : NULL, cookie, type); 496 BPartition::Delegate::GetParameterEditor(B_PARAMETER_EDITOR_TYPE type, argument 502 return fPartitionHandle->GetParameterEditor(type, editor); 509 const char* type, BStrin 508 ValidateCreateChild(off_t* start, off_t* size, const char* type, BString* name, const char* parameters) const argument 521 CreateChild(off_t start, off_t size, const char* type, const char* name, const char* parameters, BPartition** child) argument [all...] |
/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | generic_video_driver.cpp | 30 uint16 type; 31 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &type, false) 35 if (type == PCI_display)
|
/haiku/src/tests/system/libroot/os/ |
H A D | fs_attr_test.cpp | 19 test_read(int fd, const char* attribute, type_code type, const char* data, argument 35 if (info.type != type) {
|
/haiku/src/servers/keystore/ |
H A D | Keyring.cpp | 214 type_code type; local 215 if (fApplications.GetInfo(signature, &type, &count) != B_OK) 267 type_code type; local 268 if (fApplications.GetInfo(signature, &type, &count) != B_OK) 299 type_code type; local 300 if (fData.GetInfo(identifier, &type, &count) != B_OK) 338 Keyring::FindKey(BKeyType type, BKeyPurpose purpose, uint32 index, argument 352 if (type == B_KEY_TYPE_ANY && purpose == B_KEY_PURPOSE_ANY) { 362 // Go through the keys to check their type and purpose. 369 if (type ! 431 type_code type; local [all...] |
/haiku/headers/os/package/hpkg/v1/ |
H A D | PackageEntry.h | 46 void SetType(uint32 type); 78 BPackageEntry::SetType(uint32 type) argument 80 fMode = (fMode & ~(uint32)S_IFMT) | (type & S_IFMT);
|
/haiku/headers/os/storage/ |
H A D | NodeInfo.h | 31 virtual status_t GetType(char* type) const; 32 virtual status_t SetType(const char* type); 38 type_code* type) const;
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | FFmpegPlugin.cpp | 104 if (format.type == gEncoderTable[i].output_type) { 124 _inputFormat->type = gEncoderTable[*cookie].input_type; 125 _outputFormat->type = gEncoderTable[*cookie].output_type;;
|