| /freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/ |
| 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-12-stable/bin/dd/ |
| D | misc.c | 120 humanize_number(si, sizeof(si), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 122 humanize_number(iec, sizeof(iec), (int64_t)st.bytes, "B", HN_AUTOSCALE, in progress() 124 humanize_number(persec, sizeof(persec), (int64_t)(st.bytes / secs), "B", in progress()
|
| /freebsd-12-stable/usr.sbin/bsdinstall/partedit/ |
| D | part_wizard.c | 135 humanize_number(diskdesc, 7, pp->lg_mediasize, in boot_disk() 333 humanize_number(availablestr, 7, available, "B", HN_AUTOSCALE, in wizard_makeparts() 335 humanize_number(neededstr, 7, MIN_FREE_SPACE, "B", HN_AUTOSCALE, in wizard_makeparts() 352 humanize_number(swapsizestr, 7, swapsize, "B", HN_AUTOSCALE, in wizard_makeparts() 354 humanize_number(rootsizestr, 7, available - swapsize - 1024*1024, in wizard_makeparts()
|
| /freebsd-12-stable/usr.bin/procstat/ |
| D | procstat_rlimit.c | 84 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit() 86 (void)humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, in humanize_rlimit()
|
| D | procstat_rusage.c | 97 humanize_number(buffer, sizeof(buffer), value, "B", in format_value()
|
| /freebsd-12-stable/sbin/fsck_msdosfs/ |
| D | check.c | 140 humanize_number(freestr, sizeof(freestr), freebytes, "", in checkfilesys() 143 humanize_number(badstr, sizeof(badstr), badbytes, "", in checkfilesys()
|
| /freebsd-12-stable/lib/libutil/ |
| D | Makefile | 15 hexdump.c humanize_number.c kinfo_getfile.c \ 33 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
|
| D | humanize_number.c | 51 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() function
|
| D | libutil.h | 102 int humanize_number(char *_buf, size_t _len, int64_t _number,
|
| /freebsd-12-stable/tools/tools/ioat/ |
| D | ioatcontrol.c | 271 humanize_number(bytesh, sizeof(bytesh), (int64_t)bytes, "B", in prettyprint() 274 humanize_number(bps, sizeof(bps), in prettyprint()
|
| /freebsd-12-stable/usr.sbin/mptutil/ |
| D | mpt_show.c | 54 humanize_number(buf, buflen, stripe * 512, "", HN_AUTOSCALE, in format_stripe() 205 humanize_number(buf, sizeof(buf), (size + 1) * 512, "", HN_AUTOSCALE, in print_vol() 228 humanize_number(buf, sizeof(buf), ((uint64_t)info->MaxLBA + 1) * 512, in print_pd() 248 humanize_number(buf, sizeof(buf), (disk->maxlba + 1) * 512, in print_standalone()
|
| /freebsd-12-stable/usr.sbin/mfiutil/ |
| D | mfi_foreign.c | 172 humanize_number(size, sizeof(size), ld->span[0].num_blocks * 512, in foreign_show_cfg() 186 humanize_number(size, sizeof(size), ld->span[j].num_blocks * 512, in foreign_show_cfg()
|
| D | mfi_show.c | 53 humanize_number(buf, buflen, (1 << stripe) * 512, "", HN_AUTOSCALE, in format_stripe() 305 humanize_number(size, sizeof(size), info->size * 512, in print_ld() 325 humanize_number(buf, 6, info->raw_size * 512, "", in print_pd()
|
| D | mfiutil.h | 71 int humanize_number(char *_buf, size_t _len, int64_t _number,
|
| /freebsd-12-stable/sbin/growfs/ |
| D | growfs.c | 1464 humanize_number(oldsizebuf, sizeof(oldsizebuf), size, in main() 1466 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1482 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1485 humanize_number(newsizebuf, sizeof(newsizebuf), size, in main() 1531 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main() 1534 humanize_number(newsizebuf, sizeof(newsizebuf), in main() 1608 humanize_number(oldsizebuf, sizeof(oldsizebuf), in main()
|
| /freebsd-12-stable/contrib/libxo/ |
| D | configure.ac | 78 dnl humanize_number(3) is a great function, but it's not standard. 83 AC_CHECK_LIB([util], [humanize_number], 87 AC_MSG_RESULT(humanize_number results: :${HAVE_HUMANIZE_NUMBER}:${ac_cv_header_libutil_h}:) 90 AC_DEFINE([HAVE_HUMANIZE_NUMBER], [1], [humanize_number(3)])
|
| /freebsd-12-stable/usr.bin/systat/ |
| D | sysput.c | 82 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
|
| /freebsd-12-stable/usr.bin/posixshmcontrol/ |
| D | posixshmcontrol.c | 253 humanize_number(sizebuf, sizeof(sizebuf), in list_shm() 353 humanize_number(sizebuf, sizeof(sizebuf), in stat_one_shm()
|
| /freebsd-12-stable/usr.bin/top/ |
| D | utils.c | 300 humanize_number(ret, 6, amt * 1024, "", HN_AUTOSCALE, HN_NOSPACE | in format_k()
|
| /freebsd-12-stable/sbin/kldstat/ |
| D | kldstat.c | 77 humanize_number(buf, sizeof(buf), stat.size, in printfile()
|
| /freebsd-12-stable/usr.sbin/pstat/ |
| D | pstat.c | 495 humanize_number(usedbuf, sizeof(usedbuf), in print_swap_line() 498 humanize_number(availbuf, sizeof(availbuf), in print_swap_line()
|
| /freebsd-12-stable/usr.bin/rctl/ |
| D | rctl.c | 340 if (humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_amount() 481 humanize_number(buf, sizeof(buf), num, "", HN_AUTOSCALE, in humanize_usage_amount()
|
| /freebsd-12-stable/bin/df/ |
| D | df.c | 508 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanval() 526 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanvalinode()
|
| /freebsd-12-stable/usr.sbin/edquota/ |
| D | edquota.c | 510 humanize_number(numbuf, blocks < 0 ? 7 : 6, in fmthumanvalblks() 524 humanize_number(numbuf, inos < 0 ? 7 : 6, in fmthumanvalinos()
|
| /freebsd-12-stable/usr.sbin/repquota/ |
| D | repquota.c | 277 humanize_number(buf, sizeof(buf) - (blocks < 0 ? 0 : 1), in prthumanval()
|