HomeSort by relevance Sort by last modified time
    Searched refs:ConsumeData (Results 1 - 5 of 5) sorted by null

  /system/connectivity/shill/net/
netlink_packet_unittest.cc 60 EXPECT_FALSE(empty_packet.ConsumeData(1, &payload_byte));
78 EXPECT_TRUE(complete_packet.ConsumeData(1, &payload_byte));
80 EXPECT_FALSE(complete_packet.ConsumeData(1, &payload_byte));
83 TEST_F(NetlinkPacketTest, ConsumeData) {
117 EXPECT_TRUE(packet.ConsumeData(2, &string_piece));
122 EXPECT_TRUE(packet.ConsumeData(8, &string_piece));
127 EXPECT_TRUE(packet.ConsumeData(3, &string_piece));
132 EXPECT_FALSE(packet.ConsumeData(7, &string_piece));
137 EXPECT_TRUE(packet.ConsumeData(6, &string_piece));
netlink_packet.h 69 bool ConsumeData(size_t len, void* data);
netlink_packet.cc 80 bool NetlinkPacket::ConsumeData(size_t len, void* data) {
generic_netlink_message.cc 85 if (!packet->ConsumeData(sizeof(gnlh), &gnlh)) {
netlink_message.cc 183 return packet->ConsumeData(sizeof(error_), &error_);

Completed in 134 milliseconds