Lines Matching +full:endianness +full:- +full:agnostic
1 //===- lib/MC/GOFFObjectWriter.cpp - GOFF File Writer ---------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
24 #define DEBUG_TYPE "goff-writer"
28 // The standard System/390 convention is to name the high-order (leftmost) bit
39 uint8_t Mask = ((1 << Length) - 1) << (8 - BitIndex - Length); in bits()
40 Value = Value << (8 - BitIndex - Length); in bits()
71 // is agnostic of the endianness of the content. However, it also supports
137 // Support for endian-specific data.
140 support::endian::byte_swap<value_type>(Value, llvm::endianness::big); in writebe()
164 Gap = GOFF::RecordContentLength - Gap; in newRecord()
174 size_t Remains = RemainingSize - GetNumBytesInBuffer(); in fillRecord()
187 // - The internal buffer is full. Size is excactly the size of the buffer.
188 // - Data larger than the internal buffer is written. Size is a multiple of the
190 // - flush() has been called. Size is at most the buffer size.
212 Size -= BytesToWrite; in write_impl()
213 RemainingSize -= BytesToWrite; in write_impl()
286 return OS.tell() - StartOffset; in writeObject()