/dports/devel/libcbor/libcbor-0.9.0/test/ |
H A D | bad_inputs_test.c | 25 item = cbor_load(data1, 2, &res); in test_1() 33 item = cbor_load(data2, 1, &res); in test_2() 41 item = cbor_load(data3, 1, &res); in test_3() 50 item = cbor_load(data4, 7, &res); in test_4() 59 item = cbor_load(data5, 6, &res); in test_5() 68 item = cbor_load(data6, 5, &res); in test_6() 80 item = cbor_load(data7, 16, &res); in test_7() 93 item = cbor_load(data8, 39, &res); in test_8() 101 item = cbor_load(data9, 8, &res); in test_9()
|
H A D | bytestring_test.c | 141 bs = cbor_load(data1, 2, &res); in test_empty_bs() 152 bs = cbor_load(data2, 2, &res); in test_embedded_bs() 165 bs = cbor_load(data3, 2, &res); in test_notenough_data() 171 bs = cbor_load(data3, 4, &res); in test_short_bs1() 184 bs = cbor_load(data4, 259, &res); in test_short_bs2() 196 bs = cbor_load(data5, 259, &res); in test_half_bs() 208 bs = cbor_load(data6, 261, &res); in test_int_bs() 234 bs = cbor_load(data9, 2, &res); in test_zero_indef() 250 bs = cbor_load(data10, 6, &res); in test_short_indef() 273 bs = cbor_load(data11, 9, &res); in test_two_indef() [all …]
|
H A D | float_ctrl_test.c | 25 float_ctrl = cbor_load(float2_data, 3, &res); in test_float2() 38 float_ctrl = cbor_load(float4_data, 5, &res); in test_float4() 52 float_ctrl = cbor_load(float8_data, 9, &res); in test_float8() 65 float_ctrl = cbor_load(null_data, 1, &res); in test_null() 75 float_ctrl = cbor_load(undef_data, 1, &res); in test_undef() 85 float_ctrl = cbor_load(bool_data, 1, &res); in test_bool() 94 float_ctrl = cbor_load(bool_data + 1, 1, &res); in test_bool()
|
H A D | tag_test.c | 23 tag = cbor_load(embedded_tag_data, 2, &res); in test_refcounting() 36 tag = cbor_load(embedded_tag_data, 2, &res); in test_embedded_tag() 48 tag = cbor_load(int8_tag_data, 3, &res); in test_int8_tag() 60 tag = cbor_load(int16_tag_data, 4, &res); in test_int16_tag() 72 tag = cbor_load(int32_tag_data, 6, &res); in test_int32_tag() 85 tag = cbor_load(int64_tag_data, 10, &res); in test_int64_tag() 97 tag = cbor_load(nested_tag_data, 4, &res); in test_nested_tag()
|
H A D | uint_test.c | 27 number = cbor_load(data1, 2, &res); in test_very_short_int() 41 number = cbor_load(data2, 1, &res); in test_incomplete_data() 47 number = cbor_load(data2, 3, &res); in test_short_int() 61 number = cbor_load(data3, 5, &res); in test_half_int() 75 number = cbor_load(data4, 6, &res); in test_int() 89 number = cbor_load(data5, 10, &res); in test_long_int() 103 number = cbor_load(data5, 10, &res); in test_refcounting() 113 number = cbor_load(data5, 0, &res); in test_empty_input()
|
H A D | string_test.c | 23 string = cbor_load(empty_string_data, 1, &res); in test_empty_string() 39 string = cbor_load(short_string_data, 13, &res); in test_short_string() 57 string = cbor_load(short_multibyte_string_data, 16, &res); in test_short_multibyte_string() 86 string = cbor_load(int8_string_data, 152, &res); in test_int8_string() 120 string = cbor_load(int16_string_data, 153, &res); in test_int16_string() 153 string = cbor_load(int32_string_data, 155, &res); in test_int32_string() 187 string = cbor_load(int64_string_data, 159, &res); in test_int64_string() 209 string = cbor_load(short_indef_string_data, 6, &res); in test_short_indef_string()
|
H A D | map_test.c | 24 map = cbor_load(empty_map, 1, &res); in test_empty_map() 39 map = cbor_load(simple_map, 5, &res); in test_simple_map() 59 map = cbor_load(simple_indef_map, 6, &res); in test_indef_simple_map() 86 map = cbor_load(def_nested_map, 34, &res); in test_def_nested_map() 110 map = cbor_load(streamed_key_map, 8, &res); in test_streamed_key_map() 132 map = cbor_load(streamed_kv_map, 13, &res); in test_streamed_kv_map() 159 map = cbor_load(streamed_streamed_kv_map, 14, &res); in test_streamed_streamed_kv_map()
|
H A D | array_test.c | 23 arr = cbor_load(data1, 2, &res); in test_empty_array() 36 arr = cbor_load(data2, 3, &res); in test_simple_array() 62 arr = cbor_load(data3, 5, &res); in test_nested_arrays() 83 arr = cbor_load(test_indef_arrays_data, 4, &res); in test_indef_arrays() 103 arr = cbor_load(test_nested_indef_arrays_data, 7, &res); in test_nested_indef_arrays()
|
H A D | negint_test.c | 27 number = cbor_load(data1, 2, &res); in test_very_short_int() 41 number = cbor_load(data2, 3, &res); in test_short_int() 55 number = cbor_load(data3, 5, &res); in test_half_int() 69 number = cbor_load(data4, 6, &res); in test_int() 83 number = cbor_load(data5, 10, &res); in test_long_int()
|
H A D | pretty_printer_test.c | 27 cbor_item_t *item = cbor_load(data, 37, &res); in test_pretty_printer()
|
H A D | stack_over_limit_test.c | 25 cbor_load(overflow_data, overflow_data_len, &res); in test_stack_over_limit()
|
H A D | fuzz_test.c | 57 item = cbor_load(data, length, &res); in run_round()
|
/dports/devel/libcbor/libcbor-0.9.0/src/ |
H A D | cbor.h | 46 CBOR_EXPORT cbor_item_t* cbor_load(cbor_data source, size_t source_size,
|
H A D | cbor.c | 12 cbor_item_t *cbor_load(cbor_data source, size_t source_size, in cbor_load() function
|
/dports/devel/libcbor/libcbor-0.9.0/examples/ |
H A D | readfile.c | 33 cbor_item_t* item = cbor_load(buffer, length, &result); in main()
|
/dports/devel/libcbor/libcbor-0.9.0/doc/source/api/ |
H A D | decoding.rst | 41 .. doxygenfunction:: cbor_load
|
/dports/security/libfido2/libfido2-1.9.0/fuzz/ |
H A D | wrapped.sym | 19 cbor_load
|
H A D | fuzz_netlink.c | 32 (item = cbor_load(ptr, len, &cbor)) == NULL || in unpack()
|
H A D | fuzz_hid.c | 59 (item = cbor_load(ptr, len, &cbor)) == NULL || in unpack()
|
H A D | fuzz_largeblob.c | 71 (item = cbor_load(ptr, len, &cbor)) == NULL || in unpack()
|
H A D | wrap.c | 519 cbor_load,
|
/dports/devel/libcbor/libcbor-0.9.0/oss-fuzz/ |
H A D | cbor_load_fuzzer.cc | 73 cbor_item_t *item = cbor_load(Data, Size, &result); in LLVMFuzzerTestOneInput()
|
/dports/security/libfido2/libfido2-1.9.0/src/ |
H A D | cbor.c | 139 if ((item = cbor_load(blob + 1, blob_len - 1, &cbor)) == NULL) { in cbor_parse_reply() 1098 if ((item = cbor_load(*buf, *len, &cbor)) == NULL) { in decode_attcred() 1193 if ((item = cbor_load(*buf, *len, &cbor)) == NULL) { in decode_cred_extensions() 1261 if ((item = cbor_load(*buf, *len, &cbor)) == NULL) { in decode_assert_extensions()
|
H A D | largeblob.c | 237 if ((item = cbor_load(ptr, len, &cbor)) == NULL) { in largeblob_array_load() 880 if ((item = cbor_load(cbor_ptr, cbor_len, &cbor_result)) == NULL) { in fido_dev_largeblob_set_array()
|
/dports/devel/libcbor/libcbor-0.9.0/doc/source/ |
H A D | using.rst | 113 cbor_item_t * item = cbor_load(buffer, length, &result);
|