Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libcbor/dist/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 assert(cbor_int_get_width(item) == CBOR_INT_8); in cbor_get_uint8()
23 assert(cbor_int_get_width(item) == CBOR_INT_16); in cbor_get_uint16()
29 assert(cbor_int_get_width(item) == CBOR_INT_32); in cbor_get_uint32()
35 assert(cbor_int_get_width(item) == CBOR_INT_64); in cbor_get_uint64()
41 switch (cbor_int_get_width(item)) { in cbor_get_int()
57 assert(cbor_int_get_width(item) == CBOR_INT_8); in cbor_set_uint8()
63 assert(cbor_int_get_width(item) == CBOR_INT_16); in cbor_set_uint16()
69 assert(cbor_int_get_width(item) == CBOR_INT_32); in cbor_set_uint32()
75 assert(cbor_int_get_width(item) == CBOR_INT_64); in cbor_set_uint64()
H A Dints.h95 cbor_int_width cbor_int_get_width(const cbor_item_t *item);
H A Dserialization.c77 switch (cbor_int_get_width(item)) { in cbor_serialize_uint()
94 switch (cbor_int_get_width(item)) { in cbor_serialize_negint()
/netbsd-src/external/mit/libcbor/dist/test/
H A Dassertions.c12 assert_true(cbor_int_get_width(item) == CBOR_INT_8); in assert_uint8()
18 assert_true(cbor_int_get_width(item) == CBOR_INT_16); in assert_uint16()
24 assert_true(cbor_int_get_width(item) == CBOR_INT_32); in assert_uint32()
30 assert_true(cbor_int_get_width(item) == CBOR_INT_64); in assert_uint64()
H A Dtype_1_test.c29 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_very_short_int()
43 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_short_int()
57 assert_true(cbor_int_get_width(number) == CBOR_INT_16); in test_half_int()
71 assert_true(cbor_int_get_width(number) == CBOR_INT_32); in test_int()
85 assert_true(cbor_int_get_width(number) == CBOR_INT_64); in test_long_int()
H A Dtype_0_test.c29 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_very_short_int()
49 assert_true(cbor_int_get_width(number) == CBOR_INT_8); in test_short_int()
63 assert_true(cbor_int_get_width(number) == CBOR_INT_16); in test_half_int()
77 assert_true(cbor_int_get_width(number) == CBOR_INT_32); in test_int()
91 assert_true(cbor_int_get_width(number) == CBOR_INT_64); in test_long_int()
/netbsd-src/external/mit/libcbor/dist/src/
H A Dcbor.c123 switch (cbor_int_get_width(item)) { in _cbor_copy_int()
246 fprintf(out, "Width: %dB, ", _pow(2, cbor_int_get_width(item))); in _cbor_nested_describe()
252 fprintf(out, "Width: %dB, ", _pow(2, cbor_int_get_width(item))); in _cbor_nested_describe()
/netbsd-src/external/bsd/libfido2/dist/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 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 Dauthkey.c16 cbor_int_get_width(key) != CBOR_INT_8 || in parse_authkey()
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 Deddsa.c81 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 Des384.c42 cbor_int_get_width(key) != CBOR_INT_8) in decode_pubkey_point()
H A Drs256.c91 cbor_int_get_width(key) != CBOR_INT_8) in decode_rsa_pubkey()
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()
/netbsd-src/external/bsd/libfido2/dist/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()
/netbsd-src/external/mit/libcbor/dist/doc/source/api/
H A Dtype_0_1.rst77 .. doxygenfunction:: cbor_int_get_width
/netbsd-src/external/bsd/libfido2/dist/tools/
H A Dlargeblob.c462 cbor_int_get_width(v[i].key) != CBOR_INT_8) in decode_blob_entry()