Searched refs:byte (Results 51 - 75 of 85) sorted by relevance

1234

/haiku/src/kits/network/libnetservices2/
H A DHttpSerializer.cpp120 buffer.WriteTo([target, &bytesWritten](const std::byte* buffer, size_t size) {
H A DHttpParser.h23 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
H A DHttpParser.cpp536 [this](const std::byte* buffer, size_t bufferSize) {
558 = writeToBody(static_cast<const std::byte*>(fDecompressorStorage->Buffer()), bodySize);
/haiku/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.cpp224 uint8 byte; local
230 for (;bytes > 0 && Read(byte); bytes --, col = (col + 1) % cols) {
236 printf("%2.2x ", (uint)byte);
237 if (isprint(byte)) printf("'%c' ", (char)byte);
/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/apps/bootmanager/
H A Dbootman.S175 firstLine resb 2 ; low byte used only
216 inc byte [bp + cursorX]
344 ; Fill the missing space to reach byte 440
505 inc byte [bp + cursorX]
519 add byte [bp + cursorX], 1
523 inc byte [bp + cursorY]
575 inc byte [bp + cursorX]
577 inc si ; Skip string length byte
612 xor ah, ah ; The high-byte of the string length
656 inc byte [b
[all...]
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAChannel.cpp880 // if length was odd, there's an extra byte waiting in request->OddByte()
882 // discard byte and adjust res_id as the extra byte didn't reach the
894 // perhaps discarding the extra odd-byte was sufficient
904 // read extra byte if length is odd (that's the "length + 1")
925 // there may be a pending odd byte - transmit that now
926 uint8 byte;
927 if (request->GetOddByte(&byte)) {
929 buffer[0] = byte;
937 // "transferred" may actually be larger then length because the last odd-byte
1051 uint8 byte; local
1075 uint8 byte; local
[all...]
H A DATAPrivate.h310 void SetOddByte(uint8 byte);
311 bool GetOddByte(uint8 *byte);
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlocaleinfo.h95 byte, enumerator in enum:value_type
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dindex.c999 u8 byte; local
1023 if (ntfs_attr_pread(na, bpos, 1, &byte) != 1) {
1029 byte |= bit;
1031 byte &= ~bit;
1033 if (ntfs_attr_pwrite(na, bpos, 1, &byte) != 1) {
1059 s64 vcn, byte, size; local
1068 for (byte = 0; byte < size; byte++) {
1070 if (bm[byte]
[all...]
H A Dlcnalloc.c244 u8 *buf, *byte, bit, writeback; local
339 byte = buf + (lcn >> 3);
342 if (*byte & bit) {
369 *byte |= bit;
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...]
/haiku/headers/posix/netinet/
H A Din.h49 # error Unknown byte order.
/haiku/src/system/kernel/arch/x86/64/
H A Dentry_compat.S423 .byte 0x50 // push %eax
425 .byte 0x89,0xe1 // mov %esp, %ecx
/haiku/src/kits/midi/
H A DMidiStore.cpp687 uint8 byte; local
692 val = (val << 7) + ((byte = NextByte()) & 0x7F);
693 } while (byte & 0x80);
/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/apps/soundrecorder/
H A DTransportButton.cpp180 uint8 byte = 0; local
185 || message->FindInt8("byte", (int8 *)&byte) != B_OK
/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/kits/package/hpkg/v1/
H A DReaderImplBaseV1.cpp688 fErrorOutput->PrintError("Error: %llu excess byte(s) in package "
942 uint8 byte; local
943 status_t error = _Read(byte);
947 result |= uint64(byte & 0x7f) << shift;
948 if ((byte & 0x80) == 0)
/haiku/src/kits/package/hpkg/
H A DReaderImplBase.cpp1028 fErrorOutput->PrintError("Error: %llu excess byte(s) in package "
1302 uint8 byte; local
1303 status_t error = _Read(byte);
1307 result |= uint64(byte & 0x7f) << shift;
1308 if ((byte & 0x80) == 0)
H A DWriterImplBase.cpp675 // write a terminating 0 byte
770 uint8 byte = value & 0x7f; local
772 bytes[count++] = byte | (value != 0 ? 0x80 : 0);
/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 */
/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/system/kernel/fs/
H A Dfifo.cpp791 uint8 byte = '\0'; local
793 fBuffer.Peek(fOffset, &byte, 1);
796 return byte;
/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)

Completed in 186 milliseconds

1234