Home
last modified time | relevance | path

Searched refs:exitval (Results 1 - 25 of 130) sorted by relevance

123456

/third_party/toybox/toys/lsb/
H A Dpidof.c34 xprintf(" %s"+!!toys.exitval, toybuf); in print_pid()
35 toys.exitval = 0; in print_pid()
42 toys.exitval = 1; in pidof_main()
44 if (!toys.exitval) xputc('\n'); in pidof_main()
/third_party/toybox/toys/other/
H A Dtimeout.c45 toys.exitval = (TT.nextsig==9) ? 137 : 124; in handler()
69 toys.exitval = 125; in timeout_main()
79 toys.exitval = 0; in timeout_main()
88 if (FLAG(preserve_status) || !toys.exitval) toys.exitval = status; in timeout_main()
H A Dmountpoint.c28 toys.exitval++; in die()
61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
65 printf("%s is %sa mountpoint\n", *toys.optargs, toys.exitval ? "not " : ""); in mountpoint_main()
H A Dreboot.c44 if (FLAG(f)) toys.exitval = reboot(types[idx]); in reboot_main()
45 else toys.exitval = kill(1, sigs[idx]); in reboot_main()
H A Dnsenter.c140 toys.exitval = xrun(toys.optargs); in unshare_main()
165 toys.exitval = xrun(toys.optargs); in unshare_main()
H A Dchroot.c28 toys.exitval = 125; in chroot_main()
H A Dusleep.c25 toys.exitval = !!nanosleep(&tv, NULL); in usleep_main()
H A Dpwdx.c28 toys.exitval = 1; in pwdx_main()
H A Dflock.c36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1; in flock_main()
H A Dprintenv.c39 if (*var && !catch) toys.exitval = 1; in printenv_main()
H A Dreadlink.c41 } else toys.exitval = 1; in readlink_main()
H A Dwhich.c67 toys.exitval |= which_in_path(toys.optargs[i]); in which_main()
/third_party/toybox/toys/posix/
H A Dcmp.c44 toys.exitval = 0; in do_cmp()
53 toys.exitval = 1; in do_cmp()
69 toys.exitval = 1; in do_cmp()
80 toys.exitval = 2; in cmp_main()
H A Dxargs.c192 toys.exitval = WEXITSTATUS(status); in xargs_main()
195 toys.exitval = 123; in xargs_main()
198 toys.exitval = 124; in xargs_main()
201 } else toys.exitval = 127; in xargs_main()
H A Dnohup.c24 toys.exitval = 125; in nohup_main()
42 toys.exitval = 0; in nohup_main()
H A Dtest.c96 toys.exitval = 2; in test_main()
159 toys.exitval = !result; in test_main()
H A Dfalse.c22 toys.exitval = 1; in false_main()
H A Dsleep.c29 toys.exitval = !!nanosleep(&ts, NULL); in sleep_main()
H A Dtty.c31 toys.exitval = !tty; in tty_main()
H A Dnice.c36 toys.exitval = 125; in nice_main()
/third_party/toybox/toys/pending/
H A Duseradd.c140 toys.exitval = xrun((char *[]){"cp", "-R", skel, p, 0}); in useradd_main()
141 else toys.exitval = xrun((char *[]){"mkdir", "-p", p, 0}); in useradd_main()
142 if (!toys.exitval) in useradd_main()
143 toys.exitval |= xrun((char *[]){"chown", "-R", in useradd_main()
H A Dsh.c489 pp->exit = toys.exitval; in run_command()
1078 if (!blk) toys.exitval = run_pipeline(&pl, 0); in run_function()
1079 else if (blk->run) toys.exitval = run_pipeline(&pl, blk->redir); in run_function()
1140 if (!strcmp(s, "then")) blk->run = blk->run && !toys.exitval; in run_function()
1144 if (!strcmp(ss, "while")) blk->run = blk->run && !toys.exitval; in run_function()
1145 else if (!strcmp(ss, "until")) blk->run = blk->run && toys.exitval; in run_function()
1284 toys.exitval = f && ferror(f); in sh_main()
H A Dexpr.c250 toys.exitval = 2; // if exiting early, indicate error in expr_main()
258 toys.exitval = is_false(&ret); in expr_main()
/third_party/protobuf/kokoro/linux/
H A Dmake_test_output.py43 exitval = values[6]
44 if int(exitval):
/third_party/toybox/porting/liteos_a/toys/other/
H A Dreboot.c26 toys.exitval = reboot(types[idx]); in reboot_main()

Completed in 8 milliseconds

123456