Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 179) sorted by relevance

12345678

/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslascii.c196 UINT8 Byte; in FlIsFileAsciiSource() local
217 while (fread (&Byte, 1, 1, Handle) == 1) in FlIsFileAsciiSource()
225 if (Byte == '*') in FlIsFileAsciiSource()
230 if (Byte == '/') in FlIsFileAsciiSource()
239 else if (Byte == '/') in FlIsFileAsciiSource()
246 if (!ACPI_IS_ASCII (Byte)) in FlIsFileAsciiSource()
253 Byte, Status.Line, Status.Offset); in FlIsFileAsciiSource()
260 else if (!isprint (Byte) && !isspace (Byte)) in FlIsFileAsciiSource()
267 Byte, Status.Line, Status.Offset); in FlIsFileAsciiSource()
274 if (Byte == 0x0A) in FlIsFileAsciiSource()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DLEB128.h29 uint8_t Byte = Value & 0x7f; variable
32 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
33 ((Value == -1) && ((Byte & 0x40) != 0))));
36 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
37 OS << char(Byte);
58 uint8_t Byte = Value & 0x7f; variable
61 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
62 ((Value == -1) && ((Byte & 0x40) != 0))));
65 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
66 *p++ = Byte;
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_ppmd_private.h19 typedef unsigned char Byte; typedef
63 Byte (*Read)(void *p); /* reads one byte, returns 0 in case of EOF or error */
69 void (*Write)(void *p, Byte b);
108 Byte Shift; /* Speed of Freq change; low Shift is for fast change */
109 Byte Count; /* Count to next change of Shift */
115 (p)->Count = (Byte)(3 << (p)->Shift++); \
121 Byte Symbol;
122 Byte Freq;
145 Byte *
H A Darchive_ppmd8.c11 const Byte PPMD8_kExpEscape[16] = { 25, 14, 9, 7, 5, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 2 };
24 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base))
73 do { p->Units2Indx[k++] = (Byte)i; } while (--step); in Ppmd8_Construct()
74 p->Indx2Units[i] = (Byte)k; in Ppmd8_Construct()
83 p->NS2Indx[i] = (Byte)i; in Ppmd8_Construct()
86 p->NS2Indx[i] = (Byte)m; in Ppmd8_Construct()
137 ptr = (Byte *)ptr + U2B(I2U(newIndx)); in SplitBlock()
141 InsertNode(p, ((Byte *)ptr) + U2B(k), nu - k - 1); in SplitBlock()
278 if ((Byte *)ptr != p->UnitsStart) in SpecialFreeUnit()
293 if ((Byte *)oldPtr > p->UnitsStart + 16 * 1024 || REF(oldPtr) > p->FreeList[indx]) in MoveUnitsUp()
[all …]
H A Darchive_ppmd8_private.h29 Byte NumStats;
30 Byte Flags;
62 Byte *Base, *LoUnit, *HiUnit, *Text, *UnitsStart;
76 Byte Indx2Units[PPMD_NUM_INDEXES];
77 Byte Units2Indx[128];
81 Byte NS2BSIndx[256], NS2Indx[260];
89 extern const Byte PPMD8_kExpEscape[16];
H A Darchive_ppmd7_private.h53 Byte *Base, *LoUnit, *HiUnit, *Text, *UnitsStart;
56 Byte Indx2Units[PPMD_NUM_INDEXES];
57 Byte Units2Indx[128];
59 Byte NS2Indx[256], NS2BSIndx[256], HB2Flag[256];
89 Byte Cache;
H A Darchive_ppmd7.c39 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base))
50 static const Byte PPMD7_kExpEscape[16] = { 25, 14, 9, 7, 5, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 2 };
96 do { p->Units2Indx[k++] = (Byte)i; } while(--step); in Ppmd7_Construct()
97 p->Indx2Units[i] = (Byte)k; in Ppmd7_Construct()
106 p->NS2Indx[i] = (Byte)i; in Ppmd7_Construct()
109 p->NS2Indx[i] = (Byte)m; in Ppmd7_Construct()
168 ptr = (Byte *)ptr + U2B(I2U(newIndx)); in SplitBlock()
172 InsertNode(p, ((Byte *)ptr) + U2B(k), nu - k - 1); in SplitBlock()
348 s->Symbol = (Byte)i; in RestartModel()
413 upState.Symbol = *(const Byte *)Ppmd7_GetPtr(p, upBranch); in CreateSuccessors()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DYAML.cpp47 uint8_t Byte = llvm::hexDigitValue(Data[I * 2]); in writeAsBinary() local
48 Byte <<= 4; in writeAsBinary()
49 Byte |= llvm::hexDigitValue(Data[I * 2 + 1]); in writeAsBinary()
50 OS.write(Byte); in writeAsBinary()
61 for (uint8_t Byte : Data) in writeAsHex() local
62 OS << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in writeAsHex()
/freebsd/sys/contrib/zlib/test/
H A Dexample.c66 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, in test_compress()
90 static void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) { in test_gzio()
172 static void test_deflate(Byte *compr, uLong comprLen) { in test_deflate()
207 static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_inflate()
246 static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_deflate()
299 static void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_inflate()
338 static void test_flush(Byte *compr, uLong *comprLen) { in test_flush()
373 static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, in test_sync()
414 static void test_dict_deflate(Byte *compr, uLong comprLen) { in test_dict_deflate()
448 static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_dict_inflate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h32 virtual void emitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
45 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
47 AP.emitInt8(Byte); in emitInt8()
74 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
75 Hash.update(Byte); in emitInt8()
105 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
106 Buffer.push_back(Byte); in emitInt8()
H A DDIEHash.cpp55 uint8_t Byte = Value & 0x7f; in addULEB128() local
58 Byte |= 0x80; // Mark this byte to show that more bytes will follow. in addULEB128()
59 Hash.update(Byte); in addULEB128()
67 uint8_t Byte = Value & 0x7f; in addSLEB128() local
69 More = !((((Value == 0) && ((Byte & 0x40) == 0)) || in addSLEB128()
70 ((Value == -1) && ((Byte & 0x40) != 0)))); in addSLEB128()
72 Byte |= 0x80; // Mark this byte to show that more bytes will follow. in addSLEB128()
73 Hash.update(Byte); in addSLEB128()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp654 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 12 < End; in findPltEntries() local
655 Byte += 16) { in findPltEntries()
665 support::endian::read16(PltContents.data() + Byte, InstrEndianness); in findPltEntries()
670 PltContents.data() + Byte + 2, InstrEndianness); in findPltEntries()
679 PltContents.data() + Byte + 4, InstrEndianness); in findPltEntries()
684 PltContents.data() + Byte + 6, InstrEndianness); in findPltEntries()
698 if (!instructionsMatch(Insns, PltContents.data() + Byte + 8, in findPltEntries()
703 uint64_t Offset = (PltSectionVA + Byte + 12) + OffsetLower + OffsetHigher; in findPltEntries()
704 Result.emplace_back(PltSectionVA + Byte, Offset); in findPltEntries()
713 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 12 < End; in findPltEntries() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp36 SDValue LenAdj, SDValue Byte) { in createMemMemNode() argument
41 Ops = { Chain, Dst, LenAdj, Byte }; in createMemMemNode()
53 uint64_t Size, SDValue Byte = SDValue()) { in emitMemMemImm() argument
57 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemImm()
62 SDValue Size, SDValue Byte = SDValue()) { in emitMemMemReg() argument
67 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemReg()
100 SDValue Byte, SDValue Size, Align Alignment, bool IsVolatile, in EmitTargetCodeForMemset() argument
107 auto *CByte = dyn_cast<ConstantSDNode>(Byte); in EmitTargetCodeForMemset()
139 DAG.getStore(Chain, DL, Byte, Dst, DstPtrInfo, Alignment); in EmitTargetCodeForMemset()
144 SDValue Chain2 = DAG.getStore(Chain, DL, Byte, Dst2, in EmitTargetCodeForMemset()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTrieHashIndexGenerator.h96 for (uint8_t Byte : Bytes) { in getIndex() local
100 Byte &= (1u << (8 - StartBit)) - 1u; in getIndex()
105 Byte >>= CurrentNumBits - NumBits; in getIndex()
109 Index |= Byte & ((1u << CurrentNumBits) - 1u); in getIndex()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp38 void PrintASCIIByte(uint8_t Byte) { in PrintASCIIByte() argument
39 if (Byte == '\\') in PrintASCIIByte()
41 else if (Byte == '"') in PrintASCIIByte()
43 else if (Byte >= 32 && Byte < 127) in PrintASCIIByte()
44 Printf("%c", Byte); in PrintASCIIByte()
46 Printf("\\%03o", Byte); in PrintASCIIByte()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBase64.cpp57 const char Byte = Input[ByteIdx]; in decodeBase64() local
58 const char DecodedByte = decodeBase64Byte(Byte); in decodeBase64()
60 if (!Illegal && Byte == '=') { in decodeBase64()
74 "Invalid Base64 character %#2.2x at index %" PRIu64, Byte, ByteIdx); in decodeBase64()
H A DLEB128.cpp35 unsigned Byte = Value & 0x7f; in getSLEB128Size() local
37 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0; in getSLEB128Size()
H A DCRC.cpp77 for (uint8_t Byte : Data) { in crc32() local
78 int TableIdx = (CRC ^ Byte) & 0xff; in crc32()
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_2_byte_strings.rst1 Type 2 – Byte strings
4 …hout further interpretation (unless there is a :doc:`tag <type_6_tags>`). Byte string's length may…
11 0x41 Byte string (1B long)
13 0x41 Byte string (1B long)
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp587 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) { in findX86PltEntries() local
589 if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0xa3) { in findX86PltEntries()
595 uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2); in findX86PltEntries()
596 Result.emplace_back(PltSectionVA + Byte, Imm | (uint64_t(1) << 32)); in findX86PltEntries()
597 Byte += 6; in findX86PltEntries()
598 } else if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86PltEntries()
601 uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2); in findX86PltEntries()
602 Result.push_back(std::make_pair(PltSectionVA + Byte, Imm)); in findX86PltEntries()
603 Byte += 6; in findX86PltEntries()
605 Byte++; in findX86PltEntries()
[all …]
/freebsd/sys/contrib/zlib/
H A Dzconf.h171 # define Byte z_Byte macro
422 typedef unsigned char Byte; /* 8 bits */ typedef
429 # define Bytef Byte FAR
431 typedef Byte FAR Bytef;
443 typedef Byte const *voidpc;
444 typedef Byte FAR *voidpf;
445 typedef Byte *voidp;
H A Ddeflate.c458 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_()
530 s->method = (Byte)method; in deflateInit2_()
940 put_byte(s, (Byte)(b >> 8)); in putShortMSB()
941 put_byte(s, (Byte)(b & 0xff)); in putShortMSB()
1098 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1099 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); in deflate()
1100 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); in deflate()
1101 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); in deflate()
1196 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1197 put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); in deflate()
[all …]
/freebsd/sys/dev/smbus/
H A Dsmbus_if.m62 # Send Byte command
71 # Receive Byte command
80 # Write Byte command
100 # Read Byte command
/freebsd/sys/contrib/dev/acpica/common/
H A Dacfileio.c537 UINT8 Byte; in AcIsFileBinary() local
545 while (fread (&Byte, 1, 1, File) == 1) in AcIsFileBinary()
547 if (!isprint (Byte) && !isspace (Byte)) in AcIsFileBinary()
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiPxe.h1203 UINT8 Byte[256]; member
1229 PXE_UINT8 Byte[256]; member
1500 PXE_UINT8 Byte; member
1515 PXE_UINT8 Byte[MAX_EEPROM_LEN << 2]; member
1536 PXE_UINT8 Byte[MAX_EEPROM_LEN << 2]; member

12345678