/haiku/src/apps/terminal/ |
H A D | TermViewStates.cpp | 243 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 D | Utilities.cpp | 955 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 D | DataReader.h | 138 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 D | PCL6.cpp | 42 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 D | fifo.cpp | 791 uint8 byte = '\0'; local 793 fBuffer.Peek(fOffset, &byte, 1); 796 return byte;
|
/haiku/src/kits/interface/ |
H A D | Alert.cpp | 785 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 D | mft.c | 411 /* 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 D | lcnalloc.c | 244 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 D | HttpSession.cpp | 997 [this, &bytesWrittenToBody](const std::byte* buffer, size_t size) {
|
H A D | HttpSerializer.cpp | 120 buffer.WriteTo([target, &bytesWritten](const std::byte* buffer, size_t size) {
|
H A D | HttpSerializer.h | 22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
|
H A D | HttpBuffer.h | 22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>; 49 std::vector<std::byte> fBuffer;
|
H A D | HttpParser.cpp | 536 [this](const std::byte* buffer, size_t bufferSize) { 558 = writeToBody(static_cast<const std::byte*>(fDecompressorStorage->Buffer()), bodySize);
|
H A D | HttpParser.h | 23 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
|
H A D | HttpBuffer.cpp | 23 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 D | NetworkAddress.cpp | 1005 uint8 *byte = LinkLevelAddress(); local 1018 int bytesWritten = snprintf(target, bytesLeft, "%02x", byte[i]);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 739 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 D | localeinfo.h | 95 byte, enumerator in enum:value_type
|
/haiku/src/servers/input/ |
H A D | InputServer.cpp | 1597 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 D | ieee80211_crypto_tkip.c | 46 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 D | i2c.c | 227 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 D | e1000_ich8lan.c | 141 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 D | long_smp_trampoline.S | 9 // 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 D | smp_trampoline.S | 12 // 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 D | nv_proto.h | 33 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 */
|