Home
last modified time | relevance | path

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

123

/freebsd-14.2/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-14.2/bin/dd/
H A Dmisc.c119 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 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-14.2/usr.bin/procstat/
H A Dprocstat_rlimit.c82 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 Dprocstat_rusage.c95 humanize_number(buffer, sizeof(buffer), value, "B", in format_value()
/freebsd-14.2/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-14.2/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-14.2/lib/libutil/
H A DMakefile16 hexdump.c humanize_number.c kinfo_getfile.c \
34 hexdump.3 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
H A Dhumanize_number.c49 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() function
/freebsd-14.2/usr.sbin/mptutil/
H A Dmpt_show.c52 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 Dlibutil.h48 int humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix,
/freebsd-14.2/sbin/growfs/
H A Dgrowfs.c1415 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 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-14.2/usr.sbin/pstat/
H A Dpstat.c501 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 Dsysput.c86 len = humanize_number(&wrtbuf[width], width + 1, val, "", in sysputuint64()
/freebsd-14.2/sbin/nvmecontrol/
H A Ddevlist.c137 humanize_number(buf, sizeof(buf), size, "B", in devlist()
/freebsd-14.2/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-14.2/usr.bin/top/
H A Dutils.c298 humanize_number(ret, 6, amt * 1024, "", HN_AUTOSCALE, HN_NOSPACE | in format_k()
/freebsd-14.2/sbin/kldstat/
H A Dkldstat.c80 humanize_number(buf, sizeof(buf), stat.size, in printfile()
/freebsd-14.2/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c331 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 Drctl.c335 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 Ddf.c433 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanval()
451 humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1), in prthumanvalinode()

123