Searched refs:value_net (Results 1 – 2 of 2) sorted by relevance
59 uint16_t value_net = htons(value); in WriteUInt16Option() local64 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt16Option()73 uint32_t value_net = htonl(value); in WriteUInt32Option() local78 buffer->Append(ByteString(reinterpret_cast<const char*>(&value_net), in WriteUInt32Option()
271 uint8_t value_net = value; in Serialize_uint8_t() local274 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() local298 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 …]