/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | ext2.h | 99 uint32 BlockShift() const { return B_LENDIAN_TO_HOST_INT32(block_shift) + 10; } in BlockShift() 100 uint32 NumInodes() const { return B_LENDIAN_TO_HOST_INT32(num_inodes); } in NumInodes() 103 uint64 blocks = B_LENDIAN_TO_HOST_INT32(num_blocks); in NumBlocks() 105 blocks |= ((uint64)B_LENDIAN_TO_HOST_INT32(num_blocks_high) << 32); in NumBlocks() 108 uint32 FreeInodes() const { return B_LENDIAN_TO_HOST_INT32(free_inodes); } in FreeInodes() 111 uint64 blocks = B_LENDIAN_TO_HOST_INT32(free_blocks); in FreeBlocks() 113 blocks |= ((uint64)B_LENDIAN_TO_HOST_INT32(free_blocks_high) << 32); in FreeBlocks() 118 uint64 blocks = B_LENDIAN_TO_HOST_INT32(reserved_blocks); in ReservedBlocks() 120 blocks |= ((uint64)B_LENDIAN_TO_HOST_INT32(reserved_blocks_high) << 32); in ReservedBlocks() 125 { return B_LENDIAN_TO_HOST_INT32(first_data_block); } in FirstDataBlock() [all …]
|
H A D | BitmapBlock.cpp | 83 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[startIndex]); in _Check() 98 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]); in _Check() 121 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]); in _Check() 154 uint32 bits = B_LENDIAN_TO_HOST_INT32(fData[startIndex]); in _Update() 188 uint32 bits = B_LENDIAN_TO_HOST_INT32(fData[index]); in _Update() 221 uint32 bits = B_LENDIAN_TO_HOST_INT32(fData[index]); in _Update() 263 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]); in _FindNext() 289 bits = B_LENDIAN_TO_HOST_INT32(data[fMaxIndex]); in _FindNext() 299 bits = B_LENDIAN_TO_HOST_INT32(data[index]); in _FindNext() 332 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]); in FindPreviousMarked() [all …]
|
H A D | DataStream.cpp | 70 block = B_LENDIAN_TO_HOST_INT32(fStream->direct[index]); in FindBlock() 82 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( in FindBlock() 87 block = B_LENDIAN_TO_HOST_INT32(indirectBlocks[index]); in FindBlock() 99 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( in FindBlock() 104 uint32 indirectIndex = B_LENDIAN_TO_HOST_INT32(indirectBlocks[index in FindBlock() 114 block = B_LENDIAN_TO_HOST_INT32( in FindBlock() 129 uint32* indirectBlocks = (uint32*)cached.SetTo(B_LENDIAN_TO_HOST_INT32( in FindBlock() 134 uint32 indirectIndex = B_LENDIAN_TO_HOST_INT32(indirectBlocks[index in FindBlock() 144 indirectIndex = B_LENDIAN_TO_HOST_INT32( in FindBlock() 154 block = B_LENDIAN_TO_HOST_INT32( in FindBlock() [all …]
|
H A D | HTree.h | 36 { return B_LENDIAN_TO_HOST_INT32(inode_id); } in InodeID() 66 { return B_LENDIAN_TO_HOST_INT32(hash); } in Hash() 68 { return B_LENDIAN_TO_HOST_INT32(block); } in Block()
|
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | gpt.h | 37 { return B_LENDIAN_TO_HOST_INT32(revision); } in Revision() 41 { return B_LENDIAN_TO_HOST_INT32(header_size); } in HeaderSize() 45 { return B_LENDIAN_TO_HOST_INT32(header_crc); } in HeaderCRC() 71 { return B_LENDIAN_TO_HOST_INT32(entry_count); } in EntryCount() 75 { return B_LENDIAN_TO_HOST_INT32(entry_size); } in EntrySize() 79 { return B_LENDIAN_TO_HOST_INT32(entries_crc); } in EntriesCRC()
|
H A D | Header.cpp | 379 B_LENDIAN_TO_HOST_INT32(id.data1), B_LENDIAN_TO_HOST_INT16(id.data2), in _PrintGUID()
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | exfat.h | 61 { return B_LENDIAN_TO_HOST_INT32(first_fat_block); } in FirstFatBlock() 63 { return B_LENDIAN_TO_HOST_INT32(fat_length); } in FatLength() 65 { return B_LENDIAN_TO_HOST_INT32(first_data_block); } in FirstDataBlock() 67 { return B_LENDIAN_TO_HOST_INT32(cluster_count); } in ClusterCount() 69 { return B_LENDIAN_TO_HOST_INT32(root_dir_cluster); } in RootDirCluster() 71 { return B_LENDIAN_TO_HOST_INT32(serial_number); } in SerialNumber() 165 { return B_LENDIAN_TO_HOST_INT32(start_cluster); } in StartCluster()
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfStructures.h | 375 uint32 length() const { return B_LENDIAN_TO_HOST_INT32(_length); } in length() 376 uint32 location() const { return B_LENDIAN_TO_HOST_INT32(_location); } in location() 395 uint32 block() const { return B_LENDIAN_TO_HOST_INT32(_block); } in block() 448 uint32 block() const { return B_LENDIAN_TO_HOST_INT32(_block); } in block() 464 uint32 type_and_length() const { return B_LENDIAN_TO_HOST_INT32(_type_and_length); } in type_and_length() 510 uint32 unique_id() const { return B_LENDIAN_TO_HOST_INT32(_accessor().unique_id); } in unique_id() 553 uint32 type_and_length() const { return B_LENDIAN_TO_HOST_INT32(_type_and_length); } in type_and_length() 582 uint32 location() const { return B_LENDIAN_TO_HOST_INT32(_location); } in location() 704 uint32 vds_number() const { return B_LENDIAN_TO_HOST_INT32(_vds_number); } in vds_number() 705 …uint32 primary_volume_descriptor_number() const { return B_LENDIAN_TO_HOST_INT32(_primary_volume_d… in primary_volume_descriptor_number() [all …]
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660_identify.cpp | 299 (int)B_LENDIAN_TO_HOST_INT32(primary->size))); in dump_primary_descriptor() 301 (int)B_LENDIAN_TO_HOST_INT32(primary->set_size))); in dump_primary_descriptor() 303 (int)B_LENDIAN_TO_HOST_INT32(primary->sequence_number))); in dump_primary_descriptor() 305 (int)B_LENDIAN_TO_HOST_INT32(primary->logical_block_size))); in dump_primary_descriptor() 307 (int)B_LENDIAN_TO_HOST_INT32(primary->path_table_size))); in dump_primary_descriptor() 339 (int)B_LENDIAN_TO_HOST_INT32(record->location))); in dump_directory_record() 341 (int)B_LENDIAN_TO_HOST_INT32(record->data_length))); in dump_directory_record() 436 info->max_blocks = B_LENDIAN_TO_HOST_INT32(primary->set_size); in iso9660_fs_identify()
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | btrfs.h | 117 { return B_LENDIAN_TO_HOST_INT32(item_count); } in ItemCount() 150 { return B_LENDIAN_TO_HOST_INT32(offset); } in Offset() 152 { return B_LENDIAN_TO_HOST_INT32(size); } in Size() 192 uint32 IOAlign() const { return B_LENDIAN_TO_HOST_INT32(io_align); } in IOAlign() 193 uint32 IOWidth() const { return B_LENDIAN_TO_HOST_INT32(io_width); } in IOWidth() 195 { return B_LENDIAN_TO_HOST_INT32(sector_size); } in SectorSize() 260 uint32 BlockSize() const { return B_LENDIAN_TO_HOST_INT32(node_size); } in BlockSize() 261 uint32 SectorSize() const { return B_LENDIAN_TO_HOST_INT32(sector_size); } in SectorSize() 296 uint32 UserID() const { return B_LENDIAN_TO_HOST_INT32(uid); } in UserID() 297 uint32 GroupID() const { return B_LENDIAN_TO_HOST_INT32(gid); } in GroupID() [all …]
|
/haiku/src/system/kernel/ |
H A D | convertutf.cpp | 71 ? B_LENDIAN_TO_HOST_INT32(source[i]) in utf16_to_utf8() 86 ? B_LENDIAN_TO_HOST_INT32(source[i + 1]) in utf16_to_utf8()
|
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/ |
H A D | endian.h | 51 return B_LENDIAN_TO_HOST_INT32(*fourBytes); in le32dec()
|
/haiku/headers/os/support/ |
H A D | ByteOrder.h | 50 #define B_LENDIAN_TO_HOST_INT32(arg) (uint32)(arg) macro 84 #define B_LENDIAN_TO_HOST_INT32(arg) __swap_int32(arg) macro
|
/haiku/src/system/boot/loader/file_systems/fat/ |
H A D | fatfs.h | 25 B_LENDIAN_TO_HOST_INT32(*(uint32 *)&buffer[off])
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | l2cap_command.h | 17 #define le32toh(x) B_LENDIAN_TO_HOST_INT32(x)
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dosfs.h | 28 #define read32(buffer, off) B_LENDIAN_TO_HOST_INT32(*(uint32*)&buffer[off])
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | pll.cpp | 108 = B_LENDIAN_TO_HOST_INT32( in pll_limit_probe() 113 = B_LENDIAN_TO_HOST_INT32( in pll_limit_probe() 244 if (pll->pixelClock / 10 > B_LENDIAN_TO_HOST_INT32( in pll_asic_ss_probe() 273 if (pll->pixelClock / 10 > B_LENDIAN_TO_HOST_INT32( in pll_asic_ss_probe() 303 if (pll->pixelClock / 10 > B_LENDIAN_TO_HOST_INT32( in pll_asic_ss_probe() 704 pll->adjustedClock = B_LENDIAN_TO_HOST_INT32( in pll_adjust()
|
/haiku/src/libs/icon/flat_icon/ |
H A D | LittleEndianBuffer.cpp | 210 value = B_LENDIAN_TO_HOST_INT32(*(uint32*)fHandle); in Read()
|
/haiku/src/apps/diskprobe/ |
H A D | DiskProbe.cpp | 156 B_LENDIAN_TO_HOST_INT32(settings.base_type)); in Settings() 159 float(B_LENDIAN_TO_HOST_INT32(settings.font_size))); in Settings()
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioBalloonDevice.cpp | 245 return B_LENDIAN_TO_HOST_INT32(desiredSize); in _DesiredSize()
|
/haiku/src/system/libroot/posix/crypt/ |
H A D | crypto_scrypt_smix.cpp | 177 X[k] = B_LENDIAN_TO_HOST_INT32(((uint32_t*)B)[k]); in crypto_scrypt_smix()
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | k_compat.h | 60 #define le32_to_cpu B_LENDIAN_TO_HOST_INT32
|
/haiku/src/tools/translation/tgainfo/ |
H A D | tgainfo.cpp | 137 return B_LENDIAN_TO_HOST_INT32(*(reinterpret_cast<uint32 *>(buffer + offset))); in tga_uint32()
|
/haiku/src/add-ons/accelerants/common/ |
H A D | decode_edid.c | 37 vendor->serial = B_LENDIAN_TO_HOST_INT32(raw->serial); in decode_vendor()
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.cpp | 2106 B_LENDIAN_TO_HOST_INT32(endpoint->trbs[link].flags)); in _LinkDescriptorForPipe() 2620 fCmdResult[1] = B_LENDIAN_TO_HOST_INT32(trb->flags); in HandleCmdComplete() 2630 const uint32 flags = B_LENDIAN_TO_HOST_INT32(trb->flags); in HandleTransferComplete() 2796 TRB_3_TYPE_GET(B_LENDIAN_TO_HOST_INT32(trbs[i].flags)), in DumpRing() 3071 uint32 temp = B_LENDIAN_TO_HOST_INT32(fEventRing[i].flags); in ProcessEvents() 3075 fEventRing[i].status, B_LENDIAN_TO_HOST_INT32(fEventRing[i].flags)); in ProcessEvents()
|