Home
last modified time | relevance | path

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

/freebsd/contrib/libcbor/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 CBOR_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 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_16); in cbor_float_get_float2()
36 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_32); in cbor_float_get_float4()
42 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_64); in cbor_float_get_float8()
49 switch (cbor_float_get_width(item)) { in cbor_float_get_float()
68 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_16); in cbor_set_float2()
74 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_32); in cbor_set_float4()
80 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_64); in cbor_set_float8()
[all …]
H A Dfloats_ctrls.h38 cbor_float_get_width(const cbor_item_t *item);
H A Dserialization.c141 switch (cbor_float_get_width(item)) { in cbor_serialized_size()
355 switch (cbor_float_get_width(item)) { in cbor_serialize_float_ctrl()
/freebsd/contrib/libcbor/test/
H A Dfloat_ctrl_test.c31 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_16); in test_float2()
44 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_32); in test_float4()
58 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_64); in test_float8()
H A Dfloat_ctrl_encoders_test.c46 assert_size_equal(cbor_float_get_width(half_float), CBOR_FLOAT_16); in assert_half_float_codec_identity()
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_7.rst20 .. doxygenfunction:: cbor_float_get_width
/freebsd/contrib/libcbor/src/
H A Dcbor.c142 switch (cbor_float_get_width(item)) { in _cbor_copy_float_ctrl()
413 fprintf(out, "Width: %dB, ", _pow(2, cbor_float_get_width(item)));
/freebsd/contrib/libfido2/src/
H A Dcbor.c1634 cbor_float_get_width(item) != CBOR_FLOAT_0 || in cbor_decode_bool()