/haiku/headers/os/support/ |
H A D | ByteOrder.h | 58 #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 D | RepositoryWriterImpl.cpp | 298 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 D | PackageWriterImpl.cpp | 737 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 D | PackageFileHeapWriter.cpp | 467 buffer[i] = B_HOST_TO_BENDIAN_INT16( in Finish()
|
H A D | WriterImplBase.cpp | 715 B_HOST_TO_BENDIAN_INT16((uint16)intValue)); in WriteAttributeValue()
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | emulation.cpp | 128 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 D | Journal.h | 93 { 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 D | RequestFlattener.cpp | 132 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 D | SGIImage.cpp | 571 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 D | param.h | 106 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
|
/haiku/src/add-ons/kernel/generic/scsi_periph/ |
H A D | block.cpp | 544 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 D | io.cpp | 311 cmd->length = B_HOST_TO_BENDIAN_INT16(numBlocks); in read_write()
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetBuffer.cpp | 136 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 D | transform_procs.c | 58 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 D | PSDWriter.cpp | 363 val = B_HOST_TO_BENDIAN_INT16(val); in _WriteInt16ToStream() 371 val = B_HOST_TO_BENDIAN_INT16(val); in _WriteUInt16ToStream()
|
H A D | DataArray.cpp | 84 val = B_HOST_TO_BENDIAN_INT16(val); in Append()
|
/haiku/src/add-ons/kernel/partitioning_systems/sun/ |
H A D | sun.cpp | 105 if (vtoc->signature == B_HOST_TO_BENDIAN_INT16(kMainSignature) in sun_identify_partition()
|
/haiku/headers/private/kernel/boot/net/ |
H A D | NetDefs.h | 22 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/ |
H A D | NW80xCamDevice.cpp | 252 *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 D | QuickCamDevice.cpp | 217 *data = B_HOST_TO_BENDIAN_INT16(*(uint16 *)(&buffer[0])); in ReadIIC16()
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamDevice.cpp | 350 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 D | scsi_cd.cpp | 257 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 D | firewire.h | 464 # define htons(x) B_HOST_TO_BENDIAN_INT16(x)
|
/haiku/src/preferences/mail/ |
H A D | DNSQuery.cpp | 47 uint16 netVal = B_HOST_TO_BENDIAN_INT16(value); in AppendUint16()
|
/haiku/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | ahci_port.cpp | 638 = B_HOST_TO_BENDIAN_INT16(sizeof(vpdPageData) - 4); in ScsiVPDInquiry() 662 = B_HOST_TO_BENDIAN_INT16(sizeof(vpdPageData) - 4); in ScsiVPDInquiry()
|