Home
last modified time | relevance | path

Searched refs:humanize_number (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_humanize_number.c224 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 Dmisc.c113 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 Dpart_wizard.c155 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 Ddiskmenu.c54 humanize_number(size, 7, items[i].size, "B", in diskmenu_show()
/freebsd/usr.bin/procstat/
H A Dprocstat_rlimit.c81 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 Dprocstat_rusage.c94 humanize_number(buffer, sizeof(buffer), value, "B", in format_value()
/freebsd/sbin/fsck_msdosfs/
H A Dcheck.c138 humanize_number(freestr, sizeof(freestr), freebytes, "", in checkfilesys()
141 humanize_number(badstr, sizeof(badstr), badbytes, "", in checkfilesys()
/freebsd/tools/tools/ioat/
H A Dioatcontrol.c271 humanize_number(bytesh, sizeof(bytesh), (int64_t)bytes, "B", in prettyprint()
274 humanize_number(bps, sizeof(bps), in prettyprint()
/freebsd/lib/libutil/
H A DMakefile14 hexdump.c humanize_number.c kinfo_getfile.c \
32 hexdump.3 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
H A Dhumanize_number.c48 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() function
/freebsd/usr.sbin/mptutil/
H A Dmpt_show.c51 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 Dlibutil.h47 int humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix,
/freebsd/sbin/growfs/
H A Dgrowfs.c1407 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 Dmfi_foreign.c170 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 Dmfi_show.c51 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 Dmfiutil.h72 int humanize_number(char *_buf, size_t _len, int64_t _number,
/freebsd/usr.sbin/pstat/
H A Dpstat.c489 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 Dsysput.c84 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
/freebsd/contrib/libxo/
H A Dconfigure.ac76 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 Dutils.c298 humanize_number(ret, 6, amt * 1024, "", HN_AUTOSCALE, HN_NOSPACE | in format_k()
/freebsd/usr.sbin/bhyvectl/
H A Dbhyvectl.c198 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 Dkldstat.c79 humanize_number(buf, sizeof(buf), stat.size, in printfile()
/freebsd/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c330 humanize_number(sizebuf, sizeof(sizebuf), in list_shm()
432 humanize_number(sizebuf, sizeof(sizebuf), in stat_one_shm()
/freebsd/sbin/nvmecontrol/
H A Ddevlist.c111 humanize_number(buf, sizeof(buf), size, "B", in scan_namespace()
/freebsd/usr.bin/rctl/
H A Drctl.c334 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()

12