/external/cmockery/cmockery_0_1_2/src/ |
D | cmockery.c | 247 assert_true(location); in initialize_source_location() 255 assert_true(location); in source_location_is_set() 264 assert_true(location); in set_source_location() 324 assert_true(head); in list_add_value() 325 assert_true(value); in list_add_value() 334 assert_true(head); in list_add() 335 assert_true(new_node); in list_add() 348 assert_true(node); in list_remove() 362 assert_true(node); in list_remove_free() 376 assert_true(head); in list_free() [all …]
|
/external/jemalloc/test/unit/ |
D | math.c | 45 assert_true(double_eq_rel(exp(ln_gamma(x)), in TEST_BEGIN() 197 assert_true(double_eq_rel(ln_gamma(x), in TEST_BEGIN() 248 assert_true(double_eq_rel(pt_norm(p), pt_norm_expected[i], in TEST_BEGIN() 302 assert_true(double_eq_rel(pt_chi2(p, df, ln_gamma_df), in TEST_BEGIN() 364 assert_true(double_eq_rel(pt_gamma(p, shape, 1.0, in TEST_BEGIN() 379 assert_true(double_eq_rel( in TEST_BEGIN()
|
D | ticker.c | 20 assert_true(ticker_tick(&ticker), in TEST_BEGIN() 39 assert_true(ticker_ticks(&ticker, NTICKS), "Expected ticker fire"); in TEST_BEGIN() 42 assert_true(ticker_ticks(&ticker, NTICKS + 1), "Expected ticker fire"); in TEST_BEGIN() 56 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); in TEST_BEGIN() 62 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); in TEST_BEGIN()
|
D | bitmap.c | 14 assert_true(size >= prev_size, in TEST_BEGIN() 59 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN() 82 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN() 88 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN() 115 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN() 145 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN()
|
D | witness.c | 118 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 127 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 159 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 195 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 196 assert_true(saw_not_owner_error, "Expected witness not owner error"); in TEST_BEGIN() 227 assert_true(saw_owner_error, "Expected owner error"); in TEST_BEGIN() 257 assert_true(saw_lockless_error, "Expected lockless error"); in TEST_BEGIN()
|
D | ckh.c | 72 assert_true(ckh_search(&ckh, missing, NULL, NULL), in TEST_BEGIN() 150 assert_true(ckh_search(&ckh, p[j], NULL, NULL), in TEST_BEGIN() 152 assert_true(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN() 178 assert_true(seen[j], "Item %zu not seen", j); in TEST_BEGIN() 191 assert_true(ckh_search(&ckh, p[i], NULL, NULL), in TEST_BEGIN() 193 assert_true(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
|
D | prof_gdump.c | 40 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN() 45 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN() 67 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN()
|
D | size_classes.c | 37 assert_true(index < max_index, in TEST_BEGIN() 40 assert_true(size_class < max_size_class, in TEST_BEGIN() 94 assert_true(pind < max_pind, in TEST_BEGIN() 97 assert_true(size_class < max_size_class, in TEST_BEGIN()
|
D | junk.c | 113 assert_true(!opt_junk_free || saw_junking, in test_junk() 121 assert_true(!opt_junk_free || saw_junking, in test_junk() 227 assert_true(detected_redzone_corruption, in TEST_BEGIN() 236 assert_true(detected_redzone_corruption, in TEST_BEGIN()
|
D | quarantine.c | 85 assert_true(detected_redzone_corruption, in TEST_BEGIN() 94 assert_true(detected_redzone_corruption, in TEST_BEGIN()
|
D | prof_idump.c | 42 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN()
|
D | tsd.c | 93 assert_true(data_cleanup_executed, in TEST_BEGIN()
|
D | ph.c | 143 assert_true(heap_empty(&heap), "Heap should be empty"); in TEST_BEGIN() 274 assert_true(heap_empty(&heap), "Heap should be empty"); in TEST_BEGIN()
|
D | nstime.c | 203 assert_true(nstime_update(&nst), in TEST_BEGIN()
|
D | prof_reset.c | 128 assert_true(prof_dump_header_intercepted, "Expected intercept"); in TEST_BEGIN()
|
D | rb.c | 52 assert_true(tree_empty(&tree), "Tree should be empty"); in TEST_BEGIN()
|
/external/jemalloc/test/integration/ |
D | thread_tcache_enabled.c | 33 assert_true(e0, "tcache should be enabled"); in thd_start() 44 assert_true(e0, "tcache should be enabled"); in thd_start() 49 assert_true(e0, "tcache should be enabled"); in thd_start() 66 assert_true(e0, "tcache should be enabled"); in thd_start() 72 assert_true(e0, "tcache should be enabled"); in thd_start()
|
D | chunk.c | 198 assert_true(did_dalloc, "Expected dalloc"); in TEST_BEGIN() 200 assert_true(did_purge, "Expected purge"); in TEST_BEGIN() 202 assert_true(did_split, "Expected split"); in TEST_BEGIN() 219 assert_true(did_split, "Expected split"); in TEST_BEGIN() 223 assert_true(did_merge, "Expected merge"); in TEST_BEGIN() 240 assert_true(did_purge, "Expected purge"); in TEST_BEGIN()
|
D | mallocx.c | 105 assert_true(oom, in TEST_BEGIN()
|
/external/cmockery/cmockery_0_1_2/src/example/ |
D | key_value_test.c | 57 assert_true(found); in test_find_item_by_value() 68 assert_true(kv[i - 1].key < kv[i].key); in test_sort_items_by_key()
|
D | customer_database_test.c | 48 assert_true(connect_to_customer_database() == in fail_connect_to_customer_database()
|
D | calculator_test.c | 63 assert_true(file == stderr); in example_test_fprintf() 367 assert_true(intermediate_values); in test_perform_operation()
|
/external/cmockery/cmockery_0_1_2/src/google/ |
D | cmockery.h | 154 #define assert_true(c) _assert_true((int)(c), #c, __FILE__, __LINE__) macro
|
/external/jemalloc/test/include/test/ |
D | test.h | 245 #define assert_true(a, ...) assert_b_eq(a, true, __VA_ARGS__) macro
|