/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.h | 49 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__) 50 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, __FILE__, __LINE__) 51 #define FREE(ptr) alloc_free(ptr, __FILE__, __LINE__) 52 #define STRDUP(ptr) alloc_strdup(ptr, __FILE__, __LINE__) 56 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__) 57 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, "???", __LINE__) 58 #define FREE(ptr) alloc_free(ptr, "???", __LINE__) 59 #define STRDUP(ptr) alloc_strdup(ptr, "???", __LINE__)
|
H A D | out.h | 75 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \ 79 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \ 83 ((void)(((lhs) == (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \ 88 ((void)(((lhs) != (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | debug_alloc.h | 73 #define free(a) my_free(a, __FILE__, __LINE__) 74 #define malloc(a) my_malloc(a, __FILE__, __LINE__) 75 #define realloc(a, s) my_realloc(a, s, __FILE__, __LINE__) 76 #define strdup(a) my_strdup(a, __FILE__, __LINE__) 78 #define sethostent(s) my_sethostent(s, __FILE__, __LINE__) 79 #define endhostent() my_endhostent(__FILE__, __LINE__) 81 #define setnetconfig() my_setnetconfig(__FILE__, __LINE__) 82 #define endnetconfig(v) my_endnetconfig(v, __FILE__, __LINE__) 84 #define setnetpath() my_setnetpath(__FILE__, __LINE__) 85 #define endnetpath(v) my_endnetpath(v, __FILE__, __LINE__) [all...] |
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | prom_debug.h | 43 prom_printf("%s:%d: HERE\n", __FILE__, __LINE__) 46 prom_printf("%s:%d: '%s' is 0x%lx\n", __FILE__, __LINE__, #q, \ 51 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 55 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 59 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 63 (prom_printf("%s:%d: ", __FILE__, __LINE__), \
|
H A D | nexusdebug.h | 65 _PRINTF("%s line %d:\n", __FILE__, __LINE__); \
|
/illumos-gate/usr/src/lib/libbc/inc/5include/ |
H A D | assert.h | 34 #define assert(EX) if (EX) ; else _assert("EX", __FILE__, __LINE__)
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | memcluster.h | 25 #define memget(s) __memget_debug(s, __FILE__, __LINE__) 26 #define memput(p, s) __memput_debug(p, s, __FILE__, __LINE__) 29 #define memget(s) __memget_record(s, __FILE__, __LINE__) 30 #define memput(p, s) __memput_record(p, s, __FILE__, __LINE__)
|
H A D | assertions.h | 70 ((__assertion_failed)(__FILE__, __LINE__, assert_require, \ 74 ((__assertion_failed)(__FILE__, __LINE__, assert_require, \ 84 ((__assertion_failed)(__FILE__, __LINE__, assert_ensure, \ 88 ((__assertion_failed)(__FILE__, __LINE__, assert_ensure, \ 98 ((__assertion_failed)(__FILE__, __LINE__, assert_insist, \ 102 ((__assertion_failed)(__FILE__, __LINE__, assert_insist, \ 112 ((__assertion_failed)(__FILE__, __LINE__, assert_invariant, \ 116 ((__assertion_failed)(__FILE__, __LINE__, assert_invariant, \
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_debug.h | 36 #define ASSERT(EX) (void)((EX) || (__assfail(#EX, __FILE__, __LINE__), 0))
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.h | 33 #define DPTR(a) printf("%s::%d %s = %p\n", __FILE__, __LINE__, #a, a); 34 #define DSTRING(a) printf("%s::%d %s = \"%s\"\n", __FILE__, __LINE__, #a, \ 36 #define DINT(a) printf("%s::%d %s = %d\n", __FILE__, __LINE__, #a, a); 37 #define DHEX(a) printf("%s::%d %s = %X\n", __FILE__, __LINE__, #a, a);
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | assert.h | 61 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0))
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | netdebug.h | 41 "%s: line %d %s\n", __FILE__, __LINE__, str); \
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | test.h | 24 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) 26 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__)
|
H A D | assert.h | 69 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 73 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 86 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 90 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 100 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 104 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
|
H A D | heap.h | 33 # define sm_malloc_x(sz) sm_malloc_tagged_x(sz, __FILE__, __LINE__, SmHeapGroup) 34 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) 35 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__) 61 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__) 89 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) 90 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0)
|
/illumos-gate/usr/src/head/ |
H A D | assert.h | 76 (__assert_c99(#EX, __FILE__, __LINE__, __func__), 0)) 78 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0))
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | logger.h | 67 #define HAL_TRACE(expr) do {logger_setup(HAL_LOGPRI_TRACE, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) 70 #define HAL_DEBUG(expr) do {logger_setup(HAL_LOGPRI_DEBUG, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) 73 #define HAL_INFO(expr) do {logger_setup(HAL_LOGPRI_INFO, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) 76 #define HAL_WARNING(expr) do {logger_setup(HAL_LOGPRI_WARNING, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) 79 #define HAL_ERROR(expr) do {logger_setup(HAL_LOGPRI_ERROR, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) 82 #define DIE(expr) do {printf("*** [DIE] %s:%s():%d : ", __FILE__, __FUNCTION__, __LINE__); printf expr; printf("\n"); exit(1); } while(0)
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.h | 76 __LINE__, \ 83 __LINE__) 87 __LINE__) 94 __LINE__); \ 113 __LINE__) 118 __LINE__) 126 __LINE__); \
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | debug.h | 51 #define debug(x, y) (test_debug(x, __FILE__, __LINE__) && real_debug ## y)
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.h | 61 #define MALLOC(nbytes) err_malloc(nbytes, __FILE__, __LINE__) 64 #define REALLOC(ptr, nbytes) err_realloc(ptr, nbytes, __FILE__, __LINE__) 67 #define FREE(ptr) err_free(ptr, __FILE__, __LINE__) 70 #define STRDUP(ptr) err_strdup(ptr, __FILE__, __LINE__)
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acdragonfly.h | 88 _AcpiOsReleaseObject((Cache), (Object), __func__, __LINE__) 94 _AcpiOsAcquireLock((Handle), __func__, __LINE__) 100 _AcpiOsMapMemory((Where), (Length), __func__, __LINE__) 104 _AcpiOsUnmapMemory((LogicalAddress), (Size), __func__, __LINE__)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | debug.h | 55 #define VERIFY(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__))) 57 #define ASSERT(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__))) 83 assfail("(" #A ") implies (" #B ")", __FILE__, __LINE__))) 86 assfail("(" #A ") is equivalent to (" #B ")", __FILE__, __LINE__))) 108 __FILE__, __LINE__); \ 131 #define CTASSERT(x) _CTASSERT(x, __LINE__)
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | regress.h | 43 #define REGRESS(r,i,f) do { if (sh_isregress(REGRESS_##r)) sh_regress(REGRESS_##r, i, sfprints f, __LINE__, __FILE__); } while (0) 52 #define SHOPT_P_SUID sh_regress_p_suid(__LINE__, __FILE__)
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_subr.h | 40 #define ASSERT(x) ((void)((x) || fmd_assert(#x, __FILE__, __LINE__))) 74 #define TRACE(args) { fmd_trace_cpp(fmd_trace args, __FILE__, __LINE__); }
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.h | 45 #define scfdie() do_scfdie(__FILE__, __LINE__)
|