reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Object/WindowsResource.cpp
  959     support::endian::write16le(BufferStart + CurrentOffset, Length);
lib/Target/BPF/BPFISelDAGToDAG.cpp
  379     support::endian::write16le(test_buf.c, test_val);
tools/lld/COFF/Chunks.cpp
   60 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));
  180   write16le(off + 2, (read16le(off + 2) & 0xd000) | (j1 << 13) | (j2 << 11) | ((v >> 1) & 0x7ff));
  841     write16le(p, (i->type << 12) | (i->rva - page));
tools/lld/COFF/DLL.cpp
   50     write16le(buf, hint);
  553       write16le(buf, e.ordinal);
tools/lld/ELF/ARMErrataFix.cpp
  155   write16le(buf, instr >> 16);
  156   write16le(buf + 2, instr & 0x0000ffff);
tools/lld/ELF/Arch/AArch64.cpp
  310     write16le(loc, val);
tools/lld/ELF/Arch/ARM.cpp
  429     write16le(loc, (read32le(loc) & 0xf800) | ((val >> 1) & 0x07ff));
  434     write16le(loc,
  438     write16le(loc + 2,
  453     write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | (val & 1) << 12);
  458       write16le(loc,
  461       write16le(loc + 2,
  472     write16le(loc,
  476     write16le(loc + 2,
  495     write16le(loc,
  499     write16le(loc + 2,
  507     write16le(loc,
  511     write16le(loc + 2,
tools/lld/ELF/Arch/AVR.cpp
   65     write16le(loc, read16le(loc) | ((hi >> 1) << 4) | (hi & 1));
   66     write16le(loc + 2, lo);
tools/lld/ELF/Arch/MSP430.cpp
   74     write16le(loc, val);
   83     write16le(loc, (read16le(loc) & 0xFC00) | (offset & 0x3FF));
tools/lld/ELF/Arch/RISCV.cpp
  262     write16le(loc, insn);
  280     write16le(loc, insn);
  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);
  405     write16le(loc, val);
tools/lld/ELF/Arch/X86.cpp
  279     write16le(loc, val);
  293     write16le(loc, val);
tools/lld/ELF/Arch/X86_64.cpp
  362     write16le(loc, val);
  366     write16le(loc, val);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
   93     write16le(loc, value);
tools/lldb/source/Utility/DataEncoder.cpp
  159       write16le(m_start + offset, value);