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()48 CBOR_ASSERT(cbor_float_get_width(item) >= CBOR_FLOAT_0 && in cbor_float_get_float()49 cbor_float_get_width(item) <= CBOR_FLOAT_64); in cbor_float_get_float()50 switch (cbor_float_get_width(item)) { in cbor_float_get_float()72 CBOR_ASSERT(cbor_float_get_width(item) == CBOR_FLOAT_16); in cbor_set_float2()[all …]
149 CBOR_ASSERT(cbor_float_get_width(item) >= CBOR_FLOAT_0 && in cbor_serialized_size()150 cbor_float_get_width(item) <= CBOR_FLOAT_64); in cbor_serialized_size()151 switch (cbor_float_get_width(item)) { in cbor_serialized_size()380 CBOR_ASSERT(cbor_float_get_width(item) >= CBOR_FLOAT_0 && in cbor_serialize_float_ctrl()381 cbor_float_get_width(item) <= CBOR_FLOAT_64); in cbor_serialize_float_ctrl()383 switch (cbor_float_get_width(item)) { in cbor_serialize_float_ctrl()
38 cbor_float_get_width(const cbor_item_t* item);
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()73 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_0); in test_null()85 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_0); in test_undef()98 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_0); in test_bool()110 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_0); in test_bool()
46 assert_size_equal(cbor_float_get_width(half_float), CBOR_FLOAT_16); in assert_half_float_codec_identity()
147 CBOR_ASSERT(cbor_float_get_width(item) >= CBOR_FLOAT_0 && in _cbor_copy_float_ctrl()148 cbor_float_get_width(item) <= CBOR_FLOAT_64); in _cbor_copy_float_ctrl()149 switch (cbor_float_get_width(item)) { in _cbor_copy_float_ctrl()557 fprintf(out, "Width: %dB, ", _pow(2, cbor_float_get_width(item))); in _cbor_nested_describe()
20 .. doxygenfunction:: cbor_float_get_width
1634 cbor_float_get_width(item) != CBOR_FLOAT_0 || in cbor_decode_bool()