Home
last modified time | relevance | path

Searched refs:ReadUInt16 (Results 1 – 25 of 32) sorted by relevance

12

/external/cronet/net/third_party/quiche/src/quiche/common/
Dquiche_data_reader_test.cc18 TEST(QuicheDataReaderTest, ReadUInt16) { in TEST() argument
29 EXPECT_TRUE(reader.ReadUInt16(&uint16_val)); in TEST()
33 EXPECT_TRUE(reader.ReadUInt16(&uint16_val)); in TEST()
92 EXPECT_FALSE(reader.ReadUInt16(&uint16_val)); in TEST()
110 EXPECT_FALSE(reader.ReadUInt16(&uint16_val)); in TEST()
130 EXPECT_FALSE(reader.ReadUInt16(&uint16_val)); in TEST()
149 EXPECT_FALSE(reader.ReadUInt16(&uint16_val)); in TEST()
Dquiche_data_reader.cc33 bool QuicheDataReader::ReadUInt16(uint16_t* result) { in ReadUInt16() function in quiche::QuicheDataReader
98 if (!ReadUInt16(&result_len)) { in ReadStringPiece16()
Dquiche_data_reader.h51 bool ReadUInt16(uint16_t* result);
/external/webrtc/test/fuzzers/
Dforward_error_correction_fuzzer.cc41 if (!fuzz_buffer.ReadUInt16(&media_seqnum)) in FuzzOneInput()
45 if (!fuzz_buffer.ReadUInt16(&fec_seqnum)) in FuzzOneInput()
84 if (!fuzz_buffer.ReadUInt16(&seq_num_diff)) in FuzzOneInput()
/external/cronet/net/ntlm/
Dntlm_buffer_reader.cc31 bool NtlmBufferReader::ReadUInt16(uint16_t* value) { in ReadUInt16() function in net::ntlm::NtlmBufferReader
89 return ReadUInt16(&sec_buf->length) && SkipBytes(sizeof(uint16_t)) && in ReadSecurityBuffer()
98 bool result = ReadUInt16(&raw_avid) && ReadUInt16(avlen); in ReadAvPairHeader()
Dntlm_buffer_reader.h75 [[nodiscard]] bool ReadUInt16(uint16_t* value);
Dntlm_buffer_reader_unittest.cc84 ASSERT_TRUE(reader.ReadUInt16(&actual)); in TEST()
87 ASSERT_FALSE(reader.ReadUInt16(&actual)); in TEST()
/external/webrtc/pc/
Dsctp_utils.cc86 if (!buffer.ReadUInt16(&priority)) { in ParseDataChannelOpenMessage()
109 if (!buffer.ReadUInt16(&label_length)) { in ParseDataChannelOpenMessage()
114 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
Dsctp_utils_unittest.cc49 ASSERT_TRUE(buffer.ReadUInt16(&priority)); in VerifyOpenMessageFormat()
65 ASSERT_TRUE(buffer.ReadUInt16(&label_length)); in VerifyOpenMessageFormat()
66 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
/external/cronet/net/third_party/quiche/src/quiche/oblivious_http/common/
Doblivious_http_header_key_config.cc160 if (!reader.ReadUInt16(&kem_id)) { in ParseOhttpPayloadHeader()
168 if (!reader.ReadUInt16(&kdf_id)) { in ParseOhttpPayloadHeader()
176 if (!reader.ReadUInt16(&aead_id)) { in ParseOhttpPayloadHeader()
428 if (!reader.ReadUInt8(&key_id) || !reader.ReadUInt16(&kem_id)) { in ReadSingleKeyConfig()
456 if (!sub_reader.ReadUInt16(&kdf_id) || !sub_reader.ReadUInt16(&aead_id)) { in ReadSingleKeyConfig()
/external/cronet/net/third_party/quiche/src/quiche/oblivious_http/buffers/
Doblivious_http_request_test.cc138 EXPECT_TRUE(reader.ReadUInt16(&kem_id)); in TEST()
141 EXPECT_TRUE(reader.ReadUInt16(&kdf_id)); in TEST()
144 EXPECT_TRUE(reader.ReadUInt16(&aead_id)); in TEST()
/external/cronet/net/third_party/quiche/src/quiche/quic/masque/
Dmasque_encapsulated_client_session.cc162 if (!reader.ReadUInt16(&server_port)) { in ProcessIpPacket()
175 if (!reader.ReadUInt16(&udp_length)) { in ProcessIpPacket()
Dmasque_encapsulated_client.cc45 if (!reader.ReadUInt16(&word)) { in IngestData()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_data_reader.cc28 if (!ReadUInt16(&value)) { in ReadUFloat16()
/external/webrtc/rtc_base/
Dsocket_adapters.cc568 if (!response.ReadUInt32(&addr) || !response.ReadUInt16(&port)) in ProcessInput()
575 !response.ReadUInt16(&port)) in ProcessInput()
580 if (!response.ReadString(&addr, 16) || !response.ReadUInt16(&port)) in ProcessInput()
Dbyte_buffer_unittest.cc104 EXPECT_TRUE(read_buf2.ReadUInt16(&ru16)); in TEST()
183 EXPECT_TRUE(read_buf9.ReadUInt16(&ru16)); in TEST()
Dbyte_buffer.cc52 bool ByteBufferReader::ReadUInt16(uint16_t* val) { in ReadUInt16() function in rtc::ByteBufferReader
Dbyte_buffer.h145 bool ReadUInt16(uint16_t* val);
Dserver_socket_adapters.cc147 !request->ReadUInt32(&ip) || !request->ReadUInt16(&port)) { in HandleConnect()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcrypto_framer.cc261 reader.ReadUInt16(&num_entries_); in Process()
267 reader.ReadUInt16(&padding); in Process()
/external/webrtc/api/transport/
Dstun.cc590 if (!buf->ReadUInt16(&type_)) { in Read()
600 if (!buf->ReadUInt16(&length_)) { in Read()
636 if (!buf->ReadUInt16(&attr_type)) in Read()
638 if (!buf->ReadUInt16(&attr_length)) in Read()
904 if (!buf->ReadUInt16(&port)) in Read()
1279 if (!buf->ReadUInt16(&attr)) in Read()
/external/cronet/base/
Dpickle_fuzzer.cc51 std::ignore = iter.ReadUInt16(&result); in LLVMFuzzerTestOneInput()
Dpickle.h41 [[nodiscard]] bool ReadUInt16(uint16_t* result);
/external/cronet/net/http/
Dhttp_response_info.cc283 if (!sct.get() || !iter.ReadUInt16(&status)) in InitFromPickle()
300 if (!iter.ReadUInt16(&socket_address_port)) in InitFromPickle()
/external/libchrome/base/
Dpickle.h44 bool ReadUInt16(uint16_t* result) WARN_UNUSED_RESULT;

12