/haiku/src/data/mime_db/ |
H A D | Jamfile | 25 for subType in $(subTypes) { 26 local compiledSubType = $(subType:BS).rsrc ; 34 ResComp $(compiledSubType) : $(subType) ; 95 local subType ; 96 for subType in $(subTypeFiles:BS) { 97 if $(subType) != "." && $(subType) != ".." { 98 subType = $(subType:G=mimedb-sub-$(superTypeFile:B)) ; 99 SEARCH on $(subType) = $(superTypeDirectory) ; 100 subTypes += $(subType) ;
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_pci.cpp | 259 uint16 type, subType; in supports_device_pci() local 272 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType, in supports_device_pci() 281 if (subType != PCI_sd_host) { in supports_device_pci() 296 subType, type); in supports_device_pci()
|
/haiku/src/system/kernel/device_manager/ |
H A D | device_manager.cpp | 1561 uint16 subType = 0; in _GetNextDriverPath() local 1563 || get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false) in _GetNextDriverPath() 1570 switch (subType) { in _GetNextDriverPath() 1594 switch (subType) { in _GetNextDriverPath() 1615 switch (subType) { in _GetNextDriverPath() 1630 switch (subType) { in _GetNextDriverPath() 1644 switch (subType) { in _GetNextDriverPath() 1654 switch (subType) { in _GetNextDriverPath() 1803 uint16 subType = 0; in _AlwaysRegisterDynamic() local 1805 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false); in _AlwaysRegisterDynamic() [all …]
|
/haiku/src/preferences/filetypes/ |
H A D | PreferredAppMenu.cpp | 55 const char* subType = strchr(signature, '/'); in add_signature() local 56 if (subType == NULL) in add_signature() 60 snprintf(label, sizeof(label), "%s (%s)", item->Label(), subType + 1); in add_signature()
|
H A D | MimeTypeListView.cpp | 160 const char* subType = strchr(type.Type(), '/'); in _SetTo() local 161 fSupertype.SetTo(type.Type(), subType - type.Type()); in _SetTo() 162 fSubtype.SetTo(subType + 1); in _SetTo()
|
/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | device_manager.cpp | 1268 uint16 subType = 0; in _GetNextDriverPath() local 1271 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false); in _GetNextDriverPath() 1277 switch (subType) { in _GetNextDriverPath() 1293 switch (subType) { in _GetNextDriverPath() 1312 switch (subType) { in _GetNextDriverPath() 1442 uint16 subType = 0; in _AlwaysRegisterDynamic() local 1444 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false); in _AlwaysRegisterDynamic() 1560 uint16 subType = 0; in Probe() local 1562 && get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false) in Probe() 1571 && (subType == PCI_audio || subType == PCI_hd_audio); in Probe() [all …]
|
/haiku/src/kits/storage/mime/ |
H A D | Database.cpp | 164 char subType[B_PATH_NAME_LENGTH]; in Delete() local 165 memcpy(subType, type, length); in Delete() 166 subType[length++] = '/'; in Delete() 171 if (subEntry.GetName(subType + length) == B_OK) { in Delete() 172 status = Delete(subType); in Delete()
|
/haiku/src/bin/network/ifconfig/ |
H A D | ifconfig.cpp | 93 for (int32 j = 0; const char* subType = get_media_subtype_name(i, j); in usage() 95 printf("%s ", subType); in usage()
|
/haiku/src/tests/kits/storage/ |
H A D | MimeTypeTest.cpp | 1680 std::string subType = superLeaf + "/" + subLeaf; in VerifyInstalledTypes() local 1681 if (BMimeType::IsValid(subType.c_str())) { in VerifyInstalledTypes() 1682 if (typeSet.find(subType.c_str()) == typeSet.end()) in VerifyInstalledTypes() 1683 cout << "Fuckup == '" << subType << "'" << endl; in VerifyInstalledTypes() 1684 CHK(typeSet.find(subType.c_str()) != typeSet.end()); in VerifyInstalledTypes() 1685 typeSet.erase(subType.c_str()); in VerifyInstalledTypes() 1770 std::string subType = superLeaf + "/" + subLeaf; in VerifyInstalledTypes() local 1771 if (BMimeType::IsValid(subType.c_str())) { in VerifyInstalledTypes() 1772 CHK(subtypeSet.find(subType.c_str()) != subtypeSet.end()); in VerifyInstalledTypes() 1773 subtypeSet.erase(subType.c_str()); in VerifyInstalledTypes()
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | uhci.cpp | 179 uint16 type, subType, api; in supports_device() local 190 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType, in supports_device() 200 if (type == PCI_serial_bus && subType == PCI_usb && api == PCI_usb_uhci) { in supports_device()
|
H A D | ohci.cpp | 181 uint16 type, subType, api; in supports_device() local 192 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType, in supports_device() 202 if (type == PCI_serial_bus && subType == PCI_usb && api == PCI_usb_ohci) { in supports_device()
|
H A D | ehci.cpp | 180 uint16 type, subType, api; in supports_device() local 191 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType, in supports_device() 201 if (type == PCI_serial_bus && subType == PCI_usb && api == PCI_usb_ehci) { in supports_device()
|
H A D | xhci.cpp | 185 uint16 type, subType, api; in supports_device() local 196 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType, in supports_device() 206 if (type == PCI_serial_bus && subType == PCI_usb && api == PCI_usb_xhci) { in supports_device()
|