Home
last modified time | relevance | path

Searched refs:EXIT_FAILURE (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/external/kmod/testsuite/
Dtest-array.c36 assert_return(array.count == 1, EXIT_FAILURE); in test_array_append1()
37 assert_return(array.array[0] == c1, EXIT_FAILURE); in test_array_append1()
57 assert_return(array.count == 3, EXIT_FAILURE); in test_array_append2()
58 assert_return(array.array[0] == c1, EXIT_FAILURE); in test_array_append2()
59 assert_return(array.array[1] == c2, EXIT_FAILURE); in test_array_append2()
60 assert_return(array.array[2] == c3, EXIT_FAILURE); in test_array_append2()
82 assert_return(array.count == 3, EXIT_FAILURE); in test_array_append_unique()
83 assert_return(array.array[0] == c1, EXIT_FAILURE); in test_array_append_unique()
84 assert_return(array.array[1] == c2, EXIT_FAILURE); in test_array_append_unique()
85 assert_return(array.array[2] == c3, EXIT_FAILURE); in test_array_append_unique()
[all …]
Dtest-list.c46 assert_return(len(list) == N, EXIT_FAILURE); in test_list_last()
49 assert_return(last->data == v[N - 1], EXIT_FAILURE); in test_list_last()
65 assert_return(l == NULL, EXIT_FAILURE); in test_list_prev()
71 assert_return(l == NULL, EXIT_FAILURE); in test_list_prev()
77 assert_return(p->data == v[i], EXIT_FAILURE); in test_list_prev()
95 assert_return(len(list) == N, EXIT_FAILURE); in test_list_remove_n_latest()
98 assert_return(len(list) == N - M, EXIT_FAILURE); in test_list_remove_n_latest()
102 assert_return(l->data == v[i], EXIT_FAILURE); in test_list_remove_n_latest()
124 assert_return(len(list) == N - 1, EXIT_FAILURE); in test_list_remove_data()
127 assert_return(l->data != removed, EXIT_FAILURE); in test_list_remove_data()
[all …]
Dtest-scratchbuf.c34 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
35 assert_return(sbuf.need_free == false, EXIT_FAILURE); in test_scratchbuf_onlystack()
39 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
40 assert_return(sbuf.need_free == false, EXIT_FAILURE); in test_scratchbuf_onlystack()
44 assert_return(strcmp(scratchbuf_str(&sbuf), smallstr) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
63 assert_return(scratchbuf_alloc(&sbuf, strlen(smallstr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
64 assert_return(sbuf.need_free == false, EXIT_FAILURE); in test_scratchbuf_heap()
68 assert_return(scratchbuf_alloc(&sbuf, strlen(largestr) + 1) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
69 assert_return(sbuf.need_free == true, EXIT_FAILURE); in test_scratchbuf_heap()
70 assert_return(sbuf.size == strlen(largestr) + 1, EXIT_FAILURE); in test_scratchbuf_heap()
[all …]
Dtest-hash.c40 assert_return(h != NULL, EXIT_FAILURE); in test_hash_new()
58 assert_return(hash_get_count(h) == 3, EXIT_FAILURE); in test_hash_get_count()
82 assert_return(r == 0, EXIT_FAILURE); in test_hash_replace()
83 assert_return(hash_get_count(h) == 3, EXIT_FAILURE); in test_hash_replace()
86 assert_return(streq(v, v4), EXIT_FAILURE); in test_hash_replace()
88 assert_return(freecount == 1, EXIT_FAILURE); in test_hash_replace()
109 assert_return(r == 0, EXIT_FAILURE); in test_hash_replace_failing()
113 assert_return(r != 0, EXIT_FAILURE); in test_hash_replace_failing()
114 assert_return(hash_get_count(h) == 3, EXIT_FAILURE); in test_hash_replace_failing()
117 assert_return(streq(v, v1), EXIT_FAILURE); in test_hash_replace_failing()
[all …]
Dtest-modprobe.c38 exit(EXIT_FAILURE); in modprobe_show_depends()
60 exit(EXIT_FAILURE); in modprobe_show_depends2()
83 exit(EXIT_FAILURE); in modprobe_show_alias_to_none()
108 exit(EXIT_FAILURE); in modprobe_show_exports()
131 exit(EXIT_FAILURE); in modprobe_builtin()
150 exit(EXIT_FAILURE); in modprobe_builtin_lookup_only()
172 exit(EXIT_FAILURE); in modprobe_softdep_loop()
194 exit(EXIT_FAILURE); in modprobe_install_cmd_loop()
220 exit(EXIT_FAILURE); in modprobe_param_kcmdline()
244 exit(EXIT_FAILURE); in modprobe_param_kcmdline2()
[all …]
Dtest-testsuite.c43 exit(EXIT_FAILURE); in testsuite_uname()
49 exit(EXIT_FAILURE); in testsuite_uname()
69 return EXIT_FAILURE;; in testsuite_rootfs_fopen()
73 return EXIT_FAILURE; in testsuite_rootfs_fopen()
76 return EXIT_FAILURE; in testsuite_rootfs_fopen()
94 return EXIT_FAILURE; in testsuite_rootfs_open()
109 return EXIT_FAILURE; in testsuite_rootfs_open()
126 return EXIT_FAILURE; in testsuite_rootfs_stat_access()
131 return EXIT_FAILURE; in testsuite_rootfs_stat_access()
150 return EXIT_FAILURE; in testsuite_rootfs_opendir()
/external/nos/host/android/citadel/validation/
Dcitadel_validation_tool.cpp169 return EXIT_FAILURE; in CmdStressSpi()
174 return EXIT_FAILURE; in CmdStressSpi()
186 return EXIT_FAILURE; in CmdStressSpi()
193 return EXIT_FAILURE; in CmdStressSpi()
200 return EXIT_FAILURE; in CmdStressSpi()
220 ret = EXIT_FAILURE; in CmdHealthCheck()
226 ret = EXIT_FAILURE; in CmdHealthCheck()
232 ret = EXIT_FAILURE; in CmdHealthCheck()
238 ret = EXIT_FAILURE; in CmdHealthCheck()
244 ret = EXIT_FAILURE; in CmdHealthCheck()
[all …]
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_unittest.cc37 exit(EXIT_FAILURE); in TestMultipleOpen()
41 exit(EXIT_FAILURE); in TestMultipleOpen()
55 exit(EXIT_FAILURE); in TestMultipleInit()
59 exit(EXIT_FAILURE); in TestMultipleInit()
65 exit(EXIT_FAILURE); in TestMultipleInit()
72 exit(EXIT_FAILURE); in TestMultipleInit()
87 exit(EXIT_FAILURE); in TestEnumInputAndStandard()
99 exit(EXIT_FAILURE); in TestEnumControl()
110 exit(EXIT_FAILURE); in TestSetControl()
116 exit(EXIT_FAILURE); in TestSetControl()
[all …]
/external/epid-sdk/tools/revokekey/src/
Dmain.c52 int retval = EXIT_FAILURE; in OpenKey()
57 return EXIT_FAILURE; in OpenKey()
62 return EXIT_FAILURE; in OpenKey()
69 return EXIT_FAILURE; in OpenKey()
73 return EXIT_FAILURE; in OpenKey()
83 retval = EXIT_FAILURE; in OpenKey()
88 retval = EXIT_FAILURE; in OpenKey()
92 retval = EXIT_FAILURE; in OpenKey()
96 retval = EXIT_FAILURE; in OpenKey()
103 retval = EXIT_FAILURE; in OpenKey()
[all …]
/external/elfutils/tests/
Dvarlocs.c126 error (EXIT_FAILURE, 0, "not a base type"); in print_base_type()
132 error (EXIT_FAILURE, 0, "base type without encoding"); in print_base_type()
141 error (EXIT_FAILURE, 0, "base type without byte or bit size"); in print_base_type()
197 error (EXIT_FAILURE, 0, "print_expr recursion depth exceeded"); in print_expr()
263 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
267 error (EXIT_FAILURE, 0, "DW_OP_call_frame_cfa used but no cfi found."); in print_expr()
277 error (EXIT_FAILURE, 0, "dwarf_frame_cfa 0x%" PRIx64 ": %s", in print_expr()
280 error (EXIT_FAILURE, 0, "dwarf_frame_cfa no ops"); in print_expr()
291 error (EXIT_FAILURE, 0, "dwarf_cfi_addrframe 0x%" PRIx64 ": %s", in print_expr()
300 error (EXIT_FAILURE, 0, "%s used in CFI", opname); in print_expr()
[all …]
Dnext_cfi.c47 error (EXIT_FAILURE, 0, "Couldn't get section header: %s", in handle_section()
52 error (EXIT_FAILURE, 0, "Couldn't decompress section: %s", in handle_section()
58 error (EXIT_FAILURE, 0, "Couldn't decompress section: %s", in handle_section()
64 error (EXIT_FAILURE, 0, "no section data"); in handle_section()
86 error (EXIT_FAILURE, 0, "FDE doesn't point to CIE"); in handle_section()
91 error (EXIT_FAILURE, 0, "dwarf_next_cfi failed: %s\n", in handle_section()
99 error (EXIT_FAILURE, 0, "need file name argument"); in main()
106 error (EXIT_FAILURE, errno, "cannot open input file `%s'", file); in main()
112 error (EXIT_FAILURE, 0, "cannot create ELF descriptor: %s", in main()
119 error (EXIT_FAILURE, 0, "no, or too small, ELF ident"); in main()
[all …]
Ddwfllines.c79 error (EXIT_FAILURE, 0, "dwarf_lineaddr: %s", in main()
85 error (EXIT_FAILURE, 0, "dwarf_lineop_index: %s", in main()
90 error (EXIT_FAILURE, 0, "dwarf_lineno: %s", in main()
96 error (EXIT_FAILURE, 0, "dwarf_lineno: %s", in main()
102 error (EXIT_FAILURE, 0, "dwarf_linebeginstatement: %s", in main()
107 error (EXIT_FAILURE, 0, "dwarf_lineendsequence: %s", in main()
112 error (EXIT_FAILURE, 0, "dwarf_lineprologueend: %s", in main()
117 error (EXIT_FAILURE, 0, "dwarf_lineepiloguebegin: %s", in main()
122 error (EXIT_FAILURE, 0, "dwarf_lineblock: %s", in main()
127 error (EXIT_FAILURE, 0, "dwarf_lineisa: %s", in main()
[all …]
/external/epid-sdk/example/signmsg/src/
Dmain.c159 ret_value = EXIT_FAILURE; in main()
192 ret_value = EXIT_FAILURE; in main()
198 ret_value = EXIT_FAILURE; in main()
206 ret_value = EXIT_FAILURE; in main()
216 ret_value = EXIT_FAILURE; in main()
226 ret_value = EXIT_FAILURE; in main()
236 ret_value = EXIT_FAILURE; in main()
256 ret_value = EXIT_FAILURE; in main()
265 ret_value = EXIT_FAILURE; in main()
274 ret_value = EXIT_FAILURE; in main()
[all …]
/external/selinux/policycoreutils/secon/
Dsecon.c205 usage(program_name, EXIT_FAILURE); in cmd_line()
324 err(EXIT_FAILURE, " Nothing to display"); in cmd_line()
341 errx(EXIT_FAILURE, "SELinux is not enabled"); in cmd_line()
396 err(EXIT_FAILURE, in get_scon()
399 err(EXIT_FAILURE, in get_scon()
411 err(EXIT_FAILURE, in get_scon()
419 err(EXIT_FAILURE, in get_scon()
422 err(EXIT_FAILURE, in get_scon()
432 err(EXIT_FAILURE, in get_scon()
439 err(EXIT_FAILURE, in get_scon()
[all …]
/external/epid-sdk/example/verifysig/src/
Dmain.c188 ret_value = EXIT_FAILURE; in main()
221 ret_value = EXIT_FAILURE; in main()
227 ret_value = EXIT_FAILURE; in main()
235 ret_value = EXIT_FAILURE; in main()
245 ret_value = EXIT_FAILURE; in main()
255 ret_value = EXIT_FAILURE; in main()
265 ret_value = EXIT_FAILURE; in main()
289 ret_value = EXIT_FAILURE; in main()
298 ret_value = EXIT_FAILURE; in main()
308 ret_value = EXIT_FAILURE; in main()
[all …]
/external/epid-sdk/tools/revokegrp/src/
Dmain.c92 int ret_value = EXIT_FAILURE; in main()
135 ret_value = EXIT_FAILURE; in main()
166 ret_value = EXIT_FAILURE; in main()
174 ret_value = EXIT_FAILURE; in main()
220 int ret_value = EXIT_FAILURE; in MakeRequest()
224 ret_value = EXIT_FAILURE; in MakeRequest()
231 ret_value = EXIT_FAILURE; in MakeRequest()
238 ret_value = EXIT_FAILURE; in MakeRequest()
248 ret_value = EXIT_FAILURE; in MakeRequest()
255 ret_value = EXIT_FAILURE; in MakeRequest()
[all …]
/external/autotest/client/tests/memory_api/
Dmemory_api.c32 exit(EXIT_FAILURE); in main()
42 exit(EXIT_FAILURE); in main()
54 exit(EXIT_FAILURE); in main()
70 exit(EXIT_FAILURE); in main()
80 exit(EXIT_FAILURE); in main()
91 exit(EXIT_FAILURE); in main()
110 exit(EXIT_FAILURE); in main()
124 exit(EXIT_FAILURE); in main()
130 exit(EXIT_FAILURE); in main()
142 exit(EXIT_FAILURE); in main()
[all …]
/external/u-boot/tools/
Dmkenvimage.c65 exit(EXIT_FAILURE); in xstrtol()
103 return EXIT_FAILURE; in main()
125 return EXIT_FAILURE; in main()
129 return EXIT_FAILURE; in main()
137 return EXIT_FAILURE; in main()
144 return EXIT_FAILURE; in main()
167 return EXIT_FAILURE; in main()
173 return EXIT_FAILURE; in main()
184 return EXIT_FAILURE; in main()
191 return EXIT_FAILURE; in main()
[all …]
Dmkimage.c117 exit(EXIT_FAILURE); in usage()
153 exit(EXIT_FAILURE); in process_args()
168 exit(EXIT_FAILURE); in process_args()
193 exit(EXIT_FAILURE); in process_args()
242 exit(EXIT_FAILURE); in process_args()
333 exit (EXIT_FAILURE); in main()
376 exit (EXIT_FAILURE); in main()
387 exit (EXIT_FAILURE); in main()
394 exit (EXIT_FAILURE); in main()
402 exit (EXIT_FAILURE); in main()
[all …]
/external/libopus/src/
Drepacketizer_demo.c72 return EXIT_FAILURE; in main()
82 return EXIT_FAILURE; in main()
87 return EXIT_FAILURE; in main()
96 return EXIT_FAILURE; in main()
103 return EXIT_FAILURE; in main()
110 return EXIT_FAILURE; in main()
134 return EXIT_FAILURE; in main()
166 return EXIT_FAILURE; in main()
171 return EXIT_FAILURE; in main()
175 return EXIT_FAILURE; in main()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-tcpclient.c78 if (exit_value == EXIT_FAILURE) in usage()
122 exit(EXIT_FAILURE); in set_signal_flag()
166 exit(EXIT_FAILURE); in main()
178 usage(program_name, EXIT_FAILURE); in main()
190 usage(program_name, EXIT_FAILURE); in main()
201 usage(program_name, EXIT_FAILURE); in main()
222 usage(program_name, EXIT_FAILURE); in main()
229 usage(program_name, EXIT_FAILURE); in main()
235 usage(program_name, EXIT_FAILURE); in main()
241 usage(program_name, EXIT_FAILURE); in main()
[all …]
Dns-mcast_receiver.c89 if (exit_value == EXIT_FAILURE) in usage()
137 exit(EXIT_FAILURE); in set_signal_flag()
183 usage(program_name, EXIT_FAILURE); in parse_options()
192 usage(program_name, EXIT_FAILURE); in parse_options()
210 usage(program_name, EXIT_FAILURE); in parse_options()
226 usage(program_name, EXIT_FAILURE); in parse_options()
236 usage(program_name, EXIT_FAILURE); in parse_options()
254 usage(program_name, EXIT_FAILURE); in parse_options()
260 usage(program_name, EXIT_FAILURE); in parse_options()
265 usage(program_name, EXIT_FAILURE); in parse_options()
[all …]
/external/libdivsufsort/examples/
Dmksary.c82 if(argc != 3) { print_help(argv[0], EXIT_FAILURE); }
93 exit(EXIT_FAILURE);
100 exit(EXIT_FAILURE);
117 exit(EXIT_FAILURE);
124 exit(EXIT_FAILURE);
139 exit(EXIT_FAILURE);
143 exit(EXIT_FAILURE);
148 exit(EXIT_FAILURE);
156 exit(EXIT_FAILURE);
166 exit(EXIT_FAILURE);
[all …]
Dsuftest.c82 if(argc != 2) { print_help(argv[0], EXIT_FAILURE); }
93 exit(EXIT_FAILURE);
100 exit(EXIT_FAILURE);
115 exit(EXIT_FAILURE);
119 exit(EXIT_FAILURE);
124 exit(EXIT_FAILURE);
132 exit(EXIT_FAILURE);
142 exit(EXIT_FAILURE);
151 exit(EXIT_FAILURE);
157 if(sufcheck(T, SA, (saidx_t)n, 1) != 0) { exit(EXIT_FAILURE); }
/external/u-boot/tools/env/
Dfw_env_main.c172 exit(EXIT_FAILURE); in parse_printenv_args()
199 exit(EXIT_FAILURE); in parse_setenv_args()
225 exit(EXIT_FAILURE); in main()
230 exit(EXIT_FAILURE); in main()
233 exit(EXIT_FAILURE); in main()
245 exit(EXIT_FAILURE); in main()
255 return EXIT_FAILURE; in main()
261 return EXIT_FAILURE; in main()
266 retval = EXIT_FAILURE; in main()
270 retval = EXIT_FAILURE; in main()
[all …]

12345678910>>...20