/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()
|
/external/jemalloc_new/test/unit/ |
D | math.c | 44 assert_true(double_eq_rel(exp(ln_gamma(x)), in TEST_BEGIN() 195 assert_true(double_eq_rel(ln_gamma(x), in TEST_BEGIN() 245 assert_true(double_eq_rel(pt_norm(p), pt_norm_expected[i], in TEST_BEGIN() 298 assert_true(double_eq_rel(pt_chi2(p, df, ln_gamma_df), in TEST_BEGIN() 359 assert_true(double_eq_rel(pt_gamma(p, shape, 1.0, in TEST_BEGIN() 373 assert_true(double_eq_rel( in TEST_BEGIN()
|
D | ticker.c | 21 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() 55 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); in TEST_BEGIN() 61 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); in TEST_BEGIN()
|
D | witness.c | 126 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 136 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 167 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 201 assert_true(saw_lock_error, "Expected witness lock error"); in TEST_BEGIN() 202 assert_true(saw_not_owner_error, "Expected witness not owner error"); in TEST_BEGIN() 230 assert_true(saw_owner_error, "Expected owner error"); in TEST_BEGIN() 260 assert_true(saw_depth_error, "Expected depth error"); in TEST_BEGIN()
|
D | base.c | 124 assert_true(did_alloc, "Expected alloc"); in TEST_BEGIN() 213 assert_true(called_dalloc, "Expected dalloc call"); in TEST_BEGIN() 214 assert_true(!called_destroy, "Unexpected destroy call"); in TEST_BEGIN() 215 assert_true(called_decommit, "Expected decommit call"); in TEST_BEGIN() 216 assert_true(called_purge_lazy, "Expected purge_lazy call"); in TEST_BEGIN() 217 assert_true(called_purge_forced, "Expected purge_forced call"); in TEST_BEGIN()
|
D | ckh.c | 70 assert_true(ckh_search(&ckh, missing, NULL, NULL), in TEST_BEGIN() 147 assert_true(ckh_search(&ckh, p[j], NULL, NULL), in TEST_BEGIN() 149 assert_true(ckh_remove(tsd, &ckh, p[j], &q, &r), in TEST_BEGIN() 175 assert_true(seen[j], "Item %zu not seen", j); in TEST_BEGIN() 190 assert_true(ckh_search(&ckh, p[i], NULL, NULL), in TEST_BEGIN() 192 assert_true(ckh_remove(tsd, &ckh, p[i], &q, &r), in TEST_BEGIN()
|
D | arena_reset.c | 234 assert_true(arena_i_initialized(arena_ind, true), in TEST_BEGIN() 247 assert_true(arena_i_initialized(MALLCTL_ARENAS_DESTROYED, false), in TEST_BEGIN() 315 assert_true(did_alloc, "Expected alloc"); in TEST_BEGIN() 319 assert_true(arena_i_initialized(arena_ind, true), in TEST_BEGIN() 324 assert_true(did_dalloc, "Expected dalloc"); in TEST_BEGIN() 328 assert_true(arena_i_initialized(MALLCTL_ARENAS_DESTROYED, false), in TEST_BEGIN()
|
D | prof_gdump.c | 34 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN() 39 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN() 61 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN()
|
D | size_classes.c | 35 assert_true(index < max_index, in TEST_BEGIN() 38 assert_true(size_class < max_size_class, in TEST_BEGIN() 93 assert_true(pind < max_pind, in TEST_BEGIN() 96 assert_true(size_class < max_psz, in TEST_BEGIN()
|
D | bitmap.c | 183 assert_true(bitmap_get(bitmap, binfo, i), "Bit should be set"); in test_bitmap_init_body() 216 assert_true(bitmap_full(bitmap, binfo), "All bits should be set"); in test_bitmap_set_body() 247 assert_true(bitmap_full(bitmap, binfo), "All bits should be set"); in test_bitmap_unset_body() 254 assert_true(bitmap_full(bitmap, binfo), "All bits should be set"); in test_bitmap_unset_body() 296 assert_true(bitmap_full(bitmap, binfo), "All bits should be set"); in test_bitmap_xfu_body() 344 assert_true(bitmap_full(bitmap, binfo), "All bits should be set"); in test_bitmap_xfu_body()
|
/external/jemalloc_new/test/integration/ |
D | thread_tcache_enabled.c | 14 assert_true(e0, "tcache should be enabled"); in thd_start() 25 assert_true(e0, "tcache should be enabled"); in thd_start() 30 assert_true(e0, "tcache should be enabled"); in thd_start() 47 assert_true(e0, "tcache should be enabled"); in thd_start() 53 assert_true(e0, "tcache should be enabled"); in thd_start()
|
D | extent.c | 48 assert_true(called_alloc, "Expected alloc call"); in test_extent_body() 58 assert_true(called_dalloc, "Expected dalloc call"); in test_extent_body() 59 assert_true(called_decommit, "Expected decommit call"); in test_extent_body() 60 assert_true(did_purge_lazy || did_purge_forced, in test_extent_body() 63 assert_true(called_split, "Expected split call"); in test_extent_body() 81 assert_true(did_split, "Expected split"); in test_extent_body() 89 assert_true(did_merge, "Expected merge"); in test_extent_body()
|
/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()
|
/external/deqp-deps/SPIRV-Tools/test/tools/ |
D | expect_nosetest.py | 18 from nose.tools import assert_equal, assert_true, assert_false 54 assert_true(test.check_stdout_match(status)[0])
|
/external/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | expect_nosetest.py | 18 from nose.tools import assert_equal, assert_true, assert_false 54 assert_true(test.check_stdout_match(status)[0])
|
/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()
|