Home
last modified time | relevance | path

Searched refs:assert_ptr_null (Results 1 – 19 of 19) 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_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/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()
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()
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()
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_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()
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()
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()
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
/external/jemalloc/test/include/test/
Dtest.h24 #define assert_ptr_null(a, ...) assert_cmp(void *, a, NULL, ==, \ macro