/external/tpm2-tss/test/unit/ |
D | tcti-device.c | 91 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_init_conf_fail() 97 assert_true (ret == TSS2_TCTI_RC_IO_ERROR); in tcti_device_init_conf_fail() 110 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_init_conf_default_fail() 117 assert_true (ret == TSS2_TCTI_RC_IO_ERROR); in tcti_device_init_conf_default_fail() 130 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_init_conf_default_success() 135 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_init_conf_default_success() 177 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_setup() 182 assert_true (ret == TSS2_RC_SUCCESS); in tcti_device_setup() 269 assert_true (rc == TSS2_RC_SUCCESS); in tcti_device_receive_success() 346 assert_true (rc == TSS2_RC_SUCCESS); in tcti_device_transmit_success() [all …]
|
D | key-value-parse.c | 33 assert_true (ret); in parse_key_value_simple_test() 128 assert_true (ret); in parse_key_value_alt_seps_test()
|
D | tcti-mssim.c | 219 assert_true (ret == TSS2_RC_SUCCESS); in tcti_socket_init_from_conf() 421 assert_true (rc == TSS2_TCTI_RC_IO_ERROR); in tcti_mssim_receive_eof_first_read_test() 457 assert_true (rc == TSS2_TCTI_RC_IO_ERROR); in tcti_mssim_receive_eof_second_read_test()
|
/external/AFLplusplus/test/unittests/ |
D | unit_maybe_alloc.c | 101 assert_true(buf == ptr); in test_null_allocs() 102 assert_true(size >= 100); in test_null_allocs() 118 assert_true(size >= 160); in test_nonpow2_size() 119 assert_true(buf[140] == '5'); in test_nonpow2_size() 141 assert_true(size >= 100); in test_zero_size() 173 assert_true(size >= 100); in test_grow_multiple() 181 assert_true(size >= 100); in test_grow_multiple() 189 assert_true(size >= 10000); in test_grow_multiple()
|
D | unit_list.c | 55 assert_true(list_contains(&testlist, &one)); in test_contains()
|
/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 | 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 | 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 | 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()
|
D | junk.c | 104 assert_true(!opt_junk_free || saw_junking, in test_junk() 114 assert_true(!opt_junk_free || saw_junking, in test_junk()
|
D | hooks.c | 29 assert_true(hook_called, "Hook should have executed."); in TEST_BEGIN()
|
D | prof_idump.c | 34 assert_true(did_prof_dump_open, "Expected a profile dump"); in TEST_BEGIN()
|
D | ph.c | 145 assert_true(heap_empty(&heap), "Heap should be empty"); in TEST_BEGIN() 304 assert_true(heap_empty(&heap), "Heap should be empty"); in TEST_BEGIN()
|
/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/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 65 assert_true(#e > 3 and #e < 10) 89 assert_true(#serialized > 0) 194 assert_true(#serialized > 0) 280 assert_true(#serialized > 0) 636 assert_true(#descriptor > 0) 691 assert_true(#serialized > 0) 693 assert_true(#upb.encode(empty_with_unknown) > 0) 695 assert_true(#upb.encode(empty_with_unknown, {upb.ENCODE_SKIPUNKNOWN}) == 0)
|
/external/bcc/tests/lua/ |
D | test_uprobes.lua | 65 assert_true(tonumber(stats:get(0)) >= 2)
|
/external/cn-cbor/test/ |
D | ctest.h | 126 void assert_true(int real, const char* caller, int line); 127 #define ASSERT_TRUE(real) assert_true(real, __FILE__, __LINE__) 283 void assert_true(int real, const char* caller, int line) { in assert_true() function
|
/external/python/mobly/mobly/ |
D | expects.py | 88 asserts.assert_true(condition, msg, extras)
|
/external/skia/src/core/ |
D | SkVM.h | 437 M(assert_true) \ 642 void assert_true(I32 cond, I32 debug); 643 void assert_true(I32 cond, F32 debug) { assert_true(cond, pun_to_I32(debug)); } in assert_true() function 644 void assert_true(I32 cond) { assert_true(cond, cond); } in assert_true() function 1218 SI void assert_true(I32 cond, I32 debug) { cond->assert_true(cond,debug); } in assert_true() function 1219 SI void assert_true(I32 cond, F32 debug) { cond->assert_true(cond,debug); } in assert_true() function 1220 SI void assert_true(I32 cond) { cond->assert_true(cond); } in assert_true() function
|