Home
last modified time | relevance | path

Searched refs:value_net (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/dhcp_client/
Ddhcp_options_writer.cc59 uint16_t value_net = htons(value); in WriteUInt16Option() local
64 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt16Option()
73 uint32_t value_net = htonl(value); in WriteUInt32Option() local
78 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt32Option()
/system/tpm/trunks/
Dtpm_generated.cc271 uint8_t value_net = value; in Serialize_uint8_t() local
274 value_net = base::HostToNet16(value); in Serialize_uint8_t()
277 value_net = base::HostToNet32(value); in Serialize_uint8_t()
280 value_net = base::HostToNet64(value); in Serialize_uint8_t()
285 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_uint8_t()
297 uint8_t value_net = 0; in Parse_uint8_t() local
298 memcpy(&value_net, buffer->data(), sizeof(uint8_t)); in Parse_uint8_t()
301 *value = base::NetToHost16(value_net); in Parse_uint8_t()
304 *value = base::NetToHost32(value_net); in Parse_uint8_t()
307 *value = base::NetToHost64(value_net); in Parse_uint8_t()
[all …]