Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libcbor/dist/test/
H A Dtype_1_encoders_test.c36 assert_int_equal(0, cbor_encode_negint32(1000000, buffer, 4)); in test_negint32()
37 assert_int_equal(5, cbor_encode_negint32(1000000, buffer, 512)); in test_negint32()
/netbsd-src/external/mit/libcbor/dist/src/cbor/
H A Dencoding.h37 size_t cbor_encode_negint32(uint32_t, unsigned char *, size_t);
H A Dencoding.c46 size_t cbor_encode_negint32(uint32_t value, unsigned char *buffer, in cbor_encode_negint32() function
H A Dserialization.c100 return cbor_encode_negint32(cbor_get_uint32(item), buffer, buffer_size); in cbor_serialize_negint()