openMSX
|
Classes | |
class | iterator |
Functions | |
template<typename octet_iterator > | |
octet_iterator | append (uint32_t cp, octet_iterator result) |
template<typename octet_iterator > | |
uint32_t | next (octet_iterator &it) |
template<typename octet_iterator > | |
uint32_t | peek_next (octet_iterator it) |
template<typename octet_iterator > | |
uint32_t | prior (octet_iterator &it) |
template<typename octet_iterator , typename distance_type > | |
void | advance (octet_iterator &it, distance_type n) |
template<typename octet_iterator > | |
auto | distance (octet_iterator first, octet_iterator last) |
template<typename u16bit_iterator , typename octet_iterator > | |
octet_iterator | utf16to8 (u16bit_iterator start, u16bit_iterator end, octet_iterator result) |
template<typename u16bit_iterator , typename octet_iterator > | |
u16bit_iterator | utf8to16 (octet_iterator start, octet_iterator end, u16bit_iterator result) |
template<typename octet_iterator , typename u32bit_iterator > | |
octet_iterator | utf32to8 (u32bit_iterator start, u32bit_iterator end, octet_iterator result) |
template<typename octet_iterator , typename u32bit_iterator > | |
u32bit_iterator | utf8to32 (octet_iterator start, octet_iterator end, u32bit_iterator result) |
size_t | size (std::string_view utf8) |
std::string_view | substr (std::string_view utf8, std::string_view::size_type first=0, std::string_view::size_type len=std::string_view::npos) |
void utf8::unchecked::advance | ( | octet_iterator & | it, |
distance_type | n | ||
) |
Definition at line 110 of file utf8_unchecked.hh.
References next(), and repeat().
Referenced by substr().
octet_iterator utf8::unchecked::append | ( | uint32_t | cp, |
octet_iterator | result | ||
) |
Definition at line 41 of file utf8_unchecked.hh.
Referenced by openmsx::MsxChar2Unicode::msxToUtf8(), utf16to8(), and utf32to8().
auto utf8::unchecked::distance | ( | octet_iterator | first, |
octet_iterator | last | ||
) |
Definition at line 116 of file utf8_unchecked.hh.
References next().
Referenced by openmsx::ImGuiConsole::paint(), and size().
uint32_t utf8::unchecked::next | ( | octet_iterator & | it | ) |
Definition at line 66 of file utf8_unchecked.hh.
References utf8::internal::sequence_length().
Referenced by advance(), distance(), utf8::unchecked::iterator< octet_iterator >::operator*(), peek_next(), openmsx::InputEventGenerator::poll(), prior(), openmsx::ConsoleLine::splitAtColumn(), substr(), utf8to16(), utf8to32(), and openmsx::MsxChar2Unicode::utf8ToMsx().
uint32_t utf8::unchecked::peek_next | ( | octet_iterator | it | ) |
Definition at line 96 of file utf8_unchecked.hh.
References next().
uint32_t utf8::unchecked::prior | ( | octet_iterator & | it | ) |
Definition at line 102 of file utf8_unchecked.hh.
References utf8::internal::is_trail(), and next().
Referenced by utf8::unchecked::iterator< octet_iterator >::operator--(), and utf8::unchecked::iterator< octet_iterator >::operator--().
|
inline |
Definition at line 227 of file utf8_unchecked.hh.
References begin(), distance(), and end().
Referenced by openmsx::ConsoleLine::numChars().
|
inline |
octet_iterator utf8::unchecked::utf16to8 | ( | u16bit_iterator | start, |
u16bit_iterator | end, | ||
octet_iterator | result | ||
) |
Definition at line 127 of file utf8_unchecked.hh.
References append(), end(), utf8::internal::is_surrogate(), and utf8::internal::SURROGATE_OFFSET.
octet_iterator utf8::unchecked::utf32to8 | ( | u32bit_iterator | start, |
u32bit_iterator | end, | ||
octet_iterator | result | ||
) |
Definition at line 160 of file utf8_unchecked.hh.
u16bit_iterator utf8::unchecked::utf8to16 | ( | octet_iterator | start, |
octet_iterator | end, | ||
u16bit_iterator | result | ||
) |
Definition at line 143 of file utf8_unchecked.hh.
References end(), utf8::internal::LEAD_OFFSET, next(), and utf8::internal::TRAIL_SURROGATE_MIN.
u32bit_iterator utf8::unchecked::utf8to32 | ( | octet_iterator | start, |
octet_iterator | end, | ||
u32bit_iterator | result | ||
) |
Definition at line 170 of file utf8_unchecked.hh.