/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/Disassembler/ |
H A D | BPFDisassembler.cpp | 69 ArrayRef<uint8_t> Bytes, uint64_t Address, 137 static DecodeStatus readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument 142 if (Bytes.size() < 8) { in readInstruction64() 149 Hi = (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction64() 150 Lo = (Bytes[4] << 0) | (Bytes[5] << 8) | (Bytes[ in readInstruction64() 161 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const getInstruction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 47 ArrayRef<uint8_t> Bytes, uint64_t Address, 50 ArrayRef<uint8_t> Bytes, uint64_t Address, 76 static int nextByte(ArrayRef<uint8_t> Bytes, uint64_t &Size) { in nextByte() argument 77 if (Size >= Bytes.size()) in nextByte() 79 auto V = Bytes[Size]; in nextByte() 84 static bool nextLEB(int64_t &Val, ArrayRef<uint8_t> Bytes, uint64_t &Size, in nextLEB() argument 88 Val = Signed ? decodeSLEB128(Bytes.data() + Size, &N, in nextLEB() 89 Bytes.data() + Bytes.size(), &Error) in nextLEB() 90 : static_cast<int64_t>(decodeULEB128(Bytes in nextLEB() 99 parseLEBImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, bool Signed) parseLEBImmediate() argument 109 parseImmediate(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes) parseImmediate() argument 123 onSymbolStart( StringRef Name, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const onSymbolStart() argument 158 getInstruction( MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t , raw_ostream &CS) const getInstruction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/Disassembler/ |
H A D | ARCDisassembler.cpp | 44 ArrayRef<uint8_t> Bytes, uint64_t Address, 50 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument 55 (Bytes[0] << 16) | (Bytes[1] << 24) | (Bytes[2] << 0) | (Bytes[3] << 8); in readInstruction32() 59 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument 62 Insn = ((uint64_t)Bytes[0] << 16) | ((uint64_t)Bytes[1] << 24) | in readInstruction64() 63 ((uint64_t)Bytes[ in readInstruction64() 69 readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint64_t &Insn) readInstruction48() argument 78 readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, uint64_t &Size, uint32_t &Insn) readInstruction16() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64StackOffset.h | 38 int64_t Bytes; member in llvm::StackOffset 46 StackOffset() : Bytes(0), ScalableBytes(0) {} in StackOffset() 54 : Bytes(Other.Bytes), ScalableBytes(Other.ScalableBytes) {} in StackOffset() 63 Bytes += Other.first * ((int64_t)Size.getFixedSize() / 8); in operator +=() 68 Bytes += Other.Bytes; in operator +=() 80 Bytes -= Other.Bytes; in operator -=() 102 int64_t getBytes() const { return Bytes; } in getBytes() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/Disassembler/ |
H A D | AVRDisassembler.cpp | 42 ArrayRef<uint8_t> Bytes, uint64_t Address, 77 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument 79 if (Bytes.size() < 2) { in readInstruction16() 85 Insn = (Bytes[0] << 0) | (Bytes[1] << 8); in readInstruction16() 90 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument 93 if (Bytes.size() < 4) { in readInstruction32() 99 Insn = (Bytes[0] << 0) | (Bytes[1] << 8) | (Bytes[ in readInstruction32() 113 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CStream) const getInstruction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 20 uint8_t Bytes[3]; member 22 Bytes[0] = Bytes[1] = Bytes[2] = U; in Uint24() 25 Bytes[0] = U0; Bytes[1] = U1; Bytes[2] = U2; in Uint24() 29 return Bytes[LoIx] + (Bytes[1] << 8) + (Bytes[ in getAsUint32() [all...] |
H A D | MD5.h | 56 std::array<uint8_t, 16> Bytes; member 58 operator std::array<uint8_t, 16>() const { return Bytes; } in operator std::array() 60 const uint8_t &operator[](size_t I) const { return Bytes[I]; } in operator []() 61 uint8_t &operator[](size_t I) { return Bytes[I]; } in operator []() 69 return endian::read<uint64_t, little, unaligned>(Bytes.data()); in low() 74 return endian::read<uint64_t, little, unaligned>(Bytes.data() + 8); in high() 105 return LHS.Bytes == RHS.Bytes; in operator ==()
|
H A D | BinaryStreamReader.h | 79 ArrayRef<uint8_t> Bytes; in readInteger() local 80 if (auto EC = readBytes(Bytes, sizeof(T))) in readInteger() 84 Bytes.data(), Stream.getEndian()); in readInteger() 188 ArrayRef<uint8_t> Bytes; in readArray() local 198 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray() 201 assert(isAddrAligned(Align::Of<T>(), Bytes.data()) && in readArray() 204 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); in readArray()
|
H A D | Format.h | 216 ArrayRef<uint8_t> Bytes; member in llvm::FormattedBytes 230 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), in FormattedBytes() 239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None, in format_bytes() argument 242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, in format_bytes() 247 format_bytes_with_ascii(ArrayRef<uint8_t> Bytes, in format_bytes_with_ascii() argument 251 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, in format_bytes_with_ascii()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
H A D | FileWriter.cpp | 21 uint8_t Bytes[32]; in writeSLEB() local 22 auto Length = encodeSLEB128(S, Bytes); in writeSLEB() 23 assert(Length < sizeof(Bytes)); in writeSLEB() 24 OS.write(reinterpret_cast<const char *>(Bytes), Length); in writeSLEB() 28 uint8_t Bytes[32]; 29 auto Length = encodeULEB128(U, Bytes); 30 assert(Length < sizeof(Bytes)); 31 OS.write(reinterpret_cast<const char *>(Bytes), Length);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/Disassembler/ |
H A D | MSP430Disassembler.cpp | 34 ArrayRef<uint8_t> Bytes, uint64_t Address, 38 ArrayRef<uint8_t> Bytes, uint64_t Address, 42 ArrayRef<uint8_t> Bytes, uint64_t Address, 50 ArrayRef<uint8_t> Bytes, uint64_t Address, 230 ArrayRef<uint8_t> Bytes, 233 uint64_t Insn = support::endian::read16le(Bytes.data()); 247 if (Bytes.size() < (Words + 1) * 2) { 251 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; 261 if (Bytes.size() < (Words + 1) * 2) { 265 Insn |= (uint64_t)support::endian::read16le(Bytes [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
H A D | FDRTraceWriter.cpp | 51 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata() local 52 assert(Bytes <= 15 && "Must only ever write at most 16 byte metadata!"); in writeMetadata() 54 for (; Bytes < 15; ++Bytes) in writeMetadata() 101 ArrayRef<char> Bytes(D.data(), D.size()); in visit() 102 OS.write(Bytes); in visit() 110 ArrayRef<char> Bytes(D.data(), D.size()); in visit() 111 OS.write(Bytes); in visit() 119 ArrayRef<char> Bytes(D.data(), D.size()); in visit() 120 OS.write(Bytes); in visit() [all...] |
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_identifier.rs | 26 assert_de_tokens(&V::Aaa, &[Token::Bytes(b"Aaa")]); in variant1() 37 assert_de_tokens(&V::Bbb, &[Token::Bytes(b"Bbb")]); in aliases() 40 assert_de_tokens(&V::Bbb, &[Token::Bytes(b"Ccc")]); in aliases() 43 assert_de_tokens(&V::Bbb, &[Token::Bytes(b"Ddd")]); in aliases() 69 &[Token::Bytes(b"Unknown")], in unknown() 93 assert_de_tokens(&F::Aaa, &[Token::Bytes(b"aaa")]); in field1() 104 assert_de_tokens(&F::Bbb, &[Token::Bytes(b"bbb")]); in aliases() 107 assert_de_tokens(&F::Bbb, &[Token::Bytes(b"ccc")]); in aliases() 110 assert_de_tokens(&F::Bbb, &[Token::Bytes(b"ddd")]); in aliases() 136 &[Token::Bytes( in unknown() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugChecksumsSubsection.cpp | 69 ArrayRef<uint8_t> Bytes) { in addChecksum() 71 if (!Bytes.empty()) { in addChecksum() 72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size()); in addChecksum() 73 ::memcpy(Copy, Bytes.data(), Bytes.size()); in addChecksum() 74 Entry.Checksum = makeArrayRef(Copy, Bytes.size()); in addChecksum() 86 uint32_t Len = alignTo(sizeof(FileChecksumEntryHeader) + Bytes.size(), 4); in addChecksum() 67 addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef<uint8_t> Bytes) addChecksum() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZSelectionDAGInfo.cpp | 85 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset() local 86 if (Bytes == 0) in EmitTargetCodeForMemset() 95 Bytes <= 16 && countPopulation(Bytes) <= 2 : in EmitTargetCodeForMemset() 96 Bytes <= 4) { in EmitTargetCodeForMemset() 97 unsigned Size1 = Bytes == 16 ? 8 : 1 << findLastSet(Bytes); in EmitTargetCodeForMemset() 98 unsigned Size2 = Bytes - Size1; in EmitTargetCodeForMemset() 112 if (Bytes <= 2) { in EmitTargetCodeForMemset() 114 if (Bytes in EmitTargetCodeForMemset() 184 uint64_t Bytes = CSize->getZExtValue(); EmitTargetCodeForMemcmp() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | circular_raw_ostream.cpp | 26 unsigned Bytes = in write_impl() local 28 memcpy(Cur, Ptr, Bytes); in write_impl() 29 Size -= Bytes; in write_impl() 30 Cur += Bytes; in write_impl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | circular_raw_ostream.cpp | 25 unsigned Bytes = in write_impl() local 27 memcpy(Cur, Ptr, Bytes); in write_impl() 28 Size -= Bytes; in write_impl() 29 Cur += Bytes; in write_impl()
|
/third_party/elfutils/libelf/ |
H A D | gelf_xlate.c | 92 #define INLINE2(Bytes, FName, TName) \ 93 INLINE3 (Bytes, FName, TName) 94 #define INLINE3(Bytes, FName, TName) \ 97 switch (Bytes) \ 115 dest += Bytes; \ 116 ptr += Bytes; \ 124 ptr -= Bytes; \ 125 dest -= Bytes; \
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamTest.cs | 47 private static byte[] Bytes(params int[] bytesAsInts)
in Bytes() method in Google.Protobuf.CodedInputStreamTest 114 AssertReadVarint(Bytes(0x00), 0);
in ReadVarint() 115 AssertReadVarint(Bytes(0x01), 1);
in ReadVarint() 116 AssertReadVarint(Bytes(0x7f), 127);
in ReadVarint() 118 AssertReadVarint(Bytes(0xa2, 0x74), (0x22 << 0) | (0x74 << 7));
in ReadVarint() 120 AssertReadVarint(Bytes(0xbe, 0xf7, 0x92, 0x84, 0x0b),
in ReadVarint() 126 AssertReadVarint(Bytes(0xbe, 0xf7, 0x92, 0x84, 0x1b),
in ReadVarint() 130 AssertReadVarint(Bytes(0x80, 0xe6, 0xeb, 0x9c, 0xc3, 0xc9, 0xa4, 0x49),
in ReadVarint() 134 AssertReadVarint(Bytes(0x9b, 0xa8, 0xf9, 0xc2, 0xbb, 0xd6, 0x80, 0x85, 0xa6, 0x01),
in ReadVarint() 142 Bytes( in ReadVarint() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
H A D | Image.cpp | 578 Bytes, enumerator 608 void TransferRow<Bytes>(unsigned char *dest, const unsigned char *source, GLsizei width, GLsizei bytes) in TransferRow() 1329 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1333 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1339 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1351 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1361 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1365 case GL_RGBA32F: return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1377 return Transfer<Bytes>(buffer, input, rect); in loadImageData() 1380 return Transfer<Bytes>(buffe in loadImageData() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 234 template <typename T> static inline T eatBytes(ArrayRef<uint8_t>& Bytes) { in eatBytes() argument 235 assert(Bytes.size() >= sizeof(T)); in eatBytes() 236 const auto Res = support::endian::read<T, support::endianness::little>(Bytes.data()); in eatBytes() 237 Bytes = Bytes.slice(sizeof(T)); in eatBytes() 249 const auto SavedBytes = Bytes; in tryDecodeInst() 254 Bytes = SavedBytes; in tryDecodeInst() 276 Bytes = Bytes_.slice(0, MaxInstBytesNum); in getInstruction() 285 if (Bytes.size() >= 8) { in getInstruction() 286 const uint64_t QW = eatBytes<uint64_t>(Bytes); in getInstruction() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
H A D | StreamingMemoryObject.cpp | 104 memcpy(Buf, &Bytes[Address + BytesSkipped], Size); in readBytes() 111 return &Bytes[Address + BytesSkipped]; in getPointer() 124 Bytes.reserve(size); in setKnownObjectSize() 136 : Bytes(kChunkSize), Streamer(std::move(Streamer)), BytesRead(0), in StreamingMemoryObject() 138 BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize); in StreamingMemoryObject()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/Disassembler/ |
H A D | LanaiDisassembler.cpp | 75 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t &Size, in readInstruction32() argument 78 if (Bytes.size() < 4) { in readInstruction32() 85 (Bytes[0] << 24) | (Bytes[1] << 16) | (Bytes[2] << 8) | (Bytes[3] << 0); in readInstruction32() 133 ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() 137 DecodeStatus Result = readInstruction32(Bytes, Size, Insn); in getInstruction() 132 getInstruction(MCInst &Instr, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream & ) const getInstruction() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
H A D | WholeProgramDevirt.h | 40 std::vector<uint8_t> Bytes; member 42 // Bits in BytesUsed[I] are 1 if matching bit in Bytes[I] is used, 0 if not. 46 if (Bytes.size() < Pos + Size) { in getPtrToData() 47 Bytes.resize(Pos + Size); in getPtrToData() 50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData() 159 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes() 165 return minAfterBytes() + TM->Bits->After.Bytes.size(); in allocatedAfterBytes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Format.h | 207 ArrayRef<uint8_t> Bytes; member in llvm::FormattedBytes 221 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), in FormattedBytes() 230 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None, in format_bytes() argument 233 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, in format_bytes() 238 format_bytes_with_ascii(ArrayRef<uint8_t> Bytes, in format_bytes_with_ascii() argument 242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, in format_bytes_with_ascii()
|