/external/stlport/test/unit/ |
H A D | assert_header_test.c | 8 #include <assert.h>
|
/external/clang/test/SemaCXX/ |
H A D | warn-string-conversion.cpp | 5 void assert(bool condition); 10 assert("error"); // expected-warning{{implicit conversion turns string literal into bool: 'const char [6]' to 'bool'}} 11 assert(0 && "error");
|
/external/chromium_org/third_party/angle_dx11/src/compiler/ |
H A D | InitializeDll.cpp | 16 assert(0 && "InitProcess(): Failed to initalize global pool"); 21 assert(0 && "InitProcess(): Failed to initalize parse context");
|
H A D | debug.h | 12 #include <assert.h> 39 assert(expression); \ 44 assert(false); \ 49 assert(false); \
|
/external/valgrind/main/memcheck/tests/ |
H A D | malloc_usable.c | 1 #include <assert.h> 14 assert(99 == malloc_usable_size(x)); 15 assert( 0 == malloc_usable_size(NULL)); 16 assert( 0 == malloc_usable_size((void*)0xdeadbeef));
|
H A D | memalign2.c | 16 #include <assert.h> 31 assert(sizeof(long int) == sizeof(void*)); 41 // assert failures (as reclaimable blocks cannot be splitted). 42 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); 46 // an assert. Note that the test has to be run with a --free-list-vol 50 piece = malloc(1024 * 1000); assert (piece); 55 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); 56 piece = malloc(1024 * 100); assert (piece); 60 p = memalign(0, 100); assert(0 == (long)p % 8); 61 p = memalign(1, 100); assert( [all...] |
H A D | accounting.c | 6 #include <assert.h> 15 assert(p != NULL); 18 assert(r == NULL);
|
/external/chromium_org/ppapi/cpp/ |
H A D | logging.h | 16 #define PP_DCHECK(a) assert(a) 32 #define PP_NOTREACHED() assert(false)
|
/external/clang/test/SemaTemplate/ |
H A D | rdar9173693.cpp | 4 template< bool C > struct assert { }; struct 6 template< typename Pred > assert<false> assert_not_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ); // expected-error 5 {{}}
|
/external/chromium_org/third_party/libwebp/dec/ |
H A D | layer.c | 14 #include <assert.h> 26 assert(dec); 27 assert(dec->layer_data_size_ > 0);
|
/external/webp/src/dec/ |
H A D | layer.c | 14 #include <assert.h> 26 assert(dec); 27 assert(dec->layer_data_size_ > 0);
|
/external/valgrind/main/memcheck/tests/darwin/ |
H A D | env.c | 1 #include <assert.h> 15 assert( 0 == strcmp(getenv("MYVAR"), val1) ); 18 assert( 0 == strcmp(getenv("MYVAR"), val2) ); 21 assert( 0 == strcmp(getenv("MYVAR"), val2) ); 24 assert( 0 == strcmp(getenv("MYVAR"), "xxxx") ); 27 assert( NULL == getenv("MYVAR") );
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | uassert.h | 13 * By default, U_ASSERT just wraps the C library assert macro. 14 * By changing the definition here, the assert behavior for ICU can be changed 15 * without affecting other non-ICU uses of the C library assert(). 27 #include <assert.h> 28 #define U_ASSERT(exp) assert(exp)
|
/external/compiler-rt/lib/msan/lit_tests/ |
H A D | setlocale.cc | 3 #include <assert.h> 9 assert(locale);
|
/external/icu4c/common/ |
H A D | uassert.h | 13 * By default, U_ASSERT just wraps the C library assert macro. 14 * By changing the definition here, the assert behavior for ICU can be changed 15 * without affecting other non-ICU uses of the C library assert(). 25 # include <assert.h> 26 # define U_ASSERT(exp) assert(exp)
|
/external/valgrind/main/helgrind/tests/ |
H A D | tc15_laog_lockdel.c | 5 #include <assert.h> 19 assert(mx1); 20 assert(mx2); 22 r = pthread_mutex_init( mx1, NULL ); assert(r==0); 23 r = pthread_mutex_init( mx2, NULL ); assert(r==0); 27 r = pthread_mutex_lock( mx1 ); assert(r==0); 28 r = pthread_mutex_lock( mx2 ); assert(r==0); 30 r = pthread_mutex_unlock( mx1 ); assert(r==0); 31 r = pthread_mutex_unlock( mx2 ); assert(r==0); 35 r = pthread_mutex_lock( mx2 ); assert( [all...] |
H A D | tc13_laog1.c | 5 #include <assert.h> 14 r = pthread_mutex_init( &mx1, NULL ); assert(r==0); 15 r = pthread_mutex_init( &mx2, NULL ); assert(r==0); 17 r = pthread_mutex_lock( &mx1 ); assert(r==0); 18 r = pthread_mutex_lock( &mx2 ); assert(r==0); 20 r = pthread_mutex_unlock( &mx1 ); assert(r==0); 21 r = pthread_mutex_unlock( &mx2 ); assert(r==0); 23 r = pthread_mutex_lock( &mx2 ); assert(r==0); /* error */ 24 r = pthread_mutex_lock( &mx1 ); assert(r==0); 26 r = pthread_mutex_unlock( &mx1 ); assert( [all...] |
H A D | locked_vs_unlocked2.c | 5 #include <assert.h> 27 r= pthread_mutex_lock(&mx1a); assert(!r); 28 r= pthread_mutex_lock(&mx1b); assert(!r); 30 r= pthread_mutex_unlock(&mx1b); assert(!r); 31 r= pthread_mutex_unlock(&mx1a); assert(!r); 32 r= pthread_mutex_destroy(&mx1a); assert(!r); 43 r= pthread_mutex_lock(&mx2a); assert(!r); 44 r= pthread_mutex_lock(&mx2b); assert(!r); 46 r= pthread_mutex_unlock(&mx2b); assert(!r); 47 r= pthread_mutex_unlock(&mx2a); assert(! [all...] |
/external/valgrind/main/memcheck/tests/x86/ |
H A D | espindola2.c | 3 #include <assert.h> 12 assert(x);
|
/external/valgrind/main/drd/tests/ |
H A D | trylock.c | 15 #include <assert.h> 30 r = pthread_rwlock_init(&rwlock, NULL); assert(r == 0); 32 r = pthread_rwlock_wrlock(&rwlock); assert(r == 0); 33 r = pthread_rwlock_unlock(&rwlock); assert(r == 0); 35 r = pthread_rwlock_trywrlock(&rwlock); assert(r == 0); 36 r = pthread_rwlock_unlock(&rwlock); assert(r == 0); 39 r = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); assert(r == 0); 40 r = pthread_rwlock_unlock(&rwlock); assert(r == 0); 43 r = pthread_rwlock_rdlock(&rwlock); assert(r == 0); 44 r = pthread_rwlock_rdlock(&rwlock); assert( [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
H A D | utils.h | 32 #ifndef assert 34 #include <assert.h> 37 #define assert(expr) ((void)((expr) ? true : __debugbreak())) macro 39 #define assert(expr) ((void)0) macro 42 #endif // assert
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILDeviceInfo.cpp | 34 assert(!is64bit && "This device does not support 64bit pointers!"); 35 assert(!is64on32bit && "This device does not support 64bit" 41 assert(!is64bit && "This device does not support 64bit pointers!"); 42 assert(!is64on32bit && "This device does not support 64bit" 48 assert(!is64bit && "This device does not support 64bit pointers!"); 49 assert(!is64on32bit && "This device does not support 64bit" 55 assert(!is64bit && "This device does not support 64bit pointers!"); 56 assert(!is64on32bit && "This device does not support 64bit" 63 assert(!is64bit && "This device does not support 64bit pointers!"); 64 assert(!is64on32bi [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILDeviceInfo.cpp | 34 assert(!is64bit && "This device does not support 64bit pointers!"); 35 assert(!is64on32bit && "This device does not support 64bit" 41 assert(!is64bit && "This device does not support 64bit pointers!"); 42 assert(!is64on32bit && "This device does not support 64bit" 48 assert(!is64bit && "This device does not support 64bit pointers!"); 49 assert(!is64on32bit && "This device does not support 64bit" 55 assert(!is64bit && "This device does not support 64bit pointers!"); 56 assert(!is64on32bit && "This device does not support 64bit" 63 assert(!is64bit && "This device does not support 64bit pointers!"); 64 assert(!is64on32bi [all...] |
/external/valgrind/main/massif/tests/ |
H A D | malloc_usable.c | 1 #include <assert.h> 14 assert(104 == malloc_usable_size(x) || 16 assert( 0 == malloc_usable_size(NULL)); 17 assert( 0 == malloc_usable_size((void*)0xdeadbeef));
|
/external/compiler-rt/lib/tsan/lit_tests/ |
H A D | sigsuspend.cc | 2 #include <assert.h> 17 assert(SIG_ERR != signal(kSignalToTest, do_nothing_signal_handler)); 19 assert(0 == sigemptyset(&empty_set)); 21 assert(0 == sigaddset(&one_signal, kSignalToTest)); 23 assert(0 == sigprocmask(SIG_BLOCK, &one_signal, &old_set)); 25 assert(!signal_handler_ran); 27 assert(0 == sigfillset(&all_but_one)); 28 assert(0 == sigdelset(&all_but_one, kSignalToTest)); 30 assert(signal_handler_ran); 33 assert( [all...] |