Searched refs:assert (Results 1 - 25 of 5217) sorted by path

1234567891011>>

/external/aac/libSYS/include/
H A Dmachine_type.h194 #include <assert.h>
195 #define FDK_ASSERT(x) assert(x)
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-tree-wizard.rb61 assert( !(lexer.error) )
69 assert( !(lexer.error) )
366 assert @wizard.match(tree, "(A B C)")
371 assert @wizard.match(tree, 'A')
376 assert( !(@wizard.match(tree, 'B')) )
382 assert @wizard.match(tree, '(nil A B C)')
387 assert( !(@wizard.match(tree, '(nil A B)')) )
392 assert( !(@wizard.match(tree, '(nil A B A)')) )
397 assert @wizard.match(tree, '(A . .)')
402 assert
[all...]
H A Dtest-trees.rb52 assert(root_0.parent.nil?)
/external/bison/
H A Dconfigure2463 --disable-assert turn off assertions
3024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3030 # include <assert.h>
6071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6080 # include <assert.h>
6130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6139 # include <assert.h>
7242 # Code from module assert:
20121 # Check whether --enable-assert was given.
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >
[all...]
H A Dmaint.mk482 # Prohibit the inclusion of assert.h without an actual use of assert.
484 @h='assert.h' re='\<assert *\(' $(_sc_header_without_use)
/external/bison/etc/
H A Dbench.pl.in137 #include <assert.h>
294 assert (0 <= exponent);
/external/bison/lib/
H A Dmbuiter.h92 #include <assert.h>
147 assert (mbsinit (&iter->state));
175 assert (*iter->cur.ptr == '\0');
176 assert (iter->cur.wc == 0);
/external/bison/src/
H A Dsystem.h132 a failed assertion. The rationale was that <assert.h>'s assertions
138 However, normal assert output can be helpful during development and
140 <assert.h>'s assertions are significantly heavyweight. Finally, if
146 For now, we use assert but we call it aver throughout Bison in case
149 # include <assert.h>
150 # define aver assert
/external/bison/tests/
H A Dtestsuite5288 #include <assert.h>
5362 assert (toknum < sizeof input);
6144 #include <assert.h>
6152 assert (toknum < sizeof input / sizeof input[0]);
10619 #include <assert.h>
10742 assert (0 <= exponent);
10764 assert (global_result == result);
10765 assert (global_count == count);
[all...]
/external/blktrace/btreplay/
H A Dbtrecord.c23 #include <assert.h>
279 assert(cur != NULL);
280 assert(cur->hdr.npkts < BT_MAX_PKTS);
281 assert(stream->last_time == 0 || stream->last_time <= spec->time);
375 assert(p != NULL);
510 assert(data_is_native >= 0);
575 assert(0 < hdrp->npkts && hdrp->npkts <= BT_MAX_PKTS);
584 assert(stream->vfp);
602 assert(0 < npkts && npkts <= BT_MAX_PKTS);
611 assert(strea
[all...]
H A Dbtreplay.c23 #include <assert.h>
395 assert(*vp < mxv);
477 assert(1 <= iter_start && iter_start <= nfiles);
488 assert(iter_start == 0);
532 assert(0 <= tip->cpu && tip->cpu < ncpus);
606 assert(p != NULL);
717 assert(rw == 0 || rw == 1);
718 assert(0 < n && (n % nb_sec) == 0);
719 assert(0 <= off);
727 assert(io
[all...]
/external/bluetooth/bluedroid/main/
H A Dbte_main.c28 #include <assert.h>
278 assert(result == BT_HC_STATUS_SUCCESS);
/external/bluetooth/bluedroid/stack/include/
H A Dwcassert.h48 #include "assert.h"
50 #define WC_ASSERT(_x) assert(_x);
51 #define WC_ASSERT_ALWAYS() assert(0);
/external/bzip2/
H A Dunzcrash.c32 #include <assert.h>
99 assert (r == BZ_OK);
130 assert (nOut == nIn);
/external/ceres-solver/include/ceres/internal/
H A Dscoped_ptr.h38 #include <assert.h>
91 // operator* and operator-> will assert() if there is no current object.
93 assert(ptr_ != NULL);
97 assert(ptr_ != NULL);
223 // Will assert() if there is no current object, or index i is negative.
225 assert(i >= 0);
226 assert(array_ != NULL);
/external/ceres-solver/internal/ceres/
H A Dcasts.h102 assert(f == NULL || dynamic_cast<To>(f) != NULL); // NOLINT
H A Dmutex.h105 // lines, and change TryLock() to assert(0) or something.
137 #include <assert.h>
196 // In debug mode, we assert these invariants, while in non-debug mode
198 // assert.
201 Mutex::~Mutex() { assert(mutex_ == 0); }
202 void Mutex::Lock() { assert(--mutex_ == -1); }
203 void Mutex::Unlock() { assert(mutex_++ == -1); }
207 void Mutex::ReaderLock() { assert(++mutex_ > 0); }
208 void Mutex::ReaderUnlock() { assert(mutex_-- > 0); }
/external/checkpolicy/
H A Dmodule_compiler.c12 #include <assert.h>
144 assert(s != NULL);
239 assert(stack_top->type == 1);
302 assert(0); /* should never get here */
365 assert(0); /* should never get here */
444 assert(stack_top->type == 1);
501 assert(0); /* should never get here */
518 assert(stack_top->type == 1);
565 assert(stack_top->type == 1);
639 assert(
[all...]
H A Dpolicy_define.c31 #include <assert.h>
184 assert(0); /* should never get here */
726 assert(0); /* should never get here */
765 assert(0); /* should never get here */
895 assert(0); /* should never get here */
937 assert(0); /* should never get here */
1146 assert(aliasdatum);
1154 assert(0); /* should never get here */
1652 assert(0); /* should never get here */
2176 assert(
[all...]
H A Dpolicy_parse.y33 #include <assert.h>
/external/checkpolicy/test/
H A Ddismod.c20 #include <assert.h>
107 assert(scope != NULL);
665 assert(0);
H A Ddispol.c28 #include <assert.h>
/external/chromium-trace/trace-viewer/src/ui/
H A Dtext_end_value_bar.js36 console.assert(typeof newValue === 'object' &&
48 console.assert(typeof newValue === 'object' &&
H A Dvalue_bar.js151 console.assert(offset >= 0);
166 console.assert(fractionalValue >= 0 && fractionalValue <= 1);
/external/chromium/android/
H A Dprefix.h55 // Need to define assert before logging.h undefines it.
56 #include <assert.h>

Completed in 790 milliseconds

1234567891011>>