/freebsd-11-stable/lib/libc/tests/stdlib/ |
H A D | set_constraint_handler_s_test.c | 29 #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 D | spinup_ap.c | 42 #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 D | post.c | 36 #include <assert.h> 45 assert(in == 1);
|
/freebsd-11-stable/lib/msun/tests/ |
H A D | nearbyint_test.c | 39 #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 D | rem_test.c | 36 #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 D | pdeathsig.c | 30 #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 D | test_generate.c | 26 #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 D | VPlanVerifier.cpp | 49 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 D | test_missing_file.c | 42 assert(r != 0); 51 assert(r != 0);
|
H A D | test_option_b64encode.c | 43 assert(s > 2); 53 assert(s > 2);
|
H A D | test_option_uuencode.c | 43 assert(s > 2); 53 assert(s > 2);
|
H A D | test_option_c.c | 120 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 D | zone.c | 30 #include <assert.h> 44 assert(!"No security.jail.jailed sysctl!");
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | driver.h | 28 #include <assert.h>
|
/freebsd-11-stable/contrib/libarchive/tar/test/ |
H A D | test_option_uuencode.c | 43 assert(s > 2); 53 assert(s > 2);
|
H A D | test_option_b64encode.c | 43 assert(s > 2); 53 assert(s > 2);
|
H A D | test_option_a.c | 43 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 D | arch_type.c | 29 #include <assert.h> 57 assert(0);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/ |
H A D | Expression.cpp | 20 assert(m_target_wp.lock()); 27 assert(m_target_wp.lock());
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | miniobj.h | 49 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 D | test_read_format_raw.c | 45 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 D | test_write_format_cpio.c | 43 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 D | test_link_resolver.c | 34 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 D | PPCaching.cpp | 26 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 D | pmap_prot.c | 46 #include <assert.h> 58 assert(xdrs != NULL); 59 assert(regs != NULL);
|