Searched refs:format_size_fixed (Results 1 - 7 of 7) sorted by relevance
/fuchsia/zircon/system/ulib/pretty/include/pretty/ |
H A D | sizes.h | 16 // any value formatted by format_size_fixed(). 38 char* format_size_fixed(char* str, size_t str_size, size_t bytes, char unit); 40 // Calls format_size_fixed() with unit=0, picking a natural unit for the size.
|
/fuchsia/zircon/system/ulib/pretty/ |
H A D | sizes.c | 14 char* format_size_fixed(char* str, size_t str_size, size_t bytes, char unit) { function 82 return format_size_fixed(str, str_size, bytes, 0);
|
H A D | test.c | 109 char* ret = format_size_fixed(str, sizeof(str), tc->input, tc->unit); 110 snprintf(msg, sizeof(msg), "format_size_fixed(bytes=%zd, unit=%c)", 156 format_size_fixed(buf, 0, GIGA, 'q'); 161 format_size_fixed(buf, 1, GIGA, 'q'); 167 format_size_fixed(buf, 2, GIGA, 'q'); 174 format_size_fixed(buf, 3, GIGA, 'q'); 182 format_size_fixed(buf, 4, GIGA, 'q');
|
/fuchsia/zircon/kernel/lib/oom/ |
H A D | oom.cpp | 53 format_size_fixed(total_buf, sizeof(total_buf), total_bytes, 'M'); 90 format_size_fixed(free_buf, sizeof(free_buf), free_bytes, 'M'); 203 format_size_fixed(buf, sizeof(buf), oom_redline_bytes, 'M');
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | ps.c | 233 format_size_fixed(pss_bytes_str, sizeof(pss_bytes_str), 235 format_size_fixed(private_bytes_str, sizeof(private_bytes_str), 240 format_size_fixed(shared_bytes_str, sizeof(shared_bytes_str),
|
H A D | kstats.c | 104 format_size_fixed(buf, sizeof(buf), bytes, unit), 145 format_size_fixed(buf, sizeof(buf), fields[i], unit);
|
/fuchsia/zircon/kernel/object/ |
H A D | diagnostics.cpp | 246 format_size_fixed(size_str, sizeof(size_str), vmo.size(), format_unit); 250 format_size_fixed(alloc_str, sizeof(alloc_str), 381 format_size_fixed(size_str, sizeof(size_str), 383 format_size_fixed(alloc_str, sizeof(alloc_str),
|
Completed in 76 milliseconds