Home
last modified time | relevance | path

Searched refs:assert_ptr_null (Results 1 – 9 of 9) sorted by relevance

/external/jemalloc/test/integration/
Doverflow.c23 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN()
25 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN()
28 assert_ptr_null(calloc(1, max_size_class + 1), in TEST_BEGIN()
30 assert_ptr_null(calloc(1, SIZE_T_MAX), in TEST_BEGIN()
35 assert_ptr_null(realloc(p, max_size_class + 1), in TEST_BEGIN()
37 assert_ptr_null(realloc(p, SIZE_T_MAX), in TEST_BEGIN()
Dmallocx.c72 assert_ptr_null(mallocx(hugemax+1, 0), in TEST_BEGIN()
75 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
78 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
81 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
115 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
118 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
122 assert_ptr_null(mallocx(0x80000000UL, MALLOCX_ALIGN(0x80000000UL)), in TEST_BEGIN()
202 assert_ptr_null( in TEST_BEGIN()
Drallocx.c173 assert_ptr_null( in TEST_BEGIN()
200 assert_ptr_null( in TEST_BEGIN()
232 assert_ptr_null(rallocx(p, hugemax+1, 0), in TEST_BEGIN()
235 assert_ptr_null(rallocx(p, ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
238 assert_ptr_null(rallocx(p, SIZE_T_MAX, 0), in TEST_BEGIN()
241 assert_ptr_null(rallocx(p, 1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
/external/jemalloc/test/unit/
Drtree.c25 assert_ptr_null(rtree_get(&rtree, 0, false), in TEST_BEGIN()
81 assert_ptr_null(rtree_get(&rtree, in TEST_BEGIN()
126 assert_ptr_null(rtree_get(&rtree, keys[j], true), in TEST_BEGIN()
130 assert_ptr_null(rtree_get(&rtree, keys[j], true), in TEST_BEGIN()
Dql.c20 assert_ptr_null(ql_first(head), "Unexpected element for empty list"); in test_empty_list()
21 assert_ptr_null(ql_last(head, link), in test_empty_list()
84 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list()
87 assert_ptr_null(ql_prev(head, &entries[0], link), "Unexpected element"); in test_entries_list()
Drb.c53 assert_ptr_null(tree_first(&tree), "Unexpected node"); in TEST_BEGIN()
54 assert_ptr_null(tree_last(&tree), "Unexpected node"); in TEST_BEGIN()
58 assert_ptr_null(tree_search(&tree, &key), "Unexpected node"); in TEST_BEGIN()
62 assert_ptr_null(tree_nsearch(&tree, &key), "Unexpected node"); in TEST_BEGIN()
66 assert_ptr_null(tree_psearch(&tree, &key), "Unexpected node"); in TEST_BEGIN()
Dph.c144 assert_ptr_null(heap_first(&heap), "Unexpected node"); in TEST_BEGIN()
272 assert_ptr_null(heap_first(&heap), in TEST_BEGIN()
Dmq.c19 assert_ptr_null(mq_tryget(&mq), in mq_gen()
/external/jemalloc/test/include/test/
Dtest.h24 #define assert_ptr_null(a, ...) assert_cmp(void *, a, NULL, ==, \ macro