Home
last modified time | relevance | path

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

123456789

/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DLEB128.h28 uint8_t Byte = Value & 0x7f; variable
36 OS << char(Byte);
57 uint8_t Byte = Value & 0x7f; variable
65 *p++ = Byte;
84 uint8_t Byte = Value & 0x7f; variable
89 OS << char(Byte);
109 uint8_t Byte = Value & 0x7f; variable
114 *p++ = Byte;
167 uint8_t Byte; variable
178 Byte = *p;
[all …]
/openbsd/gnu/llvm/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()
/openbsd/regress/lib/libz/
H A Dexample.c60 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, in test_compress()
166 static void test_deflate(Byte *compr, uLong comprLen) { in test_deflate()
201 static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_inflate()
240 static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_deflate()
293 static void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_inflate()
332 static void test_flush(Byte *compr, uLong *comprLen) { in test_flush()
367 static void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, in test_sync()
442 static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_dict_inflate()
492 Byte *compr, *uncompr; in main()
509 compr = (Byte*)calloc((uInt)comprLen, 1); in main()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp26 SDValue LenAdj, SDValue Byte) { in createMemMemNode() argument
31 Ops = { Chain, Dst, LenAdj, Byte }; in createMemMemNode()
43 uint64_t Size, SDValue Byte = SDValue()) { in emitMemMemImm() argument
47 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemImm()
52 SDValue Size, SDValue Byte = SDValue()) { in emitMemMemReg() argument
57 return createMemMemNode(DAG, DL, Op, Chain, Dst, Src, LenAdj, Byte); in emitMemMemReg()
90 SDValue Byte, SDValue Size, Align Alignment, bool IsVolatile, in EmitTargetCodeForMemset() argument
97 auto *CByte = dyn_cast<ConstantSDNode>(Byte); in EmitTargetCodeForMemset()
129 DAG.getStore(Chain, DL, Byte, Dst, DstPtrInfo, Alignment); in EmitTargetCodeForMemset()
134 SDValue Chain2 = DAG.getStore(Chain, DL, Byte, Dst2, in EmitTargetCodeForMemset()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dzconf.h141 # define Byte Perl_crz_Byte macro
394 typedef unsigned char Byte; /* 8 bits */ typedef
401 # define Bytef Byte FAR
403 typedef Byte FAR Bytef;
415 typedef Byte const *voidpc;
416 typedef Byte FAR *voidpf;
417 typedef Byte *voidp;
H A Ddeflate.c380 s->method = (Byte)method; in deflateInit2_()
771 put_byte(s, (Byte)(b >> 8)); in putShortMSB()
772 put_byte(s, (Byte)(b & 0xff)); in putShortMSB()
934 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1032 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1105 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1106 put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); in deflate()
1107 put_byte(s, (Byte)((strm->adler >> 16) & 0xff)); in deflate()
1109 put_byte(s, (Byte)(strm->total_in & 0xff)); in deflate()
1304 Byte scan_end1 = scan[best_len - 1]; in longest_match()
[all …]
/openbsd/lib/libz/
H A Dzconf.h143 # define Byte z_Byte macro
392 typedef unsigned char Byte; /* 8 bits */ typedef
399 # define Bytef Byte FAR
401 typedef Byte FAR Bytef;
413 typedef Byte const *voidpc;
414 typedef Byte FAR *voidpf;
415 typedef Byte *voidp;
H A Ddeflate.c517 s->method = (Byte)method; in deflateInit2_()
909 put_byte(s, (Byte)(b >> 8)); in putShortMSB()
910 put_byte(s, (Byte)(b & 0xff)); in putShortMSB()
1067 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1165 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1238 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1239 put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); in deflate()
1240 put_byte(s, (Byte)((strm->adler >> 16) & 0xff)); in deflate()
1242 put_byte(s, (Byte)(strm->total_in & 0xff)); in deflate()
1376 register Byte scan_end1 = scan[best_len - 1]; in longest_match()
[all …]
/openbsd/sys/lib/libz/
H A Dzconf.h143 # define Byte z_Byte macro
392 typedef unsigned char Byte; /* 8 bits */ typedef
399 # define Bytef Byte FAR
401 typedef Byte FAR Bytef;
413 typedef Byte const *voidpc;
414 typedef Byte FAR *voidpf;
415 typedef Byte *voidp;
H A Ddeflate.c517 s->method = (Byte)method; in deflateInit2_()
909 put_byte(s, (Byte)(b >> 8)); in putShortMSB()
910 put_byte(s, (Byte)(b & 0xff)); in putShortMSB()
1067 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1165 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1238 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1239 put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); in deflate()
1240 put_byte(s, (Byte)((strm->adler >> 16) & 0xff)); in deflate()
1242 put_byte(s, (Byte)(strm->total_in & 0xff)); in deflate()
1376 register Byte scan_end1 = scan[best_len - 1]; in longest_match()
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DDecoderEmitter.cpp805 uint8_t Byte = *I++; in emitTable() local
808 Byte = *I++; in emitTable()
811 Byte = *I++; in emitTable()
828 uint8_t Byte = *I++; in emitTable() local
831 Byte = *I++; in emitTable()
834 Byte = *I++; in emitTable()
848 uint8_t Byte = *I++; in emitTable() local
851 Byte = *I++; in emitTable()
854 Byte = *I++; in emitTable()
893 Byte = *I++; in emitTable()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp577 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) { in findX86PltEntries() local
579 if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0xa3) { in findX86PltEntries()
585 Byte += 6; in findX86PltEntries()
586 } else if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86PltEntries()
591 Byte += 6; in findX86PltEntries()
593 Byte++; in findX86PltEntries()
602 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 6 < End; ) { in findX86_64PltEntries() local
604 if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86_64PltEntries()
609 std::make_pair(PltSectionVA + Byte, PltSectionVA + Byte + 6 + Imm)); in findX86_64PltEntries()
610 Byte += 6; in findX86_64PltEntries()
[all …]
/openbsd/gnu/usr.bin/perl/dist/Storable/t/
H A Dinterwork56.t89 like ($@, qr/Byte order is not compatible/,
128 like ($@, qr/Byte order is not compatible/,
146 like ($@, qr/Byte order is not compatible/,
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp432 for (uint64_t Byte = 0, End = PltContents.size(); Byte + 7 < End; in findPltEntries() local
433 Byte += 4) { in findPltEntries()
434 uint32_t Insn = support::endian::read32le(PltContents.data() + Byte); in findPltEntries()
439 Insn = support::endian::read32le(PltContents.data() + Byte + Off); in findPltEntries()
445 uint64_t Imm = (((PltSectionVA + Byte) >> 12) << 12) + in findPltEntries()
448 support::endian::read32le(PltContents.data() + Byte + Off); in findPltEntries()
452 Result.push_back(std::make_pair(PltSectionVA + Byte, Imm)); in findPltEntries()
453 Byte += 4; in findPltEntries()
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Ddxcontainer2yaml.cpp31 for (uint8_t Byte : Container.getHeader().FileHash.Digest) in dumpDXContainer() local
32 Obj->Header.Hash.push_back(Byte); in dumpDXContainer()
/openbsd/gnu/usr.bin/perl/cpan/Encode/Byte/
H A DByte.pm1 package Encode::Byte;
/openbsd/gnu/llvm/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp486 for (uint64_t Byte = 0; Byte < SectionBytes.size();) { in parseSectionContents() local
489 SectionBytes.drop_front(Byte), 0, in parseSectionContents()
492 Byte += InstructionSize; in parseSectionContents()
494 uint64_t VMAddress = Address.Address + Byte - InstructionSize; in parseSectionContents()
/openbsd/gnu/llvm/llvm/utils/UnicodeData/
H A DUnicodeNameMappingGenerator.cpp253 uint8_t Byte = in dumpIndex() local
255 Bytes.push_back(Byte); in dumpIndex()
418 for (auto Byte : Tree) { in main() local
419 fprintf(Out, "0x%02x,", Byte); in main()
/openbsd/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp290 char Pad = ' ', Byte = ' '; in PrintMemorySnippet() local
298 Byte = '~'; in PrintMemorySnippet()
302 Buffer.append("%c", P == Loc ? '^' : Byte); in PrintMemorySnippet()
303 Buffer.append("%c", Byte); in PrintMemorySnippet()

123456789