/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Journal.h | 72 { sequence = B_HOST_TO_BENDIAN_INT32(Sequence() + 1); } in IncrementSequence() 74 { sequence = B_HOST_TO_BENDIAN_INT32(Sequence() - 1); } in DecrementSequence() 91 { block_number = B_HOST_TO_BENDIAN_INT32(block); } in SetBlockNumber() 120 block_number = B_HOST_TO_BENDIAN_INT32(block & 0xffffffff); in SetBlockNumber() 122 block_number_high = B_HOST_TO_BENDIAN_INT32(block >> 32); in SetBlockNumber() 126 { flags = B_HOST_TO_BENDIAN_INT32(new_flags); } in SetFlags() 128 { flags |= B_HOST_TO_BENDIAN_INT32(JOURNAL_FLAG_LAST_TAG); } in SetLastTagFlag() 130 { flags |= B_HOST_TO_BENDIAN_INT32(JOURNAL_FLAG_ESCAPED); } in SetEscapedFlag() 141 { checksum = B_HOST_TO_BENDIAN_INT32(new_checksum); } in SetChecksum() 211 { log_start = B_HOST_TO_BENDIAN_INT32(logStart); } in SetLogStart() [all …]
|
H A D | Journal.cpp | 69 this->magic = B_HOST_TO_BENDIAN_INT32(JOURNAL_MAGIC); in MakeDescriptor() 70 this->sequence = B_HOST_TO_BENDIAN_INT32(sequence); in MakeDescriptor() 71 this->block_type = B_HOST_TO_BENDIAN_INT32(JOURNAL_DESCRIPTOR_BLOCK); in MakeDescriptor() 78 this->magic = B_HOST_TO_BENDIAN_INT32(JOURNAL_MAGIC); in MakeCommit() 79 this->sequence = B_HOST_TO_BENDIAN_INT32(sequence); in MakeCommit() 80 this->block_type = B_HOST_TO_BENDIAN_INT32(JOURNAL_COMMIT_BLOCK); in MakeCommit() 1116 = B_HOST_TO_BENDIAN_INT32(JOURNAL_MAGIC); in _RecoverPassReplay()
|
/haiku/src/system/boot/platform/riscv/ |
H A D | FwCfg.cpp | 38 dma.control = B_HOST_TO_BENDIAN_INT32(1 << op); in DmaOp() 39 dma.length = B_HOST_TO_BENDIAN_INT32(count); in DmaOp() 126 cfg.fourcc = B_HOST_TO_BENDIAN_INT32(ramFbFormatXrgb8888); in InitFramebuffer() 127 cfg.flags = B_HOST_TO_BENDIAN_INT32(0); in InitFramebuffer() 128 cfg.width = B_HOST_TO_BENDIAN_INT32(width); in InitFramebuffer() 129 cfg.height = B_HOST_TO_BENDIAN_INT32(height); in InitFramebuffer() 130 cfg.stride = B_HOST_TO_BENDIAN_INT32(4 * width); in InitFramebuffer()
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | InsecureConnection.cpp | 143 request.protocolVersion = B_HOST_TO_BENDIAN_INT32(kProtocolVersion); in Init() 145 request.upStreamChannels = B_HOST_TO_BENDIAN_INT32(upStreamChannels); in Init() 146 request.downStreamChannels = B_HOST_TO_BENDIAN_INT32(downStreamChannels); in Init() 268 reply.error = B_HOST_TO_BENDIAN_INT32(B_OK); in FinishInitialization() 269 reply.upStreamChannels = B_HOST_TO_BENDIAN_INT32(upStreamChannels); in FinishInitialization() 270 reply.downStreamChannels = B_HOST_TO_BENDIAN_INT32(downStreamChannels); in FinishInitialization() 351 reply.error = B_HOST_TO_BENDIAN_INT32(error); in _SendErrorReply()
|
H A D | RequestFlattener.cpp | 148 int32 netData = B_HOST_TO_BENDIAN_INT32(data); in Visit() 156 uint32 netData = B_HOST_TO_BENDIAN_INT32(data); in Visit() 260 int32 netData = B_HOST_TO_BENDIAN_INT32(data); in WriteInt32() 271 int32 netData = B_HOST_TO_BENDIAN_INT32(size); in WriteData()
|
H A D | RequestChannel.cpp | 179 header.type = B_HOST_TO_BENDIAN_INT32(request->GetType()); in SendRequest() 180 header.size = B_HOST_TO_BENDIAN_INT32(size); in SendRequest() 208 header.type = B_HOST_TO_BENDIAN_INT32(header.type); in ReceiveRequest() 209 header.size = B_HOST_TO_BENDIAN_INT32(header.size); in ReceiveRequest()
|
H A D | NetAddress.cpp | 48 fAddress.sin_addr.s_addr = B_HOST_TO_BENDIAN_INT32(address); in SetIP() 62 fAddress.sin_port = B_HOST_TO_BENDIAN_INT32(port); in SetPort()
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | XDR.cpp | 212 fBuffer[pos] = B_HOST_TO_BENDIAN_INT32(x); in InsertUInt() 224 fBuffer[fPosition++] = B_HOST_TO_BENDIAN_INT32(x); in AddInt() 236 fBuffer[fPosition++] = B_HOST_TO_BENDIAN_INT32(x); in AddUInt()
|
/haiku/headers/os/support/ |
H A D | ByteOrder.h | 57 #define B_HOST_TO_BENDIAN_INT32(arg) __swap_int32(arg) macro 91 #define B_HOST_TO_BENDIAN_INT32(arg) (uint32)(arg) macro
|
/haiku/src/add-ons/kernel/partitioning_systems/sun/ |
H A D | sun.cpp | 106 && vtoc->vtoc.signature == B_HOST_TO_BENDIAN_INT32(kVtocSignature) in sun_identify_partition() 107 && vtoc->vtoc.version == B_HOST_TO_BENDIAN_INT32(kVtocVersion)) { in sun_identify_partition()
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFLoad.cpp | 298 header.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); in ReadGIFImageHeader() 303 header.rowBytes = B_HOST_TO_BENDIAN_INT32(fWidth * 4); in ReadGIFImageHeader() 304 header.colors = (color_space)B_HOST_TO_BENDIAN_INT32(B_RGBA32); in ReadGIFImageHeader() 305 header.dataSize = B_HOST_TO_BENDIAN_INT32(fWidth * 4 * fHeight); in ReadGIFImageHeader()
|
/haiku/src/kits/package/hpkg/ |
H A D | RepositoryWriterImpl.cpp | 300 header.heap_chunk_size = B_HOST_TO_BENDIAN_INT32(fHeapWriter->ChunkSize()); in _Finish() 310 header.magic = B_HOST_TO_BENDIAN_INT32(B_HPKG_REPO_MAGIC); in _Finish() 466 header.info_length = B_HOST_TO_BENDIAN_INT32(flattenedSize); in _WriteRepositoryInfo()
|
/haiku/src/add-ons/kernel/generic/scsi_periph/ |
H A D | io.cpp | 310 cmd->lba = B_HOST_TO_BENDIAN_INT32(pos); in read_write() 322 cmd->lba = B_HOST_TO_BENDIAN_INT32(pos); in read_write() 323 cmd->length = B_HOST_TO_BENDIAN_INT32(numBlocks); in read_write() 335 cmd->length = B_HOST_TO_BENDIAN_INT32(numBlocks); in read_write()
|
H A D | block.cpp | 161 cmd->alloc_length = B_HOST_TO_BENDIAN_INT32(sizeof(capacityLongResult)); in read_capacity_16() 523 = B_HOST_TO_BENDIAN_INT32(trimLength); in trim_unmap() 660 cmd->length = B_HOST_TO_BENDIAN_INT32(trimLength); in trim_writesame16() 739 cmd->lba = B_HOST_TO_BENDIAN_INT32(lba); in trim_writesame10()
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | XDROutPacket.c | 53 *(int32 *)(&packet->fBuffer[packet->fLength])=B_HOST_TO_BENDIAN_INT32(val); in XDROutPacketAddInt32()
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Volume.cpp | 54 if (superBlock->MagicNum() == B_HOST_TO_BENDIAN_INT32(XFS_SB_MAGIC) in Identify()
|
/haiku/src/apps/icon-o-matic/generic/property/ |
H A D | PropertyObject.cpp | 58 unsigned id = B_HOST_TO_BENDIAN_INT32(p->Identifier()); in Archive() 85 unsigned id = B_HOST_TO_BENDIAN_INT32(p->Identifier()); in Unarchive()
|
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 394 hdr.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); in Translate() 399 hdr.rowBytes = B_HOST_TO_BENDIAN_INT32(out_rowbytes); in Translate() 400 hdr.colors = (color_space) B_HOST_TO_BENDIAN_INT32(out_space); in Translate() 401 hdr.dataSize = B_HOST_TO_BENDIAN_INT32(out_rowbytes * height); in Translate() 778 hdr.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); in read_bits_header()
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | param.h | 104 # define htonl(x) B_HOST_TO_BENDIAN_INT32(x)
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetBuffer.cpp | 152 int32 be_data = B_HOST_TO_BENDIAN_INT32(data); in AppendInt32() 160 uint32 be_data = B_HOST_TO_BENDIAN_INT32(data); in AppendUint32()
|
/haiku/src/system/libroot/posix/crypt/ |
H A D | pbkdf2.cpp | 154 ivec = B_HOST_TO_BENDIAN_INT32((uint32_t)(i + 1)); in PBKDF2_SHA256()
|
H A D | SHA256.cpp | 127 fDigest[i] = B_HOST_TO_BENDIAN_INT32(fHash[i]); in Digest()
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDWriter.cpp | 347 val = B_HOST_TO_BENDIAN_INT32(val); in _WriteInt32ToStream() 355 val = B_HOST_TO_BENDIAN_INT32(val); in _WriteUInt32ToStream()
|
/haiku/headers/private/kernel/boot/net/ |
H A D | NetDefs.h | 20 # define htonl(x) B_HOST_TO_BENDIAN_INT32(x)
|
/haiku/src/preferences/keymap/ |
H A D | Keymap.cpp | 162 ((uint32*)&fKeys)[i] = B_HOST_TO_BENDIAN_INT32(((uint32*)&fKeys)[i]); in Save() 172 fCharsSize = B_HOST_TO_BENDIAN_INT32(fCharsSize); in Save()
|