/freebsd-11-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cassert.h | 35 * This is the C++ version of the Standard C Library header @c assert.h, 49 #include <assert.h>
|
/freebsd-11-stable/contrib/libstdc++/include/c/ |
H A D | std_cassert.h | 38 #include_next <assert.h>
|
/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_cmdline.c | 38 assert(f != NULL); 42 assert(0 != systemf("%s -i -Q <empty >1.out 2>1.err", testprog)); 46 assert(0 != systemf("%s -if <empty >2.out 2>2.err", testprog)); 50 assert(0 != systemf("%s -i -f <empty >3.out 2>3.err", testprog)); 54 assert(0 != systemf("%s -i --format <empty >4.out 2>4.err", testprog)); 58 assert(0 != systemf("%s -i --badop <empty >5.out 2>5.err", testprog)); 62 assert(0 != systemf("%s -i --badopt <empty >6.out 2>6.err", testprog)); 66 assert(0 != systemf("%s -i --n <empty >7.out 2>7.err", testprog)); 70 assert(0 != systemf("%s --create=arg <empty >8.out 2>8.err", testprog)); 74 assert( [all...] |
H A D | test_owner_parse.c | 68 assert(NULL == owner_parse(ROOT, &uid, &gid)); 69 assert(int_in_list(uid, root_uids, 74 assert(NULL == owner_parse(ROOT ":", &uid, &gid)); 75 assert(int_in_list(uid, root_uids, 77 assert(int_in_list(gid, root_gids, 80 assert(NULL == owner_parse(ROOT ".", &uid, &gid)); 81 assert(int_in_list(uid, root_uids, 83 assert(int_in_list(gid, root_gids, 86 assert(NULL == owner_parse("111", &uid, &gid)); 90 assert(NUL [all...] |
/freebsd-11-stable/lib/msun/tests/ |
H A D | ilogb_test.c | 29 #include <assert.h> 46 assert(ilogb(0) == FP_ILOGB0); 47 assert(ilogb(NAN) == FP_ILOGBNAN); 48 assert(ilogb(INFINITY) == INT_MAX); 52 assert(*end == '\0'); 54 assert(i == e); 58 assert(ilogbf(0) == FP_ILOGB0); 59 assert(ilogbf(NAN) == FP_ILOGBNAN); 60 assert(ilogbf(INFINITY) == INT_MAX); 64 assert(*en [all...] |
H A D | fenv_test.c | 36 #include <assert.h> 163 assert(sig == SIGFPE); 195 assert(memcmp(&env.__mxcsr, &FE_DFL_ENV->__mxcsr, 197 assert(memcmp(&env.__x87.__control, &FE_DFL_ENV->__x87.__control, 199 assert(memcmp(&env.__x87.__status, &FE_DFL_ENV->__x87.__status, 201 assert(memcmp(&env.__x87.__tag, &FE_DFL_ENV->__x87.__tag, 204 assert(memcmp(&env, FE_DFL_ENV, sizeof(env)) == 0); 208 assert(fetestexcept(FE_ALL_EXCEPT) == 0); 220 assert(fetestexcept(std_except_sets[i]) == 0); 226 assert(fetestexcep [all...] |
H A D | nan_test.c | 36 #include <assert.h> 68 assert(isnan(af[0])); 70 assert(end == nan_str + strlen(nan_str)); 71 assert(sscanf(nan_str, "%e", &af[2]) == 1); 72 assert(memcmp(&af[0], &af[1], sizeof(float)) == 0); 73 assert(memcmp(&af[1], &af[2], sizeof(float)) == 0); 77 assert(memcmp(&af[2], &af[3], sizeof(float)) == 0); 81 assert(isnan(ad[0])); 83 assert(end == nan_str + strlen(nan_str)); 84 assert(sscan [all...] |
/freebsd-11-stable/contrib/libarchive/tar/test/ |
H A D | test_missing_file.c | 33 assert(0 == systemf("%s -cf archive.tar file1 file2 2>stderr1", testprog)); 35 assert(0 != systemf("%s -cf archive.tar file1 file2 file3 2>stderr2", testprog)); 37 assert(0 != systemf("%s -cf archive.tar 2>stderr3", testprog)); 39 assert(0 != systemf("%s -cf archive.tar file3 file4 2>stderr4", testprog));
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_secure.c | 52 assert((a = archive_write_disk_new()) != NULL); 55 assert((ae = archive_entry_new()) != NULL); 58 assert(0 == archive_write_header(a, ae)); 60 assert(0 == archive_write_finish_entry(a)); 63 assert((ae = archive_entry_new()) != NULL); 68 assert(0 == archive_write_header(a, ae)); 69 assert(0 == archive_write_finish_entry(a)); 75 assert(archive_entry_clear(ae) != NULL); 78 assert(0 == archive_write_header(a, ae)); 79 assert( [all...] |
H A D | test_write_disk_secure745.c | 48 assert((a = archive_write_disk_new()) != NULL); 59 assert((ae = archive_entry_new()) != NULL); 63 assert(0 == archive_write_header(a, ae)); 67 assert((ae = archive_entry_new()) != NULL); 70 assert(0 == archive_write_header(a, ae)); 76 assert(0 == archive_write_close(a));
|
/freebsd-11-stable/cddl/compat/opensolaris/include/ |
H A D | priv.h | 8 #include <assert.h> 16 assert(priv == PRIV_SYS_CONFIG);
|
H A D | assert.h | 29 #undef assert macro 33 #define assert(e) ((void)0) macro 36 #define _assert(e) assert(e) 38 #define assert(e) ((e) ? (void)0 : __assert(#e, __FILE__, __LINE__)) macro
|
/freebsd-11-stable/include/ |
H A D | assert.h | 34 * @(#)assert.h 8.2 (Berkeley) 1/21/94 41 * Unlike other ANSI header files, <assert.h> may usefully be included 45 #undef assert macro 49 #define assert(e) ((void)0) macro 52 #define _assert(e) assert(e) 54 #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ macro
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | Types.cpp | 23 assert((MaxSize == 32 || MaxSize == 64) && "Unexpected size"); 24 assert(MaxSize <= 64 && "Unexpected size"); 25 assert(((MaxSize > 32) ? Range <= 0xFFFFFFFFFFFFFFFFULL 42 assert(MaxIndex <= 64 && "Too many bits");
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | assert.h | 33 #undef assert macro 36 #define assert(ignore) /* as nothing */ macro 38 #define assert(expr) do_assert(expr, __LINE__, __FILE__) macro
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | cap_sandboxed.c | 35 #include <assert.h> 45 assert(errno == ENOSYS); 48 assert(mode == 0 || mode == 1);
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_capability.c | 45 #include <assert.h> 53 #define assert(exp) KASSERT((exp), ("%s:%u", __func__, __LINE__)) macro 69 assert(idx >= 0 && idx < sizeof(bit2idx) / sizeof(bit2idx[0])); 79 assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00); 82 assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX); 88 assert(CAPRVER(right) == 0); 90 assert(i >= 0); 91 assert(i < n); 92 assert(CAPIDXBIT(rights->cr_rights[i]) == CAPIDXBIT(right)); 94 assert(CAPIDXBI [all...] |
/freebsd-11-stable/tests/sys/kern/ |
H A D | pdeathsig_helper.c | 30 #include <assert.h> 46 assert(rc == 0); 47 assert(signum == SIGINFO);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
H A D | mutex_posix.cpp | 11 #include <assert.h> 17 assert(Status == 0); 26 assert(Status == 0);
|
/freebsd-11-stable/lib/libc/tests/string/ |
H A D | memset_s_test.c | 29 #include <assert.h> 50 assert(memset_s(0, 1, 1, 1) != 0); 59 assert(memset_s(&b, RSIZE_MAX + 1, 1, 1) != 0); 68 assert(memset_s(&b, -1, 1, 1) != 0); 78 assert(memset_s(&b, 1, 5, 1) == 0); 79 assert(b == 5); 88 assert(memset_s(&b, 1, 1, RSIZE_MAX + 1) != 0); 97 assert(memset_s(&b, 1, 1, -1) != 0); 106 assert(memset_s(&b[0], 3, 9, 1) == 0); 107 assert( [all...] |
H A D | memcmp_test.c | 30 #include <assert.h> 41 assert(memcmp("a", "b", 0) == 0); 42 assert(memcmp("", "", 0) == 0); 54 assert(memcmp(data1, data2, i) == 0); 56 assert(memcmp(data1 + i, data2 + i, 256 - i) == 0); 70 assert(memcmp(data1, data2, i) != 0); 72 assert(memcmp(data1 + i, data2 + i, 256 - i) != 0); 86 assert(memcmp(data1 + 128, data2 + 128, i) == 255); 87 assert(memcmp(data2 + 128, data1 + 128, i) == -255); 88 assert(memcm [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
H A D | Mutations.cpp | 32 assert(Anchor != nullptr); 33 assert(New->Parent == nullptr); 34 assert(New->NextSibling == nullptr); 35 assert(!New->isDetached()); 36 assert(Role != NodeRole::Detached); 47 assert(Old != nullptr); 48 assert(Old->Parent != nullptr); 49 assert(Old->canModify()); 50 assert(New->Parent == nullptr); 51 assert(Ne [all...] |
/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | aes_ecb.c | 57 #include <assert.h> 66 assert(in && out && key); 67 assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc));
|
/freebsd-11-stable/crypto/openssl/crypto/camellia/ |
H A D | cmll_ecb.c | 57 #include <assert.h> 66 assert(in && out && key); 67 assert((CAMELLIA_ENCRYPT == enc) || (CAMELLIA_DECRYPT == enc));
|
/freebsd-11-stable/contrib/libarchive/cat/test/ |
H A D | test_error.c | 32 assert(0 != systemf("%s %s >test.out 2>test.err", testprog, reffile));
|