Home
last modified time | relevance | path

Searched refs:exitval (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/toybox/toys/lsb/
Dpidof.c34 xprintf(" %s"+!!toys.exitval, toybuf);
35 toys.exitval = 0;
42 toys.exitval = 1; in pidof_main()
44 if (!toys.exitval) xputc('\n'); in pidof_main()
/third_party/toybox/toys/other/
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()
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()
Dreboot.c33 if (toys.optflags & FLAG_f) toys.exitval = reboot(types[idx]); in reboot_main()
34 else toys.exitval = kill(1, sigs[idx]); in reboot_main()
Dnsenter.c140 toys.exitval = xrun(toys.optargs); in unshare_main()
165 toys.exitval = xrun(toys.optargs); in unshare_main()
Dusleep.c25 toys.exitval = !!nanosleep(&tv, NULL); in usleep_main()
Dchroot.c28 toys.exitval = 125; in chroot_main()
Dpwdx.c28 toys.exitval = 1; in pwdx_main()
Dflock.c36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1; in flock_main()
Dreadlink.c41 } else toys.exitval = 1; in readlink_main()
/third_party/toybox/toys/posix/
Dcmp.c44 toys.exitval = 0;
53 toys.exitval = 1;
69 toys.exitval = 1;
80 toys.exitval = 2; in cmp_main()
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()
Dnohup.c24 toys.exitval = 125; in nohup_main()
42 toys.exitval = 0; in nohup_main()
Dtest.c96 toys.exitval = 2; in test_main()
159 toys.exitval = !result; in test_main()
Dfalse.c20 toys.exitval = 1; in false_main()
Dtty.c31 toys.exitval = !tty; in tty_main()
Dsleep.c29 toys.exitval = !!nanosleep(&tv, NULL); in sleep_main()
Dnice.c36 toys.exitval = 125;
/third_party/ffmpeg/tools/
Dmake_chlayout_test66 "help|usage|?|h" => sub { pod2usage({ -verbose => 1, -exitval => 0 }) },
67 "manpage|m" => sub { pod2usage({ -verbose => 2, -exitval => 0 }) },
68 ) and @ARGV >= 2 or pod2usage({ -verbose => 1, -exitval => 1 });
Dplotframes93 'help|usage|?|h' => sub { pod2usage ( { -verbose => 1, -exitval => 0 }) },
94 'manpage|m' => sub { pod2usage ( { -verbose => 2, -exitval => 0 }) },
98 ) or pod2usage( { -message=> "Parsing error", -verbose => 1, -exitval => 1 });
Ddvd2concat52 "help|usage|?|h" => sub { pod2usage({ -verbose => 1, -exitval => 0 }) },
53 "manpage|m" => sub { pod2usage({ -verbose => 2, -exitval => 0 }) },
55 ) and @ARGV == 1 or pod2usage({ -verbose => 1, -exitval => 1 });
/third_party/toybox/toys/pending/
Duseradd.c140 toys.exitval = xrun((char *[]){"cp", "-R", skel, p, 0});
141 else toys.exitval = xrun((char *[]){"mkdir", "-p", p, 0});
142 if (!toys.exitval)
143 toys.exitval |= xrun((char *[]){"chown", "-R",
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()
/third_party/protobuf/kokoro/linux/
Dmake_test_output.py43 exitval = values[6]
44 if int(exitval):
/third_party/toybox/porting/liteos_a/toys/other/
Dreboot.c26 toys.exitval = reboot(types[idx]); in reboot_main()

1234