Searched refs:assert_false (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/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 | 47 assert_false(context.creation_failed); in test_builder_byte_string_callback_append() 48 assert_false(context.syntax_error); in test_builder_byte_string_callback_append() 89 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_alloc_failure() 123 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_item_alloc_failure() 157 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_parent_alloc_failure() 187 assert_false(context.syntax_error); in test_builder_string_callback_append() 225 assert_false(context.syntax_error); in test_builder_string_callback_append_alloc_failure() 257 assert_false(context.syntax_error); in test_builder_string_callback_append_item_alloc_failure() 289 assert_false(context.syntax_error); in test_builder_string_callback_append_parent_alloc_failure() 320 assert_false(context.syntax_error); in test_append_array_failure() [all …]
|
| 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 | float_ctrl_test.c | 94 assert_false(cbor_get_bool(float_ctrl)); in test_bool() 106 assert_false(cbor_get_bool(float_ctrl)); in test_bool()
|
| 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-14.2/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()
|