Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 37) sorted by relevance

12

/busybox-1.35.0/coreutils/
Dtee.c66 char retval; in tee_main() local
75 retval = getopt32(argv, "ia"); /* 'a' must be 2nd */ in tee_main()
79 mode += (retval & 2); /* Since 'a' is the 2nd option... */ in tee_main()
81 if (retval & 1) { in tee_main()
84 retval = EXIT_SUCCESS; in tee_main()
101 retval = EXIT_FAILURE; in tee_main()
123 retval = EXIT_FAILURE; in tee_main()
152 fflush_stdout_and_exit(retval); in tee_main()
Dtty.c42 int retval; in tty_main()
53 retval = EXIT_SUCCESS; in tty_main()
60 retval = EXIT_FAILURE; in tty_main()
65 fflush_stdout_and_exit(retval); in tty_main()
Drealpath.c33 int retval = EXIT_SUCCESS; in realpath_main() local
46 retval = EXIT_FAILURE; in realpath_main()
51 fflush_stdout_and_exit(retval); in realpath_main()
Dmkfifo.c41 int retval = EXIT_SUCCESS; in mkfifo_main() local
53 retval = EXIT_FAILURE; in mkfifo_main()
57 return retval; in mkfifo_main()
Dsort.c259 int flags = option_mask32, retval = 0; in compare_keys() local
265 for (key = key_list; !retval && key; key = key->next_key) { in compare_keys()
284 retval = strverscmp(x, y); in compare_keys()
290 retval = strcoll(x, y); in compare_keys()
292 retval = strcmp(x, y); in compare_keys()
303 retval = (y == yy ? 0 : -1); in compare_keys()
305 retval = 1; in compare_keys()
308 retval = (dy != dy) ? 0 : -1; in compare_keys()
310 retval = 1; in compare_keys()
314 retval = (1.0 / dy == 0.0 && dy < 0) ? 0 : -1; in compare_keys()
[all …]
Dtac.c46 int retval = EXIT_SUCCESS; in tac_main() local
77 retval = EXIT_FAILURE; in tac_main()
102 retval = EXIT_FAILURE; in tac_main()
116 return retval; in tac_main()
Dcat.c112 int retval = EXIT_SUCCESS; in catv() local
135 retval = EXIT_FAILURE; in catv()
143 retval = EXIT_FAILURE; in catv()
162 fflush_stdout_and_exit(retval); in catv()
Dchmod.c109 int retval = EXIT_SUCCESS; in chmod_main() local
146 retval = EXIT_FAILURE; in chmod_main()
150 return retval; in chmod_main()
Dchown.c130 int retval = EXIT_SUCCESS; in chown_main() local
168 retval = EXIT_FAILURE; in chown_main()
172 return retval; in chown_main()
Dhead.c184 int retval = EXIT_SUCCESS; in head_main() local
263 retval = EXIT_FAILURE; in head_main()
266 retval = EXIT_FAILURE; in head_main()
271 fflush_stdout_and_exit(retval); in head_main()
/busybox-1.35.0/networking/udhcp/
Dd6_socket.c19 int retval = 3; in d6_read_interface() local
37 retval &= (3 - (1<<0)); in d6_read_interface()
71 retval &= (3 - (1<<1)); in d6_read_interface()
76 if (retval & (1<<0)) { in d6_read_interface()
93 retval &= (3 - (1<<0)); in d6_read_interface()
98 if (retval == 0) in d6_read_interface()
99 return retval; in d6_read_interface()
101 if (retval & (1<<0)) in d6_read_interface()
103 if (retval & (1<<1)) in d6_read_interface()
105 return retval; in d6_read_interface()
Dcommon.c568 int retval; in udhcp_str2optset() local
594 retval = 0; in udhcp_str2optset()
608 retval = 0; in udhcp_str2optset()
613 retval = udhcp_str2nip(val, buffer); in udhcp_str2optset()
616 retval = udhcp_str2nip(val, buffer); in udhcp_str2optset()
619 retval = 0; in udhcp_str2optset()
620 if (retval) in udhcp_str2optset()
621 retval = udhcp_str2nip(val, buffer + 4); in udhcp_str2optset()
632 retval = 1; in udhcp_str2optset()
643 retval = (errno == 0); in udhcp_str2optset()
[all …]
/busybox-1.35.0/libbb/
Dxgethostbyname.c13 struct hostent *retval = gethostbyname(name); in xgethostbyname() local
14 if (!retval) in xgethostbyname()
16 return retval; in xgethostbyname()
Dbb_cat.c14 int retval = EXIT_SUCCESS; in bb_cat() local
29 retval = EXIT_FAILURE; in bb_cat()
32 return retval; in bb_cat()
Dfflush_stdout_and_exit.c14 void FAST_FUNC fflush_stdout_and_exit(int retval) in fflush_stdout_and_exit() argument
16 xfunc_error_retval = retval; in fflush_stdout_and_exit()
Dcopy_file.c86 smallint retval = 0; in copy_file() local
193 retval = -1; in copy_file()
205 retval = -1; in copy_file()
351 retval = ioctl(dst_fd, BTRFS_IOC_CLONE, src_fd); in copy_file()
352 if (retval == 0) in copy_file()
360 retval = 0; in copy_file()
364 retval = -1; in copy_file()
369 retval = -1; in copy_file()
376 return retval; in copy_file()
448 return retval; in copy_file()
/busybox-1.35.0/procps/
Dsysctl.c128 int fd, retval = EXIT_SUCCESS; in sysctl_act_on_setting() local
151 retval = EXIT_FAILURE; in sysctl_act_on_setting()
159 retval = EXIT_FAILURE; in sysctl_act_on_setting()
188 retval = EXIT_FAILURE; in sysctl_act_on_setting()
208 retval = EXIT_FAILURE; in sysctl_act_on_setting()
232 return retval; in sysctl_act_on_setting()
238 int retval = 0; in sysctl_act_recursive() local
256 retval |= sysctl_act_recursive((next[0] == '.' && next[1] == '/') ? in sysctl_act_recursive()
263 retval |= sysctl_act_on_setting(name); in sysctl_act_recursive()
267 return retval; in sysctl_act_recursive()
[all …]
Dfuser.c113 smallint retval; in scan_proc_net_or_maps() local
143 retval = 0; in scan_proc_net_or_maps()
161 retval = search_dev_inode(&statbuf); in scan_proc_net_or_maps()
162 if (retval) in scan_proc_net_or_maps()
169 return retval; in scan_proc_net_or_maps()
177 smallint retval; in scan_recursive() local
184 retval = 0; in scan_recursive()
213 retval = 1; in scan_recursive()
244 retval = stop_scan; in scan_recursive()
249 retval = stop_scan; in scan_recursive()
[all …]
/busybox-1.35.0/miscutils/
Dreadahead.c43 int retval = EXIT_SUCCESS; in readahead_main() local
63 retval = EXIT_FAILURE; in readahead_main()
66 return retval; in readahead_main()
/busybox-1.35.0/util-linux/
Drev.c54 int retval; in rev_main() local
65 retval = EXIT_SUCCESS; in rev_main()
74 retval = EXIT_FAILURE; in rev_main()
120 fflush_stdout_and_exit(retval); in rev_main()
Drenice.c48 int retval = EXIT_SUCCESS; in renice_main() local
133 retval = EXIT_FAILURE; in renice_main()
139 return retval; in renice_main()
/busybox-1.35.0/editors/
Dcmp.c54 int retval = 0; in cmp_main() local
108 retval = 1; /* But assume the files are different for now. */ in cmp_main()
147 fflush_stdout_and_exit(retval); in cmp_main()
/busybox-1.35.0/shell/
Dshell_common.c47 const char *retval; in shell_builtin_read() local
165 retval = (const char *)(uintptr_t)0; in shell_builtin_read()
188 retval = (const char *)(uintptr_t)1; in shell_builtin_read()
202 retval = (const char *)(uintptr_t)1; in shell_builtin_read()
207 retval = (const char *)(uintptr_t)1; in shell_builtin_read()
316 return retval; in shell_builtin_read()
/busybox-1.35.0/networking/libiproute/
Dlibnetlink.c128 int retval = -1; in rtnl_dump_filter() local
196 retval = err; in rtnl_dump_filter()
212 retval++; /* = 0 */ in rtnl_dump_filter()
215 return retval; in rtnl_dump_filter()
239 int retval = -1; in rtnl_talk() local
355 retval++; /* = 0 */ in rtnl_talk()
358 return retval; in rtnl_talk()
/busybox-1.35.0/scripts/kconfig/lxdialog/
Dlxdialog.c56 int offset = 0, opt_clear = 0, end_common_opts = 0, retval; in main() local
123 retval = (*(modePtr->jumper)) (title, argc - offset, argv + offset); in main()
131 exit(retval); in main()

12