Lines Matching refs:value_net

271   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()
310 *value = value_net; in Parse_uint8_t()
321 int8_t value_net = value; in Serialize_int8_t() local
324 value_net = base::HostToNet16(value); in Serialize_int8_t()
327 value_net = base::HostToNet32(value); in Serialize_int8_t()
330 value_net = base::HostToNet64(value); in Serialize_int8_t()
335 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_int8_t()
347 int8_t value_net = 0; in Parse_int8_t() local
348 memcpy(&value_net, buffer->data(), sizeof(int8_t)); in Parse_int8_t()
351 *value = base::NetToHost16(value_net); in Parse_int8_t()
354 *value = base::NetToHost32(value_net); in Parse_int8_t()
357 *value = base::NetToHost64(value_net); in Parse_int8_t()
360 *value = value_net; in Parse_int8_t()
371 int value_net = value; in Serialize_int() local
374 value_net = base::HostToNet16(value); in Serialize_int()
377 value_net = base::HostToNet32(value); in Serialize_int()
380 value_net = base::HostToNet64(value); in Serialize_int()
385 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_int()
397 int value_net = 0; in Parse_int() local
398 memcpy(&value_net, buffer->data(), sizeof(int)); in Parse_int()
401 *value = base::NetToHost16(value_net); in Parse_int()
404 *value = base::NetToHost32(value_net); in Parse_int()
407 *value = base::NetToHost64(value_net); in Parse_int()
410 *value = value_net; in Parse_int()
421 uint16_t value_net = value; in Serialize_uint16_t() local
424 value_net = base::HostToNet16(value); in Serialize_uint16_t()
427 value_net = base::HostToNet32(value); in Serialize_uint16_t()
430 value_net = base::HostToNet64(value); in Serialize_uint16_t()
435 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_uint16_t()
447 uint16_t value_net = 0; in Parse_uint16_t() local
448 memcpy(&value_net, buffer->data(), sizeof(uint16_t)); in Parse_uint16_t()
451 *value = base::NetToHost16(value_net); in Parse_uint16_t()
454 *value = base::NetToHost32(value_net); in Parse_uint16_t()
457 *value = base::NetToHost64(value_net); in Parse_uint16_t()
460 *value = value_net; in Parse_uint16_t()
471 int16_t value_net = value; in Serialize_int16_t() local
474 value_net = base::HostToNet16(value); in Serialize_int16_t()
477 value_net = base::HostToNet32(value); in Serialize_int16_t()
480 value_net = base::HostToNet64(value); in Serialize_int16_t()
485 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_int16_t()
497 int16_t value_net = 0; in Parse_int16_t() local
498 memcpy(&value_net, buffer->data(), sizeof(int16_t)); in Parse_int16_t()
501 *value = base::NetToHost16(value_net); in Parse_int16_t()
504 *value = base::NetToHost32(value_net); in Parse_int16_t()
507 *value = base::NetToHost64(value_net); in Parse_int16_t()
510 *value = value_net; in Parse_int16_t()
521 uint32_t value_net = value; in Serialize_uint32_t() local
524 value_net = base::HostToNet16(value); in Serialize_uint32_t()
527 value_net = base::HostToNet32(value); in Serialize_uint32_t()
530 value_net = base::HostToNet64(value); in Serialize_uint32_t()
535 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_uint32_t()
547 uint32_t value_net = 0; in Parse_uint32_t() local
548 memcpy(&value_net, buffer->data(), sizeof(uint32_t)); in Parse_uint32_t()
551 *value = base::NetToHost16(value_net); in Parse_uint32_t()
554 *value = base::NetToHost32(value_net); in Parse_uint32_t()
557 *value = base::NetToHost64(value_net); in Parse_uint32_t()
560 *value = value_net; in Parse_uint32_t()
571 int32_t value_net = value; in Serialize_int32_t() local
574 value_net = base::HostToNet16(value); in Serialize_int32_t()
577 value_net = base::HostToNet32(value); in Serialize_int32_t()
580 value_net = base::HostToNet64(value); in Serialize_int32_t()
585 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_int32_t()
597 int32_t value_net = 0; in Parse_int32_t() local
598 memcpy(&value_net, buffer->data(), sizeof(int32_t)); in Parse_int32_t()
601 *value = base::NetToHost16(value_net); in Parse_int32_t()
604 *value = base::NetToHost32(value_net); in Parse_int32_t()
607 *value = base::NetToHost64(value_net); in Parse_int32_t()
610 *value = value_net; in Parse_int32_t()
621 uint64_t value_net = value; in Serialize_uint64_t() local
624 value_net = base::HostToNet16(value); in Serialize_uint64_t()
627 value_net = base::HostToNet32(value); in Serialize_uint64_t()
630 value_net = base::HostToNet64(value); in Serialize_uint64_t()
635 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_uint64_t()
647 uint64_t value_net = 0; in Parse_uint64_t() local
648 memcpy(&value_net, buffer->data(), sizeof(uint64_t)); in Parse_uint64_t()
651 *value = base::NetToHost16(value_net); in Parse_uint64_t()
654 *value = base::NetToHost32(value_net); in Parse_uint64_t()
657 *value = base::NetToHost64(value_net); in Parse_uint64_t()
660 *value = value_net; in Parse_uint64_t()
671 int64_t value_net = value; in Serialize_int64_t() local
674 value_net = base::HostToNet16(value); in Serialize_int64_t()
677 value_net = base::HostToNet32(value); in Serialize_int64_t()
680 value_net = base::HostToNet64(value); in Serialize_int64_t()
685 const char* value_bytes = reinterpret_cast<const char*>(&value_net); in Serialize_int64_t()
697 int64_t value_net = 0; in Parse_int64_t() local
698 memcpy(&value_net, buffer->data(), sizeof(int64_t)); in Parse_int64_t()
701 *value = base::NetToHost16(value_net); in Parse_int64_t()
704 *value = base::NetToHost32(value_net); in Parse_int64_t()
707 *value = base::NetToHost64(value_net); in Parse_int64_t()
710 *value = value_net; in Parse_int64_t()