Home
last modified time | relevance | path

Searched refs:B_HOST_TO_BENDIAN_INT16 (Results 1 – 25 of 31) sorted by relevance

12

/haiku/headers/os/support/
H A DByteOrder.h58 #define B_HOST_TO_BENDIAN_INT16(arg) __swap_int16(arg) macro
92 #define B_HOST_TO_BENDIAN_INT16(arg) (uint16)(arg) macro
/haiku/src/kits/package/hpkg/
H A DRepositoryWriterImpl.cpp298 header.heap_compression = B_HOST_TO_BENDIAN_INT16( in _Finish()
311 header.header_size = B_HOST_TO_BENDIAN_INT16((uint16)sizeof(header)); in _Finish()
312 header.version = B_HOST_TO_BENDIAN_INT16(B_HPKG_REPO_VERSION); in _Finish()
314 header.minor_version = B_HOST_TO_BENDIAN_INT16(B_HPKG_REPO_MINOR_VERSION); in _Finish()
H A DPackageWriterImpl.cpp737 header.heap_compression = B_HOST_TO_BENDIAN_INT16( in _Finish()
762 header.header_size = B_HOST_TO_BENDIAN_INT16(fHeaderSize); in _Finish()
763 header.version = B_HOST_TO_BENDIAN_INT16(B_HPKG_VERSION); in _Finish()
765 header.minor_version = B_HOST_TO_BENDIAN_INT16(B_HPKG_MINOR_VERSION); in _Finish()
800 header.heap_compression = B_HOST_TO_BENDIAN_INT16( in _Recompress()
H A DPackageFileHeapWriter.cpp467 buffer[i] = B_HOST_TO_BENDIAN_INT16( in Finish()
H A DWriterImplBase.cpp715 B_HOST_TO_BENDIAN_INT16((uint16)intValue)); in WriteAttributeValue()
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Demulation.cpp128 cdb->length = B_HOST_TO_BENDIAN_INT16(256); in scsi_read_write_6()
130 cdb->length = B_HOST_TO_BENDIAN_INT16((uint16)cmd->length); in scsi_read_write_6()
184 cdb->allocation_length = B_HOST_TO_BENDIAN_INT16(allocationLength); in scsi_start_mode_sense_6()
236 cdb->param_list_length = B_HOST_TO_BENDIAN_INT16(param_list_length_10); in scsi_start_mode_select_6()
251 header_10->block_desc_length = B_HOST_TO_BENDIAN_INT16( in scsi_start_mode_select_6()
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DJournal.h93 { flags = B_HOST_TO_BENDIAN_INT16(new_flags); } in SetFlags()
95 { flags |= B_HOST_TO_BENDIAN_INT16(JOURNAL_FLAG_LAST_TAG); } in SetLastTagFlag()
97 { flags |= B_HOST_TO_BENDIAN_INT16(JOURNAL_FLAG_ESCAPED); } in SetEscapedFlag()
/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DRequestFlattener.cpp132 int16 netData = B_HOST_TO_BENDIAN_INT16(data); in Visit()
140 uint16 netData = B_HOST_TO_BENDIAN_INT16(data); in Visit()
/haiku/src/add-ons/translators/sgi/
H A DSGIImage.cpp571 uint16 bigN = B_HOST_TO_BENDIAN_INT16(n); in _WriteShort()
815 *row = B_HOST_TO_BENDIAN_INT16(buffer[bufferPos ++]); in _ReadRLE16()
832 ch = B_HOST_TO_BENDIAN_INT16(buffer[bufferPos ++]); in _ReadRLE16()
873 *row = B_HOST_TO_BENDIAN_INT16(*rleBuffer ++); in _ReadRLE16()
880 ch = B_HOST_TO_BENDIAN_INT16(*rleBuffer ++); in _ReadRLE16()
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dparam.h106 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dblock.cpp544 unmapList->data_length = B_HOST_TO_BENDIAN_INT16(unmapListSize in trim_unmap()
547 = B_HOST_TO_BENDIAN_INT16(unmapListSize in trim_unmap()
553 cmd->length = B_HOST_TO_BENDIAN_INT16(unmapListSize); in trim_unmap()
740 cmd->length = B_HOST_TO_BENDIAN_INT16(trimLength); in trim_writesame10()
H A Dio.cpp311 cmd->length = B_HOST_TO_BENDIAN_INT16(numBlocks); in read_write()
/haiku/src/kits/network/libnetapi/
H A DNetBuffer.cpp136 int16 be_data = B_HOST_TO_BENDIAN_INT16(data); in AppendInt16()
144 uint16 be_data = B_HOST_TO_BENDIAN_INT16(data); in AppendUint16()
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtransform_procs.c58 to->length = B_HOST_TO_BENDIAN_INT16((uint16)256); in transform_6_to_10()
60 to->length = B_HOST_TO_BENDIAN_INT16((uint16)from->len); in transform_6_to_10()
/haiku/src/add-ons/translators/psd/
H A DPSDWriter.cpp363 val = B_HOST_TO_BENDIAN_INT16(val); in _WriteInt16ToStream()
371 val = B_HOST_TO_BENDIAN_INT16(val); in _WriteUInt16ToStream()
H A DDataArray.cpp84 val = B_HOST_TO_BENDIAN_INT16(val); in Append()
/haiku/src/add-ons/kernel/partitioning_systems/sun/
H A Dsun.cpp105 if (vtoc->signature == B_HOST_TO_BENDIAN_INT16(kMainSignature) in sun_identify_partition()
/haiku/headers/private/kernel/boot/net/
H A DNetDefs.h22 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/
H A DNW80xCamDevice.cpp252 *data = B_HOST_TO_BENDIAN_INT16(*(uint16 *)(&buffer[0])); in ReadIIC16()
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/
H A DQuickCamDevice.cpp217 *data = B_HOST_TO_BENDIAN_INT16(*(uint16 *)(&buffer[0])); in ReadIIC16()
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamDevice.cpp350 data = B_HOST_TO_BENDIAN_INT16(data); in WriteReg16()
420 data = B_HOST_TO_BENDIAN_INT16(data); in WriteIIC16()
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/
H A Dscsi_cd.cpp257 cmd->allocation_length = B_HOST_TO_BENDIAN_INT16(sizeof(scsi_toc_general)); in get_toc()
284 cmd->allocation_length = B_HOST_TO_BENDIAN_INT16(dataLength); in get_toc()
326 cmd.allocation_length = B_HOST_TO_BENDIAN_INT16(sizeof(scsi_position)); in get_position()
/haiku/headers/private/firewire/
H A Dfirewire.h464 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
/haiku/src/preferences/mail/
H A DDNSQuery.cpp47 uint16 netVal = B_HOST_TO_BENDIAN_INT16(value); in AppendUint16()
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_port.cpp638 = B_HOST_TO_BENDIAN_INT16(sizeof(vpdPageData) - 4); in ScsiVPDInquiry()
662 = B_HOST_TO_BENDIAN_INT16(sizeof(vpdPageData) - 4); in ScsiVPDInquiry()

12