MCPcopy Create free account
hub / github.com/Icinga/icinga2 / get_sequence_1

Function get_sequence_1

third-party/utf8cpp/source/utf8/core.h:170–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 /// get_sequence_x functions decode utf-8 sequences of the length x
169 template <typename octet_iterator>
170 utf_error get_sequence_1(octet_iterator& it, octet_iterator end, uint32_t& code_point)
171 {
172 if (it == end)
173 return NOT_ENOUGH_ROOM;
174
175 code_point = utf8::internal::mask8(*it);
176
177 return UTF8_OK;
178 }
179
180 template <typename octet_iterator>
181 utf_error get_sequence_2(octet_iterator& it, octet_iterator end, uint32_t& code_point)

Callers 1

validate_nextFunction · 0.85

Calls 1

mask8Function · 0.85

Tested by

no test coverage detected