Home
last modified time | relevance | path

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

12345678

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DLEB128.h28 uint8_t Byte = Value & 0x7f; variable
31 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
32 ((Value == -1) && ((Byte & 0x40) != 0))));
35 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
36 OS << char(Byte);
57 uint8_t Byte = Value & 0x7f; variable
60 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
61 ((Value == -1) && ((Byte & 0x40) != 0))));
64 Byte |= 0x80; // Mark this byte to show that more bytes will follow.
65 *p++ = Byte;
[all …]
/openbsd-src/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-src/regress/lib/libz/
H A Dexample.c60 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, in test_compress()
84 static void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) { in test_gzio()
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()
408 static void test_dict_deflate(Byte *compr, uLong comprLen) { in test_dict_deflate()
442 static void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_dict_inflate()
[all …]
/openbsd-src/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-src/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-src/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-src/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-src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dzconf.h144 # define Byte Perl_crz_Byte
393 typedef unsigned char Byte; /* 8 bits */
400 # define Bytef Byte FAR
402 typedef Byte FAR Bytef;
414 typedef Byte const *voidpc;
141 # define Byte Perl_crz_Byte global() macro
394 typedef unsigned char Byte; /* 8 bits */ global() typedef
H A Ddeflate.c449 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateSetDictionary()
521 s->method = (Byte)method; in deflateResetKeep()
905 put_byte(s, (Byte)(b >> 8)); in deflate()
906 put_byte(s, (Byte)(b & 0xff)); in deflate()
1063 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1064 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); in deflate()
1065 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); in deflate()
1066 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); in deflate()
1161 put_byte(s, (Byte)(strm->adler & 0xff)); in deflateCopy()
1162 put_byte(s, (Byte)((str in deflateCopy()
[all...]
/openbsd-src/sys/lib/libz/
H A Dzconf.h143 # define Byte z_Byte
394 typedef unsigned char Byte; /* 8 bits */
401 # define Bytef Byte FAR
403 typedef Byte FAR Bytef;
415 typedef Byte const *voidpc;
416 typedef Byte FAR *voidpf;
417 typedef Byte *voidp;
142 # define Byte z_Byte global() macro
391 typedef unsigned char Byte; /* 8 bits */ global() typedef
H A Ddeflate.c445 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_()
517 s->method = (Byte)method; in deflateInit2_()
909 put_byte(s, (Byte)(b >> 8));
910 put_byte(s, (Byte)(b & 0xff));
1067 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1068 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); in deflate()
1069 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); in deflate()
1070 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); in deflate()
1165 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1166 put_byte(s, (Byte)((str in deflate()
[all...]
/openbsd-src/lib/libz/
H A Dzconf.h143 # define Byte z_Byte
394 typedef unsigned char Byte; /* 8 bits */
401 # define Bytef Byte FAR
403 typedef Byte FAR Bytef;
415 typedef Byte const *voidpc;
416 typedef Byte FAR *voidpf;
417 typedef Byte *voidp;
142 # define Byte z_Byte global() macro
391 typedef unsigned char Byte; /* 8 bits */ global() typedef
H A Ddeflate.c445 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_()
517 s->method = (Byte)method; in deflateInit2_()
909 put_byte(s, (Byte)(b >> 8));
910 put_byte(s, (Byte)(b & 0xff));
1067 put_byte(s, (Byte)(s->gzhead->time & 0xff)); in deflate()
1068 put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); in deflate()
1069 put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); in deflate()
1070 put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); in deflate()
1165 put_byte(s, (Byte)(strm->adler & 0xff)); in deflate()
1166 put_byte(s, (Byte)((str in deflate()
[all...]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DDecoderEmitter.cpp805 uint8_t Byte = *I++; in emitTable() local
806 uint32_t NumToSkip = Byte; in emitTable()
807 OS << (unsigned)Byte << ", "; in emitTable()
808 Byte = *I++; in emitTable()
809 OS << (unsigned)Byte << ", "; in emitTable()
810 NumToSkip |= Byte << 8; in emitTable()
811 Byte = *I++; in emitTable()
812 OS << utostr(Byte) << ", "; in emitTable()
813 NumToSkip |= Byte << 16; in emitTable()
828 uint8_t Byte = *I++; in emitTable() local
[all …]
/openbsd-src/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()
582 uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2); in findX86PltEntries()
584 std::make_pair(PltSectionVA + Byte, GotPltSectionVA + Imm)); in findX86PltEntries()
585 Byte += 6; in findX86PltEntries()
586 } else if (PltContents[Byte] == 0xff && PltContents[Byte + 1] == 0x25) { in findX86PltEntries()
589 uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2); in findX86PltEntries()
590 Result.push_back(std::make_pair(PltSectionVA + Byte, Imm)); in findX86PltEntries()
591 Byte += 6; in findX86PltEntries()
593 Byte++; in findX86PltEntries()
[all …]
/openbsd-src/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-src/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-src/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-src/gnu/usr.bin/perl/cpan/Encode/Byte/
H A DByte.pm1 package Encode::Byte;
/openbsd-src/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-src/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-src/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()

12345678