/busybox-1.35.0/libbb/ |
D | isdirectory.c | 18 int status; in is_directory() local 22 status = stat(fileName, &statBuf); in is_directory() 24 status = lstat(fileName, &statBuf); in is_directory() 26 status = (status == 0 && S_ISDIR(statBuf.st_mode)); in is_directory() 28 return status; in is_directory()
|
D | recursive_action.c | 71 int status; in recursive_action1() local 79 status = (follow ? stat : lstat)(fileName, &statbuf); in recursive_action1() 80 if (status < 0) { in recursive_action1() 82 bb_error_msg("status=%d flags=%x", status, state->flags); in recursive_action1() 110 status = state->dirAction(state, fileName, &statbuf); in recursive_action1() 111 if (status == FALSE) in recursive_action1() 113 if (status == SKIP) in recursive_action1() 124 status = TRUE; in recursive_action1() 137 status = FALSE; in recursive_action1() 154 return status; in recursive_action1()
|
D | remove_file.c | 32 int status = 0; in remove_file() local 60 status = -1; in remove_file() 69 return status; in remove_file() 72 if (status == 0 && rmdir(path) < 0) { in remove_file() 81 return status; in remove_file()
|
D | copyfd.c | 31 int status = -1; in bb_full_fd_action() local 56 status = 1; /* copy until eof */ in bb_full_fd_action() 95 status = 0; in bb_full_fd_action() 110 if (status < 0) { /* if we aren't copying till EOF... */ in bb_full_fd_action() 114 status = 0; in bb_full_fd_action() 126 return status ? -1 : total; in bb_full_fd_action()
|
/busybox-1.35.0/testsuite/ |
D | runtest | 18 status=0 45 sh -x -e "$testcase" >"$testname.stdout.txt" 2>&1 || status=$? 46 if [ $status -ne 0 ]; then 58 return $status 65 local status=0 78 status=1 82 return $status 140 status=0 144 run_oldstyle_applet_tests "$applet" || status=1 161 test $rc -ne 0 && status=1 [all …]
|
/busybox-1.35.0/networking/libiproute/ |
D | libnetlink.c | 60 int status; in rtnl_send_check() local 63 status = write(rth->fd, buf, len); in rtnl_send_check() 64 if (status < 0) in rtnl_send_check() 65 return status; in rtnl_send_check() 68 status = recv(rth->fd, resp, sizeof(resp), MSG_DONTWAIT|MSG_PEEK); in rtnl_send_check() 69 if (status < 0) { in rtnl_send_check() 76 NLMSG_OK(h, status); in rtnl_send_check() 77 h = NLMSG_NEXT(h, status) in rtnl_send_check() 134 int status; in rtnl_dump_filter() local 147 status = recvmsg(rth->fd, &msg, 0); in rtnl_dump_filter() [all …]
|
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | checklist.c | 31 static void print_item(WINDOW * win, const char *item, int status, int choice, in print_item() argument 44 wprintw(win, "(%c)", status ? 'X' : ' '); in print_item() 116 int key = 0, button = 0, choice = 0, scroll = 0, max_choice, *status; in dialog_checklist() local 120 if ((status = malloc(sizeof(int) * item_no)) == NULL) { in dialog_checklist() 129 status[i] = !strcasecmp(items[i * 3 + 2], "on"); in dialog_checklist() 130 if ((!choice && status[i]) in dialog_checklist() 191 status[i + scroll], i, i == choice); in dialog_checklist() 221 status[scroll], 0, FALSE); in dialog_checklist() 227 print_item(list, items[scroll * 3 + 1], status[scroll], 0, TRUE); in dialog_checklist() 245 status[scroll + max_choice - 1], in dialog_checklist() [all …]
|
/busybox-1.35.0/miscutils/ |
D | setfattr.c | 35 int status; in setfattr_main() local 50 status = EXIT_SUCCESS; in setfattr_main() 63 status = EXIT_FAILURE; in setfattr_main() 67 return status; in setfattr_main()
|
D | strings.c | 43 int n, c, status = EXIT_SUCCESS; in strings_main() local 76 status = EXIT_FAILURE; in strings_main() 115 fflush_stdout_and_exit(status); in strings_main()
|
/busybox-1.35.0/coreutils/ |
D | id.c | 155 int status = EXIT_SUCCESS; in id_main() local 201 status |= print_user(ruid, "uid="); in id_main() 202 status |= print_group(rgid, " gid="); in id_main() 204 status |= print_user(euid, " euid="); in id_main() 206 status |= print_group(egid, " egid="); in id_main() 209 status |= print_group(rgid, NULL); in id_main() 211 status |= print_group(egid, " "); in id_main() 229 status |= print_group(groups[i], opt ? " " : prefix); in id_main() 251 status |= print_user(euid, NULL); in id_main() 253 status |= print_group(egid, NULL); in id_main() [all …]
|
D | rm.c | 45 int status = 0; in rm_main() local 69 status = 1; in rm_main() 75 return status; in rm_main()
|
D | rmdir.c | 46 int status = EXIT_SUCCESS; in rmdir_main() local 79 status = EXIT_FAILURE; in rmdir_main() 94 return status; in rmdir_main()
|
D | ln.c | 55 int status = EXIT_SUCCESS; in ln_main() local 121 status = EXIT_FAILURE; in ln_main() 132 status = EXIT_FAILURE; in ln_main() 158 status = EXIT_FAILURE; in ln_main() 164 return status; in ln_main()
|
D | mkdir.c | 55 int status = EXIT_SUCCESS; in mkdir_main() local 98 status = EXIT_FAILURE; in mkdir_main() 102 return status; in mkdir_main()
|
D | timeout.c | 69 int status; in timeout_main() local 142 wait(&status); /* wait for child to die */ in timeout_main() 144 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in timeout_main()
|
/busybox-1.35.0/findutils/ |
D | xargs.c | 152 int status; in xargs_exec() local 155 status = spawn_and_wait(G.args); in xargs_exec() 158 status = spawn_and_wait(G.args); in xargs_exec() 174 status = WIFSIGNALED(wstat) in xargs_exec() 177 if (status > 0 && status < 255) { in xargs_exec() 180 status = 0; in xargs_exec() 182 if (status == 0) in xargs_exec() 189 status = spawn(G.args); in xargs_exec() 191 if (status > 0) { in xargs_exec() 193 status = 0; in xargs_exec() [all …]
|
/busybox-1.35.0/archival/libarchive/ |
D | data_extract_to_command.c | 78 int p[2], status; in data_extract_to_command() local 114 status = wait_for_exitstatus(pid); in data_extract_to_command() 115 if (WIFEXITED(status) && WEXITSTATUS(status)) in data_extract_to_command() 117 archive_handle->tar__to_command, WEXITSTATUS(status)); in data_extract_to_command() 118 if (WIFSIGNALED(status)) in data_extract_to_command() 120 archive_handle->tar__to_command, WTERMSIG(status)); in data_extract_to_command()
|
/busybox-1.35.0/testsuite/dd/ |
D | dd-reports-write-errors | 1 busybox dd if="$0" of=/dev/full 2>/dev/null || status=$? 2 test $status = 1
|
/busybox-1.35.0/debianutils/ |
D | which.c | 35 int status = 0; in which_main() local 70 status |= missing; in which_main() 73 return status; in which_main()
|
/busybox-1.35.0/mailutils/ |
D | mail.c | 29 #define status signo in signal_handler() macro 30 if (safe_waitpid(G.helper_pid, &status, WNOHANG) > 0) { in signal_handler() 32 if (WIFSIGNALED(status)) in signal_handler() 33 bb_error_msg_and_die("helper killed by signal %u", WTERMSIG(status)); in signal_handler() 34 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) in signal_handler() 35 bb_error_msg_and_die("helper exited (%u)", WEXITSTATUS(status)); in signal_handler() 37 #undef status in signal_handler()
|
/busybox-1.35.0/shell/ash_test/ash-signals/ |
D | sigquit_exec.tests | 3 grep SigIgn: /proc/self/status 4 exec grep SigIgn: /proc/self/status
|
/busybox-1.35.0/shell/hush_test/hush-signals/ |
D | sigquit_exec.tests | 3 grep SigIgn: /proc/self/status 4 exec grep SigIgn: /proc/self/status
|
/busybox-1.35.0/scripts/ |
D | gen_build_files.sh | 18 status() { printf ' %-8s%s\n' "$1" "$2"; } function 19 gen() { status "GEN" "$@"; } 20 chk() { status "CHK" "$@"; }
|
/busybox-1.35.0/shell/hush_test/hush-misc/ |
D | exitcode2.tests | 1 # syntax error should return status 2 10 # redirection error with special builtin should return status 1
|
/busybox-1.35.0/shell/ash_test/ash-misc/ |
D | exitcode2.tests | 1 # syntax error should return status 2 10 # redirection error with special builtin should return status 1
|