Home
last modified time | relevance | path

Searched refs:cJSON_SetBoolValue (Results 1 – 3 of 3) sorted by relevance

/third_party/cJSON/tests/
Dmisc_tests.c680 TEST_ASSERT_TRUE((cJSON_SetBoolValue(refobj, 1) == cJSON_Invalid)); in cjson_set_bool_value_must_not_break_objects()
684 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 1) == cJSON_True)); in cjson_set_bool_value_must_not_break_objects()
686 cJSON_SetBoolValue(bobj, 1); in cjson_set_bool_value_must_not_break_objects()
688 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 0) == cJSON_False)); in cjson_set_bool_value_must_not_break_objects()
690 cJSON_SetBoolValue(bobj, 0); in cjson_set_bool_value_must_not_break_objects()
695 cJSON_SetBoolValue(sobj, 1); in cjson_set_bool_value_must_not_break_objects()
697 cJSON_SetBoolValue(sobj, 0); in cjson_set_bool_value_must_not_break_objects()
702 cJSON_SetBoolValue(oobj, 1); in cjson_set_bool_value_must_not_break_objects()
704 cJSON_SetBoolValue(oobj, 0); in cjson_set_bool_value_must_not_break_objects()
710 cJSON_SetBoolValue(refobj, 1); in cjson_set_bool_value_must_not_break_objects()
[all …]
/third_party/cJSON/
DcJSON.h283 #define cJSON_SetBoolValue(object, boolValue) ( \ macro
DCHANGELOG.md7 * Add cJSON_SetBoolValue, see #639