Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/include/
Dassert.h47 #undef assert
51 # define assert(e) ((void)0) macro
54 # define _assert(e) assert(e)
56 # define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e)) macro
58 # define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e)) macro
/bionic/libc/dns/net/
Dbase64.c148 assert(src != NULL);
149 assert(target != NULL);
163 assert(output[0] < 64);
164 assert(output[1] < 64);
165 assert(output[2] < 64);
166 assert(output[3] < 64);
188 assert(output[0] < 64);
189 assert(output[1] < 64);
190 assert(output[2] < 64);
224 assert(src != NULL);
[all …]
Dnsdispatch.c112 assert(database != NULL); in nsdispatch()
113 assert(method != NULL); in nsdispatch()
114 assert(defaults != NULL); in nsdispatch()
Dgetaddrinfo.c350 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 …]
Dgetnameinfo.c360 assert(sa != NULL); in ip6_parsenumeric()
361 assert(addr != NULL); in ip6_parsenumeric()
362 assert(host != NULL); in ip6_parsenumeric()
401 assert(sa6 != NULL); in ip6_sa2str()
402 assert(buf != NULL); in ip6_sa2str()
/bionic/libc/bionic/
Dtime64.c248 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/
Dengine.c248 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 …]
Dregcomp.c387 assert(!MORE() || SEE(stop)); in p_ere()
408 assert(MORE()); /* caller should have ensured this */ in p_ere_exp()
424 assert(p->pend[subno] != 0); in p_ere_exp()
630 assert(MORE()); /* caller should have ensured this */ in p_simp_re()
660 assert(p->pend[subno] != 0); in p_simp_re()
679 assert(i < NPAREN); in p_simp_re()
681 assert(i <= p->g->nsub); in p_simp_re()
683 assert(p->pbegin[i] != 0); in p_simp_re()
684 assert(OP(p->strip[p->pbegin[i]]) == OLPAREN); in p_simp_re()
685 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_simp_re()
[all …]
Dregexec.c223 assert(!(g->iflags&BAD));
/bionic/libc/upstream-dlmalloc/
Dmalloc.c1445 #undef assert
1446 #define assert(x) if(!(x)) ABORT macro
1451 #ifndef assert
1452 #define assert(x) macro
1845 assert(*sl != 0); in x86_clear_lock()
1923 assert(lk->sl != 0); in recursive_release_lock()
3234 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
3235 assert(ok_address(m, p)); in do_check_any_chunk()
3242 assert(sp != 0); in do_check_top_chunk()
3243 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
[all …]
/bionic/libstdc++/include/
Dcassert31 * Standard C++ Library wrapper around the C assert.h header file. This file
39 #include <assert.h>
/bionic/libm/upstream-freebsd/lib/msun/src/
Dmath_private.h365 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/
Dposix-2013.txt39 assert
/bionic/libc/dns/nameser/
Dns_print.c1223 assert(len <= *buflen); in addlen()
/bionic/libc/
DAndroid.mk101 bionic/assert.cpp \