Home
last modified time | relevance | path

Searched refs:ByteBufferReader (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/rtc_base/
Dbyte_buffer.cc22 ByteBufferReader::ByteBufferReader(const char* bytes, size_t len) { in ByteBufferReader() function in rtc::ByteBufferReader
26 ByteBufferReader::ByteBufferReader(const char* bytes) { in ByteBufferReader() function in rtc::ByteBufferReader
30 ByteBufferReader::ByteBufferReader(const Buffer& buf) { in ByteBufferReader() function in rtc::ByteBufferReader
34 ByteBufferReader::ByteBufferReader(const ByteBufferWriter& buf) { in ByteBufferReader() function in rtc::ByteBufferReader
38 void ByteBufferReader::Construct(const char* bytes, size_t len) { in Construct()
45 bool ByteBufferReader::ReadUInt8(uint8_t* val) { in ReadUInt8()
52 bool ByteBufferReader::ReadUInt16(uint16_t* val) { in ReadUInt16()
65 bool ByteBufferReader::ReadUInt24(uint32_t* val) { in ReadUInt24()
81 bool ByteBufferReader::ReadUInt32(uint32_t* val) { in ReadUInt32()
94 bool ByteBufferReader::ReadUInt64(uint64_t* val) { in ReadUInt64()
[all …]
Dbyte_buffer_unittest.cc86 ByteBufferReader read_buf(nullptr, 0); in TEST()
93 ByteBufferReader read_buf1(buffer.Data(), buffer.Length()); in TEST()
102 ByteBufferReader read_buf2(buffer.Data(), buffer.Length()); in TEST()
112 ByteBufferReader read_buf3(buffer.Data(), buffer.Length()); in TEST()
122 ByteBufferReader read_buf4(buffer.Data(), buffer.Length()); in TEST()
133 ByteBufferReader read_buf5(buffer.Data(), buffer.Length()); in TEST()
143 ByteBufferReader read_buf6(buffer.Data(), buffer.Length()); in TEST()
153 ByteBufferReader read_buf7(buffer.Data(), buffer.Length()); in TEST()
165 ByteBufferReader read_buf8(buffer.Data(), buffer.Length()); in TEST()
180 ByteBufferReader read_buf9(buffer.Data(), buffer.Length()); in TEST()
[all …]
Dbyte_buffer.h121 class ByteBufferReader {
123 ByteBufferReader(const char* bytes, size_t len);
126 explicit ByteBufferReader(const char* bytes);
128 explicit ByteBufferReader(const Buffer& buf);
130 explicit ByteBufferReader(const ByteBufferWriter& buf);
166 RTC_DISALLOW_COPY_AND_ASSIGN(ByteBufferReader);
Dserver_socket_adapters.h48 void HandleHello(ByteBufferReader* request);
50 void HandleAuth(ByteBufferReader* request);
52 void HandleConnect(ByteBufferReader* request);
Dserver_socket_adapters.cc66 ByteBufferReader response(data, *len); in ProcessInput()
84 void AsyncSocksProxyServerSocket::HandleHello(ByteBufferReader* request) { in HandleHello()
120 void AsyncSocksProxyServerSocket::HandleAuth(ByteBufferReader* request) { in HandleAuth()
141 void AsyncSocksProxyServerSocket::HandleConnect(ByteBufferReader* request) { in HandleConnect()
Dmessage_buffer_reader.h20 class MessageBufferReader : public rtc::ByteBufferReader {
23 : rtc::ByteBufferReader(bytes, len) {} in MessageBufferReader()
Dsocket_adapters.h24 class ByteBufferReader; variable
Dsocket_adapters.cc515 ByteBufferReader response(data, *len); in ProcessInput()
/external/webrtc/api/transport/
Dstun.h225 bool Read(rtc::ByteBufferReader* buf);
289 virtual bool Read(rtc::ByteBufferReader* buf) = 0;
318 void ConsumePadding(rtc::ByteBufferReader* buf) const;
360 bool Read(rtc::ByteBufferReader* buf) override;
393 bool Read(rtc::ByteBufferReader* buf) override;
416 bool Read(rtc::ByteBufferReader* buf) override;
434 bool Read(rtc::ByteBufferReader* buf) override;
461 bool Read(rtc::ByteBufferReader* buf) override;
492 bool Read(rtc::ByteBufferReader* buf) override;
515 bool Read(rtc::ByteBufferReader* buf) override;
Dstun.cc25 using rtc::ByteBufferReader;
34 ByteBufferReader reader(transaction_id.c_str(), transaction_id.length()); in ReduceTransactionId()
430 bool StunMessage::Read(ByteBufferReader* buf) { in Read()
638 void StunAttribute::ConsumePadding(ByteBufferReader* buf) const { in ConsumePadding()
731 bool StunAddressAttribute::Read(ByteBufferReader* buf) { in Read()
846 bool StunXorAddressAttribute::Read(ByteBufferReader* buf) { in Read()
904 bool StunUInt32Attribute::Read(ByteBufferReader* buf) { in Read()
925 bool StunUInt64Attribute::Read(ByteBufferReader* buf) { in Read()
985 bool StunByteStringAttribute::Read(ByteBufferReader* buf) { in Read()
1040 bool StunErrorCodeAttribute::Read(ByteBufferReader* buf) { in Read()
[all …]
Dstun_unittest.cc70 rtc::ByteBufferReader buf(input, size); in ReadStunMessageTestCase()
809 rtc::ByteBufferReader read_buf(correct_buf); in TEST_F()
858 rtc::ByteBufferReader read_buf(correct_buf); in TEST_F()
933 rtc::ByteBufferReader read_buf(out); in TEST_F()
962 rtc::ByteBufferReader read_buf(out); in TEST_F()
991 rtc::ByteBufferReader read_buf(out); in TEST_F()
1021 rtc::ByteBufferReader read_buf(out); in TEST_F()
1178 rtc::ByteBufferReader buf(input, length); in CheckFailureToRead()
1281 rtc::ByteBufferReader buf( in TEST_F()
1299 rtc::ByteBufferReader buf2( in TEST_F()
[all …]
/external/webrtc/test/fuzzers/
Dstun_parser_fuzzer.cc25 rtc::ByteBufferReader buf(message, size); in FuzzOneInput()
Dforward_error_correction_fuzzer.cc37 rtc::ByteBufferReader fuzz_buffer(reinterpret_cast<const char*>(data), size); in FuzzOneInput()
/external/webrtc/pc/
Dsctp_utils_unittest.cc31 rtc::ByteBufferReader buffer(packet.data<char>(), packet.size()); in VerifyOpenMessageFormat()
172 rtc::ByteBufferReader buffer(packet.data<char>(), packet.size()); in TEST_F()
Dsctp_utils.cc65 rtc::ByteBufferReader buffer(payload.data<char>(), payload.size()); in ParseDataChannelOpenMessage()
/external/webrtc/p2p/base/
Dstun_server.cc34 rtc::ByteBufferReader bbuf(buf, size); in OnPacket()
Dstun_server_unittest.cc59 rtc::ByteBufferReader buf(packet->buf, packet->size); in Receive()
Dstun_request.cc165 rtc::ByteBufferReader buf(data, size); in CheckResponse()
Dmdns_message_unittest.cc273 rtc::ByteBufferReader read_buf(out); in WriteMdnsMessageAndCompareWithTestCast()
Dport.cc453 rtc::ByteBufferReader buf(data, size); in GetStunMessage()
Dpseudo_tcp.cc1210 rtc::ByteBufferReader buf(data, len); in parseOptions()
Dturn_server.cc234 rtc::ByteBufferReader buf(data, size); in HandleStunMessage()
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_av1.cc190 rtc::ByteBufferReader payload( in ParseObus()
Drtp_packetizer_av1.cc99 rtc::ByteBufferReader payload_reader( in ParseObus()
/external/webrtc/p2p/stunprober/
Dstun_prober.cc177 rtc::ByteBufferReader message(buf, buf_len); in ProcessResponse()

12