Searched defs:assert (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/stand/lib/sa/
H A Dassert.h33 * 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
/illumos-gate/usr/src/boot/include/
H A Dassert.h34 * @(#)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/head/
H A Dassert.h48 * In C11 the static_assert macro is always defined, unlike the assert macro.
62 * <assert.h> which is explicitly required not to be idempotent (section 4.1.2).
67 #undef assert macro
71 #define assert(EX) ((void)0) macro
76 #define assert(EX) (void)((EX) || \ macro
79 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0)) macro
H A DMakefile56 assert.h \
375 # assert.h is required by ansi-c to *not* be idempotent (section 4.1.2).
379 assert.check := HDRCHK_TAIL = | grep -v "end guard wrong" | true
426 -$(RM) $@; $(SYMLINK) ../assert.h $@
/illumos-gate/usr/src/cmd/bnu/
H A Ddial.c140 assert(s1,s2,i1,s3,i2) function
H A Duuname.c105 /* small, private copies of assert(), logent(), */
110 assert(s1, s2, i1, file, line) function
H A Dutility.c38 * produce an assert error message
47 assert(s1, s2, i1, file, line) function
56 * produce an assert error message
57 * input: -- same as assert
H A Duuglist.c176 assert (s1, s2, i1, s3, i2) function
H A Dct.c122 assert (s1, s2, i1, s3, i2) function
H A Dcu.c1736 assert (s1, s2, i1, s3, i2) function
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Derrlog.h76 #ifndef assert
77 /* EXPERIMENTAL assert replacement, deliberately not source-compatable */
78 #define assert(cond, string) \ macro
84 #error "assert.h and errlog.h both define assert: choose only one"
85 #endif /* assert */
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.func27 function assert(cond) { # assertion function
33 { m=$1; n=i($2); assert(m>n) }
/illumos-gate/usr/src/lib/libnsl/dial/
H A Ddial.c136 assert(const char *s1, const char *s2, int i1, const char *s3, int i2) function
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlock.c44 assert(char *s1, char *s2, int i1, char *s3, int i2) function
/illumos-gate/usr/src/tools/smatch/src/
H A Dsort.c23 #include <assert.h>
25 #define assert(x) macro
75 assert (l != head);
85 assert (l != head || n == 0);
89 assert (cmp (a, b) <= 0);
99 assert (nbuf >= nr); \
107 assert (nbuf <= (b)->nr); \
155 assert (i1 >= 0 && i1 < b1->nr);
156 assert (i2 >= 0 && i2 < b2->nr);
157 assert (b
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfc_led_parse.c44 static int get_assert(str *p_str, int *assert);
339 get_assert(str *p_str, int *assert) argument
350 *assert = i;
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcontrol.c57 assert(int op, char* pred, char* args) function
1322 assert(directive, pp.tmpbuf, pp.args);
1325 assert(directive, pp.tmpbuf, NiL);
/illumos-gate/usr/src/common/mpi/
H A Dmpi.h59 #define assert ASSERT macro
384 #include <assert.h>
385 #define ARGCHK(X,Y) assert(X)
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c57 #include <assert.h>
71 #undef assert macro
72 #define assert(EX) ((void)0) macro
/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-sha2.c59 * Some sanity checking code is included using assert(). On my FreeBSD
61 * defined. Check your own systems manpage on assert() to see how to
95 #define assert(x) macro
730 assert(sha != (SHA256_CTX*)0);
/illumos-gate/usr/src/cmd/sh/
H A Ddefs.h217 #define assert(x) macro
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dlemon.c37 /********* From the file "assert.h" ************************************/
40 # define assert(X) if(!(X))myassert(__FILE__,__LINE__) macro
42 # define assert(X) macro
358 assert( ap1->type==REDUCE || ap1->type==RD_RESOLVED || ap1->type==CONFLICT);
359 assert( ap2->type==REDUCE || ap2->type==RD_RESOLVED || ap2->type==CONFLICT);
480 assert( p->nLookahead>0 );
555 /********************** From the file "assert.c" ****************************/
931 assert( stp->ap );
977 assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */
994 assert( sp
[all...]
/illumos-gate/usr/src/man/man3head/
H A DMakefile27 assert.h.3head \
215 assert.3head \
401 assert.3head := LINKSRC = assert.h.3head
/illumos-gate/usr/src/man/man9f/
H A DMakefile573 assert.9f \
1323 assert.9f := LINKSRC = ASSERT.9f
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h9606 } assert; member in union:fw_debug_cmd::fw_debug

Completed in 173 milliseconds