Home
last modified time | relevance | path

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

/external/jemalloc_new/test/integration/
Doverflow.c22 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN()
24 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN()
27 assert_ptr_null(calloc(1, max_size_class + 1), in TEST_BEGIN()
29 assert_ptr_null(calloc(1, SIZE_T_MAX), in TEST_BEGIN()
34 assert_ptr_null(realloc(p, max_size_class + 1), in TEST_BEGIN()
36 assert_ptr_null(realloc(p, SIZE_T_MAX), in TEST_BEGIN()
Dmallocx.c59 assert_ptr_null(mallocx(largemax+1, 0), in TEST_BEGIN()
62 assert_ptr_null(mallocx(ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
65 assert_ptr_null(mallocx(SIZE_T_MAX, 0), in TEST_BEGIN()
68 assert_ptr_null(mallocx(1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
103 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
106 assert_ptr_null(mallocx(0x8000000000000000ULL, in TEST_BEGIN()
110 assert_ptr_null(mallocx(0x80000000UL, MALLOCX_ALIGN(0x80000000UL)), in TEST_BEGIN()
197 assert_ptr_null( in TEST_BEGIN()
Drallocx.c163 assert_ptr_null( in TEST_BEGIN()
189 assert_ptr_null( in TEST_BEGIN()
220 assert_ptr_null(rallocx(p, largemax+1, 0), in TEST_BEGIN()
223 assert_ptr_null(rallocx(p, ZU(PTRDIFF_MAX)+1, 0), in TEST_BEGIN()
226 assert_ptr_null(rallocx(p, SIZE_T_MAX, 0), in TEST_BEGIN()
229 assert_ptr_null(rallocx(p, 1, MALLOCX_ALIGN(ZU(PTRDIFF_MAX)+1)), in TEST_BEGIN()
/external/jemalloc_new/test/unit/
Dtsd.c99 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()
109 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()
114 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()
Dql.c21 assert_ptr_null(ql_first(head), "Unexpected element for empty list"); in test_empty_list()
22 assert_ptr_null(ql_last(head, link), in test_empty_list()
82 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list()
85 assert_ptr_null(ql_prev(head, &entries[0], link), "Unexpected element"); in test_entries_list()
Drb.c54 assert_ptr_null(tree_first(&tree), "Unexpected node"); in TEST_BEGIN()
55 assert_ptr_null(tree_last(&tree), "Unexpected node"); in TEST_BEGIN()
59 assert_ptr_null(tree_search(&tree, &key), "Unexpected node"); in TEST_BEGIN()
63 assert_ptr_null(tree_nsearch(&tree, &key), "Unexpected node"); in TEST_BEGIN()
67 assert_ptr_null(tree_psearch(&tree, &key), "Unexpected node"); in TEST_BEGIN()
Drtree.c76 assert_ptr_null(rtree_extent_read(tsdn, rtree, &rtree_ctx, PAGE, in TEST_BEGIN()
148 assert_ptr_null(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
194 assert_ptr_null(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
199 assert_ptr_null(rtree_extent_read(tsdn, rtree, &rtree_ctx, in TEST_BEGIN()
Dph.c146 assert_ptr_null(heap_first(&heap), "Unexpected node"); in TEST_BEGIN()
147 assert_ptr_null(heap_any(&heap), "Unexpected node"); in TEST_BEGIN()
300 assert_ptr_null(heap_first(&heap), in TEST_BEGIN()
302 assert_ptr_null(heap_any(&heap), in TEST_BEGIN()
Dmq.c18 assert_ptr_null(mq_tryget(&mq), in mq_gen()
/external/jemalloc_new/test/include/test/
Dtest.h24 #define assert_ptr_null(a, ...) assert_cmp(void *, a, NULL, ==, \ macro