Searched refs:GetSubstring (Results 1 – 4 of 4) sorted by relevance
123 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()
119 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()
65 ByteString GetSubstring(size_t offset, size_t length) const;
53 ByteString ByteString::GetSubstring(size_t offset, size_t length) const { in GetSubstring() function in shill::ByteString