Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libcbor/dist/test/
H A Dtype_1_encoders_test.c30 assert_int_equal(0, cbor_encode_negint16(1000, buffer, 2)); in test_negint16()
31 assert_int_equal(3, cbor_encode_negint16(1000, buffer, 512)); in test_negint16()
/netbsd-src/external/mit/libcbor/dist/src/cbor/
H A Dencoding.h35 size_t cbor_encode_negint16(uint16_t, unsigned char *, size_t);
H A Dencoding.c41 size_t cbor_encode_negint16(uint16_t value, unsigned char *buffer, in cbor_encode_negint16() function
H A Dserialization.c98 return cbor_encode_negint16(cbor_get_uint16(item), buffer, buffer_size); in cbor_serialize_negint()