/busybox-1.35.0/testsuite/expr/ |
D | expr-big | 4 res=`busybox expr 0 '<' 3000000000` 5 [ x"$res" = x1 ] || exit 1 8 res=`busybox expr 0 '<' 9223372036854775807` 9 [ x"$res" = x1 ] || exit 1 11 res=`busybox expr -9223372036854775800 '<' 9223372036854775807` 12 [ x"$res" = x1 ] || exit 1 15 # res=`busybox expr 0 '<' 9223372036854775808` 16 # [ x"$res" = x1 ] || exit 1
|
/busybox-1.35.0/networking/libiproute/ |
D | rtm_map.c | 72 unsigned long res; in rtnl_rtntype_a2n() local 75 res = RTN_LOCAL; in rtnl_rtntype_a2n() 77 res = RTN_NAT; in rtnl_rtntype_a2n() 79 res = RTN_BROADCAST; in rtnl_rtntype_a2n() 81 res = RTN_ANYCAST; in rtnl_rtntype_a2n() 83 res = RTN_MULTICAST; in rtnl_rtntype_a2n() 85 res = RTN_PROHIBIT; in rtnl_rtntype_a2n() 87 res = RTN_UNREACHABLE; in rtnl_rtntype_a2n() 89 res = RTN_BLACKHOLE; in rtnl_rtntype_a2n() 91 res = RTN_XRESOLVE; in rtnl_rtntype_a2n() [all …]
|
D | utils.c | 39 unsigned long res; in get_unsigned() local 43 res = strtoul(arg, &ptr, 0); in get_unsigned() 45 if (!*ptr && res <= UINT_MAX) { in get_unsigned() 46 return res; in get_unsigned() 54 unsigned long res; in get_u32() local 58 res = strtoul(arg, &ptr, 0); in get_u32() 60 if (!*ptr && res <= 0xFFFFFFFFUL) { in get_u32() 61 return res; in get_u32() 69 unsigned long res; in get_u16() local 73 res = strtoul(arg, &ptr, 0); in get_u16() [all …]
|
/busybox-1.35.0/networking/ |
D | ifenslave.c | 191 int res; in get_if_settings() local 193 res = set_ifrname_and_do_ioctl(SIOCGIFMTU, &dd->mtu, ifname); in get_if_settings() 194 res |= set_ifrname_and_do_ioctl(SIOCGIFFLAGS, &dd->flags, ifname); in get_if_settings() 195 res |= set_ifrname_and_do_ioctl(SIOCGIFHWADDR, &dd->hwaddr, ifname); in get_if_settings() 197 return res; in get_if_settings() 231 int res = set_if_flags(ifname, flags | IFF_UP); in set_if_up() local 232 if (res) in set_if_up() 234 return res; in set_if_up() 239 int res = set_if_flags(ifname, flags & ~IFF_UP); in set_if_down() local 240 if (res) in set_if_down() [all …]
|
D | tls_pstm.c | 167 int32 res, n; in pstm_copy() local 179 if ((res = pstm_grow (b, a->used)) != PSTM_OKAY) { in pstm_copy() 180 return res; in pstm_copy() 554 int32 res; in pstm_lshd() local 566 if ((res = pstm_grow (a, a->used + b)) != PSTM_OKAY) { in pstm_lshd() 567 return res; in pstm_lshd() 641 int32 res; in pstm_mul_2() local 648 if ((res = pstm_grow (b, a->used + 1)) != PSTM_OKAY) { in pstm_mul_2() 649 return res; in pstm_mul_2() 804 int32 res; in pstm_sub() local [all …]
|
D | tls_rsa.c | 67 int32 res; in psRsaCrypt() local 89 res = PS_LIMIT_FAIL; in psRsaCrypt() 95 res = PS_FAILURE; in psRsaCrypt() 100 res = PS_FAILURE; in psRsaCrypt() 150 res = -1; in psRsaCrypt() 170 res = PS_SUCCESS; in psRsaCrypt() 173 res = PS_FAILURE; in psRsaCrypt() 181 return res; in psRsaCrypt()
|
D | tftp.c | 647 char *res; variable 649 res = tftp_get_option("blksize", &rbuf[2], len - 2); 650 if (res) { 651 blksize = tftp_blksize_check(res, blksize); 660 res = tftp_get_option("tsize", &rbuf[2], len - 2); 661 if (res) { 662 G.size = bb_strtoull(res, NULL, 10); 959 char *res; in tftpd_main() local 963 res = tftp_get_option("blksize", opt_str, opt_len); in tftpd_main() 964 if (res) { in tftpd_main() [all …]
|
D | traceroute.c | 498 int len, res; in send_probe() local 564 res = setsockopt_int(sndsock, SOL_IPV6, IPV6_UNICAST_HOPS, ttl); in send_probe() 565 if (res != 0) in send_probe() 571 res = setsockopt_int(sndsock, IPPROTO_IP, IP_TTL, ttl); in send_probe() 572 if (res != 0) in send_probe() 581 res = xsendto(sndsock, out, len, &dest_lsa->u.sa, dest_lsa->len); in send_probe() 582 if (res != len) in send_probe() 583 bb_error_msg("sent %d octets, ret=%d", len, res); in send_probe()
|
D | interface.c | 1071 int res; in do_if_print() local 1073 res = do_if_fetch(ife); in do_if_print() 1074 if (res >= 0) { in do_if_print() 1078 return res; in do_if_print() 1084 int res; in display_interfaces() local 1096 res = do_if_print(ife, (int)(intptr_t)ifname); in display_interfaces() 1097 if (res < 0) in display_interfaces() 1104 res = do_if_print(ife, /*show_downed_too:*/ 1); in display_interfaces() 1106 return (res < 0); /* status < 0 == 1 -- error */ in display_interfaces()
|
/busybox-1.35.0/coreutils/ |
D | test.c | 241 fprintf(stderr, __VA_ARGS__, res); \ 774 number_t res; in nexpr() local 786 res = !nexpr(n); in nexpr() 787 unnest_msg("<nexpr:%lld\n", res); in nexpr() 788 return res; in nexpr() 790 res = primary(n); in nexpr() 791 unnest_msg("<nexpr:%lld\n", res); in nexpr() 792 return res; in nexpr() 798 number_t res; in aexpr() local 801 res = nexpr(n); in aexpr() [all …]
|
D | cat.c | 139 int i, res; in catv() local 141 res = read(fd, read_buf, COMMON_BUFSIZE); in catv() 142 if (res < 0) in catv() 144 if (res <= 0) in catv() 146 for (i = 0; i < res; i++) { in catv()
|
/busybox-1.35.0/libbb/ |
D | change_identity.c | 35 int res; in change_identity() local 37 res = initgroups(pw->pw_name, pw->pw_gid); in change_identity() 40 if (res != 0) { in change_identity()
|
D | xfuncs.c | 64 unsigned i, out, res; in utoa_to_buf() local 80 res = n / i; in utoa_to_buf() 82 if (res || out || i == 1) { in utoa_to_buf() 86 *buf++ = '0' + res; in utoa_to_buf()
|
/busybox-1.35.0/testsuite/date/ |
D | date-works-1 | 68 res=OK 85 res=BAD 115 res=BAD 120 [ $dm -ge 1 ] && [ $dm -le 31 ] || res=BAD 122 [ $h -ge 0 ] && [ $h -le 23 ] || res=BAD 124 [ $m -ge 0 ] && [ $m -le 59 ] || res=BAD 126 [ $s -ge 0 ] && [ $s -le 59 ] || res=BAD 127 [ $z = UTC ] || res=BAD 128 [ $y -ge 1970 ] || res=BAD 130 test x"$res" = xOK
|
/busybox-1.35.0/miscutils/ |
D | i2c_tools.c | 766 int res, blen = 0, tmp, i; in read_block_data() local 773 for (res = 0; res < I2CDUMP_NUM_REGS; res += tmp) { in read_block_data() 775 buf_fd, res, I2C_SMBUS_BLOCK_MAX, in read_block_data() 776 cblock + res); in read_block_data() 783 if (res >= I2CDUMP_NUM_REGS) in read_block_data() 784 res = I2CDUMP_NUM_REGS; in read_block_data() 786 for (i = 0; i < res; i++) in read_block_data() 790 for (i = res; i < I2CDUMP_NUM_REGS; i++) in read_block_data() 804 int i, j, res; in dump_data() local 832 res = i2c_smbus_read_byte_data(bus_fd, i+j); in dump_data() [all …]
|
D | time.c | 430 resource_t res; in time_main() local 468 run_command(argv, &res); in time_main() 472 summarize(output_format, argv, &res); in time_main() 474 ex = WEXITSTATUS(res.waitstatus); in time_main() 479 if (WIFSIGNALED(res.waitstatus)) in time_main() 480 ex = WTERMSIG(res.waitstatus); in time_main()
|
D | bc.c | 5234 size_t res; in xc_program_index() local 5244 res = 0; in xc_program_index() 5247 res |= (size_t)(*bytes++) << i; in xc_program_index() 5251 return res; in xc_program_index() 5449 BcResult *opd1, *opd2, res; in zxc_program_op() local 5454 bc_num_init_DEF_SIZE(&res.d.n); in zxc_program_op() 5457 …IF_ERROR_RETURN_POSSIBLE(s =) zxc_program_ops[inst - XC_INST_POWER](n1, n2, &res.d.n, G.prog.scale… in zxc_program_op() 5459 xc_program_binOpRetire(&res); in zxc_program_op() 5463 bc_num_free(&res.d.n); in zxc_program_op() 5798 BcResult res, *ptr; in zxc_program_negate() local [all …]
|
/busybox-1.35.0/networking/udhcp/ |
D | domain_codec.c | 113 uint8_t *res, *lenptr, *dst; in convert_dname() local 115 res = xzalloc(strlen(src) + 2); in convert_dname() 116 dst = lenptr = res; in convert_dname() 139 *retlen = dst + 1 - res; in convert_dname() 142 free(res); in convert_dname() 147 return res; in convert_dname()
|
/busybox-1.35.0/archival/libarchive/ |
D | data_extract_all.c | 12 int res; in data_extract_all() local 166 res = mkdir(dst_name, file_header->mode); in data_extract_all() 167 if ((res != 0) in data_extract_all() 208 res = mknod(dst_name, file_header->mode, file_header->device); in data_extract_all() 209 if (res != 0) { in data_extract_all()
|
D | decompress_gunzip.c | 1114 uint16_t res; in buffer_read_le_u16() local 1116 move_from_unaligned16(res, &bytebuffer[bytebuffer_offset]); in buffer_read_le_u16() 1118 res = bytebuffer[bytebuffer_offset]; in buffer_read_le_u16() 1119 res |= bytebuffer[bytebuffer_offset + 1] << 8; in buffer_read_le_u16() 1122 return res; in buffer_read_le_u16() 1127 uint32_t res; in buffer_read_le_u32() local 1129 move_from_unaligned32(res, &bytebuffer[bytebuffer_offset]); in buffer_read_le_u32() 1131 res = bytebuffer[bytebuffer_offset]; in buffer_read_le_u32() 1132 res |= bytebuffer[bytebuffer_offset + 1] << 8; in buffer_read_le_u32() 1133 res |= bytebuffer[bytebuffer_offset + 2] << 16; in buffer_read_le_u32() [all …]
|
/busybox-1.35.0/scripts/kconfig/ |
D | mconf.c | 345 int res; in cprint1() local 350 res = vsprintf(bufptr, fmt, ap); in cprint1() 352 bufptr += res; in cprint1() 354 return res; in cprint1() 366 int res; in cprint() local 370 res = vsprintf(bufptr, fmt, ap); in cprint() 372 bufptr += res; in cprint() 375 return res; in cprint() 440 struct gstr res = str_new(); in get_relations_str() local 444 get_symbol_str(&res, sym); in get_relations_str() [all …]
|
/busybox-1.35.0/testsuite/ |
D | parse.tests | 76 cat >$FILE.res <<EOF 95 cat >$FILE.res <<EOF 116 cat >$FILE.res <<EOF 138 rm -f $FILE $FILE.res
|
/busybox-1.35.0/klibc-utils/ |
D | resume.c | 57 dev_t res = (dev_t) bb_strtoul(devname, NULL, 16); in name_to_dev_t() local 59 return res; in name_to_dev_t()
|
/busybox-1.35.0/mailutils/ |
D | popmaildir.c | 161 uint32_t res[MD5_OUTSIZE / 4]; in popmaildir_main() local 170 md5_end(&md5.ctx, res); in popmaildir_main() 171 *bin2hex(md5.hex, (char*)res, 16) = '\0'; in popmaildir_main()
|
/busybox-1.35.0/editors/ |
D | awk.c | 2589 static NOINLINE var *exec_builtin(node *op, var *res) in exec_builtin() argument 2632 setvar_i(res, atan2(getvar_i(av[0]), getvar_i(av[1]))); in exec_builtin() 2653 setvar_i(res, n); in exec_builtin() 2670 setvar_p(res, s); in exec_builtin() 2677 setvar_i(res, getvar_i_int(av[0]) & getvar_i_int(av[1])); in exec_builtin() 2681 setvar_i(res, ~getvar_i_int(av[0])); in exec_builtin() 2685 setvar_i(res, getvar_i_int(av[0]) << getvar_i_int(av[1])); in exec_builtin() 2689 setvar_i(res, getvar_i_int(av[0]) | getvar_i_int(av[1])); in exec_builtin() 2693 setvar_i(res, getvar_i_int(av[0]) >> getvar_i_int(av[1])); in exec_builtin() 2697 setvar_i(res, getvar_i_int(av[0]) ^ getvar_i_int(av[1])); in exec_builtin() [all …]
|