/freebsd-10-stable/contrib/llvm/tools/lli/ChildTarget/Windows/ |
H A D | ChildTarget.inc | 21 assert(0 && "lli-child-target is not implemented for Windows");
|
/freebsd-10-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-10-stable/contrib/libstdc++/include/c/ |
H A D | std_cassert.h | 38 #include_next <assert.h>
|
/freebsd-10-stable/lib/libkse/test/ |
H A D | sem_d.c | 38 #include <assert.h> 69 assert(-1 == sem_init(&sem_b, 1, 0)); 70 assert(EPERM == errno); 73 assert(0 == sem_init(&sem_b, 0, 0)); 74 assert(0 == sem_getvalue(&sem_b, &val)); 75 assert(0 == val); 77 assert(0 == sem_post(&sem_b)); 78 assert(0 == sem_getvalue(&sem_b, &val)); 79 assert(1 == val); 81 assert( [all...] |
/freebsd-10-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-10-stable/tools/regression/lib/libc/gen/ |
H A D | test-wordexp.c | 37 #include <assert.h> 74 assert(r == 0); 75 assert(we.we_wordc == 2); 76 assert(strcmp(we.we_wordv[0], "hello") == 0); 77 assert(strcmp(we.we_wordv[1], "world") == 0); 78 assert(we.we_wordv[2] == NULL); 85 assert(r == 0); 86 assert(we.we_wordc == 10000); 87 assert(we.we_wordv[10000] == NULL); 93 assert( [all...] |
H A D | test-posix_spawn.c | 37 #include <assert.h> 55 assert(errno == ECHILD); 63 assert(error == 0); 65 assert(waitres == pid); 66 assert(WIFEXITED(status) && WEXITSTATUS(status) == 42); 78 assert(waitres == pid); 79 assert(WIFEXITED(status) && WEXITSTATUS(status) == 127); 81 assert(error == ENOENT); 83 assert(waitres == -1 && errno == ECHILD);
|
/freebsd-10-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> 152 assert(memcmp(&env.__mxcsr, &FE_DFL_ENV->__mxcsr, 154 assert(memcmp(&env.__x87.__control, &FE_DFL_ENV->__x87.__control, 156 assert(memcmp(&env.__x87.__status, &FE_DFL_ENV->__x87.__status, 158 assert(memcmp(&env.__x87.__tag, &FE_DFL_ENV->__x87.__tag, 161 assert(memcmp(&env, FE_DFL_ENV, sizeof(env)) == 0); 165 assert(fetestexcept(FE_ALL_EXCEPT) == 0); 177 assert(fetestexcept(std_except_sets[i]) == 0); 183 assert(fetestexcept(excepts) == excepts); 184 assert(feclearexcep [all...] |
H A D | nan_test.c | 35 #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...] |
H A D | trig_test.c | 41 #include <assert.h> 58 * These are macros instead of functions so that assert provides more 66 assert(feclearexcept(FE_ALL_EXCEPT) == 0); \ 67 assert(fpequal((func)(_d), (result))); \ 68 assert(((void)(func), fetestexcept(exceptmask) == (excepts))); \ 159 assert(fabs(sinf(f_pi_odd[i])) < FLT_EPSILON); 160 assert(cosf(f_pi_odd[i]) == -1.0); 161 assert(fabs(tan(f_pi_odd[i])) < FLT_EPSILON); 163 assert(fabs(sinf(-f_pi_odd[i])) < FLT_EPSILON); 164 assert(cos [all...] |
/freebsd-10-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-10-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-10-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-10-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | prng.h | 29 assert(lg_range > 0); \ 30 assert(lg_range <= 32); \ 39 assert(lg_range > 0); \ 40 assert(lg_range <= 64); \
|
/freebsd-10-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-10-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-10-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-10-stable/sys/kern/ |
H A D | subr_capability.c | 47 #include <assert.h> 55 #define assert(exp) KASSERT((exp), ("%s:%u", __func__, __LINE__)) macro 71 assert(idx >= 0 && idx < sizeof(bit2idx) / sizeof(bit2idx[0])); 81 assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00); 84 assert(n >= CAPARSIZE_MIN && n <= CAPARSIZE_MAX); 90 assert(CAPRVER(right) == 0); 92 assert(i >= 0); 93 assert(i < n); 94 assert(CAPIDXBIT(rights->cr_rights[i]) == CAPIDXBIT(right)); 96 assert(CAPIDXBI [all...] |
/freebsd-10-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-10-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-10-stable/usr.sbin/bhyve/ |
H A D | spinup_ap.c | 40 #include <assert.h> 61 assert(error == 0); 65 assert(error == 0); 70 assert(error == 0); 74 assert(error == 0); 82 assert(newcpu != 0); 83 assert(newcpu < guest_ncpus); 86 assert(error == 0); 97 assert(error == 0);
|