Lines Matching refs:value
159 static void format_unsigned(char* buf, size_t buf_size, uint64_t value, int base, bool caps) { in format_unsigned() argument
164 while (value) { in format_unsigned()
165 unsigned d = value % base; in format_unsigned()
166 value /= base; in format_unsigned()
195 static void format_integer(char* buf, size_t buf_size, uint64_t value, char conversion) { in format_integer() argument
206 if (is_signed && static_cast<int64_t>(value) < 0) { in format_integer()
210 value = static_cast<uint64_t>(-static_cast<int64_t>(value)); in format_integer()
212 format_unsigned(buf, buf_size, value, base, caps); in format_integer()
345 uint64_t value = reinterpret_cast<uintptr_t>(va_arg(args, void*)); in out_vformat() local
348 format_integer(buffer + 2, sizeof(buffer) - 2, value, 'x'); in out_vformat()
351 uint64_t value; in out_vformat() local
359 value = static_cast<uint8_t>(va_arg(args, int)); in out_vformat()
362 value = static_cast<uint16_t>(va_arg(args, int)); in out_vformat()
365 value = va_arg(args, uint32_t); in out_vformat()
368 value = va_arg(args, uint64_t); in out_vformat()
377 value = static_cast<uint64_t>((static_cast<int64_t>(value << shift)) >> shift); in out_vformat()
381 format_integer(buffer, sizeof(buffer), value, c); in out_vformat()