/freebsd-11-stable/contrib/ntp/sntp/unity/ |
H A D | unity.h | 57 #define TEST_FAIL_MESSAGE(message) UNITY_TEST_FAIL(__LINE__, message) 58 #define TEST_FAIL() UNITY_TEST_FAIL(__LINE__, NULL) 59 #define TEST_IGNORE_MESSAGE(message) UNITY_TEST_IGNORE(__LINE__, message) 60 #define TEST_IGNORE() UNITY_TEST_IGNORE(__LINE__, NULL) 68 #define TEST_ASSERT(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expression Evaluated To FALSE") 69 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") 70 #define TEST_ASSERT_UNLESS(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expression Evaluated To TRUE") 71 #define TEST_ASSERT_FALSE(condition) UNITY_TEST_ASSERT( !(condition), __LINE__, " Expected FALSE Was TRUE") 72 #define TEST_ASSERT_NULL(pointer) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL") 73 #define TEST_ASSERT_NOT_NULL(pointer) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expecte [all...] |
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | debug.h | 36 #define TRACE_IN(x) nscd_trace_in(#x, __FILE__, __LINE__) 37 #define TRACE_POINT() nscd_trace_point(__FILE__, __LINE__) 38 #define TRACE_MSG(x) nscd_trace_msg(x, __FILE__, __LINE__) 39 #define TRACE_PTR(p) nscd_trace_ptr(#p, p, __FILE__, __LINE__) 40 #define TRACE_INT(i) nscd_trace_int(#i, i, __FILE__, __LINE__) 41 #define TRACE_STR(s) nscd_trace_str(#s, s, __FILE__, __LINE__) 42 #define TRACE_OUT(x) nscd_trace_out(#x, __FILE__, __LINE__)
|
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | sanity.h | 38 atf_sanity_inv(__FILE__, __LINE__, #x); \ 43 atf_sanity_pre(__FILE__, __LINE__, #x); \ 48 atf_sanity_post(__FILE__, __LINE__, #x); \
|
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
H A D | assert.h | 10 __FILE__, __LINE__, #e); \ 21 __FILE__, __LINE__); \ 32 __FILE__, __LINE__); \
|
/freebsd-11-stable/sys/netgraph/atm/ |
H A D | ngatmbase.h | 50 #define uni_msg_alloc(S) _uni_msg_alloc((S), __FILE__, __LINE__) 51 #define uni_msg_build(P...) _uni_msg_build(__FILE__, __LINE__, P) 52 #define uni_msg_destroy(M) _uni_msg_destroy((M), __FILE__, __LINE__) 54 _uni_msg_unpack_mbuf((M), (PP), __FILE__, __LINE__)
|
/freebsd-11-stable/crypto/openssh/regress/unittests/test_helper/ |
H A D | test_helper.h | 98 #define SSL_ERR_CHECK() ssl_err_check(__FILE__, __LINE__) 101 assert_bignum(__FILE__, __LINE__, #a1, #a2, a1, a2, TEST_EQ) 103 assert_string(__FILE__, __LINE__, #a1, #a2, a1, a2, TEST_EQ) 105 assert_mem(__FILE__, __LINE__, #a1, #a2, a1, a2, l, TEST_EQ) 107 assert_mem_filled(__FILE__, __LINE__, #a1, a1, c, l, TEST_EQ) 109 assert_mem_filled(__FILE__, __LINE__, #a1, a1, '\0', l, TEST_EQ) 111 assert_int(__FILE__, __LINE__, #a1, #a2, a1, a2, TEST_EQ) 113 assert_size_t(__FILE__, __LINE__, #a1, #a2, a1, a2, TEST_EQ) 115 assert_u_int(__FILE__, __LINE__, #a1, #a2, a1, a2, TEST_EQ) 117 assert_long(__FILE__, __LINE__, #a [all...] |
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | ldmisc.h | 36 do { if (!(x)) info_assert(__FILE__,__LINE__); } while (0) 39 do { info_assert(__FILE__,__LINE__); } while (0)
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | fwctl.h | 47 static struct ctl __CONCAT(__ctl, __LINE__) = { \ 52 DATA_SET(ctl_set, __CONCAT(__ctl, __LINE__))
|
H A D | pci_lpc.h | 43 static struct lpc_dsdt __CONCAT(__lpc_dsdt, __LINE__) = { \ 46 DATA_SET(lpc_dsdt_set, __CONCAT(__lpc_dsdt, __LINE__)) 60 static struct lpc_sysres __CONCAT(__lpc_sysres, __LINE__) = { \ 65 DATA_SET(lpc_sysres_set, __CONCAT(__lpc_sysres, __LINE__))
|
/freebsd-11-stable/tools/regression/p1003_1b/ |
H A D | sched.c | 160 int orig_scheduler = sched_is(__LINE__, &orig_param, -1); 169 q(__LINE__, sched_setscheduler(0, orig_scheduler, &orig_param), 174 q(__LINE__, sched_setscheduler(0, SCHED_FIFO, &rt_param), 177 (void)sched_is(__LINE__, 0, SCHED_FIFO); 179 q(__LINE__, sched_getparam(0, &shouldbe), "sched_getparam"); 186 q(__LINE__, sched_setparam(0, &rt_param), 191 q(__LINE__, sched_setparam(0, &rt_param), 194 q(__LINE__, sched_getparam(0, &shouldbe), 200 q(__LINE__, sched_setscheduler(0, SCHED_RR, &rt_param), 203 (void)sched_is(__LINE__, [all...] |
/freebsd-11-stable/contrib/libarchive/test_utils/ |
H A D | test_common.h | 168 #define assert(e) assertion_assert(__FILE__, __LINE__, (e), #e, NULL) 171 assertion_chdir(__FILE__, __LINE__, path) 174 assertion_chmod(__FILE__, __LINE__, pathname, mode) 177 assertion_compare_fflags(__FILE__, __LINE__, patha, pathb, 0) 180 assertion_equal_int(__FILE__, __LINE__, (v1), #v1, (v2), #v2, NULL) 183 assertion_equal_string(__FILE__, __LINE__, (v1), #v1, (v2), #v2, NULL, 0) 185 assertion_equal_string(__FILE__, __LINE__, (v1), #v1, (v2), #v2, NULL, 1) 188 assertion_equal_wstring(__FILE__, __LINE__, (v1), #v1, (v2), #v2, NULL) 191 assertion_equal_mem(__FILE__, __LINE__, (v1), #v1, (v2), #v2, (l), #l, NULL) 194 assertion_memory_filled_with(__FILE__, __LINE__, (v [all...] |
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_tsc.c | 77 ("[tsc,%d] illegal CPU value %d", __LINE__, cpu)); 79 ("[tsc,%d] illegal row index %d", __LINE__, ri)); 105 ("[tsc,%d] illegal CPU value %d", __LINE__, cpu)); 106 KASSERT(ri == 0, ("[tsc,%d] illegal row-index %d", __LINE__, ri)); 111 ("[tsc,%d] pm=%p phw->pm=%p hwpmc not unconfigured", __LINE__, 128 ("[tsc,%d] illegal CPU %d", __LINE__, cpu)); 129 KASSERT(ri == 0, ("[tsc,%d] illegal row-index %d", __LINE__, ri)); 157 ("[tsc,%d] illegal CPU %d", __LINE__, cpu)); 158 KASSERT(ri == 0, ("[tsc,%d] illegal row-index %d", __LINE__, ri)); 171 ("[tsc,%d] ri %d out of range", __LINE__, r [all...] |
H A D | hwpmc_soft.c | 105 ("[soft,%d] illegal CPU value %d", __LINE__, cpu)); 107 ("[soft,%d] illegal row-index %d", __LINE__, ri)); 142 ("[soft,%d] illegal CPU value %d", __LINE__, cpu)); 144 ("[soft,%d] illegal row-index %d", __LINE__, ri)); 149 ("[soft,%d] pm=%p phw->pm=%p hwpmc not unconfigured", __LINE__, 166 ("[soft,%d] illegal CPU %d", __LINE__, cpu)); 168 ("[soft,%d] illegal row-index %d", __LINE__, ri)); 196 ("[soft,%d] illegal CPU %d", __LINE__, cpu)); 198 ("[soft,%d] illegal row-index %d", __LINE__, ri)); 211 ("[soft,%d] illegal cpu %d", __LINE__, cp [all...] |
/freebsd-11-stable/crypto/openssl/crypto/err/ |
H A D | err.h | 204 # define SYSerr(f,r) ERR_PUT_error(ERR_LIB_SYS,(f),(r),__FILE__,__LINE__) 205 # define BNerr(f,r) ERR_PUT_error(ERR_LIB_BN,(f),(r),__FILE__,__LINE__) 206 # define RSAerr(f,r) ERR_PUT_error(ERR_LIB_RSA,(f),(r),__FILE__,__LINE__) 207 # define DHerr(f,r) ERR_PUT_error(ERR_LIB_DH,(f),(r),__FILE__,__LINE__) 208 # define EVPerr(f,r) ERR_PUT_error(ERR_LIB_EVP,(f),(r),__FILE__,__LINE__) 209 # define BUFerr(f,r) ERR_PUT_error(ERR_LIB_BUF,(f),(r),__FILE__,__LINE__) 210 # define OBJerr(f,r) ERR_PUT_error(ERR_LIB_OBJ,(f),(r),__FILE__,__LINE__) 211 # define PEMerr(f,r) ERR_PUT_error(ERR_LIB_PEM,(f),(r),__FILE__,__LINE__) 212 # define DSAerr(f,r) ERR_PUT_error(ERR_LIB_DSA,(f),(r),__FILE__,__LINE__) 213 # define X509err(f,r) ERR_PUT_error(ERR_LIB_X509,(f),(r),__FILE__,__LINE__) [all...] |
/freebsd-11-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_debug.h | 71 #define SVN_DBG(ARGS) svn_dbg__preamble(__FILE__, __LINE__, NULL) 72 #define SVN_DBG_PROPS(ARGS) svn_dbg__preamble(__FILE__, __LINE__, NULL) 93 #define SVN_DBG(ARGS) (svn_dbg__preamble(__FILE__, __LINE__, SVN_DBG_OUTPUT), \ 95 #define SVN_DBG_PROPS(ARGS) (svn_dbg__preamble(__FILE__, __LINE__, \
|
/freebsd-11-stable/tools/regression/capsicum/syscalls/ |
H A D | misc.h | 37 printf("ok # line %u\n", __LINE__); \ 43 printf("not ok # line %u\n", __LINE__); \
|
/freebsd-11-stable/usr.sbin/cpucontrol/ |
H A D | cpucontrol.h | 41 fprintf(stderr, "%s:%d ", __FILE__, __LINE__); \ 46 fprintf(stderr, "%s:%d ", __FILE__, __LINE__); \
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | debug.h | 57 __XSTRING(__LINE__) "\n"), abort())) 59 #define trace() msg(_MYNAME ": " __XSTRING(__LINE__) "\n")
|
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | test.h | 22 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) 24 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__)
|
H A D | assert.h | 67 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 71 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 84 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 88 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 98 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 102 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
|
H A D | heap.h | 31 # define sm_malloc_x(sz) sm_malloc_tagged_x(sz, __FILE__, __LINE__, SmHeapGroup) 32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) 33 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__) 59 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__) 87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) 88 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0)
|
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | abts.h | 85 #define ABTS_INT_EQUAL(a, b, c) abts_int_equal(a, b, c, __LINE__) 86 #define ABTS_INT_NEQUAL(a, b, c) abts_int_nequal(a, b, c, __LINE__) 87 #define ABTS_STR_EQUAL(a, b, c) abts_str_equal(a, b, c, __LINE__) 88 #define ABTS_STR_NEQUAL(a, b, c, d) abts_str_nequal(a, b, c, d, __LINE__) 89 #define ABTS_PTR_NOTNULL(a, b) abts_ptr_notnull(a, b, __LINE__) 90 #define ABTS_PTR_EQUAL(a, b, c) abts_ptr_equal(a, b, c, __LINE__) 91 #define ABTS_TRUE(a, b) abts_true(a, b, __LINE__); 92 #define ABTS_FAIL(a, b) abts_fail(a, b, __LINE__); 93 #define ABTS_NOT_IMPL(a, b) abts_not_impl(a, b, __LINE__); 94 #define ABTS_ASSERT(a, b, c) abts_assert(a, b, c, __LINE__); [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | proc-utils.h | 78 #define write(X,Y,Z) write_with_trace (X, Y, Z, __FILE__, __LINE__) 79 #define lseek(X,Y,Z) lseek_with_trace (X, Y, Z, __FILE__, __LINE__) 80 #define ioctl(X,Y,Z) ioctl_with_trace (X, Y, Z, __FILE__, __LINE__) 81 #define open(X,Y) open_with_trace (X, Y, __FILE__, __LINE__) 82 #define close(X) close_with_trace (X, __FILE__, __LINE__) 83 #define wait(X) wait_with_trace (X, __FILE__, __LINE__) 85 #define PROCFS_NOTE(X) procfs_note (X, __FILE__, __LINE__)
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test.h | 42 __FILE__, __LINE__, #fd); \ 65 __func__, __LINE__, #condition); \ 72 __func__, __LINE__, #syscall); \ 80 __func__, __LINE__, #syscall); \ 83 __func__, __LINE__, #syscall); \ 92 __func__, __LINE__, #syscall); \ 95 __func__, __LINE__, #syscall); \
|
/freebsd-11-stable/sys/sys/ |
H A D | kernel.h | 284 static struct tunable_int __CONCAT(__tunable_int_, __LINE__) = { \ 288 SYSINIT(__CONCAT(__Tunable_init_, __LINE__), \ 290 &__CONCAT(__tunable_int_, __LINE__)) 303 static struct tunable_long __CONCAT(__tunable_long_, __LINE__) = { \ 307 SYSINIT(__CONCAT(__Tunable_init_, __LINE__), \ 309 &__CONCAT(__tunable_long_, __LINE__)) 322 static struct tunable_ulong __CONCAT(__tunable_ulong_, __LINE__) = { \ 326 SYSINIT(__CONCAT(__Tunable_init_, __LINE__), \ 328 &__CONCAT(__tunable_ulong_, __LINE__)) 341 static struct tunable_int64 __CONCAT(__tunable_int64_, __LINE__) [all...] |