Searched refs:cbor_array_get (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/libcbor/examples/ |
| H A D | crash_course.c | 81 cbor_item_t* first_array_element = cbor_array_get(array_item, 0); in reference_counting() 114 cbor_item_t* first_array_element = cbor_array_get(array_item, 0); in moving_values() 139 cbor_item_t* first_array_element = cbor_array_get(array_item, 0); in moving_values()
|
| H A D | cbor2cjson.c | 45 cbor_to_cjson(cbor_move(cbor_array_get(item, i)))); in cbor_to_cjson()
|
| /freebsd/contrib/libcbor/test/ |
| H A D | array_test.c | 40 cbor_item_t* intermediate = cbor_array_get(arr, 0); in test_simple_array() 142 assert_uint8(cbor_move(cbor_array_get(array, 0)), 3); in test_array_replace() 143 assert_uint8(cbor_move(cbor_array_get(array, 1)), 2); in test_array_replace()
|
| H A D | copy_test.c | 107 assert_uint8(tmp = cbor_array_get(copy = cbor_copy(item), 0), 42); in test_def_array() 117 assert_uint8(tmp = cbor_array_get(copy = cbor_copy(item), 0), 42); in test_indef_array() 273 assert_uint8(tmp = cbor_array_get(copy, 0), 42); in test_definite_array() 287 assert_uint8(tmp = cbor_array_get(copy, 0), 42); in test_definite_indef_array() 304 tmp = cbor_array_get(copy, 0); in test_definite_indef_array_nested()
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | arrays.h | 44 CBOR_EXPORT cbor_item_t* cbor_array_get(const cbor_item_t* item, size_t index);
|
| H A D | arrays.c | 23 cbor_item_t* cbor_array_get(const cbor_item_t* item, size_t index) { in cbor_array_get() function
|
| /freebsd/contrib/libcbor/doc/source/api/ |
| H A D | type_4_arrays.rst | 49 .. doxygenfunction:: cbor_array_get
|
| /freebsd/contrib/libcbor/src/ |
| H A D | cbor.c | 235 cbor_item_t* entry_copy = cbor_copy(cbor_move(cbor_array_get(item, i))); in cbor_copy()
|