Searched refs:assert (Results 1 - 25 of 55) sorted by relevance
123
/system/extras/tests/bionic/libstdc++/ |
H A D | test_cassert.cpp | 41 #ifndef assert 42 #error "assert must be a macro"
|
/system/extras/tests/bionic/libc/glibc/assert/ |
H A D | test-assert.c | 1 /* Test assert(). 24 #include <assert.h> 28 assert (1 == 2); 34 assert (1 == 1); 39 #include <assert.h> 43 assert (2 == 3);
|
/system/core/include/utils/ |
H A D | UniquePtr.h | 149 static void assert(bool b) { function 164 assert(*p == 123); 178 assert(cCount == 1); 180 assert(cCount == 0); 185 assert(cCount == 1); 188 assert(cCount == 1); 193 assert(cCount == 1); 195 assert(cCount == 1); 197 assert(cCount == 0); 206 assert(cCoun [all...] |
H A D | Tokenizer.h | 20 #include <assert.h>
|
/system/extras/fatblock/ |
H A D | fat.c | 17 #include <assert.h> 29 assert(de); 39 assert(de); 40 assert(name);
|
H A D | fdpool.c | 17 #include <assert.h> 40 assert(node); 55 assert(prev); 56 assert(next); 68 assert(tail != &fdpool_head); 77 assert(pfd); 142 assert(pfd);
|
H A D | read.c | 17 #include <assert.h> 31 assert(buf); 32 assert(out); 44 assert(off < buf_len); 45 assert(off + len <= buf_len); 57 assert(f); 78 assert(f); 79 assert(buf); 128 assert(d); 129 assert(bu [all...] |
H A D | fs.c | 17 #include <assert.h> 31 assert(fs); 32 assert(extent); 52 assert(fs); 84 assert(e_rel_start < e_len); 85 assert(e_rel_start + rel_len <= e_len); 86 assert(r_rel_start < len); 87 assert(r_rel_start + rel_len <= len); 104 assert(fs); 112 assert(f [all...] |
/system/extras/libublock/ |
H A D | ublock.c | 17 #include <assert.h> 54 assert(ub_ctx); 61 assert(ub_ctx); 75 assert(ub_ctx); 76 assert(in); 77 assert(out); 110 assert(ub_ctx); 111 assert(in); 112 assert(out); 132 assert(ub_ct [all...] |
/system/core/adb/ |
H A D | get_my_path_windows.c | 18 #include <assert.h>
|
/system/core/libutils/ |
H A D | FileMap.cpp | 36 #include <assert.h> 57 assert(mRefCount == 0); 140 assert(mRefCount == 1); 141 assert(fd >= 0); 142 assert(offset >= 0); 143 assert(length > 0); 191 assert(mBasePtr != NULL); 214 assert(false);
|
H A D | LinearTransform.cpp | 19 #include <assert.h> 38 assert(res); 39 assert(D); 216 assert(false);
|
/system/core/liblog/ |
H A D | logprint.c | 26 #include <assert.h> 685 assert(entry->messageLen == (messageBufLen-1) - outRemaining); 955 assert (ANDROID_LOG_INFO == filterPriForTag(p_format, "random")); 956 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == 0); 958 assert (ANDROID_LOG_DEBUG == filterPriForTag(p_format, "random")); 959 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0); 961 assert (ANDROID_LOG_VERBOSE == filterPriForTag(p_format, "random")); 962 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0); 964 assert (ANDROID_LOG_INFO == filterPriForTag(p_format, "random")); 965 assert(android_log_shouldPrintLin [all...] |
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 20 #include <assert.h> 107 assert(first != NULL); 108 assert(second != NULL); 109 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec); 110 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); 130 assert(first != NULL); 131 assert(second != NULL); 132 assert(first->tv_usec >= 0 && first->tv_usec < uSecsPerSec); 133 assert(second->tv_usec >= 0 && second->tv_usec < uSecsPerSec); 344 assert((ALE [all...] |
/system/core/libctest/ |
H A D | ctest.c | 17 #include <assert.h> 50 assert(suite != NULL); 53 assert(suite->out != NULL); 60 assert(testSuite->size <= MAX_TESTS);
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_mutex.c | 44 #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/libcutils/ |
H A D | record_stream.c | 20 #include <assert.h> 49 assert (maxRecordLen <= 0xffff); 148 assert (0);
|
H A D | strdup16to8.c | 21 #include <assert.h>
|
H A D | properties.c | 24 #include <assert.h> 136 assert(gPropFd == -1); 203 assert(0);
|
H A D | hashmap.c | 18 #include <assert.h> 45 assert(hash != NULL); 46 assert(equals != NULL);
|
/system/core/libsparse/ |
H A D | backed_block.c | 17 #include <assert.h> 77 assert(bb->type == BACKED_BLOCK_DATA); 83 assert(bb->type == BACKED_BLOCK_FILE); 89 assert(bb->type == BACKED_BLOCK_FD); 95 assert(bb->type == BACKED_BLOCK_FILE || bb->type == BACKED_BLOCK_FD); 105 assert(bb->type == BACKED_BLOCK_FILL); 201 assert(a->block < b->block);
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 19 #include <assert.h> 114 assert((x < s->width) && (y < s->height)); 165 assert((x < s->width) && (y < s->height)); 280 assert(h); 294 assert(sbits); 332 assert(sbits>=dbits);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | KeyedVector.h | 20 #include <assert.h> 127 assert(i>=0); 144 assert(i>=0);
|
H A D | SortedVector.h | 20 #include <assert.h> 186 assert( index<size() ); 197 assert( (index>0 ? index : -index)<size() );
|
/system/core/toolbox/cp/ |
H A D | cp.c | 68 #include <assert.h> 314 assert(dnesp < MAXPATHLEN); 323 assert(dnesp >= 0);
|
Completed in 446 milliseconds
123