Searched refs:cbor_encode_negint16 (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/libcbor/test/ |
H A D | negint_encoders_test.c | 25 assert_size_equal(0, cbor_encode_negint16(1000, buffer, 2)); in test_negint16() 26 assert_size_equal(3, cbor_encode_negint16(1000, buffer, 512)); in test_negint16()
|
/freebsd/contrib/libcbor/doc/source/api/ |
H A D | streaming_encoding.rst | 24 .. doxygenfunction:: cbor_encode_negint16
|
/freebsd/contrib/libcbor/src/cbor/ |
H A D | encoding.h | 48 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_negint16(uint16_t,
|
H A D | encoding.c | 41 size_t cbor_encode_negint16(uint16_t value, unsigned char *buffer, in cbor_encode_negint16() function
|
H A D | serialization.c | 198 return cbor_encode_negint16(cbor_get_uint16(item), buffer, buffer_size); in cbor_serialize_negint()
|