Searched refs:byte (Results 26 - 50 of 85) sorted by relevance

1234

/haiku/src/kits/network/libnetservices2/
H A DHttpBuffer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
49 std::vector<std::byte> fBuffer;
H A DHttpSerializer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>;
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATARequest.cpp190 ATARequest::SetOddByte(uint8 byte) argument
192 fOddByte = byte;
198 ATARequest::GetOddByte(uint8 *byte) argument
203 if (byte != NULL)
204 *byte = fOddByte;
/haiku/src/system/boot/platform/amiga_m68k/
H A Dshell.S61 .byte 0
273 // written by the "makeflop" command in 512 byte blocks
284 .byte 0
288 .byte 0
292 .byte 12
296 .byte 0
335 .byte 0
338 .byte 0
/haiku/src/add-ons/print/drivers/pcl6/
H A DDeltaRowCompression.cpp71 // control byte limits data bytes to 8 bytes
80 // control byte limits offset value to 31
84 // write control byte (delta bytes bits 5-7; offset bits 0-4)
88 // write additional offset bytes after control byte
89 // the last offset byte must be less than 255
102 uchar byte = row[index]; local
105 fSeedRow[index] = byte;
107 Put(byte);
/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/libs/print/libprint/
H A DPackBits.cpp31 #define WRITE_TO_RUN_BUF(byte) \
34 *runbuf ++ = byte; \
39 #define WRITE_CONTROL(byte) \
42 *control = byte; \
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.h38 status_t sg_access_byte(sg_buffer *sgb, off_t offset, uchar *byte, bool b_set);
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Di2c_core.c37 static status_t i2c_writebyte(i2c_bus *bus, uint8 byte, int *ack);
188 /* write one byte and the ack/nack
190 * B_OK => byte transmitted
195 i2c_writebyte(i2c_bus *bus, uint8 byte, int *ack) argument
202 int bit = (byte >> i) & 1;
234 /* read one byte, don't generate ack
240 uint8 byte; local
243 byte = 0;
249 byte = (byte <<
[all...]
/haiku/src/bin/writembr/
H A Dmbr.S441 .byte 0x80 /* UUID DCE 1.1 variant */
442 .byte 0x2a /* '*' (formally, UUID clock-seq-low) */
443 .byte 0x48 /* 'H' */
444 .byte 0x61 /* 'a' */
445 .byte 0x69 /* 'i' */
446 .byte 0x6b /* 'k' */
447 .byte 0x75 /* 'u' */
448 .byte 0x21 /* '!' */
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dinfo.c415 uint8 index, byte; local
539 byte = ENG_REG8(reg);
540 byte &= (uint8)and_out;
541 byte |= (uint8)or_in;
542 ENG_REG8(reg) = byte;
560 byte = *((uint8*)(&(rom[adress])));
564 and_out, byte));
565 if (((uint8)data) != byte)
722 byte = ENG_REG8(reg + 1);
723 byte
927 uint8 index, byte, byte2, shift; local
1747 uint8 index, byte, byte2, safe, shift; local
[all...]
/haiku/src/add-ons/kernel/debugger/laplinkll/
H A Dlaplinkll.cpp13 using PLIP-like byte-by-byte protocol.
218 #pragma mark // byte mode
323 uint8 byte; local
332 err = ll_get_byte_uf(st, &byte);
335 pktlen = byte;
336 err = ll_get_byte_uf(st, &byte);
339 pktlen |= byte << 8;
346 err = ll_get_byte_uf(st, &byte);
350 buff[*len] = byte;
[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/headers/libs/print/libprint/
H A DPrintUtils.h47 #define BEGINS_CHAR(byte) ((byte & 0xc0) != 0x80)
/haiku/headers/os/drivers/
H A Dmidi_driver.h39 int (*parse)(uint32* state, uchar byte, size_t maxSize);
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmidi_driver.h35 at which the data was received (first byte) and "size" will contain
38 To write, set "when" to when you want the first byte to go out the
51 /* initial byte. For some messages, this is not known until the second byte is seen. */
53 /* is > 0, you should call (*parse) for the next byte as well, which might modify */
55 /* byte being counted as byte 1. A return of 0 means that the byte initiates a new */
65 uchar byte = read_midi();
67 todo = (*parser->parse)(&state, byte, en
[all...]
/haiku/src/system/boot/loader/net/
H A DIP.cpp230 uint16 byte = _NextByte(); local
231 return (byte << 8) | _NextByte();
249 uint8 byte = (fBuffer ? ((uint8*)fBuffer->Data())[fOffset] : 0); local
251 return byte;
/haiku/src/system/boot/platform/atari_m68k/
H A Dstage1.S22 * The offset of the partition in 512 byte blocks must be written at
28 * in 512 byte blocks and dl - BIOS ID of the boot drive.
118 .byte 0
/haiku/src/system/boot/platform/bios_ia32/
H A Dbios_asm.S50 .byte 0x66 // jump to the protected mode segment
139 .byte 0x66
201 .byte 0xcd
203 .byte 0
/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/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunistr.c549 * Return -1 with errno set if string has invalid byte sequence or too long.
702 unsigned int byte; local
705 while ((byte = *((const unsigned char *)s++))) {
708 if (byte >= 0xc0) {
709 if (byte >= 0xF5) {
715 if (byte >= 0xC0)
719 if (byte >= 0xE0)
723 if (byte >= 0xF0) {
746 unsigned int byte = *((const unsigned char *)s); local
748 /* single byte */
[all...]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_info.c427 uint8 index, byte; local
551 byte = NV_REG8(reg);
552 byte &= (uint8)and_out;
553 byte |= (uint8)or_in;
554 NV_REG8(reg) = byte;
572 byte = *((uint8*)(&(rom[adress])));
576 and_out, byte));
577 if (((uint8)data) != byte)
734 byte = NV_REG8(reg + 1);
735 byte
1014 uint8 index, byte, byte2, shift; local
1834 uint8 index, byte, byte2, safe, shift; local
[all...]
H A Dnv_i2c.c311 uint8 cnt, bit, byte = 0; local
318 byte <<= 1;
320 byte += bit;
325 LOG(4,("I2C: read byte ($%02x) from bus #%d; status is %d\n",
326 byte, BusNR, i2c_flag_error(0)));
328 return byte;
331 bool i2c_writebyte (uint8 BusNR, uint8 byte) argument
335 uint8 tmp = byte;
350 LOG(4,("I2C: written byte ($%02x) to bus #%d; status is %d\n",
351 byte, BusN
[all...]
/haiku/src/add-ons/translators/psd/
H A DDataArray.cpp178 BDataArray::Repeat(uint8 byte, int32 count) argument
182 memset(fData + fDataSize, byte, count);
H A DDataArray.h39 BDataArray& Repeat(uint8 byte, int32 count);

Completed in 285 milliseconds

1234