Searched refs:byte (Results 1 - 25 of 85) sorted by last modified time

1234

/haiku/src/apps/terminal/
H A DTermViewStates.cpp243 char byte = *bytes | 0x80; local
248 outputBuffer[0] = 0xc0 | ((byte >> 6) & 0x03);
249 outputBuffer[1] = 0x80 | (byte & 0x3f);
252 outputBuffer[0] = byte;
262 // handle multi-byte chars
/haiku/src/kits/tracker/
H A DUtilities.cpp955 uint8 byte = 0; local
960 || message->FindInt8("byte", (int8*)&byte) != B_OK
1255 } else if (strstr(buffer, "byte") || strstr(buffer, "BYTE")) {
1259 // no suffix, try plain byte conversion
/haiku/src/kits/debugger/dwarf/
H A DDataReader.h138 uint8 byte = Read<uint8>(0); local
139 result |= uint64(byte & 0x7f) << shift;
140 if ((byte & 0x80) == 0)
153 uint8 byte = Read<uint8>(0); local
154 result |= uint64(byte & 0x7f) << shift;
157 if ((byte & 0x80) == 0) {
159 if ((byte & 0x40) != 0 && shift < 64)
173 uint8 byte = Read<uint8>(0); local
175 result |= (uint64)byte;
180 uint8 byte local
[all...]
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6.cpp42 void AppendByteToDeltaRow(uchar byte) argument
44 fWriter->Append(byte);
161 // two bytes for the row byte count
333 // write bitmap byte size
353 // write row byte count
/haiku/src/system/kernel/fs/
H A Dfifo.cpp791 uint8 byte = '\0'; local
793 fBuffer.Peek(fOffset, &byte, 1);
796 return byte;
/haiku/src/kits/interface/
H A DAlert.cpp785 char byte; local
786 if (msg->FindInt8("byte", (int8*)&byte) == B_OK) {
788 if (byte == fAlert->Shortcut(i) && fAlert->ButtonAt(i)) {
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dmft.c411 /* Aligned to 2-byte boundary. */
447 /* Aligned to 8-byte boundary. */
453 * aligned to 8-byte boundary.
552 u8 *buf, *byte; local
599 byte = NULL;
616 /* If we read at least one byte, search @buf for a zero bit. */
623 "*byte 0x%hhx, b %u.\n", size,
625 (u8) (byte ? *byte : -1), b);
636 byte
[all...]
H A Dlcnalloc.c244 u8 *buf, *byte, bit, writeback; local
339 byte = buf + (lcn >> 3);
342 if (*byte & bit) {
369 *byte |= bit;
/haiku/src/kits/network/libnetservices2/
H A DHttpSession.cpp997 [this, &bytesWrittenToBody](const std::byte* buffer, size_t size) {
H A DHttpSerializer.cpp120 buffer.WriteTo([target, &bytesWritten](const std::byte* buffer, size_t size) {
H A DHttpSerializer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
H A DHttpBuffer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
49 std::vector<std::byte> fBuffer;
H A DHttpParser.cpp536 [this](const std::byte* buffer, size_t bufferSize) {
558 = writeToBody(static_cast<const std::byte*>(fDecompressorStorage->Buffer()), bodySize);
H A DHttpParser.h23 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
H A DHttpBuffer.cpp23 static constexpr std::array<std::byte, 2> kNewLine = {std::byte('\r'), std::byte('\n')};
198 fBuffer.push_back(static_cast<const std::byte>(character));
/haiku/src/kits/network/libnetapi/
H A DNetworkAddress.cpp1005 uint8 *byte = LinkLevelAddress(); local
1018 int bytesWritten = snprintf(target, bytesLeft, "%02x", byte[i]);
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c739 int byte, bit; local
773 byte = (lcn >> 3) & (sizeof(buffer) - 1);
774 ntfs_log_debug("cluster = %lld, bmplcn = %lld, byte = %d, bit = %d, "
775 "in use %d\n", lcn, bmplcn, byte, bit, buffer[byte] &
778 return (buffer[byte] & bit);
802 int byte, bit; local
829 byte = (mref >> 3) & (sizeof(buffer) - 1);
830 ntfs_log_debug("cluster = %lld, bmpmref = %lld, byte = %d, bit = %d, "
832 byte, bi
[all...]
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlocaleinfo.h95 byte, enumerator in enum:value_type
/haiku/src/servers/input/
H A DInputServer.cpp1597 uint8 byte; local
1598 if (event->FindInt8("byte", (int8*)&byte) < B_OK)
1599 byte = 0;
1601 if ((((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ')
1602 || byte == B_HANKAKU_ZENKAKU)
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_tkip.c46 typedef u_int8_t byte; /* 8-bit byte (octet) */ typedef
50 static void Phase1(u16b *, const byte *, const byte *, u32b);
51 static void Phase2(byte *, const byte *, const u16b *, u16b);
621 /* macros for extraction/creation of byte/u16b values */
623 #define Lo8(v16) ((byte)( (v16) & 0x00FF))
624 #define Hi8(v16) ((byte)(((v16) >> 8) & 0x00FF))
629 /* select the Nth 16-bit word of the Temporal Key byte arra
[all...]
/haiku/src/add-ons/accelerants/common/
H A Di2c.c227 TRACE("%s: slave didn't acknowledge byte within ack_timeout: %ld\n",
247 //! Send byte and wait for acknowledge if <ackowledge> is true
249 send_byte(const i2c_bus *bus, uint8 byte, bool acknowledge) argument
253 //TRACE("%s: (byte = %x)\n", __func__, byte);
256 status_t status = send_bit(bus, byte >> i,
280 // there are the following special cases if the first byte looks like:
281 // - 0000 0000 - general call address (second byte with address follows)
282 // - 0000 0001 - start byte
288 // - 1111 0xxx - 10 bit address (second byte contain
341 uint8 byte = 0; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_ich8lan.c141 u32 offset, u8 byte);
684 /* flash_base_addr is byte-aligned */
2028 /* HW expects these in little endian so we reverse the byte order
2098 /* HW expects these in little endian so we reverse the byte order
3417 * Reads signature byte from the NVM using the flash access registers.
3849 * e1000_read_flash_byte_ich8lan - Read byte from flash
3851 * @offset: The offset of the byte to read.
3852 * @data: Pointer to a byte to store the value read.
3854 * Reads a single byte from the NVM using the flash access registers.
3879 * e1000_read_flash_data_ich8lan - Read byte o
4689 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 byte) argument
[all...]
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Dlong_smp_trampoline.S9 // be 16-byte aligned, below 1MB and identity-mapped.
24 .byte 0x66
25 .byte 0xbe
47 .byte 0x66
/haiku/src/system/boot/platform/efi/arch/x86/
H A Dsmp_trampoline.S12 // be 16-byte aligned, below 1MB and identity-mapped.
27 .byte 0x66
28 .byte 0xbe
53 .byte 0x66
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_proto.h33 bool i2c_writebyte (uint8 BusNR, uint8 byte);
116 void* buffer; /* pointer to first byte of frame */
119 void* buffer_dma; /* pointer to first byte of frame */

Completed in 128 milliseconds

1234