Home
last modified time | relevance | path

Searched refs:cbor_int_get_width (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/libcbor/src/cbor/
H A Dints.c10 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 Dserialization.c66 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 Dints.h97 cbor_int_get_width(const cbor_item_t *item);
/freebsd/contrib/libcbor/test/
H A Dassertions.c13 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 Dnegint_test.c25 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 Duint_test.c26 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 Dcredman.c185 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 Dbio.c155 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 Dauthkey.c16 cbor_int_get_width(key) != CBOR_INT_8 || in parse_authkey()
H A Dcbor.c44 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 Deddsa.c81 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
H A Dinfo.c117 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 Drs256.c91 cbor_int_get_width(key) != CBOR_INT_8) in decode_rsa_pubkey()
H A Des384.c42 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
H A Dpin.c275 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 Dlargeblob.c192 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 Dassert.c23 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 Des256.c44 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
H A Dcred.c24 cbor_int_get_width(key) != CBOR_INT_8) { in parse_makecred_reply()
/freebsd/contrib/libcbor/src/
H A Dcbor.c120 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 Dmutator_aux.c54 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 Dtype_0_1.rst77 .. doxygenfunction:: cbor_int_get_width
/freebsd/contrib/libfido2/tools/
H A Dlargeblob.c462 cbor_int_get_width(v[i].key) != CBOR_INT_8) in decode_blob_entry()