Home
last modified time | relevance | path

Searched refs:assert_true (Results 1 – 25 of 50) sorted by relevance

12

/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c247 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/
Dmath.c45 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()
Dticker.c20 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()
Dbitmap.c14 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()
Dwitness.c118 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()
Dckh.c72 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()
Dprof_gdump.c40 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()
Dsize_classes.c37 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()
Djunk.c113 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/
Dmath.c44 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()
Dticker.c21 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()
Dwitness.c126 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()
Dbase.c124 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()
Dckh.c70 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()
Darena_reset.c234 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()
Dprof_gdump.c34 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()
Dsize_classes.c35 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()
Dbitmap.c183 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/
Dthread_tcache_enabled.c14 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()
Dextent.c48 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/
Dthread_tcache_enabled.c33 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()
Dchunk.c198 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/
Dexpect_nosetest.py18 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/
Dexpect_nosetest.py18 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/
Dkey_value_test.c57 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()

12