Searched refs:ReadUint16 (Results 1 – 6 of 6) sorted by relevance
53 bool ReadUint16(uint16_t* out, FILE* file) { in ReadUint16() function153 TRY(ReadUint16(&port, file_)); in Init()154 TRY(ReadUint16(&padding, file_)); in Init()166 TRY(ReadUint16(&len, file_)); in NextPacket()167 TRY(ReadUint16(&plen, file_)); in NextPacket()
61 std::uint16_t ReadUint16(const std::uint8_t* buf);
104 std::uint16_t ReadUint16(const std::uint8_t* buf) { in ReadUint16() function
180 ((ReadUint16(&poh_buffer[offset + 1]) & ~1) << 14) | in ParsePesOptionalHeader()181 (ReadUint16(&poh_buffer[offset + 3]) >> 1); in ParsePesOptionalHeader()
163 return static_cast<int16_t>(ReadUint16(order));166 uint16_t ReadUint16(std::endian order = std::endian::little) {
843 EXPECT_EQ(it.ReadUint16(std::endian::big), uint16_t(0xF929)); in TEST()