Searched refs:assert (Results 1 – 14 of 14) sorted by relevance
/bionic/tests/ |
D | assert_test.cpp | 22 TEST(assert, assert_true) { in TEST() argument 23 assert(true); in TEST() 26 TEST(assert, assert_false) { in TEST() argument 27 EXPECT_DEATH(assert(false), in TEST() 37 TEST(assert, assert_true_NDEBUG) { in TEST() argument 38 assert(true); in TEST() 41 TEST(assert, assert_false_NDEBUG) { in TEST() argument 42 assert(false); in TEST()
|
/bionic/libc/include/ |
D | assert.h | 42 #undef assert 48 # define assert(e) __assert_no_op macro 51 # define assert(e) ((e) ? __assert_no_op : __assert2(__FILE__, __LINE__, __PRETTY_FUNCTION__, #e)) macro 53 # define assert(e) ((e) ? __assert_no_op : __assert(__FILE__, __LINE__, #e)) macro
|
/bionic/tests/libs/ |
D | cfi_test_lib.cpp | 66 assert(&__cfi_slowpath); in check_cfi_self() 73 assert(g_last_type_id == 13); in check_cfi_self() 76 assert(g_last_type_id == 13); in check_cfi_self()
|
/bionic/libc/bionic/ |
D | time64.c | 248 assert(tm->tm_sec >= 0); in check_tm() 249 assert(tm->tm_sec <= 61); in check_tm() 251 assert(tm->tm_min >= 0); in check_tm() 252 assert(tm->tm_min <= 59); in check_tm() 254 assert(tm->tm_hour >= 0); in check_tm() 255 assert(tm->tm_hour <= 23); in check_tm() 257 assert(tm->tm_mday >= 1); in check_tm() 258 assert(tm->tm_mday <= days_in_month[IS_LEAP(tm->tm_year)][tm->tm_mon]); in check_tm() 260 assert(tm->tm_mon >= 0); in check_tm() 261 assert(tm->tm_mon <= 11); in check_tm() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 248 assert(m->coldp != NULL); in matcher() 254 assert(m->coldp < m->endp); in matcher() 288 assert(g->backrefs); /* must be back references doing it */ in matcher() 289 assert(g->nplus == 0 || m->lastpos != NULL); in matcher() 300 assert(m->pmatch[i].rm_so == (regoff_t)-1); in matcher() 301 assert(m->pmatch[i].rm_eo == (regoff_t)-1); in matcher() 307 assert(dp == NULL || dp == endp); in matcher() 314 assert(start <= stop); in matcher() 324 assert(m->pmatch != NULL); in matcher() 400 assert(nope); in dissect() [all …]
|
D | regcomp.c | 386 assert(!MORE() || SEE(stop)); in p_ere() 407 assert(MORE()); /* caller should have ensured this */ in p_ere_exp() 423 assert(p->pend[subno] != 0); in p_ere_exp() 629 assert(MORE()); /* caller should have ensured this */ in p_simp_re() 659 assert(p->pend[subno] != 0); in p_simp_re() 678 assert(i < NPAREN); in p_simp_re() 680 assert(i <= p->g->nsub); in p_simp_re() 682 assert(p->pbegin[i] != 0); in p_simp_re() 683 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re() 684 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_simp_re() [all …]
|
D | regexec.c | 223 assert(!(g->iflags&BAD));
|
/bionic/libc/dns/net/ |
D | nsdispatch.c | 112 assert(database != NULL); in nsdispatch() 113 assert(method != NULL); in nsdispatch() 114 assert(defaults != NULL); in nsdispatch()
|
D | getaddrinfo.c | 348 assert(p != NULL); in str2number() 596 assert(res != NULL); in android_getaddrinfofornetcontext() 597 assert(netcontext != NULL); in android_getaddrinfofornetcontext() 808 assert(pai != NULL); in explore_fqdn() 811 assert(res != NULL); in explore_fqdn() 866 assert(pai != NULL); in explore_null() 868 assert(res != NULL); in explore_null() 932 assert(pai != NULL); in explore_numeric() 935 assert(res != NULL); in explore_numeric() 1022 assert(pai != NULL); in explore_numeric_scope() [all …]
|
D | getnameinfo.c | 357 assert(sa != NULL); in ip6_parsenumeric() 358 assert(addr != NULL); in ip6_parsenumeric() 359 assert(host != NULL); in ip6_parsenumeric() 398 assert(sa6 != NULL); in ip6_sa2str() 399 assert(buf != NULL); in ip6_sa2str()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | math_private.h | 365 assert(__ia == 0 || fabsl(__ia) >= fabsl(__ib)); \ 372 assert((long double)__ia + __ib == (long double)(a) + (b)); \ 376 assert(__vw == (a) && __r == (b)); \
|
/bionic/libc/tools/ |
D | posix-2013.txt | 39 assert
|
/bionic/libc/dns/nameser/ |
D | ns_print.c | 1223 assert(len <= *buflen); in addlen()
|
/bionic/libc/ |
D | Android.bp | 1254 "bionic/assert.cpp",
|