Home
last modified time | relevance | path

Searched refs:GetSubstring (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/shill/
Darp_packet.cc123 local_mac_address_ = packet.GetSubstring(sizeof(header), ETH_ALEN); in Parse()
124 local_ip_address_ = IPAddress(family, packet.GetSubstring( in Parse()
126 remote_mac_address_ = packet.GetSubstring( in Parse()
128 remote_ip_address_ = IPAddress(family, packet.GetSubstring( in Parse()
/system/connectivity/shill/net/
Dbyte_string_unittest.cc119 EXPECT_TRUE(fragment.Equals(bs1.GetSubstring(3, 4))); in TEST_F()
122 EXPECT_TRUE(end_fragment.Equals(bs1.GetSubstring(kMargin, sizeof(kTest1)))); in TEST_F()
127 EXPECT_TRUE(bs1.GetSubstring(sizeof(kTest1), kBogusOffset).IsEmpty()); in TEST_F()
Dbyte_string.h65 ByteString GetSubstring(size_t offset, size_t length) const;
Dbyte_string.cc53 ByteString ByteString::GetSubstring(size_t offset, size_t length) const { in GetSubstring() function in shill::ByteString