| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_humanize_number.c | 224 rv = humanize_number(buf, ho->ho_len, ho->ho_num, in ATF_TC_BODY() 267 rv = humanize_number(buf, 10, 10000, "", HN_AUTOSCALE, HN_NOSPACE); in ATF_TC_BODY() 277 rv = humanize_number(buf, 10, INT64_MAX, "", HN_AUTOSCALE, HN_NOSPACE); in ATF_TC_BODY() 287 rv = humanize_number(buf, sizeof(buf), 10000, "", in ATF_TC_BODY() 303 rv = humanize_number(buf, 3, 1, "", HN_AUTOSCALE, HN_NOSPACE); in ATF_TC_BODY()
|
| /freebsd-14.2/bin/dd/ |
| H A D | misc.c | 119 humanize_number(si, sizeof(si), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 121 humanize_number(iec, sizeof(iec), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 123 humanize_number(persec, sizeof(persec), (int64_t)(st.bytes / secs), "B", in progress()
|
| /freebsd-14.2/usr.sbin/bsdinstall/partedit/ |
| H A D | part_wizard.c | 155 humanize_number(diskdesc, 7, pp->lg_mediasize, in boot_disk_select() 367 humanize_number(availablestr, 7, available, "B", HN_AUTOSCALE, in wizard_makeparts() 369 humanize_number(neededstr, 7, MIN_FREE_SPACE, "B", HN_AUTOSCALE, in wizard_makeparts() 387 humanize_number(swapsizestr, 7, swapsize, "B", HN_AUTOSCALE, in wizard_makeparts() 389 humanize_number(rootsizestr, 7, available - swapsize - 1024*1024, in wizard_makeparts()
|
| H A D | diskmenu.c | 54 humanize_number(size, 7, items[i].size, "B", in diskmenu_show()
|
| /freebsd-14.2/usr.bin/procstat/ |
| H A D | procstat_rlimit.c | 82 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit() 84 (void)humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit()
|
| H A D | procstat_rusage.c | 95 humanize_number(buffer, sizeof(buffer), value, "B", in format_value()
|
| /freebsd-14.2/sbin/fsck_msdosfs/ |
| H A D | check.c | 138 humanize_number(freestr, sizeof(freestr), freebytes, "", in checkfilesys() 141 humanize_number(badstr, sizeof(badstr), badbytes, "", in checkfilesys()
|
| /freebsd-14.2/tools/tools/ioat/ |
| H A D | ioatcontrol.c | 271 humanize_number(bytesh, sizeof(bytesh), (int64_t)bytes, "B", in prettyprint() 274 humanize_number(bps, sizeof(bps), in prettyprint()
|
| /freebsd-14.2/lib/libutil/ |
| H A D | Makefile | 16 hexdump.c humanize_number.c kinfo_getfile.c \ 34 hexdump.3 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
|
| H A D | humanize_number.c | 49 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() function
|
| /freebsd-14.2/usr.sbin/mptutil/ |
| H A D | mpt_show.c | 52 humanize_number(buf, buflen, stripe * 512, "", HN_AUTOSCALE, in format_stripe() 203 humanize_number(buf, sizeof(buf), (size + 1) * 512, "", HN_AUTOSCALE, in print_vol() 226 humanize_number(buf, sizeof(buf), ((uint64_t)info->MaxLBA + 1) * 512, in print_pd() 246 humanize_number(buf, sizeof(buf), (disk->maxlba + 1) * 512, in print_standalone()
|
| /freebsd-14.2/tools/build/cross-build/include/linux/ |
| H A D | libutil.h | 48 int humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix,
|
| /freebsd-14.2/sbin/growfs/ |
| H A D | growfs.c | 1415 humanize_number(oldsizebuf, sizeof(oldsizebuf), size, in main() 1417 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1433 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1436 humanize_number(newsizebuf, sizeof(newsizebuf), size, in main() 1483 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1486 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1560 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main()
|
| /freebsd-14.2/usr.sbin/mfiutil/ |
| H A D | mfi_foreign.c | 170 humanize_number(size, sizeof(size), ld->span[0].num_blocks * 512, in foreign_show_cfg() 184 humanize_number(size, sizeof(size), ld->span[j].num_blocks * 512, in foreign_show_cfg()
|
| H A D | mfi_show.c | 51 humanize_number(buf, buflen, (1 << stripe) * 512, "", HN_AUTOSCALE, in format_stripe() 303 humanize_number(size, sizeof(size), info->size * 512, in print_ld() 323 humanize_number(buf, 6, info->raw_size * 512, "", in print_pd()
|
| H A D | mfiutil.h | 72 int humanize_number(char *_buf, size_t _len, int64_t _number,
|
| /freebsd-14.2/usr.sbin/pstat/ |
| H A D | pstat.c | 501 humanize_number(sizebuf, sizeof(sizebuf), in print_swap_line() 504 humanize_number(usedbuf, sizeof(usedbuf), in print_swap_line() 507 humanize_number(availbuf, sizeof(availbuf), in print_swap_line()
|
| /freebsd-14.2/usr.bin/systat/ |
| H A D | sysput.c | 86 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
|
| /freebsd-14.2/sbin/nvmecontrol/ |
| H A D | devlist.c | 137 humanize_number(buf, sizeof(buf), size, "B", in devlist()
|
| /freebsd-14.2/contrib/libxo/ |
| H A D | configure.ac | 76 dnl humanize_number(3) is a great function, but it's not standard. 81 AC_CHECK_LIB([util], [humanize_number], 85 AC_MSG_RESULT(humanize_number results: :${HAVE_HUMANIZE_NUMBER}:${ac_cv_header_libutil_h}:) 88 AC_DEFINE([HAVE_HUMANIZE_NUMBER], [1], [humanize_number(3)])
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | utils.c | 298 humanize_number(ret, 6, amt * 1024, "", HN_AUTOSCALE, HN_NOSPACE | in format_k()
|
| /freebsd-14.2/sbin/kldstat/ |
| H A D | kldstat.c | 80 humanize_number(buf, sizeof(buf), stat.size, in printfile()
|
| /freebsd-14.2/usr.bin/posixshmcontrol/ |
| H A D | posixshmcontrol.c | 331 humanize_number(sizebuf, sizeof(sizebuf), in list_shm() 433 humanize_number(sizebuf, sizeof(sizebuf), in stat_one_shm()
|
| /freebsd-14.2/usr.bin/rctl/ |
| H A D | rctl.c | 335 if (humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_amount() 477 humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_usage_amount()
|
| /freebsd-14.2/bin/df/ |
| H A D | df.c | 433 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanval() 451 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanvalinode()
|