/busybox-1.35.0/libbb/ |
D | get_volsize.c | 16 uoff_t result; in get_volume_size_in_bytes() local 19 result = XATOOFF(override); in get_volume_size_in_bytes() 20 if (result >= (uoff_t)(MAXINT(off_t)) / override_units) in get_volume_size_in_bytes() 22 result *= override_units; in get_volume_size_in_bytes() 24 if (lseek(fd, result - 1, SEEK_SET) != (off_t)-1) { in get_volume_size_in_bytes() 33 result = xlseek(fd, 0, SEEK_END); in get_volume_size_in_bytes() 44 if (result < 16*1024) in get_volume_size_in_bytes() 47 return result; in get_volume_size_in_bytes()
|
D | pw_encrypt_md5.c | 76 md5_crypt(char result[MD5_OUT_BUFSIZE], const unsigned char *pw, const unsigned char *salt) in md5_crypt() 101 memcpy(result, salt, sl); in md5_crypt() 102 result[sl] = '$'; in md5_crypt() 146 p = result + sl + 4; /* 12 bytes max (sl is up to 8 bytes) */ in md5_crypt() 160 return result; in md5_crypt()
|
D | correct_password.c | 56 struct spwd *result = NULL; in get_passwd() local 57 r = getspnam_r(pw->pw_name, &spw, buffer, SHADOW_BUFSIZE, &result); in get_passwd() 58 pass = (r || !result) ? "aa" : result->sp_pwdp; in get_passwd()
|
D | xconnect.c | 184 struct addrinfo *result = NULL; variable 280 rc = getaddrinfo(host, NULL, &hint, &result); 281 if (rc || !result) { 287 used_res = result; 294 used_res = result; 306 if (result) 307 freeaddrinfo(result);
|
D | pw_encrypt_sha.c | 27 char *result, *resptr; in sha_crypt() local 59 result = resptr = xzalloc(cnt); /* will provide NUL terminator */ in sha_crypt() 281 return result; in sha_crypt()
|
/busybox-1.35.0/coreutils/ |
D | printf.c | 80 typedef void FAST_FUNC (*converter)(const char *arg, void *result); 82 static int multiconvert(const char *arg, void *result, converter convert) in multiconvert() argument 88 convert(arg, result); in multiconvert() 96 static void FAST_FUNC conv_strtoull(const char *arg, void *result) in conv_strtoull() argument 104 *(unsigned long long*)result = bb_strtoull(arg, NULL, 0); in conv_strtoull() 111 *(unsigned long long*)result = bb_strtoll(arg, NULL, 0); in conv_strtoull() 114 static void FAST_FUNC conv_strtoll(const char *arg, void *result) in conv_strtoll() argument 118 *(long long*)result = bb_strtoll(arg, NULL, 0); in conv_strtoll() 120 static void FAST_FUNC conv_strtod(const char *arg, void *result) in conv_strtod() argument 126 *(double*)result = strtod(arg, &end); in conv_strtod() [all …]
|
D | touch.c | 170 int result = utimensat(AT_FDCWD, *argv, timebuf, in touch_main() local 172 if (result != 0) { in touch_main()
|
D | uudecode.c | 335 char *result = dst_buf; in baseNUM_main() local 341 printf(rem != 0 ? "%.*s" : "%.*s\n", out, result); in baseNUM_main() 347 result += out; in baseNUM_main()
|
/busybox-1.35.0/networking/ |
D | ifupdown.c | 309 int result; in count_netmask_bits() local 319 result = 32; in count_netmask_bits() 322 result--; in count_netmask_bits() 324 return result; in count_netmask_bits() 333 char *result = NULL; in parse() local 338 addstr(&result, command, 1); in parse() 344 addstr(&result, command, 1); in parse() 349 old_pos[opt_depth] = result ? strlen(result) : 0; in parse() 354 addstr(&result, command, 1); in parse() 362 result[old_pos[opt_depth]] = '\0'; in parse() [all …]
|
D | tftp.c | 776 int result; in tftp_main() local 867 result = tftp_protocol( in tftp_main() 875 return result; in tftp_main() 888 int opt, result, opcode; in tftpd_main() local 922 result = recv_from_to(STDIN_FILENO, in tftpd_main() 930 if (result < 4 || result > sizeof(G.block_buf) in tftpd_main() 953 if (mode >= G.block_buf + result || strcasecmp(mode, "octet") != 0) { in tftpd_main() 961 int opt_len = G.block_buf + result - opt_str; in tftpd_main() 1000 result = tftp_protocol( in tftpd_main() 1008 return result; in tftpd_main()
|
/busybox-1.35.0/libpwdgrp/ |
D | pwd_grp.c | 251 char *buffer, void *result) in convert_to_struct() argument 257 memset(result, 0, db->size_of); in convert_to_struct() 260 void *member = (char*)result + (*off++); in convert_to_struct() 292 ((struct group *)result)->gr_mem = members; in convert_to_struct() 311 result = NULL; in convert_to_struct() 312 return result; in convert_to_struct() 317 void **result, in massage_data_for_r_func() argument 320 void *result_buf = *result; in massage_data_for_r_func() 321 *result = NULL; in massage_data_for_r_func() 327 *result = convert_to_struct(db, buffer, result_buf); in massage_data_for_r_func() [all …]
|
/busybox-1.35.0/testsuite/ |
D | md5sum.tests | 31 result=`( 38 if test x"$result" != x"$expected -"; then 39 echo "FAIL: $sum (r:$result exp:$expected)"
|
/busybox-1.35.0/networking/udhcp/ |
D | d6_packet.c | 63 int result = -1; in d6_send_raw_packet_from_client_data_ifindex() local 115 result = sendto(fd, &packet, offsetof(struct ip6_udp_d6_packet, data) + d6_pkt_size, in d6_send_raw_packet_from_client_data_ifindex() 122 if (result < 0) { in d6_send_raw_packet_from_client_data_ifindex() 126 return result; in d6_send_raw_packet_from_client_data_ifindex() 137 int result = -1; in d6_send_kernel_packet_from_client_data_ifindex() local 167 result = safe_write(fd, d6_pkt, d6_pkt_size); in d6_send_kernel_packet_from_client_data_ifindex() 171 if (result < 0) { in d6_send_kernel_packet_from_client_data_ifindex() 175 return result; in d6_send_kernel_packet_from_client_data_ifindex()
|
D | packet.c | 115 int result = -1; in udhcp_send_raw_packet() local 178 result = sendto(fd, &packet, IP_UDP_DHCP_SIZE - padding, /*flags:*/ 0, in udhcp_send_raw_packet() 183 if (result < 0) { in udhcp_send_raw_packet() 187 return result; in udhcp_send_raw_packet() 199 int result = -1; in udhcp_send_kernel_packet() local 246 result = safe_write(fd, dhcp_pkt, DHCP_SIZE - padding); in udhcp_send_kernel_packet() 250 if (result < 0) { in udhcp_send_kernel_packet() 254 return result; in udhcp_send_kernel_packet()
|
/busybox-1.35.0/shell/ |
D | ash_remove_unnecessary_code_in_backquote_expansion.patch | 72 struct backcmd { /* result of evalbackcmd */ 79 @@ -6394,8 +6391,6 @@ evalbackcmd(union node *n, struct backcmd *result) 82 result->fd = -1; 83 - result->buf = NULL; 84 - result->nleft = 0; 85 result->jp = NULL; 88 @@ -6432,8 +6427,7 @@ evalbackcmd(union node *n, struct backcmd *result) 89 result->jp = jp; 93 - result->fd, result->buf, result->nleft, result->jp)); 94 + TRACE(("evalbackcmd done: fd=%d jp=0x%x\n", result->fd, result->jp));
|
/busybox-1.35.0/loginutils/ |
D | passwd.c | 155 struct spwd *result = NULL; in passwd_main() local 157 if (getspnam_r(pw->pw_name, &spw, buffer, sizeof(buffer), &result) != 0 in passwd_main() 158 || !result /* no error, but no record found either */ in passwd_main() 159 || strcmp(result->sp_namp, pw->pw_name) != 0 /* paranoia */ in passwd_main() 171 pw->pw_passwd = result->sp_pwdp; in passwd_main()
|
D | su.c | 55 int result = 1; in restricted_shell() local 60 result = 0; in restricted_shell() 66 return result; in restricted_shell()
|
/busybox-1.35.0/util-linux/ |
D | ipcrm.c | 140 int result; in ipcrm_main() local 194 result = ((c == 'q') ? msgctl(id, IPC_RMID, NULL) : in ipcrm_main() 198 if (result) { in ipcrm_main()
|
D | fsck_minix.c | 511 int block, result; in map_block() local 525 result = check_zone_nr(&ind[blknr / 512], &blk_chg); in map_block() 528 block = result; in map_block() 532 result = check_zone_nr(&ind[blknr % 512], &blk_chg); in map_block() 535 return result; in map_block() 542 int block, result; in map_block2() local 561 result = check_zone_nr2(&ind[blknr / (256 * 256)], &blk_chg); in map_block2() 564 block = result; in map_block2() 568 result = check_zone_nr2(&ind[(blknr / 256) % 256], &blk_chg); in map_block2() 571 block = result; in map_block2() [all …]
|
D | umount.c | 76 static struct mntent *getmntent_r(FILE* stream, struct mntent* result, in getmntent_r() argument 80 return memcpy(result, ment, sizeof(*ment)); in getmntent_r()
|
/busybox-1.35.0/shell/hush_test/hush-redir/ |
D | redir5.tests | 6 # 2. Failure will result in this script hanging
|
/busybox-1.35.0/shell/ash_test/ash-redir/ |
D | redir5.tests | 6 # 2. Failure will result in this script hanging
|
/busybox-1.35.0/shell/ash_test/ash-vars/ |
D | param_expand_len.tests | 21 # IOW: empty result.
|
/busybox-1.35.0/shell/hush_test/hush-vars/ |
D | param_expand_len.tests | 21 # IOW: empty result.
|
/busybox-1.35.0/archival/ |
D | dpkg.c | 292 int result; in version_compare() local 325 result = version_compare_part(upstream_ver1, upstream_ver2); in version_compare() 326 if (result == 0) { in version_compare() 328 result = version_compare_part(deb_ver1, deb_ver2); in version_compare() 333 return result; in version_compare() 1043 int result = 0; in check_deps() local 1048 result = test_version(package_hashtable[deb_file[i]->package]->version, in check_deps() 1053 if (result) { in check_deps() 1118 int result=1; in check_deps() local 1132 result = !package_satisfies_dependency(package_num, package_edge->type); in check_deps() [all …]
|