/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | getentropy.c | 22 #include <assert.h> 34 assert(ret == 0); 38 assert(ret == -1); 39 assert(errno == EIO); 42 assert(ret == -1); 43 assert(errno == EIO); 46 assert(ret == 0); 49 assert(ret == 0); 53 assert(ret == -1); 54 assert(errn [all...] |
H A D | getrandom.c | 22 #include <assert.h> 35 assert(ret == -1); 36 assert(errno == EINVAL); 39 assert(ret >= 0); 42 assert(ret >= 0); 45 assert(ret >= 0); 48 assert(ret >= 0); 51 assert(ret == -1); 52 assert(errno == EINVAL); 56 assert(re [all...] |
H A D | inz_inval.c | 23 #include <assert.h> 44 assert(buf != MAP_FAILED); 48 assert(ret == -1); 49 assert(errno == EINVAL); 52 assert(ret == -1); 53 assert(errno == EINVAL); 56 assert(ret == -1); 57 assert(errno == EINVAL); 60 assert(ret == -1); 61 assert(errn [all...] |
H A D | arc4random_rekey.c | 24 #include <assert.h> 35 assert(buf != NULL);
|
H A D | arc4random.c | 22 #include <assert.h> 33 assert(ret < 100); 35 assert(ret < 200);
|
H A D | inz_split.c | 23 #include <assert.h> 44 assert(buf != MAP_FAILED); 48 assert(ret == 0); 51 assert(ret == 0); 57 assert(ubuf[i] == 0); 59 assert(ubuf[i] == 0); 62 assert(child != -1); 67 assert(ret == 0); 68 assert(info.si_pid == child); 69 assert(inf [all...] |
H A D | inz_vpp.c | 23 #include <assert.h> 45 assert(buf != MAP_FAILED); 49 assert(ret == 0); 55 assert(ubuf[i] == 'a'); 57 assert(ubuf[i] == 0); 59 assert(ubuf[i] == 'a'); 62 assert(child != -1); 67 assert(ret == 0); 68 assert(info.si_pid == child); 69 assert(inf [all...] |
H A D | inz_mlock.c | 23 #include <assert.h> 42 assert(buf != MAP_FAILED); 46 assert(ret == 0); 49 assert(ret == 0); 54 assert(ubuf[i] == 0); 57 assert(child != -1); 62 assert(ret == 0); 63 assert(info.si_pid == child); 64 assert(info.si_status == 0); 67 assert(ubu [all...] |
H A D | inz_child.c | 23 #include <assert.h> 44 assert(buf != MAP_FAILED); 47 assert(ret == 0); 55 assert(ubuf[i] == 0); 60 assert(child != -1); 65 assert(ret == 0); 66 assert(info.si_pid == child); 67 assert(info.si_status == 0); 70 assert(ubuf[i] == 'a' + nchild);
|
H A D | inz_region.c | 23 #include <assert.h> 42 assert(buf != MAP_FAILED); 46 assert(ret == 0); 51 assert(ubuf[i] == 0); 54 assert(child != -1); 59 assert(ret == 0); 60 assert(info.si_pid == child); 61 assert(info.si_status == 0); 64 assert(ubuf[i] == 'a');
|
H A D | inz_split_vpp.c | 25 #include <assert.h> 49 assert(buf != MAP_FAILED); 53 assert(ret == 0); 56 assert(ret == 0); 62 assert(ubuf[i] == 'a'); 64 assert(ubuf[i] == 0); 66 assert(ubuf[i] == 0); 68 assert(ubuf[i] == 'a'); 71 assert(child != -1); 76 assert(re [all...] |
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | assert.h | 33 * Exported interfaces for standalone's subset of libc's <assert.h>. 51 * <assert.h> which is explicitly required not to be idempotent (section 4.1.2). 56 #undef assert macro 59 #define assert(EX) ((void)0) macro 61 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0)) macro
|
H A D | assert.c | 29 #include <assert.h>
|
/illumos-gate/usr/src/lib/libbc/inc/5include/ |
H A D | assert.h | 31 #define assert(EX) macro 34 #define assert(EX) if (EX) ; else _assert("EX", __FILE__, __LINE__) macro
|
/illumos-gate/usr/src/head/ |
H A D | assert.h | 47 * In C11 the static_assert macro is always defined, unlike the assert macro. 61 * <assert.h> which is explicitly required not to be idempotent (section 4.1.2). 66 #undef assert macro 70 #define assert(EX) ((void)0) macro 75 #define assert(EX) (void)((EX) || \ macro 78 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0)) macro
|
/illumos-gate/usr/src/boot/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
|
/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | epoll_test.c | 23 #include <assert.h> 31 assert(fd >= 0); 34 assert(flags != -1 && (flags & FD_CLOEXEC) == 0); 39 assert(fd >= 0); 42 assert(flags != -1 && (flags & FD_CLOEXEC) == FD_CLOEXEC); 46 assert(fd == -1 && errno == EINVAL); 48 assert(fd == -1 && errno == EINVAL);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 70 #include <assert.h> 129 assert(a_str != (char **)NULL); 171 assert(o_str != (char *)NULL); 230 assert(a_format != (char *)NULL); 231 assert(*a_format != '\0'); 232 assert(a_buf != (char *)NULL); 233 assert(a_bufLen > 1); 241 assert(vres > 0); 242 assert(vres < a_bufLen); 275 assert(a_forma [all...] |
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_str.c | 63 #include <assert.h> 128 assert(a_old != NULL); 129 assert(a_separator != '\0'); 139 assert(strchr(a_new, (int)a_separator) == NULL); 161 assert(*a_old == NULL); 190 assert(a_separators != NULL); 191 assert(*a_separators != '\0'); 267 assert(a_string != NULL); 268 assert(a_index >= 0); 269 assert(a_separator [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | metad_svc_stubs.c | 109 assert(0); 120 assert(0); 131 assert(0); 142 assert(0); 153 assert(0); 164 assert(0); 175 assert(0); 186 assert(0); 197 assert(0); 208 assert( [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | utils.h | 47 #include <assert.h>
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_sysconf.c | 35 #include <assert.h> 42 assert(api_semantics == TX_XTI_XNS5_API);
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_list.c | 32 #include <assert.h> 46 assert(p->ml_next == NULL); 49 assert(mlp->ml_next == NULL); 65 assert(q->ml_prev == NULL); 68 assert(mlp->ml_prev == NULL);
|
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/ |
H A D | priv_gettext.c | 18 #include <assert.h> 47 assert(res != NULL); 48 assert(strcmp(res, exp) == 0); 65 assert(loc != NULL); 77 assert(loc != NULL);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_dlist_util.c | 31 #include <assert.h> 67 assert(str1 != NULL); 68 assert(str2 != NULL); 96 assert(devconf1 != NULL); 97 assert(devconf2 != NULL); 126 assert(desc1 != NULL); 127 assert(desc2 != NULL); 161 assert(devconf != NULL); 162 assert(desc != NULL); 190 assert(st [all...] |