Lines Matching refs:value_net
10 uint8_t value_net = *source; in uint8_t_Marshal() local
16 value_net = htobe16(*source); in uint8_t_Marshal()
19 value_net = htobe32(*source); in uint8_t_Marshal()
22 value_net = htobe64(*source); in uint8_t_Marshal()
27 memcpy(*buffer, &value_net, sizeof(uint8_t)); in uint8_t_Marshal()
34 uint8_t value_net = 0; in uint8_t_Unmarshal() local
38 memcpy(&value_net, *buffer, sizeof(uint8_t)); in uint8_t_Unmarshal()
41 *target = be16toh(value_net); in uint8_t_Unmarshal()
44 *target = be32toh(value_net); in uint8_t_Unmarshal()
47 *target = be64toh(value_net); in uint8_t_Unmarshal()
50 *target = value_net; in uint8_t_Unmarshal()
58 int8_t value_net = *source; in int8_t_Marshal() local
64 value_net = htobe16(*source); in int8_t_Marshal()
67 value_net = htobe32(*source); in int8_t_Marshal()
70 value_net = htobe64(*source); in int8_t_Marshal()
75 memcpy(*buffer, &value_net, sizeof(int8_t)); in int8_t_Marshal()
82 int8_t value_net = 0; in int8_t_Unmarshal() local
86 memcpy(&value_net, *buffer, sizeof(int8_t)); in int8_t_Unmarshal()
89 *target = be16toh(value_net); in int8_t_Unmarshal()
92 *target = be32toh(value_net); in int8_t_Unmarshal()
95 *target = be64toh(value_net); in int8_t_Unmarshal()
98 *target = value_net; in int8_t_Unmarshal()
106 uint16_t value_net = *source; in uint16_t_Marshal() local
112 value_net = htobe16(*source); in uint16_t_Marshal()
115 value_net = htobe32(*source); in uint16_t_Marshal()
118 value_net = htobe64(*source); in uint16_t_Marshal()
123 memcpy(*buffer, &value_net, sizeof(uint16_t)); in uint16_t_Marshal()
130 uint16_t value_net = 0; in uint16_t_Unmarshal() local
134 memcpy(&value_net, *buffer, sizeof(uint16_t)); in uint16_t_Unmarshal()
137 *target = be16toh(value_net); in uint16_t_Unmarshal()
140 *target = be32toh(value_net); in uint16_t_Unmarshal()
143 *target = be64toh(value_net); in uint16_t_Unmarshal()
146 *target = value_net; in uint16_t_Unmarshal()
154 int16_t value_net = *source; in int16_t_Marshal() local
160 value_net = htobe16(*source); in int16_t_Marshal()
163 value_net = htobe32(*source); in int16_t_Marshal()
166 value_net = htobe64(*source); in int16_t_Marshal()
171 memcpy(*buffer, &value_net, sizeof(int16_t)); in int16_t_Marshal()
178 int16_t value_net = 0; in int16_t_Unmarshal() local
182 memcpy(&value_net, *buffer, sizeof(int16_t)); in int16_t_Unmarshal()
185 *target = be16toh(value_net); in int16_t_Unmarshal()
188 *target = be32toh(value_net); in int16_t_Unmarshal()
191 *target = be64toh(value_net); in int16_t_Unmarshal()
194 *target = value_net; in int16_t_Unmarshal()
202 uint32_t value_net = *source; in uint32_t_Marshal() local
208 value_net = htobe16(*source); in uint32_t_Marshal()
211 value_net = htobe32(*source); in uint32_t_Marshal()
214 value_net = htobe64(*source); in uint32_t_Marshal()
219 memcpy(*buffer, &value_net, sizeof(uint32_t)); in uint32_t_Marshal()
226 uint32_t value_net = 0; in uint32_t_Unmarshal() local
230 memcpy(&value_net, *buffer, sizeof(uint32_t)); in uint32_t_Unmarshal()
233 *target = be16toh(value_net); in uint32_t_Unmarshal()
236 *target = be32toh(value_net); in uint32_t_Unmarshal()
239 *target = be64toh(value_net); in uint32_t_Unmarshal()
242 *target = value_net; in uint32_t_Unmarshal()
250 int32_t value_net = *source; in int32_t_Marshal() local
256 value_net = htobe16(*source); in int32_t_Marshal()
259 value_net = htobe32(*source); in int32_t_Marshal()
262 value_net = htobe64(*source); in int32_t_Marshal()
267 memcpy(*buffer, &value_net, sizeof(int32_t)); in int32_t_Marshal()
274 int32_t value_net = 0; in int32_t_Unmarshal() local
278 memcpy(&value_net, *buffer, sizeof(int32_t)); in int32_t_Unmarshal()
281 *target = be16toh(value_net); in int32_t_Unmarshal()
284 *target = be32toh(value_net); in int32_t_Unmarshal()
287 *target = be64toh(value_net); in int32_t_Unmarshal()
290 *target = value_net; in int32_t_Unmarshal()
298 uint64_t value_net = *source; in uint64_t_Marshal() local
304 value_net = htobe16(*source); in uint64_t_Marshal()
307 value_net = htobe32(*source); in uint64_t_Marshal()
310 value_net = htobe64(*source); in uint64_t_Marshal()
315 memcpy(*buffer, &value_net, sizeof(uint64_t)); in uint64_t_Marshal()
322 uint64_t value_net = 0; in uint64_t_Unmarshal() local
326 memcpy(&value_net, *buffer, sizeof(uint64_t)); in uint64_t_Unmarshal()
329 *target = be16toh(value_net); in uint64_t_Unmarshal()
332 *target = be32toh(value_net); in uint64_t_Unmarshal()
335 *target = be64toh(value_net); in uint64_t_Unmarshal()
338 *target = value_net; in uint64_t_Unmarshal()
346 int64_t value_net = *source; in int64_t_Marshal() local
352 value_net = htobe16(*source); in int64_t_Marshal()
355 value_net = htobe32(*source); in int64_t_Marshal()
358 value_net = htobe64(*source); in int64_t_Marshal()
363 memcpy(*buffer, &value_net, sizeof(int64_t)); in int64_t_Marshal()
370 int64_t value_net = 0; in int64_t_Unmarshal() local
374 memcpy(&value_net, *buffer, sizeof(int64_t)); in int64_t_Unmarshal()
377 *target = be16toh(value_net); in int64_t_Unmarshal()
380 *target = be32toh(value_net); in int64_t_Unmarshal()
383 *target = be64toh(value_net); in int64_t_Unmarshal()
386 *target = value_net; in int64_t_Unmarshal()