Searched refs:byte (Results 1 - 25 of 85) sorted by path

1234

/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex167 A general remark regarding the byte ordering: Resources have no standard
540 into four byte blocks, which are interpreted as big endian unsigned words
543 bytes of a big endian unsigned word (the upper byte(s) set to 0).
565 \item{The third and fourth byte of the x86 resource file magic (the 0 bytes)
/haiku/headers/libs/print/libprint/
H A DHalftone.h95 uchar ConvertUsingBlackValue(uchar byte) const;
172 Halftone::ConvertUsingBlackValue(uchar byte) const
174 // bits with value = '1' in byte mean black
176 return byte;
178 return ~byte;
/haiku/headers/os/drivers/
H A Dmidi_driver.h39 int (*parse)(uint32* state, uchar byte, size_t maxSize);
/haiku/headers/posix/netinet/
H A Din.h49 # error Unknown byte order.
/haiku/headers/private/audio/
H A Dsoundcard.h212 * The least significant byte has the same format than the GUS .PAT
302 * are records of 4 or 8 bytes. The first byte defines the size.
309 * 8 byte events also. If you receive any event having first byte >= 128,
310 * it's a 8 byte event.
315 * There is also a 8 byte version of most of the 4 byte events. The
316 * 8 byte one is recommended.
318 * NOTE! All 4 byte events are now obsolete. Applications should not write
319 * them. However 4 byte event
[all...]
/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/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/add-ons/kernel/busses/scsi/usb/
H A Dsg_buffer.c78 sg_access_byte(sg_buffer *sgb, off_t offset, uchar *byte, bool b_set) argument
88 ptr[offset] = *byte;
90 *byte = ptr[offset];
127 uchar byte = 0; local
130 status = sg_access_byte(s_sgb, s_offset + i, &byte, false);
132 status = sg_access_byte(d_sgb, d_offset + i, &byte, true);
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/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/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/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2generic.h116 TEST_AND_SET(uint32 *byte, uint32 bit_mask) argument
118 uint32 val = (*byte&bit_mask)!=0;
119 *byte |= bit_mask;
125 TEST_AND_CLEAR(uint32* byte, uint32 bit_mask) argument
127 uint32 val = (*byte&bit_mask)!=0;
128 *byte &= ~bit_mask;
/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/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/
H A Dif_an.c3025 * Note: the Aironet only has a single byte of signal strength value
3624 flashpchar(struct ifnet *ifp, int byte, int dwelltime) argument
3630 byte |= 0x8000;
3659 * Port is clear now write byte and wait for it to echo back
3662 CSR_WRITE_2(sc, AN_SW0(sc->mpi350), byte);
3666 } while (dwelltime >= 0 && echo != byte);
3671 return echo == byte;
/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/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);
H A DDeltaRowCompression.h38 // append byte to delta row
39 virtual void AppendByteToDeltaRow(uchar byte) = 0;
79 // write byte to delta row and calculate size of delta row
80 void Put(uchar byte) argument
83 AppendByteToDeltaRow(byte);
93 // the index of the next byte to be written into
114 virtual void AppendByteToDeltaRow(uchar byte) argument
116 fDeltaRow[CurrentDeltaRowSize()] = byte;
/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);
/haiku/src/apps/soundrecorder/
H A DTransportButton.cpp180 uint8 byte = 0; local
185 || message->FindInt8("byte", (int8 *)&byte) != B_OK
/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/kits/debugger/util/
H A DBitBuffer.cpp28 uint8 byte = *data; local
33 return byte;
35 return (byte << bitOffset) | (*data >> (8 - bitOffset));
40 uint8 byte = *data; local
48 return byte & ((1 << count) - 1);
51 return (byte >> (8 - bitOffset)) & ((1 << count) - 1);
56 return ((byte << bitOffset) | (*data >> (8 - bitOffset)))
133 // If we have left-over bits, write a partial byte.
166 // zero the remaining bytes, including a potentially partial last byte
/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/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/libs/libtelnet/
H A Dpk.h34 typedef unsigned char byte, DesData[ 8], IdeaData[16]; typedef

Completed in 204 milliseconds

1234