Searched refs:assert_false (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/libcbor/test/ |
| H A D | memory_utils_test.c | 16 assert_false(_cbor_safe_to_multiply(SIZE_MAX, 2)); in test_safe_multiply() 17 assert_false(_cbor_safe_to_multiply(SIZE_MAX, SIZE_MAX)); in test_safe_multiply() 24 assert_false(_cbor_safe_to_add(SIZE_MAX, 1)); in test_safe_add() 25 assert_false(_cbor_safe_to_add(SIZE_MAX, 2)); in test_safe_add() 26 assert_false(_cbor_safe_to_add(SIZE_MAX, SIZE_MAX)); in test_safe_add() 27 assert_false(_cbor_safe_to_add(SIZE_MAX - 1, SIZE_MAX)); in test_safe_add() 28 assert_false(_cbor_safe_to_add(SIZE_MAX - 1, SIZE_MAX - 1)); in test_safe_add()
|
| H A D | callbacks_test.c | 48 assert_false(context.creation_failed); in test_builder_byte_string_callback_append() 49 assert_false(context.syntax_error); in test_builder_byte_string_callback_append() 91 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_alloc_failure() 126 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_item_alloc_failure() 161 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_parent_alloc_failure() 192 assert_false(context.creation_failed); in test_builder_string_callback_append() 193 assert_false(context.syntax_error); in test_builder_string_callback_append() 233 assert_false(context.syntax_error); in test_builder_string_callback_append_alloc_failure() 267 assert_false(context.syntax_error); in test_builder_string_callback_append_item_alloc_failure() 301 assert_false(context.syntax_error); in test_builder_string_callback_append_parent_alloc_failure() [all …]
|
| H A D | float_ctrl_test.c | 100 assert_false(cbor_get_bool(float_ctrl)); in test_bool() 114 assert_false(cbor_get_bool(float_ctrl)); in test_bool() 140 assert_false(cbor_float_ctrl_is_ctrl(float_ctrl)); in test_ctrl_on_float() 141 assert_false(cbor_is_null(float_ctrl)); in test_ctrl_on_float() 142 assert_false(cbor_is_undef(float_ctrl)); in test_ctrl_on_float() 143 assert_false(cbor_is_bool(float_ctrl)); in test_ctrl_on_float()
|
| H A D | negint_test.c | 26 assert_false(cbor_isa_uint(number)); in test_very_short_int() 40 assert_false(cbor_isa_uint(number)); in test_short_int() 54 assert_false(cbor_isa_uint(number)); in test_half_int() 68 assert_false(cbor_isa_uint(number)); in test_int() 82 assert_false(cbor_isa_uint(number)); in test_long_int()
|
| H A D | array_test.c | 44 assert_false(cbor_array_set(arr, 1, new_val)); in test_simple_array() 45 assert_false(cbor_array_set(arr, 3, new_val)); in test_simple_array() 125 assert_false(cbor_array_replace(array, 0, three)); in test_array_replace() 135 assert_false(cbor_array_replace(array, 2, three)); in test_array_replace() 159 assert_false(cbor_array_push(array, one)); in test_array_push_overflow() 182 assert_false(cbor_array_push(array, string)); in test_array_push()
|
| H A D | uint_test.c | 28 assert_false(cbor_isa_negint(number)); in test_very_short_int() 48 assert_false(cbor_isa_negint(number)); in test_short_int() 62 assert_false(cbor_isa_negint(number)); in test_half_int() 76 assert_false(cbor_isa_negint(number)); in test_int() 90 assert_false(cbor_isa_negint(number)); in test_long_int()
|
| H A D | map_test.c | 187 assert_false(cbor_map_add(map, (struct cbor_pair){.key = one, .value = two})); in test_map_add_full() 204 assert_false(cbor_map_add(map, (struct cbor_pair){.key = one, .value = two})); in test_map_add_too_big_to_realloc() 228 assert_false( in test_map_add()
|
| H A D | bytestring_test.c | 317 assert_false(cbor_bytestring_add_chunk(bs, chunk)); in test_add_chunk_reallocation_overflow() 347 assert_false(cbor_bytestring_add_chunk(bytestring, chunk)); in test_bytestring_add_chunk()
|
| H A D | string_test.c | 264 assert_false(cbor_string_add_chunk(string, chunk)); in test_string_add_chunk() 285 assert_false(cbor_string_add_chunk(string, chunk)); in test_add_chunk_reallocation_overflow()
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | t_parse_host_string.c | 181 assert_false(k5_is_string_numeric("012345F6789")); in test_numeric_alpha() 187 assert_false(k5_is_string_numeric("123.456")); in test_numeric_period() 193 assert_false(k5_is_string_numeric("-123")); in test_numeric_negative() 199 assert_false(k5_is_string_numeric("")); in test_numeric_empty() 205 assert_false(k5_is_string_numeric("123 456")); in test_numeric_whitespace()
|
| /freebsd/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_assert.c | 65 ATF_TC(assert_false); 66 ATF_TC_HEAD(assert_false, tc) in ATF_TC_HEAD() argument 71 ATF_TC_BODY(assert_false, tc) in ATF_TC_BODY() argument 144 ATF_TP_ADD_TC(tp, assert_false); in ATF_TP_ADD_TCS()
|
| /freebsd/crypto/krb5/src/kdc/ |
| H A D | t_replay.c | 363 assert_false(result); in test_kdc_check_lookaside_no_hit() 380 assert_false(result); in test_kdc_check_lookaside_empty()
|
| /freebsd/sys/contrib/openzfs/tests/unit/ |
| H A D | munit.h | 493 # define assert_false(expr) munit_assert_false(expr) macro
|