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 | 141 assert_size_equal(5, cbor_encode_single(3.4028234663852886e+38, buffer, 512)); in test_float() 145 assert_size_equal(5, cbor_encode_single(NAN, buffer, 512)); in test_float() 149 assert_size_equal(5, cbor_encode_single(nanf("3"), buffer, 512)); in test_float() 153 assert_size_equal(5, cbor_encode_single(strtof("Inf", NULL), buffer, 512)); in test_float() 157 assert_size_equal(5, cbor_encode_single(strtof("-Inf", NULL), buffer, 512)); in test_float()
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | encoding.h | 126 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_single(float, unsigned char*,
|
| H A D | encoding.c | 180 size_t cbor_encode_single(float value, unsigned char* buffer, in cbor_encode_single() function
|
| H A D | serialization.c | 390 return cbor_encode_single(cbor_float_get_float4(item), buffer, in cbor_serialize_float_ctrl()
|
| /freebsd/contrib/libcbor/doc/source/api/ |
| H A D | streaming_encoding.rst | 58 .. doxygenfunction:: cbor_encode_single
|