Searched refs:cbor_encode_negint16 (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/mit/libcbor/dist/test/ |
| H A D | type_1_encoders_test.c | 30 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 D | encoding.h | 35 size_t cbor_encode_negint16(uint16_t, unsigned char *, size_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 | 98 return cbor_encode_negint16(cbor_get_uint16(item), buffer, buffer_size); in cbor_serialize_negint()
|