Lines Matching refs:byte_order
25 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() argument
27 : m_flags(flags), m_addr_size(addr_size), m_byte_order(byte_order), in Stream()
37 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder() argument
39 m_byte_order = byte_order; in SetByteOrder()
240 size_t Stream::PutHex16(uint16_t uvalue, ByteOrder byte_order) { in PutHex16() argument
243 if (byte_order == eByteOrderInvalid) in PutHex16()
244 byte_order = m_byte_order; in PutHex16()
246 if (byte_order == eByteOrderLittle) { in PutHex16()
256 size_t Stream::PutHex32(uint32_t uvalue, ByteOrder byte_order) { in PutHex32() argument
259 if (byte_order == eByteOrderInvalid) in PutHex32()
260 byte_order = m_byte_order; in PutHex32()
262 if (byte_order == eByteOrderLittle) { in PutHex32()
272 size_t Stream::PutHex64(uint64_t uvalue, ByteOrder byte_order) { in PutHex64() argument
275 if (byte_order == eByteOrderInvalid) in PutHex64()
276 byte_order = m_byte_order; in PutHex64()
278 if (byte_order == eByteOrderLittle) { in PutHex64()
289 lldb::ByteOrder byte_order) { in PutMaxHex64() argument
294 return PutHex16(static_cast<uint16_t>(uvalue), byte_order); in PutMaxHex64()
296 return PutHex32(static_cast<uint32_t>(uvalue), byte_order); in PutMaxHex64()
298 return PutHex64(uvalue, byte_order); in PutMaxHex64()
308 size_t Stream::PutFloat(float f, ByteOrder byte_order) { in PutFloat() argument
309 if (byte_order == eByteOrderInvalid) in PutFloat()
310 byte_order = m_byte_order; in PutFloat()
312 return PutRawBytes(&f, sizeof(f), endian::InlHostByteOrder(), byte_order); in PutFloat()
315 size_t Stream::PutDouble(double d, ByteOrder byte_order) { in PutDouble() argument
316 if (byte_order == eByteOrderInvalid) in PutDouble()
317 byte_order = m_byte_order; in PutDouble()
319 return PutRawBytes(&d, sizeof(d), endian::InlHostByteOrder(), byte_order); in PutDouble()
322 size_t Stream::PutLongDouble(long double ld, ByteOrder byte_order) { in PutLongDouble() argument
323 if (byte_order == eByteOrderInvalid) in PutLongDouble()
324 byte_order = m_byte_order; in PutLongDouble()
326 return PutRawBytes(&ld, sizeof(ld), endian::InlHostByteOrder(), byte_order); in PutLongDouble()