Home
last modified time | relevance | path

Searched refs:cbor_isa_bytestring (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/libcbor/test/
H A Dbytestring_test.c140 assert_true(cbor_isa_bytestring(bs)); in test_empty_bs()
151 assert_true(cbor_isa_bytestring(bs)); in test_embedded_bs()
170 assert_true(cbor_isa_bytestring(bs)); in test_short_bs1()
183 assert_true(cbor_isa_bytestring(bs)); in test_short_bs2()
195 assert_true(cbor_isa_bytestring(bs)); in test_half_bs()
207 assert_true(cbor_isa_bytestring(bs)); in test_int_bs()
219 assert_true(cbor_isa_bytestring(bs)); in test_long_bs()
233 assert_true(cbor_isa_bytestring(bs)); in test_zero_indef()
249 assert_true(cbor_isa_bytestring(bs)); in test_short_indef()
254 assert_true(cbor_isa_bytestring(cbor_bytestring_chunks_handle(bs)[0])); in test_short_indef()
[all …]
H A Dcallbacks_test.c54 assert_true(cbor_isa_bytestring(bytestring)); in test_builder_byte_string_callback_append()
62 assert_true(cbor_isa_bytestring(chunk)); in test_builder_byte_string_callback_append()
96 assert_true(cbor_isa_bytestring(bytestring)); in test_builder_byte_string_callback_append_alloc_failure()
130 assert_true(cbor_isa_bytestring(bytestring)); in test_builder_byte_string_callback_append_item_alloc_failure()
164 assert_true(cbor_isa_bytestring(bytestring)); in test_builder_byte_string_callback_append_parent_alloc_failure()
/freebsd/contrib/libcbor/src/cbor/
H A Dbytestrings.c13 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_length()
18 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_handle()
23 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_is_definite()
74 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_set_handle()
81 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_chunks_handle()
87 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_chunk_count()
93 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_bytestring_add_chunk()
95 CBOR_ASSERT(cbor_isa_bytestring(chunk)); in cbor_bytestring_add_chunk()
H A Dcommon.h181 CBOR_EXPORT bool cbor_isa_bytestring(const cbor_item_t *item);
H A Dcommon.c30 bool cbor_isa_bytestring(const cbor_item_t *item) { in cbor_isa_bytestring() function
H A Dserialization.c208 CBOR_ASSERT(cbor_isa_bytestring(item)); in cbor_serialize_bytestring()
/freebsd/contrib/libfido2/fuzz/
H A Dmutator_aux.c70 if (cbor_isa_bytestring(item) == false || in unpack_string()
95 if (cbor_isa_bytestring(item) == false || in unpack_blob()
/freebsd/contrib/libcbor/doc/source/api/
H A Ditem_types.rst24 .. doxygenfunction:: cbor_isa_bytestring
/freebsd/contrib/libfido2/src/
H A Deddsa.c63 if (cbor_isa_bytestring(item) == false || in decode_coord()
H A Drs256.c73 if (cbor_isa_bytestring(item) == false || in decode_bignum()
H A Des384.c24 if (cbor_isa_bytestring(item) == false || in decode_coord()
H A Dcbor.c183 if (cbor_isa_bytestring(item) == false || in cbor_bytestring_copy()
1299 if (cbor_isa_bytestring(item) == false || in cbor_decode_cred_authdata()
1348 if (cbor_isa_bytestring(item) == false || in cbor_decode_assert_authdata()
H A Des256.c26 if (cbor_isa_bytestring(item) == false || in decode_coord()
H A Dinfo.c54 if (cbor_isa_bytestring(item) == false || in decode_aaguid()
H A Dassert.c467 &cbor)) == NULL || cbor_isa_bytestring(item) == false || in fido_get_signed_hash()
/freebsd/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c237 if (ctx->stack->size > 0 && cbor_isa_bytestring(ctx->stack->top->item) && in cbor_builder_byte_string_callback()
/freebsd/contrib/libfido2/tools/
H A Dlargeblob.c434 cbor_isa_bytestring(item) == false || in decode_cbor_blob()
/freebsd/contrib/libfido2/regress/
H A Dcred.c2053 assert(cbor_isa_bytestring(item)); in raw_authdata()