reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
40 uint16_t N = support::endian::read16le(Data.data()); 84 uint16_t Attrs = support::endian::read16le(Content.data()); 147 uint16_t Attrs = support::endian::read16le(Data.drop_front(2).data()); 214 static_cast<TypeLeafKind>(support::endian::read16le(Content.data())); 296 Count = support::endian::read16le(Content.data());lib/Object/Archive.cpp
841 uint16_t OffsetIndex = read16le(Indices + SymbolIndex * 2);
lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp238 uint64_t Insn = support::endian::read16le(Bytes.data()); 256 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; 270 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + Words * 2) 294 uint64_t Insn = support::endian::read16le(Bytes.data()); 311 Insn |= (uint64_t)support::endian::read16le(Bytes.data() + 2) << 16; 350 uint64_t Insn = support::endian::read16le(Bytes.data()); 377 uint64_t Insn = support::endian::read16le(Bytes.data());lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
340 Insn = support::endian::read16le(Bytes.data());
tools/lld/COFF/Chunks.cpp60 static void add16(uint8_t *p, int16_t v) { write16le(p, read16le(p) + v); } 63 static void or16(uint8_t *p, uint16_t v) { write16le(p, read16le(p) | v); } 136 write16le(off, (read16le(off) & 0xfbf0) | ((v & 0x800) >> 1) | ((v >> 12) & 0xf)); 137 write16le(off + 2, (read16le(off + 2) & 0x8f00) | ((v & 0x700) << 4) | (v & 0xff)); 141 uint16_t op1 = read16le(off); 145 uint16_t op2 = read16le(off + 2); 180 write16le(off + 2, (read16le(off + 2) & 0xd000) | (j1 << 13) | (j2 << 11) | ((v >> 1) & 0x7ff));tools/lld/ELF/Arch/ARM.cpp
435 (read16le(loc) & 0xfbc0) | // opcode cond 453 write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | (val & 1) << 12); 462 (read16le(loc + 2) & 0xd000) | // opcode 477 (read16le(loc + 2) & 0xd000) | // opcode 500 (read16le(loc + 2) & 0x8f00) | // opcode 512 (read16le(loc + 2) & 0x8f00) | // opcode 547 return SignExtend64<12>(read16le(buf) << 1); 550 uint16_t hi = read16le(buf); 551 uint16_t lo = read16le(buf + 2); 562 uint16_t hi = read16le(buf); 563 uint16_t lo = read16le(buf + 2); 572 uint16_t hi = read16le(buf); 573 uint16_t lo = read16le(buf + 2); 594 uint16_t hi = read16le(buf); 595 uint16_t lo = read16le(buf + 2);tools/lld/ELF/Arch/AVR.cpp
65 write16le(loc, read16le(loc) | ((hi >> 1) << 4) | (hi & 1));
tools/lld/ELF/Arch/MSP430.cpp 83 write16le(loc, (read16le(loc) & 0xFC00) | (offset & 0x3FF));
tools/lld/ELF/Arch/RISCV.cpp254 uint16_t insn = read16le(loc) & 0xE383; 269 uint16_t insn = read16le(loc) & 0xE003; 288 write16le(loc, (read16le(loc) & 0x0F83) | 0x4000); 292 write16le(loc, (read16le(loc) & 0xEF83) | imm17 | imm16_12); 375 write16le(loc, read16le(loc) + val); 390 write16le(loc, read16le(loc) - val);tools/lld/ELF/Arch/X86.cpp
248 return SignExtend64<16>(read16le(buf));
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h 74 return isBig ? read16be(loc) : read16le(loc);