Lines Matching refs:cbor_bytestring_handle
154 assert_true(*cbor_bytestring_handle(bs) == 0xA1); in test_embedded_bs()
155 assert_memory_equal(cbor_bytestring_handle(bs), data2 + 1, 1); in test_embedded_bs()
173 assert_true(*cbor_bytestring_handle(bs) == 0xA1); in test_short_bs1()
174 assert_memory_equal(cbor_bytestring_handle(bs), data3 + 2, 1); in test_short_bs1()
186 assert_memory_equal(cbor_bytestring_handle(bs), data4 + 2, 0xFF); in test_short_bs2()
198 assert_memory_equal(cbor_bytestring_handle(bs), data5 + 3, 0xFF); in test_half_bs()
210 assert_memory_equal(cbor_bytestring_handle(bs), data6 + 5, 0xFF); in test_int_bs()
222 assert_memory_equal(cbor_bytestring_handle(bs), data7 + 9, 0xFF); in test_long_bs()
257 assert_true(*cbor_bytestring_handle(cbor_bytestring_chunks_handle(bs)[0]) == in test_short_indef()
281 assert_true(*cbor_bytestring_handle(cbor_bytestring_chunks_handle(bs)[0]) == in test_two_indef()
286 assert_true(*cbor_bytestring_handle(cbor_bytestring_chunks_handle(bs)[1]) == in test_two_indef()
304 assert_memory_equal(cbor_bytestring_handle(bs), "Hello!", 6); in test_inline_creation()