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

/system/extras/tests/bionic/libc/bionic/
H A Dtest_mutex.c44 #define assert(cond) do { if ( !(cond) ) panic( "%s:%d: assertion failure: %s\n", __FILE__, __LINE__, #cond ); } while (0) macro
66 assert( attr_type == PTHREAD_MUTEX_NORMAL );
70 assert( attr_type == PTHREAD_MUTEX_ERRORCHECK );
74 assert( attr_type == PTHREAD_MUTEX_RECURSIVE );
/system/core/adb/
H A Dsysdeps_win32.c11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__, __LINE__ ); } while (0) macro
975 assert( avail > 0 ); /* since can_write is TRUE */
990 assert( count > 0 );
1046 assert( avail > 0 ); /* since can_read is TRUE */
1082 assert( count > 0 );

Completed in 47 milliseconds