Lines Matching defs:u32
297 ares_status_t ares__buf_append_be32(ares__buf_t *buf, unsigned int u32)
301 status = ares__buf_append_byte(buf, ((unsigned char)(u32 >> 24) & 0xff));
306 status = ares__buf_append_byte(buf, ((unsigned char)(u32 >> 16) & 0xff));
311 status = ares__buf_append_byte(buf, ((unsigned char)(u32 >> 8) & 0xff));
316 status = ares__buf_append_byte(buf, ((unsigned char)u32 & 0xff));
528 unsigned int u32;
536 u32 = ((unsigned int)(ptr[0]) << 8 | (unsigned int)ptr[1]);
537 *u16 = (unsigned short)(u32 & 0xFFFF);
542 ares_status_t ares__buf_fetch_be32(ares__buf_t *buf, unsigned int *u32)
547 if (buf == NULL || u32 == NULL || remaining_len < sizeof(*u32)) {
551 *u32 = ((unsigned int)(ptr[0]) << 24 | (unsigned int)(ptr[1]) << 16 |
554 return ares__buf_consume(buf, sizeof(*u32));