microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Functions
microfmt::gdb::detail Namespace Reference

Functions

RELOCO_BEGIN_UNSAFE_CODE constexpr bool parse_hex_nibble (char c, uint8_t &val) noexcept
 
RELOCO_END_UNSAFE_CODE RELOCO_BEGIN_UNSAFE_CODE constexpr uintptr_t parse_hex_int (string_view hex, size_t *chars_consumed=nullptr) noexcept
 
RELOCO_END_UNSAFE_CODE constexpr uint64_t parse_thread_id (string_view hex) noexcept
 
void emit_hex_bytes (sink target, span< const uint8_t > data) noexcept
 
RELOCO_BEGIN_UNSAFE_CODE void emit_escaped_binary (sink target, span< const uint8_t > data) noexcept
 
RELOCO_END_UNSAFE_CODE void write_thread_id (sink target, uint64_t tid) noexcept
 

Function Documentation

◆ emit_escaped_binary()

RELOCO_BEGIN_UNSAFE_CODE void microfmt::gdb::detail::emit_escaped_binary ( sink  target,
span< const uint8_t >  data 
)
inlinenoexcept

◆ emit_hex_bytes()

void microfmt::gdb::detail::emit_hex_bytes ( sink  target,
span< const uint8_t >  data 
)
inlinenoexcept

◆ parse_hex_int()

RELOCO_END_UNSAFE_CODE RELOCO_BEGIN_UNSAFE_CODE constexpr uintptr_t microfmt::gdb::detail::parse_hex_int ( string_view  hex,
size_t *  chars_consumed = nullptr 
)
constexprnoexcept

◆ parse_hex_nibble()

RELOCO_BEGIN_UNSAFE_CODE constexpr bool microfmt::gdb::detail::parse_hex_nibble ( char  c,
uint8_t &  val 
)
constexprnoexcept

◆ parse_thread_id()

RELOCO_END_UNSAFE_CODE constexpr uint64_t microfmt::gdb::detail::parse_thread_id ( string_view  hex)
constexprnoexcept

◆ write_thread_id()

RELOCO_END_UNSAFE_CODE void microfmt::gdb::detail::write_thread_id ( sink  target,
uint64_t  tid 
)
inlinenoexcept