Home
last modified time | relevance | path

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

12345678910>>...29

/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()
Dtest-init.c40 exit(EXIT_FAILURE); in test_load_resources()
47 exit(EXIT_FAILURE); in test_load_resources()
77 exit(EXIT_FAILURE); in test_initlib()
95 exit(EXIT_FAILURE); in test_insert()
100 exit(EXIT_FAILURE); in test_insert()
106 exit(EXIT_FAILURE); in test_insert()
130 exit(EXIT_FAILURE); in test_remove()
135 exit(EXIT_FAILURE); in test_remove()
141 exit(EXIT_FAILURE); in test_remove()
147 exit(EXIT_FAILURE); in test_remove()
[all …]
/external/llvm-project/polly/lib/External/isl/
Dflow_cmp.c33 exit(EXIT_FAILURE); in ISL_ARGS_START()
43 exit(EXIT_FAILURE); in open_or_die()
70 return EXIT_FAILURE; in main()
82 return EXIT_FAILURE); in main()
85 return EXIT_FAILURE); in main()
94 return EXIT_FAILURE; in main()
97 return EXIT_FAILURE); in main()
99 return EXIT_FAILURE; in main()
101 return EXIT_FAILURE; in main()
105 return EXIT_FAILURE; in main()
[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/llvm-project/compiler-rt/test/profile/ContinuousSyncMode/
Ddarwin-proof-of-concept.c38 return EXIT_FAILURE; in create_tmpfile()
44 return EXIT_FAILURE; in create_tmpfile()
50 return EXIT_FAILURE; in create_tmpfile()
62 return EXIT_FAILURE; in create_tmpfile()
78 return EXIT_FAILURE; in validate_tmpfile()
86 return EXIT_FAILURE; in validate_tmpfile()
95 return EXIT_FAILURE; in validate_tmpfile()
106 return EXIT_FAILURE; in validate_tmpfile()
117 return EXIT_FAILURE; in validate_tmpfile()
132 return EXIT_FAILURE; in main()
[all …]
/external/usrsctp/programs/
Dekr_loop_offload.c314 exit (EXIT_FAILURE);
323 exit(EXIT_FAILURE);
327 exit(EXIT_FAILURE);
332 exit(EXIT_FAILURE);
336 exit(EXIT_FAILURE);
356 exit(EXIT_FAILURE);
360 exit(EXIT_FAILURE);
365 exit(EXIT_FAILURE);
369 exit(EXIT_FAILURE);
375 exit(EXIT_FAILURE);
[all …]
Dekr_loop.c298 exit (EXIT_FAILURE);
306 exit(EXIT_FAILURE);
310 exit(EXIT_FAILURE);
315 exit(EXIT_FAILURE);
319 exit(EXIT_FAILURE);
339 exit(EXIT_FAILURE);
343 exit(EXIT_FAILURE);
348 exit(EXIT_FAILURE);
352 exit(EXIT_FAILURE);
358 exit(EXIT_FAILURE);
[all …]
Dekr_loop_upcall.c329 exit (EXIT_FAILURE);
337 exit(EXIT_FAILURE);
341 exit(EXIT_FAILURE);
346 exit(EXIT_FAILURE);
350 exit(EXIT_FAILURE);
370 exit(EXIT_FAILURE);
374 exit(EXIT_FAILURE);
379 exit(EXIT_FAILURE);
383 exit(EXIT_FAILURE);
389 exit(EXIT_FAILURE);
[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()
131 return EXIT_FAILURE; in main()
146 return EXIT_FAILURE; in main()
159 return EXIT_FAILURE; in main()
172 return EXIT_FAILURE; in main()
[all …]
/external/llvm-project/compiler-rt/test/profile/Inputs/
Dinstrprof-dlopen-dlclose-main.c10 return EXIT_FAILURE; in main()
16 return EXIT_FAILURE; in main()
23 return EXIT_FAILURE; in main()
29 return EXIT_FAILURE; in main()
37 return EXIT_FAILURE; in main()
43 return EXIT_FAILURE; in main()
52 return EXIT_FAILURE; in main()
59 return EXIT_FAILURE; in main()
64 return EXIT_FAILURE; in main()
70 return EXIT_FAILURE; in main()
/external/libwebm/
Dmkvmuxer_sample.cc316 return EXIT_FAILURE; in main()
322 return EXIT_FAILURE; in main()
330 return EXIT_FAILURE; in main()
338 return EXIT_FAILURE; in main()
345 return EXIT_FAILURE; in main()
352 return EXIT_FAILURE; in main()
358 return EXIT_FAILURE; in main()
369 return EXIT_FAILURE; in main()
377 return EXIT_FAILURE; in main()
453 return EXIT_FAILURE; in main()
[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/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/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/kmod/tools/
Dstatic-nodes.c77 return EXIT_FAILURE; in write_human()
96 return EXIT_FAILURE; in write_tmpfiles()
102 return EXIT_FAILURE; in write_tmpfiles()
121 return EXIT_FAILURE; in write_devname()
190 ret = EXIT_FAILURE; in do_static_nodes()
198 ret = EXIT_FAILURE; in do_static_nodes()
204 ret = EXIT_FAILURE; in do_static_nodes()
211 ret = EXIT_FAILURE; in do_static_nodes()
225 ret = EXIT_FAILURE; in do_static_nodes()
233 ret = EXIT_FAILURE; in do_static_nodes()
[all …]

12345678910>>...29