Searched refs:SerializedSize (Results 1 – 4 of 4) sorted by relevance
59 if (buffer_size < SerializedSize()) { in Serialize()81 const uint8_t nonamed_size = HasPreset(0, 0).SerializedSize(); in Deserialize()
301 return current + preset.SerializedSize(); in SerializedPresetsSize()319 if (p_out + preset.SerializedSize() >= p_end) { in SerializePresets()335 if (len < 2 + preset.SerializedSize()) { in DeserializePresets()
103 uint8_t SerializedSize() const { in SerializedSize() function
3099 auto sp_sz = preset.SerializedSize(); in TEST_F()3130 std::vector<uint8_t> serialized(preset.SerializedSize() - 1); in TEST_F()3144 std::vector<uint8_t> serialized(preset.SerializedSize()); in TEST_F()3154 std::vector<uint8_t> serialized(preset.SerializedSize()); in TEST_F()3186 ASSERT_EQ(out_buf_sz, preset.SerializedSize() + preset2.SerializedSize() + 2); in TEST_F()