Searched refs:cbor_get_bool (Results 1 – 7 of 7) sorted by relevance
100 assert_false(cbor_get_bool(float_ctrl)); in test_bool()102 assert_true(cbor_get_bool(float_ctrl)); in test_bool()112 assert_true(cbor_get_bool(float_ctrl)); in test_bool()114 assert_false(cbor_get_bool(float_ctrl)); in test_bool()
85 _CBOR_NODISCARD CBOR_EXPORT bool cbor_get_bool(const cbor_item_t* item);
65 bool cbor_get_bool(const cbor_item_t* item) { in cbor_get_bool() function
75 if (cbor_is_bool(item)) return cJSON_CreateBool(cbor_get_bool(item)); in cbor_to_cjson()
30 .. doxygenfunction:: cbor_get_bool
549 fprintf(out, "Bool: %s\n", cbor_get_bool(item) ? "true" : "false"); in _cbor_nested_describe()
119 - Rename `cbor_ctrl_is_bool` to `cbor_get_bool` and fix the behavior