/freebsd/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/bin/dd/ |
H A D | misc.c | 113 humanize_number(si, sizeof(si), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 115 humanize_number(iec, sizeof(iec), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 117 humanize_number(persec, sizeof(persec), (int64_t)(st.bytes / secs), "B", in progress()
|
/freebsd/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/usr.bin/procstat/ |
H A D | procstat_rlimit.c | 81 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit() 83 (void)humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit()
|
H A D | procstat_rusage.c | 94 humanize_number(buffer, sizeof(buffer), value, "B", in format_value()
|
/freebsd/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/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/lib/libutil/ |
H A D | Makefile | 14 hexdump.c humanize_number.c kinfo_getfile.c \ 32 hexdump.3 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
|
H A D | humanize_number.c | 48 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() function
|
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_show.c | 51 humanize_number(buf, buflen, stripe * 512, "", HN_AUTOSCALE, in format_stripe() 202 humanize_number(buf, sizeof(buf), (size + 1) * 512, "", HN_AUTOSCALE, in print_vol() 225 humanize_number(buf, sizeof(buf), ((uint64_t)info->MaxLBA + 1) * 512, in print_pd() 245 humanize_number(buf, sizeof(buf), (disk->maxlba + 1) * 512, in print_standalone()
|
/freebsd/tools/build/cross-build/include/linux/ |
H A D | libutil.h | 47 int humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix,
|
/freebsd/sbin/growfs/ |
H A D | growfs.c | 1407 humanize_number(oldsizebuf, sizeof(oldsizebuf), size, in main() 1409 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1425 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1428 humanize_number(newsizebuf, sizeof(newsizebuf), size, in main() 1475 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1478 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1552 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main()
|
/freebsd/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/usr.sbin/pstat/ |
H A D | pstat.c | 489 humanize_number(sizebuf, sizeof(sizebuf), in print_swap_line() 492 humanize_number(usedbuf, sizeof(usedbuf), in print_swap_line() 495 humanize_number(availbuf, sizeof(availbuf), in print_swap_line()
|
/freebsd/usr.bin/systat/ |
H A D | sysput.c | 84 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
|
/freebsd/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/usr.bin/top/ |
H A D | utils.c | 298 humanize_number(ret, 6, amt * 1024, "", HN_AUTOSCALE, HN_NOSPACE | in format_k()
|
/freebsd/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 198 humanize_number(numbuf, sizeof(numbuf), maplen, "B", in show_memmap() 242 humanize_number(numbuf, sizeof(numbuf), seglen, "B", in show_memseg()
|
/freebsd/sbin/kldstat/ |
H A D | kldstat.c | 79 humanize_number(buf, sizeof(buf), stat.size, in printfile()
|
/freebsd/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 330 humanize_number(sizebuf, sizeof(sizebuf), in list_shm() 432 humanize_number(sizebuf, sizeof(sizebuf), in stat_one_shm()
|
/freebsd/sbin/nvmecontrol/ |
H A D | devlist.c | 111 humanize_number(buf, sizeof(buf), size, "B", in scan_namespace()
|
/freebsd/usr.bin/rctl/ |
H A D | rctl.c | 334 if (humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_amount() 476 humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_usage_amount()
|