Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 78) sorted by relevance

1234

/busybox-1.35.0/libbb/
Disqrt.c42 unsigned long h; in main() local
44 h = isqrt(n); in main()
46 printf("isqrt(%llx)=%lx\n", n, h); in main()
47 if ((unsigned long long)h * h > n) { in main()
48 printf("BAD1: isqrt(%llx)=%lx\n", n, h); in main()
51 h++; in main()
52 if ((unsigned long long)h * h != 0 /* this can overflow to 0 - not a bug */ in main()
53 && (unsigned long long)h * h <= n) in main()
55 printf("BAD2: isqrt(%llx)=%lx\n", n, h); in main()
Dstrrstr.c35 const char *h, *n; in BBUNIT_DEFINE_TEST() member
55 const char *r = strrstr(test_array[i].h, test_array[i].n); in BBUNIT_DEFINE_TEST()
57 r = test_array[i].h - 1; in BBUNIT_DEFINE_TEST()
58 BBUNIT_ASSERT_EQ(r, test_array[i].h + test_array[i].pos); in BBUNIT_DEFINE_TEST()
/busybox-1.35.0/applets/
DKbuild.src28 applets/applets.o: include/usage_compressed.h include/applet_tables.h
30 applets/applet_tables: .config include/applets.h
31 applets/usage: .config include/applets.h
32 applets/usage_pod: .config include/applets.h include/applet_tables.h
34 quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h
35 …_gen_usage_compressed = $(srctree_slash)applets/usage_compressed include/usage_compressed.h applets
37 include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compressed
40 quiet_cmd_gen_applet_tables = GEN include/applet_tables.h include/NUM_APPLETS.h
41 cmd_gen_applet_tables = applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h
43 include/NUM_APPLETS.h: applets/applet_tables
[all …]
Dbusybox.mkll13 CONFIG_H=${1:-include/autoconf.h}
14 APPLETS_H=${2:-include/applets.h}
Dbusybox.mkscripts11 CONFIG_H=${1:-include/autoconf.h}
12 APPLETS_H=${2:-include/applets.h}
Dbusybox.mksuid19 CONFIG_H=${1:-include/autoconf.h}
20 APPLETS_H=${2:-include/applets.h}
/busybox-1.35.0/archival/
Dlzop.c635 static NOINLINE int lzo_compress(const header_t *h) in lzo_compress() argument
650 if (h->method == M_LZO1X_1) in lzo_compress()
653 IF_LZOP_COMPR_HIGH(if (h->method == M_LZO1X_1_15)) in lzo_compress()
679 if (h->flags32 & F_ADLER32_D) in lzo_compress()
681 if (h->flags32 & F_CRC32_D) in lzo_compress()
685 if (h->method == M_LZO1X_1) in lzo_compress()
687 else IF_LZOP_COMPR_HIGH(if (h->method == M_LZO1X_1_15)) in lzo_compress()
692 wrk_mem, h->level); in lzo_compress()
700 if (h->method == M_LZO1X_999) { in lzo_compress()
713 if (h->flags32 & F_ADLER32_D) in lzo_compress()
[all …]
/busybox-1.35.0/networking/libiproute/
Dlibnetlink.c59 struct nlmsghdr *h; in rtnl_send_check() local
75 for (h = (struct nlmsghdr *)resp; in rtnl_send_check()
76 NLMSG_OK(h, status); in rtnl_send_check()
77 h = NLMSG_NEXT(h, status) in rtnl_send_check()
79 if (h->nlmsg_type == NLMSG_ERROR) { in rtnl_send_check()
80 struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h); in rtnl_send_check()
81 if (h->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) in rtnl_send_check()
135 struct nlmsghdr *h; in rtnl_dump_filter() local
163 h = (struct nlmsghdr*)buf; in rtnl_dump_filter()
164 while (NLMSG_OK(h, status)) { in rtnl_dump_filter()
[all …]
/busybox-1.35.0/miscutils/
Dttysize.c35 unsigned w, h; in ttysize_main() local
39 h = 24; in ttysize_main()
45 h = wsz.ws_row; in ttysize_main()
49 printf("%u %u", w, h); in ttysize_main()
59 printf(fmt, h); in ttysize_main()
/busybox-1.35.0/examples/var_service/
Dsview18 h=`ttysize h`
19 exec tail -n $((h-1)) -F current 2>&1
/busybox-1.35.0/testsuite/hostid/
Dhostid-works1 h=x$(busybox hostid)
2 # Is $h a sequence of hex numbers?
3 case "$h" in
/busybox-1.35.0/scripts/kconfig/lxdialog/
Dcheck-lxdialog.sh28 elif [ -f /usr/include/ncursesw/curses.h ]; then
31 elif [ -f /usr/include/ncurses/ncurses.h ]; then
33 elif [ -f /usr/include/ncurses/curses.h ]; then
35 elif [ -f /usr/include/ncurses.h ]; then
/busybox-1.35.0/testsuite/ls/
Dls-h-works4 LC_ALL=C ls -h "$d" > logfile.gnu
5 LC_ALL=C busybox ls -h "$d" > logfile.bb
/busybox-1.35.0/shell/hush_test/hush-misc/
Dfunc1.tests3 h ( )
15 ( h )
/busybox-1.35.0/shell/ash_test/ash-misc/
Dfunc1.tests3 h ( )
15 ( h )
/busybox-1.35.0/include/
Dapplets.h.sh7 grep ^IF_ applets.h | grep -v ^IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \
12 grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \
/busybox-1.35.0/shell/hush_test/hush-invert/
Dinvert.tests6 ! ( echo hello | grep h >/dev/null 2>&1 ); echo $?
7 ! echo hello | grep h >/dev/null 2>&1 ; echo $?
/busybox-1.35.0/shell/ash_test/ash-invert/
Dinvert.tests6 ! ( echo hello | grep h >/dev/null 2>&1 ); echo $?
7 ! echo hello | grep h >/dev/null 2>&1 ; echo $?
/busybox-1.35.0/networking/
Dtls_aesgcm.c134 void FAST_FUNC aesgcm_GHASH(byte* h, in aesgcm_GHASH() argument
154 GMULT(x, h); in aesgcm_GHASH()
174 GMULT(x, h); in aesgcm_GHASH()
182 GMULT(x, h); in aesgcm_GHASH()
198 GMULT(x, h); in aesgcm_GHASH()
Dwget.c535 static void parse_url(const char *src_url, struct host_info *h) in parse_url() argument
539 free(h->allocated); in parse_url()
540 h->allocated = url = xstrdup(src_url); in parse_url()
542 h->protocol = P_HTTP; in parse_url()
546 h->host = p + 3; in parse_url()
549 h->port = bb_lookup_std_port(P_FTP, "tcp", 21); in parse_url()
550 h->protocol = P_FTP; in parse_url()
555 h->port = bb_lookup_std_port(P_FTPS, "tcp", 990); in parse_url()
556 h->protocol = P_FTPS; in parse_url()
561 h->port = bb_lookup_std_port(P_HTTPS, "tcp", 443); in parse_url()
[all …]
Dtls_aesgcm.h7 void aesgcm_GHASH(uint8_t* h,
/busybox-1.35.0/networking/udhcp/
Ddumpleases.c105 unsigned d, h, m; in dumpleases_main() local
108 h = expires / (60*60); expires %= (60*60); in dumpleases_main()
112 printf("%02u:%02u:%02u\n", h, m, (unsigned)expires); in dumpleases_main()
/busybox-1.35.0/docs/
Dnew-applet-HOWTO.txt19 boilerplate and Config.in/Kbuild/usage/applet.h snippets (more on that below
21 of main. And be sure to put it in <applet>.c. Make sure to #include "libbb.h"
26 (libbb.h already includes most usual header files. You do not need
27 #include <stdio.h> etc...)
41 #include "libbb.h"
42 #include "other.h"
106 #include "libbb.h"
107 #include "other.h"
120 You should also try to find a suitable place in include/libbb.h for
128 Kbuild/Config.in/usage/applets.h snippets in .c files
[all …]
/busybox-1.35.0/archival/libarchive/bz/
Dblocksort.c489 unsigned h; in mainSimpleSort() local
491 h = incs[hp]; in mainSimpleSort()
492 i = lo + h; in mainSimpleSort()
500 while (mainGtU(state, ptr[j-h]+d, v+d)) { in mainSimpleSort()
501 ptr[j] = ptr[j-h]; in mainSimpleSort()
502 j = j - h; in mainSimpleSort()
503 if (j <= (lo + h - 1)) break; in mainSimpleSort()
514 while (mainGtU(state, ptr[j-h]+d, v+d)) { in mainSimpleSort()
515 ptr[j] = ptr[j-h]; in mainSimpleSort()
516 j = j - h; in mainSimpleSort()
[all …]
/busybox-1.35.0/scripts/kconfig/
DMakefile139 clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \
175 if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \
234 $(obj)/kconfig_load.o: $(obj)/lkc_defs.h
236 $(obj)/qconf.o: $(obj)/qconf.moc $(obj)/lkc_defs.h
238 $(obj)/gconf.o: $(obj)/lkc_defs.h
240 $(obj)/%.moc: $(src)/%.h
243 $(obj)/lkc_defs.h: $(src)/lkc_proto.h

1234