Home
last modified time | relevance | path

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

/freebsd/contrib/libcbor/test/
H A Dnegint_encoders_test.c25 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 Dstreaming_encoding.rst24 .. doxygenfunction:: cbor_encode_negint16
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.h48 _CBOR_NODISCARD CBOR_EXPORT size_t cbor_encode_negint16(uint16_t,
H A Dencoding.c41 size_t cbor_encode_negint16(uint16_t value, unsigned char *buffer, in cbor_encode_negint16() function
H A Dserialization.c198 return cbor_encode_negint16(cbor_get_uint16(item), buffer, buffer_size); in cbor_serialize_negint()