Lines Matching refs:Value
320 void writeInt16BE(uint8_t *Addr, uint16_t Value) {
322 sys::swapByteOrder(Value);
323 *Addr = (Value >> 8) & 0xFF;
324 *(Addr + 1) = Value & 0xFF;
327 void writeInt32BE(uint8_t *Addr, uint32_t Value) {
329 sys::swapByteOrder(Value);
330 *Addr = (Value >> 24) & 0xFF;
331 *(Addr + 1) = (Value >> 16) & 0xFF;
332 *(Addr + 2) = (Value >> 8) & 0xFF;
333 *(Addr + 3) = Value & 0xFF;
336 void writeInt64BE(uint8_t *Addr, uint64_t Value) {
338 sys::swapByteOrder(Value);
339 *Addr = (Value >> 56) & 0xFF;
340 *(Addr + 1) = (Value >> 48) & 0xFF;
341 *(Addr + 2) = (Value >> 40) & 0xFF;
342 *(Addr + 3) = (Value >> 32) & 0xFF;
343 *(Addr + 4) = (Value >> 24) & 0xFF;
344 *(Addr + 5) = (Value >> 16) & 0xFF;
345 *(Addr + 6) = (Value >> 8) & 0xFF;
346 *(Addr + 7) = Value & 0xFF;
357 /// Endian-aware write. Write the least significant Size bytes from Value to
359 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;
392 /// \brief Resolves relocations from Relocs list with address from Value.
393 void resolveRelocationList(const RelocationList &Relocs, uint64_t Value);
397 /// \param Value Target symbol address to apply the relocation action
398 virtual void resolveRelocation(const RelocationEntry &RE, uint64_t Value) = 0;