Home
last modified time | relevance | path

Searched refs:protozero_assert (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2/include/protozero/
H A Dpbf_reader.hpp87 protozero_assert(tag() != 0 && "call next() before accessing field value"); in packed_fixed()
89 protozero_assert(len % sizeof(T) == 0); in packed_fixed()
101protozero_assert((has_wire_type(pbf_wire_type::varint) || has_wire_type(pbf_wire_type::length_deli… in get_svarint()
130 protozero_assert(tag() != 0 && "call next() before accessing field value"); in get_packed()
286 protozero_assert(((m_tag > 0 && m_tag < 19000) || in next()
456 protozero_assert(tag() != 0 && "call next() before calling skip()"); in skip()
471protozero_assert(false && "can not be here because next() should have thrown already"); in skip()
488 protozero_assert(tag() != 0 && "call next() before accessing field value"); in get_bool()
489 protozero_assert(has_wire_type(pbf_wire_type::varint) && "not a varint"); in get_bool()
490 protozero_assert((*m_data & 0x80) == 0 && "not a 1 byte varint"); in get_bool()
[all …]
H A Dpbf_writer.hpp73protozero_assert(m_pos == 0 && "you can't add fields to a parent pbf_writer if there is an existin… in add_varint()
74 protozero_assert(m_data); in add_varint()
79protozero_assert(((tag > 0 && tag < 19000) || (tag > 19999 && tag <= ((1 << 29) - 1))) && "tag out… in add_field()
91protozero_assert(m_pos == 0 && "you can't add fields to a parent pbf_writer if there is an existin… in add_fixed()
92 protozero_assert(m_data); in add_fixed()
168 protozero_assert(m_pos == 0); in open_submessage()
169 protozero_assert(m_data); in open_submessage()
183 protozero_assert(m_pos != 0); in rollback_submessage()
184 protozero_assert(m_rollback_pos != size_is_known); in rollback_submessage()
185 protozero_assert(m_data); in rollback_submessage()
[all …]
H A Dconfig.hpp44 #ifndef protozero_assert
45 # define protozero_assert(x) assert(x) macro
H A Dtypes.hpp153 protozero_assert(m_data); in to_string()
163 protozero_assert(m_data); in operator std::string()
H A Diterators.hpp103 protozero_assert(!empty()); in front()
113 protozero_assert(!empty()); in drop_front()