Searched refs:cbor_encode_single (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/libcbor/test/ |
H A D | float_ctrl_encoders_test.c | 145 assert_size_equal(5, cbor_encode_single(3.4028234663852886e+38, buffer, 512)); in test_float() 149 assert_size_equal(5, cbor_encode_single(NAN, buffer, 512)); in test_float() 155 assert_size_equal(5, cbor_encode_single(nanf("3"), buffer, 512)); in test_float() 160 assert_size_equal(5, cbor_encode_single(strtof("Inf", NULL), buffer, 512)); in test_float() 164 assert_size_equal(5, cbor_encode_single(strtof("-Inf", NULL), buffer, 512)); in test_float()
|
/freebsd/contrib/libcbor/doc/source/api/ |
H A D | streaming_encoding.rst | 58 .. doxygenfunction:: cbor_encode_single
|
/freebsd/contrib/libcbor/src/cbor/ |
H A D | encoding.h | 125 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_single(float, unsigned char *,
|
H A D | encoding.c | 179 size_t cbor_encode_single(float value, unsigned char *buffer, in cbor_encode_single() function
|
H A D | serialization.c | 362 return cbor_encode_single(cbor_float_get_float4(item), buffer, in cbor_serialize_float_ctrl()
|