Lines Matching refs:lengthBytes
189 uint16_t lengthBytes = htons(static_cast<u_short>(12 + payloadSize + 8)); in Write() local
195 EXPECT_EQ(1u, fwrite(&lengthBytes, 2, 1, _rtpFile)); in Write()
206 uint16_t lengthBytes; in Read() local
209 size_t read_len = fread(&lengthBytes, 2, 1, _rtpFile); in Read()
217 lengthBytes = ntohs(lengthBytes); in Read()
224 EXPECT_EQ(lengthBytes, plen + 8); in Read()
229 if (lengthBytes < 20) { in Read()
232 if (payloadSize < static_cast<size_t>((lengthBytes - 20))) { in Read()
235 lengthBytes -= 20; in Read()
236 EXPECT_EQ(lengthBytes, fread(payloadData, 1, lengthBytes, _rtpFile)); in Read()
237 return lengthBytes; in Read()