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

12

/system/core/adb/
H A Dcommandline.c27 #include <assert.h>
H A Dget_my_path_windows.c18 #include <assert.h>
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 );
/system/core/libctest/
H A Dctest.c17 #include <assert.h>
50 assert(suite != NULL);
53 assert(suite->out != NULL);
60 assert(testSuite->size <= MAX_TESTS);
/system/core/libcutils/
H A Darray.c18 #include <assert.h>
37 assert(array != NULL);
93 assert(array != NULL);
105 assert(array != NULL);
106 assert(index < array->size);
107 assert(index >= 0);
141 assert(array != NULL);
142 assert(newSize >= 0);
164 assert(array != NULL);
H A Dbuffer.c19 #include <assert.h>
78 assert(buffer->size < buffer->expected);
97 assert(buffer->remaining > 0);
98 assert(buffer->remaining <= buffer->size);
H A Dhashmap.c18 #include <assert.h>
45 assert(hash != NULL);
46 assert(equals != NULL);
H A Dmq.c19 #include <assert.h>
1135 assert(peer != NULL);
1203 assert(peer != NULL);
1352 assert(localPeer != NULL);
H A Dopen_memstream.c54 #include <assert.h>
145 assert(stream->offset < stream->allocSize);
H A Dproperties.c24 #include <assert.h>
127 assert(gPropFd == -1);
194 assert(0);
H A Drecord_stream.c20 #include <assert.h>
49 assert (maxRecordLen <= 0xffff);
148 assert (0);
H A Dselector.c19 #include <assert.h>
113 assert(selector != NULL);
H A Dstrdup16to8.c21 #include <assert.h>
H A Dstrdup8to16.c19 #include <assert.h>
/system/core/liblog/
H A Devent_tag_map.c24 #include <assert.h>
346 assert(endp == cp);
H A Dlogprint.c26 #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/core/libpixelflinger/
H A Dbuffer.cpp19 #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);
H A Dpixelflinger.cpp21 #include <assert.h>
H A Dscanline.cpp21 #include <assert.h>
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp19 #include <assert.h>
H A DGGLAssembler.cpp20 #include <assert.h>
H A Dblending.cpp18 #include <assert.h>
H A Dload_store.cpp18 #include <assert.h>
114 assert(maskLen<=11);
116 assert(maskLen<=8);
118 assert(h);
199 assert(src.size());
H A Dtexturing.cpp18 #include <assert.h>
/system/core/libpixelflinger/tinyutils/
H A DKeyedVector.h13 #include <assert.h>
118 assert(i>=0);
135 assert(i>=0);

Completed in 121 milliseconds

12