Searched refs:HEADER_SIZE (Results 1 – 8 of 8) sorted by relevance
35 private static final int HEADER_SIZE = 2; field in StreamingPacketFile62 final int maxTotalLength = HEADER_SIZE + maxPacketSize; in StreamingPacketFile()70 mTempHeaderWriteBuffer = new byte[HEADER_SIZE]; in StreamingPacketFile()149 if (bufferedSize < HEADER_SIZE) { in extractOnePacket()161 final int totalLength = HEADER_SIZE + dataLength; in extractOnePacket()168 mListener.onInboundPacket(mTempPacketReadBuffer, HEADER_SIZE, dataLength); in extractOnePacket()175 return (freeSize > HEADER_SIZE ? freeSize - HEADER_SIZE : 0); in getOutboundFreeSize()
206 const HEADER_SIZE: usize = mem::size_of::<Header>(); in new() constant207 if bytes.len() < HEADER_SIZE { in new()227 const_assert_eq!(HEADER_SIZE % mem::size_of::<u64>(), 0); in new()232 let rest = if let Some(rest_size) = total_size.checked_sub(HEADER_SIZE) { in new()
32 private static final int HEADER_SIZE = 44; field in WavWriter68 stream.write(toLittleEndianBytes(HEADER_SIZE + numBytes - 8)); in writeFileHeader()
44 public static final int HEADER_SIZE = 1; field in FiraConnectorDataPacket
1077 const uint16_t HEADER_SIZE = 12; in TEST_F() local1143 HEADER_SIZE + strlen(clcc_pattern.c_str())); in TEST_F()1159 const uint16_t HEADER_SIZE = 8; in TEST_F() local1222 (sizeof(SnoopLogger::PacketHeaderType) + HEADER_SIZE + strlen(magic_string.c_str()))); in TEST_F()1238 const uint16_t HEADER_SIZE = 8; in TEST_F() local1300 (int)kTestData.size() * (sizeof(SnoopLogger::PacketHeaderType) + HEADER_SIZE)); in TEST_F()1593 const uint16_t HEADER_SIZE = 12; in TEST_F() local1594 size_t expected_data_size = HEADER_SIZE + strlen(clcc_pattern.c_str()); in TEST_F()
339 - FiraConnectorDataPacket.HEADER_SIZE)]; in processOutDataPacket()
397 - FiraConnectorDataPacket.HEADER_SIZE)]; in processInDataPacket()