Searched refs:cbor_float_get_width (Results 1 – 8 of 8) sorted by relevance
12 cbor_float_width cbor_float_get_width(const cbor_item_t *item) { in cbor_float_get_width() function19 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 …]
38 cbor_float_get_width(const cbor_item_t *item);
141 switch (cbor_float_get_width(item)) { in cbor_serialized_size()355 switch (cbor_float_get_width(item)) { in cbor_serialize_float_ctrl()
31 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()
46 assert_size_equal(cbor_float_get_width(half_float), CBOR_FLOAT_16); in assert_half_float_codec_identity()
20 .. doxygenfunction:: cbor_float_get_width
142 switch (cbor_float_get_width(item)) { in _cbor_copy_float_ctrl() 413 fprintf(out, "Width: %dB, ", _pow(2, cbor_float_get_width(item)));
1634 cbor_float_get_width(item) != CBOR_FLOAT_0 || in cbor_decode_bool()