Home
last modified time | relevance | path

Searched refs:cbor_float_get_width (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/mit/libcbor/dist/src/cbor/
H A Dfloats_ctrls.c12 cbor_float_width cbor_float_get_width(const cbor_item_t *item) { in cbor_float_get_width() function
19 assert(cbor_float_get_width(item) == CBOR_FLOAT_0); in cbor_ctrl_value()
25 return cbor_float_get_width(item) == CBOR_FLOAT_0; in cbor_float_ctrl_is_ctrl()
30 assert(cbor_float_get_width(item) == CBOR_FLOAT_16); in cbor_float_get_float2()
36 assert(cbor_float_get_width(item) == CBOR_FLOAT_32); in cbor_float_get_float4()
42 assert(cbor_float_get_width(item) == CBOR_FLOAT_64); in cbor_float_get_float8()
48 switch (cbor_float_get_width(item)) { in cbor_float_get_float()
63 assert(cbor_float_get_width(item) == CBOR_FLOAT_16); in cbor_set_float2()
69 assert(cbor_float_get_width(item) == CBOR_FLOAT_32); in cbor_set_float4()
75 assert(cbor_float_get_width(item) == CBOR_FLOAT_64); in cbor_set_float8()
[all …]
H A Dfloats_ctrls.h35 cbor_float_width cbor_float_get_width(const cbor_item_t *item);
H A Dserialization.c270 switch (cbor_float_get_width(item)) { in cbor_serialize_float_ctrl()
/netbsd-src/external/mit/libcbor/dist/test/
H A Dtype_7_test.c29 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_16); in test_float2()
42 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_32); in test_float4()
56 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_64); in test_float8()
/netbsd-src/external/mit/libcbor/dist/src/
H A Dcbor.c146 switch (cbor_float_get_width(item)) { in _cbor_copy_float_ctrl()
335 fprintf(out, "Width: %dB, ", _pow(2, cbor_float_get_width(item))); in _cbor_nested_describe()
/netbsd-src/external/mit/libcbor/dist/doc/source/api/
H A Dtype_7.rst20 .. doxygenfunction:: cbor_float_get_width
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dcbor.c1634 cbor_float_get_width(item) != CBOR_FLOAT_0 || in cbor_decode_bool()