OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kPacketSizeInBytes
(Results
1 - 2
of
2
) sorted by null
/external/webrtc/test/testsupport/
unittest_utils.h
17
const int
kPacketSizeInBytes
= 1500;
18
const int kPacketDataLength =
kPacketSizeInBytes
* 2 + 1;
29
WebRtc_UWord8 packet1_[
kPacketSizeInBytes
];
30
WebRtc_UWord8 packet2_[
kPacketSizeInBytes
];
39
memset(packet1_, 1,
kPacketSizeInBytes
);
40
memset(packet2_, 2,
kPacketSizeInBytes
);
43
memcpy(packet_data_pointer_, packet1_,
kPacketSizeInBytes
);
44
memcpy(packet_data_pointer_ +
kPacketSizeInBytes
, packet2_,
45
kPacketSizeInBytes
);
46
memcpy(packet_data_pointer_ +
kPacketSizeInBytes
* 2, packet3_, 1)
[
all
...]
packet_reader_unittest.cc
49
reader_->InitializeReading(packet_data_, 0,
kPacketSizeInBytes
);
60
reader_->InitializeReading(data, kDataLengthInBytes,
kPacketSizeInBytes
);
73
WebRtc_UWord8 data[
kPacketSizeInBytes
];
75
memset(data, 1,
kPacketSizeInBytes
);
77
reader_->InitializeReading(data,
kPacketSizeInBytes
,
kPacketSizeInBytes
);
79
VerifyPacketData(
kPacketSizeInBytes
, length_to_read, data, data_pointer);
85
EXPECT_EQ(
kPacketSizeInBytes
, data_pointer - data);
91
kPacketSizeInBytes
);
94
VerifyPacketData(
kPacketSizeInBytes
, length_to_read
[
all
...]
Completed in 194 milliseconds