Lines Matching refs:num
343 #define PUT_NUM(cch, fmt, num) \
348 const size_t cchTmp = RTStrPrintf(pszDst, cchDst, fmt, (num)); \
355 #define PUT_NUM_8(num) PUT_NUM(4, "0%02xh", (uint8_t)(num))
356 #define PUT_NUM_16(num) PUT_NUM(6, "0%04xh", (uint16_t)(num))
357 #define PUT_NUM_32(num) PUT_NUM(10, "0%08xh", (uint32_t)(num))
358 #define PUT_NUM_64(num) PUT_NUM(18, "0%016RX64h", (uint64_t)(num))
360 #define PUT_NUM_SIGN(cch, fmt, num, stype, utype) \
362 if ((stype)(num) >= 0) \
365 PUT_NUM(cch, fmt, (utype)(num)); \
370 PUT_NUM(cch, fmt, (utype)-(stype)(num)); \
373 #define PUT_NUM_S8(num) PUT_NUM_SIGN(4, "0%02xh", num, int8_t, uint8_t)
374 #define PUT_NUM_S16(num) PUT_NUM_SIGN(6, "0%04xh", num, int16_t, uint16_t)
375 #define PUT_NUM_S32(num) PUT_NUM_SIGN(10, "0%08xh", num, int32_t, uint32_t)
376 #define PUT_NUM_S64(num) PUT_NUM_SIGN(18, "0%016RX64h", num, int64_t, uint64_t)