Home
last modified time | relevance | path

Searched refs:GetConstData (Results 1 – 25 of 42) sorted by relevance

12

/system/connectivity/dhcp_client/
Ddhcp_options_writer_unittest.cc59 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
78 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
97 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
116 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
136 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
157 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
180 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
198 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
217 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
235 EXPECT_EQ(0, std::memcmp(option.GetConstData(), in TEST_F()
[all …]
Ddhcp_message_unittest.cc195 msg.client_hardware_address().GetConstData(), in TEST_F()
214 msg.client_hardware_address().GetConstData(), in TEST_F()
229 msg.client_hardware_address().GetConstData(), in TEST_F()
Ddevice_info_unittest.cc95 ElementsAreArray(mac_address.GetConstData(), in TEST_F()
/system/connectivity/shill/net/
Dbyte_string.cc45 const unsigned char* ByteString::GetConstData() const { in GetConstData() function in shill::ByteString
60 return ByteString(GetConstData() + offset, length); in GetSubstring()
86 memcpy(val, GetConstData(), sizeof(*val)); in ConvertToCPUUInt32()
186 return base::HexEncode(GetConstData(), GetLength()); in HexEncode()
193 memcpy(output, GetConstData(), size); in CopyData()
200 int result = memcmp(lhs.GetConstData(), rhs.GetConstData(), byte_count); in IsLessThan()
Dnetlink_socket_unittest.cc82 memcpy(buf, next_read_string_.GetConstData(), read_bytes); in FakeSuccessfulRead()
145 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0)) in TEST_F()
151 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0)) in TEST_F()
157 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0)) in TEST_F()
Dip_address.cc126 memcpy(&address_val, GetConstData(), sizeof(address_val)); in GetMinPrefixLength()
242 !inet_ntop(family_, GetConstData(), address_buf, sizeof(address_buf))) { in IntoString()
261 memcpy(&sin->sin_addr.s_addr, GetConstData(), GetLength()); in IntoSockAddr()
264 memcpy(&sin6->sin6_addr.s6_addr, GetConstData(), GetLength()); in IntoSockAddr()
Dip_address.h101 const unsigned char* GetConstData() const { return address_.GetConstData(); } in GetConstData() function
Dattribute_list.cc89 const unsigned char* ptr = payload.GetConstData() + NLA_ALIGN(offset); in IterateAttributes()
90 const unsigned char* end = payload.GetConstData() + payload.GetLength(); in IterateAttributes()
99 << (ptr - payload.GetConstData()) << "."; in IterateAttributes()
Dbyte_string.h58 const unsigned char* GetConstData() const;
Dnl80211_message.cc345 frame_.GetConstData()); in Nl80211Frame()
391 switch (frame_.GetConstData()[0] & kFrameTypeMask) { in ToString()
425 const unsigned char* frame = frame_.GetConstData(); in ToString()
735 rawdata = packet.GetPayload().GetConstData(); in CollectDebugData()
Dnetlink_socket.cc124 ssize_t result = sockets_->Send(file_descriptor(), out_msg.GetConstData(), in SendMessage()
Dnetlink_message.cc127 PrintPayload(log_level, payload.GetConstData(), payload.GetLength()); in PrintPacket()
256 const uint8_t* const_data = message_body_.GetConstData(); in Print()
Dnetlink_packet.cc102 memcpy(header, payload_->GetConstData(), sizeof(*header)); in GetGenlMsgHdr()
Dnetlink_attribute.cc403 const uint8_t* const_data = data_.GetConstData(); in RawToString()
714 reinterpret_cast<const char*>(input.GetConstData()); in InitFromValue()
1066 const uint8_t* const_data = data_.GetConstData(); in ToString()
1076 return NetlinkAttribute::EncodeGeneric(data_.GetConstData(), in Encode()
/system/connectivity/shill/
Dasync_connection.cc136 memcpy(&iaddr.sin_addr.s_addr, address.address().GetConstData(), in ConnectTo()
147 memcpy(&iaddr6.sin6_addr.s6_addr, address.address().GetConstData(), in ConnectTo()
Darp_client.cc172 memcpy(&socket_address.sll_addr, remote_address.GetConstData(), in TransmitRequest()
177 payload.GetConstData(), in TransmitRequest()
Dicmp_session.cc171 reinterpret_cast<const struct iphdr*>(message.GetConstData()); in OnEchoReplyReceived()
173 reinterpret_cast<const struct icmphdr*>(message.GetConstData() + in OnEchoReplyReceived()
Dhttp_request.cc276 int ret = sockets_->Send(fd, request_data_.GetConstData(), in WriteToServer()
290 request_data_ = ByteString(request_data_.GetConstData() + ret, in WriteToServer()
Dhttp_proxy.cc684 int ret = sockets_->Send(fd, server_data_.GetConstData(), in WriteToClient()
694 server_data_ = ByteString(server_data_.GetConstData() + ret, in WriteToClient()
708 int ret = sockets_->Send(fd, client_data_.GetConstData(), in WriteToServer()
719 client_data_ = ByteString(client_data_.GetConstData() + ret, in WriteToServer()
Dicmp.cc92 destination.address().GetConstData(), in TransmitEchoRequest()
Darp_packet.cc75 memcpy(&header, packet.GetConstData(), sizeof(header)); in Parse()
Dicmp_unittest.cc149 memcmp(&sock_addr->sin_addr.s_addr, address.GetConstData(),
Dconnectivity_trial.cc160 string(reinterpret_cast<const char*>(response_data.GetConstData()), in RequestReadCallback()
Dactive_link_monitor.cc183 base::StringPrintf("%02x", address.GetConstData()[i])); in HardwareAddressToString()
/system/connectivity/shill/wifi/
Dwake_on_wifi.cc232 memcpy(&pattern_bytes.ipv4_hdr.saddr, ip_addr.GetConstData(), in CreateIPV4PatternAndMask()
254 memcpy(&pattern_bytes.ipv6_hdr.ip6_src, ip_addr.GetConstData(), in CreateIPV6PatternAndMask()
1508 << std::string(ssid_bytestring.GetConstData(), in ParseWakeOnSSIDResults()
1509 ssid_bytestring.GetConstData() + in ParseWakeOnSSIDResults()

12