/freebsd/contrib/libcbor/src/cbor/ |
H A D | ints.c | 10 cbor_int_width cbor_int_get_width(const cbor_item_t *item) { in cbor_int_get_width() function 17 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_8); in cbor_get_uint8() 23 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_16); in cbor_get_uint16() 29 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_32); in cbor_get_uint32() 35 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_64); in cbor_get_uint64() 42 switch (cbor_int_get_width(item)) { in cbor_get_int() 56 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_8); in cbor_set_uint8() 62 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_16); in cbor_set_uint16() 68 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_32); in cbor_set_uint32() 74 CBOR_ASSERT(cbor_int_get_width(item) == CBOR_INT_64); in cbor_set_uint64()
|
H A D | serialization.c | 66 switch (cbor_int_get_width(item)) { in cbor_serialized_size() 178 switch (cbor_int_get_width(item)) { in cbor_serialize_uint() 194 switch (cbor_int_get_width(item)) { in cbor_serialize_negint()
|
H A D | ints.h | 97 cbor_int_get_width(const cbor_item_t *item);
|
/freebsd/contrib/libcbor/test/ |
H A D | assertions.c | 13 assert_true(cbor_int_get_width(item) == CBOR_INT_8); in assert_uint8() 19 assert_true(cbor_int_get_width(item) == CBOR_INT_16); in assert_uint16() 25 assert_true(cbor_int_get_width(item) == CBOR_INT_32); in assert_uint32() 31 assert_true(cbor_int_get_width(item) == CBOR_INT_64); in assert_uint64()
|
H A D | negint_test.c | 25 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_very_short_int() 39 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_short_int() 53 assert_true(cbor_int_get_width(number) == CBOR_INT_16); in test_half_int() 67 assert_true(cbor_int_get_width(number) == CBOR_INT_32); in test_int() 81 assert_true(cbor_int_get_width(number) == CBOR_INT_64); in test_long_int()
|
H A D | uint_test.c | 26 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_very_short_int() 46 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_short_int() 60 assert_true(cbor_int_get_width(number) == CBOR_INT_16); in test_half_int() 74 assert_true(cbor_int_get_width(number) == CBOR_INT_32); in test_int() 88 assert_true(cbor_int_get_width(number) == CBOR_INT_64); in test_long_int()
|
/freebsd/contrib/libfido2/src/ |
H A D | credman.c | 185 cbor_int_get_width(key) != CBOR_INT_8) { in credman_parse_metadata() 264 cbor_int_get_width(key) != CBOR_INT_8) { in credman_parse_rk() 315 cbor_int_get_width(key) != CBOR_INT_8 || in credman_parse_rk_count() 502 cbor_int_get_width(key) != CBOR_INT_8) { in credman_parse_rp() 543 cbor_int_get_width(key) != CBOR_INT_8 || in credman_parse_rp_count()
|
H A D | bio.c | 155 cbor_int_get_width(key) != CBOR_INT_8) { in decode_template() 203 cbor_int_get_width(key) != CBOR_INT_8 || in bio_parse_template_array() 351 cbor_int_get_width(key) != CBOR_INT_8) { in bio_parse_enroll_status() 385 cbor_int_get_width(key) != CBOR_INT_8 || in bio_parse_template_id() 656 cbor_int_get_width(key) != CBOR_INT_8) { in bio_parse_info()
|
H A D | authkey.c | 16 cbor_int_get_width(key) != CBOR_INT_8 || in parse_authkey()
|
H A D | cbor.c | 44 if (cbor_int_get_width(curr) >= cbor_int_get_width(prev) && in ctap_check_cbor() 942 cbor_int_get_width(key) == CBOR_INT_8) { in find_cose_alg() 966 cbor_int_get_width(key) == CBOR_INT_8) { in find_cose_alg() 1157 cbor_int_get_width(val) != CBOR_INT_8) { in decode_cred_extension() 1172 cbor_int_get_width(val) != CBOR_INT_8) { in decode_cred_extension()
|
H A D | eddsa.c | 81 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
|
H A D | info.c | 117 cbor_int_get_width(item) != CBOR_INT_8) { in decode_protocol() 289 cbor_int_get_width(key) != CBOR_INT_8) { in parse_reply_element()
|
H A D | rs256.c | 91 cbor_int_get_width(key) != CBOR_INT_8) in decode_rsa_pubkey()
|
H A D | es384.c | 42 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
|
H A D | pin.c | 275 cbor_int_get_width(key) != CBOR_INT_8 || in parse_uv_token() 527 cbor_int_get_width(key) != CBOR_INT_8 || in parse_retry_count()
|
H A D | largeblob.c | 192 cbor_int_get_width(key) != CBOR_INT_8 || in parse_largeblob_reply() 283 cbor_int_get_width(key) != CBOR_INT_8) { in largeblob_do_decode()
|
H A D | assert.c | 23 cbor_int_get_width(key) != CBOR_INT_8 || in adjust_assert_count() 57 cbor_int_get_width(key) != CBOR_INT_8) { in parse_assert_reply()
|
H A D | es256.c | 44 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
|
H A D | cred.c | 24 cbor_int_get_width(key) != CBOR_INT_8) { in parse_makecred_reply()
|
/freebsd/contrib/libcbor/src/ |
H A D | cbor.c | 120 switch (cbor_int_get_width(item)) { in _cbor_copy_int() 313 fprintf(out, "Width: %dB, ", _pow(2, cbor_int_get_width(item))); in _cbor_nested_describe() 319 fprintf(out, "Width: %dB, ", _pow(2, cbor_int_get_width(item))); in _cbor_nested_describe()
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | mutator_aux.c | 54 cbor_int_get_width(item) != CBOR_INT_64) in unpack_int() 84 cbor_int_get_width(item) != CBOR_INT_8) in unpack_byte()
|
/freebsd/contrib/libcbor/doc/source/api/ |
H A D | type_0_1.rst | 77 .. doxygenfunction:: cbor_int_get_width
|
/freebsd/contrib/libfido2/tools/ |
H A D | largeblob.c | 462 cbor_int_get_width(v[i].key) != CBOR_INT_8) in decode_blob_entry()
|