Lines Matching refs:ulong_type
170 /* Define ulong_type as an unsigned 64-bit type if available.
174 __extension__ typedef UNSIGNED_64BIT_TYPE ulong_type;
176 typedef unsigned long ulong_type;
217 /* Fetch a big-endian 32-bit value as a ulong_type. */
219 static inline ulong_type
222 return (ulong_type) simple_object_fetch_big_32 (buf);
225 /* Fetch a little-endian 32-bit value as a ulong_type. */
227 static inline ulong_type
230 return (ulong_type) simple_object_fetch_little_32 (buf);
237 static inline ulong_type
240 return (((ulong_type) buf[0] << 56)
241 | ((ulong_type) buf[1] << 48)
242 | ((ulong_type) buf[2] << 40)
243 | ((ulong_type) buf[3] << 32)
244 | ((ulong_type) buf[4] << 24)
245 | ((ulong_type) buf[5] << 16)
246 | ((ulong_type) buf[6] << 8)
247 | (ulong_type) buf[7]);
252 static inline ulong_type
255 return (((ulong_type) buf[7] << 56)
256 | ((ulong_type) buf[6] << 48)
257 | ((ulong_type) buf[5] << 40)
258 | ((ulong_type) buf[4] << 32)
259 | ((ulong_type) buf[3] << 24)
260 | ((ulong_type) buf[2] << 16)
261 | ((ulong_type) buf[1] << 8)
262 | (ulong_type) buf[0]);
307 /* Store a big-endian 32-bit value coming in as a ulong_type. */
310 simple_object_set_big_32_ulong (unsigned char *buf, ulong_type val)
315 /* Store a little-endian 32-bit value coming in as a ulong_type. */
318 simple_object_set_little_32_ulong (unsigned char *buf, ulong_type val)
328 simple_object_set_big_64 (unsigned char *buf, ulong_type val)
343 simple_object_set_little_64 (unsigned char *buf, ulong_type val)