Searched refs:assert (Results 26 - 50 of 4757) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/tests/stdlib/
H A Dset_constraint_handler_s_test.c29 #include <assert.h>
38 assert(set_constraint_handler_s(abort_handler_s) == NULL);
46 assert(set_constraint_handler_s(ignore_handler_s) == abort_handler_s);
54 assert(set_constraint_handler_s(abort_handler_s) == ignore_handler_s);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dspinup_ap.c42 #include <assert.h>
63 assert(error == 0);
67 assert(error == 0);
72 assert(error == 0);
76 assert(error == 0);
84 assert(newcpu != 0);
85 assert(newcpu < guest_ncpus);
88 assert(error == 0);
99 assert(error == 0);
H A Dpost.c36 #include <assert.h>
45 assert(in == 1);
/freebsd-11-stable/lib/msun/tests/
H A Dnearbyint_test.c39 #include <assert.h>
103 assert(fpequal(out, libnearbyintf(in)));
104 assert(fpequal(out, nearbyint(in)));
105 assert(fpequal(out, nearbyintl(in)));
106 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
110 assert(fpequal(out, nearbyintf(in)));
111 assert(fpequal(out, nearbyint(in)));
112 assert(fpequal(out, nearbyintl(in)));
113 assert(fetestexcept(ALL_STD_EXCEPT) == 0);
138 assert(fpequa
[all...]
H A Drem_test.c36 #include <assert.h>
117 assert(isnan(remainder(x, y)));
118 assert(isnan(remquo(x, y, &q)));
120 assert(q == 0xdeadbeef);
123 assert(isnan(remainderf(x, y)));
124 assert(isnan(remquof(x, y, &q)));
126 assert(q == 0xdeadbeef);
129 assert(isnan(remainderl(x, y)));
130 assert(isnan(remquol(x, y, &q)));
132 assert(
[all...]
/freebsd-11-stable/tests/sys/kern/
H A Dpdeathsig.c30 #include <assert.h>
113 assert(rc == 0);
114 assert(signum == 0);
142 assert(rc == 0);
146 assert(rc == 0);
174 assert(rc >= 0);
181 assert(rc == 0);
183 assert(rc == 0);
190 assert(rc == 0);
194 assert(r
[all...]
/freebsd-11-stable/contrib/libucl/tests/
H A Dtest_generate.c26 #include <assert.h>
32 assert (ptr == NULL);
77 assert (ucl_object_replace_key (obj, cur, "key0", 0, false));
91 assert (ucl_array_index_of (ar, cur) == 0);
94 assert (ucl_array_index_of (ar, cur) == 1);
97 assert (ucl_array_index_of (ar, cur) == 0);
124 assert (ucl_object_todouble (cur) == 1.0);
129 assert (ucl_object_todouble (cur) == 2.0);
134 assert (ucl_object_todouble (cur) == 3.0);
172 assert (tes
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanVerifier.cpp49 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent");
53 assert(VPB->getCondBit() && "Missing condition bit!");
55 assert(!VPB->getCondBit() && "Unexpected condition bit!");
61 assert(!hasDuplicates(Successors) &&
67 assert(std::find(SuccPreds.begin(), SuccPreds.end(), VPB) !=
78 assert(!hasDuplicates(Predecessors) &&
83 assert(Pred->getParent() == VPB->getParent() &&
88 assert(std::find(PredSuccs.begin(), PredSuccs.end(), VPB) !=
103 assert(!Entry->getNumPredecessors() && "Region entry has predecessors.");
104 assert(!Exi
[all...]
/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_missing_file.c42 assert(r != 0);
51 assert(r != 0);
H A Dtest_option_b64encode.c43 assert(s > 2);
53 assert(s > 2);
H A Dtest_option_uuencode.c43 assert(s > 2);
53 assert(s > 2);
H A Dtest_option_c.c120 assert(is_octal(e, 76)); /* Entire header is octal digits. */
122 assert(is_octal(e + 6, 6)); /* dev */
124 assert(is_octal(e + 12, 6)); /* ino */
135 assert(is_octal(e + 30, 6)); /* gid */
142 assert(t <= now); /* File wasn't created in future. */
143 assert(t >= now - 2); /* File was created w/in last 2 secs. */
152 assert(is_octal(e, 76)); /* Entire header is octal digits. */
155 assert(ino != from_octal(e + 12, 6)); /* ino */
168 assert(t <= now); /* File wasn't created in future. */
169 assert(
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dzone.c30 #include <assert.h>
44 assert(!"No security.jail.jailed sysctl!");
/freebsd-11-stable/contrib/groff/src/include/
H A Ddriver.h28 #include <assert.h>
/freebsd-11-stable/contrib/libarchive/tar/test/
H A Dtest_option_uuencode.c43 assert(s > 2);
53 assert(s > 2);
H A Dtest_option_b64encode.c43 assert(s > 2);
53 assert(s > 2);
H A Dtest_option_a.c43 assert(s > 2);
54 assert(s > 2);
65 assert(s > 12);
76 assert(s > 4);
88 assert(s > 2);
101 assert(s > 12);
113 assert(s > 2);
/freebsd-11-stable/usr.bin/getconf/tests/
H A Darch_type.c29 #include <assert.h>
57 assert(0);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DExpression.cpp20 assert(m_target_wp.lock());
27 assert(m_target_wp.lock());
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dminiobj.h49 assert((ptr)->magic == type_magic); \
54 assert((ptr) != NULL); \
55 assert((ptr)->magic == type_magic); \
61 assert((ptr)->magic == type_magic); \
74 assert((to) != NULL); \
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_raw.c45 assert((a = archive_read_new()) != NULL);
56 assert(!archive_entry_size_is_set(ae));
57 assert(!archive_entry_atime_is_set(ae));
58 assert(!archive_entry_ctime_is_set(ae));
59 assert(!archive_entry_mtime_is_set(ae));
73 assert((a = archive_read_new()) != NULL);
86 assert(!archive_entry_size_is_set(ae));
87 assert(!archive_entry_atime_is_set(ae));
88 assert(!archive_entry_ctime_is_set(ae));
89 assert(!archive_entry_mtime_is_se
[all...]
H A Dtest_write_format_cpio.c43 assert((a = archive_write_new()) != NULL);
51 assert((ae = archive_entry_new()) != NULL);
53 assert(1 == archive_entry_mtime(ae));
54 assert(10 == archive_entry_mtime_nsec(ae));
61 assert((S_IFREG | 0755) == archive_entry_mode(ae));
71 assert((ae = archive_entry_new()) != NULL);
73 assert(1 == archive_entry_mtime(ae));
74 assert(10 == archive_entry_mtime_nsec(ae));
81 assert((S_IFREG | 0755) == archive_entry_mode(ae));
91 assert((a
[all...]
H A Dtest_link_resolver.c34 assert(NULL != (resolver = archive_entry_linkresolver_new()));
39 assert(NULL != (entry = archive_entry_new()));
48 assert(e2 == NULL);
58 assert(e2 == NULL);
65 assert(e2 == NULL);
79 assert(e2 == NULL);
85 assert(e2 == NULL);
99 assert(NULL != (resolver = archive_entry_linkresolver_new()));
104 assert(NULL != (entry = archive_entry_new()));
113 assert(e
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPCaching.cpp26 assert(LexLevel == 0 && "cannot use lookahead while lexing");
33 assert(!BacktrackPositions.empty()
41 assert(!BacktrackPositions.empty()
52 // The assert in EnterCachingLexMode should prevent this from happening.
53 assert(LexLevel == 1 &&
87 assert(LexLevel == 0 &&
91 assert(CurLexerKind == CLK_CachingLexer && "Unexpected lexer kind");
99 assert(CurLexerKind != CLK_CachingLexer && "already in caching lex mode");
106 assert(CachedLexPos + N > CachedTokens.size() && "Confused caching.");
117 assert(To
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Dpmap_prot.c46 #include <assert.h>
58 assert(xdrs != NULL);
59 assert(regs != NULL);

Completed in 162 milliseconds

1234567891011>>