Home
last modified time | relevance | path

Searched refs:ul (Results 1 – 7 of 7) sorted by relevance

/busybox-1.35.0/libbb/
Dhuman_readable.c84 char* FAST_FUNC smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) in smart_ulltoa5() argument
90 if (ul > 99999) { // do not scale if 99999 or less in smart_ulltoa5()
91 ul *= 10; in smart_ulltoa5()
93 ul /= 1024; in smart_ulltoa5()
95 } while (ul >= 100000); in smart_ulltoa5()
97 v = ul; // ullong divisions are expensive, avoid them in smart_ulltoa5()
141 char* FAST_FUNC smart_ulltoa4(unsigned long long ul, char buf[4], const char *scale) in smart_ulltoa4() argument
147 if (ul > 9999) { // do not scale if 9999 or less in smart_ulltoa4()
148 ul *= 10; in smart_ulltoa4()
150 ul /= 1024; in smart_ulltoa4()
[all …]
/busybox-1.35.0/util-linux/
Dtaskset.c64 typedef unsigned long ul; typedef
65 #define SZOF_UL (unsigned)(sizeof(ul))
66 #define BITS_UL (unsigned)(sizeof(ul)*8)
67 #define MASK_UL (unsigned)(sizeof(ul)*8 - 1)
72 static char *from_mask(const ul *mask, unsigned sz_in_bytes) in from_mask()
77 ul v = *mask++; in from_mask()
94 static unsigned long long from_mask(ul *mask, unsigned sz_in_bytes UNUSED_PARAM) in from_mask()
135 static void parse_cpulist(ul *mask, unsigned max, char *s) in parse_cpulist()
168 static void print_cpulist(const ul *mask, unsigned mask_size_in_bytes) in print_cpulist()
170 const ul *mask_end; in print_cpulist()
[all …]
/busybox-1.35.0/networking/
Dping.c484 unsigned long ul; in print_stats_and_exit() local
497 ul = G.ntransmitted; in print_stats_and_exit()
498 if (ul != 0) in print_stats_and_exit()
499 ul = (ul - nrecv) * 100 / ul; in print_stats_and_exit()
500 printf("%lu%% packet loss\n", ul); in print_stats_and_exit()
/busybox-1.35.0/include/
Dxatonum.h87 DEFINE_EQUIV_STR_CONV(long, l, ll, ul, ull)
90 DECLARE_STR_CONV(long, l, ul)
97 DEFINE_EQUIV_STR_CONV(int, i, l, u, ul)
Dlibbb.h1091 char *smart_ulltoa4(unsigned long long ul, char buf[4], const char *scale) FAST_FUNC;
1092 char *smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC;
/busybox-1.35.0/procps/
Dnmeter.c308 static void scale(ullong ul) in scale() argument
313 smart_ulltoa4(ul, buf, " kmgtpezy")[0] = '\0'; in scale() local
Dtop.c826 static void ulltoa6_and_space(unsigned long long ul, char buf[6]) argument
829 smart_ulltoa5(ul, buf, " mgtpezy")[0] = ' '; local