Home
last modified time | relevance | path

Searched refs:cbor_encode_single (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/libcbor/test/
H A Dfloat_ctrl_encoders_test.c145 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 Dstreaming_encoding.rst58 .. doxygenfunction:: cbor_encode_single
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.h125 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_single(float, unsigned char *,
H A Dencoding.c179 size_t cbor_encode_single(float value, unsigned char *buffer, in cbor_encode_single() function
H A Dserialization.c362 return cbor_encode_single(cbor_float_get_float4(item), buffer, in cbor_serialize_float_ctrl()