Home
last modified time | relevance | path

Searched refs:human_readable (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc495 string human_readable; in HumanReadableElapsedTime() local
498 human_readable = "-"; in HumanReadableElapsedTime()
507 strings::Appendf(&human_readable, "%0.3g us", microseconds); in HumanReadableElapsedTime()
508 return human_readable; in HumanReadableElapsedTime()
516 strings::Appendf(&human_readable, "%0.3g ms", milliseconds); in HumanReadableElapsedTime()
517 return human_readable; in HumanReadableElapsedTime()
520 strings::Appendf(&human_readable, "%0.3g s", seconds); in HumanReadableElapsedTime()
521 return human_readable; in HumanReadableElapsedTime()
525 strings::Appendf(&human_readable, "%0.3g min", seconds); in HumanReadableElapsedTime()
526 return human_readable; in HumanReadableElapsedTime()
[all …]
/external/toybox/toys/posix/
Ddf.c153 human_readable(size_str, size, hr_flags); in show_mt()
154 human_readable(used_str, used, hr_flags); in show_mt()
155 human_readable(avail_str, avail, hr_flags); in show_mt()
Dps.c594 else human_readable(out, ll, 0); in string_field()
1587 human_readable(hr0, 1024*run[0], 0); in top_common()
1588 human_readable(hr1, 1024*(run[0]-run[1]), 0); in top_common()
1589 human_readable(hr2, 1024*run[1], 0); in top_common()
1590 human_readable(hr3, 1024*run[2], 0); in top_common()
1595 human_readable(hr0, 1024*run[4], 0); in top_common()
1596 human_readable(hr1, 1024*(run[4]-run[5]), 0); in top_common()
1597 human_readable(hr2, 1024*run[5], 0); in top_common()
1598 human_readable(hr3, 1024*run[3], 0); in top_common()
Ddu.c60 human_readable(toybuf, size, 0); in print()
Dls.c125 if (toys.optflags&FLAG_h) return human_readable(s, value*units, 0); in print_with_h()
/external/iproute2/ip/
Dip.c29 int human_readable; variable
227 ++human_readable; in main()
Dipaddress.c511 if (!human_readable || count < base) { in print_num()
/external/toybox/toys/example/
Ddemo_number.c29 human_readable(toybuf, ll, toys.optflags); in demo_number_main()
/external/toybox/toys/other/
Dfree.c34 if (toys.optflags & FLAG_h) human_readable(s, ll, 0);
/external/toybox/toys/pending/
Ddd.c75 human_readable(toybuf, TT.bytes, HR_SPACE|HR_B); in status()
77 human_readable(toybuf, TT.bytes/seconds, HR_SPACE|HR_B); in status()
/external/iptables/extensions/
Dlibxt_time.c327 static void time_print_monthdays(uint32_t mask, bool human_readable) in time_print_monthdays() argument
337 if (human_readable) in time_print_monthdays()
/external/iproute2/include/
Dutils.h16 extern int human_readable;
/external/toybox/lib/
Dlib.h273 int human_readable(char *buf, unsigned long long num, int style);
Dlib.c1140 int human_readable(char *buf, unsigned long long num, int style) in human_readable() function