Searched refs:cJSON_True (Results 1 – 11 of 11) sorted by relevance
91 #define cJSON_True (1 << 1) macro284 (object != NULL && ((object)->type & (cJSON_False|cJSON_True))) ? \285 …(object)->type=((object)->type &(~(cJSON_False|cJSON_True)))|((boolValue)?cJSON_True:cJSON_False) …
1342 item->type = cJSON_True; in parse_value()1401 case cJSON_True: in print_value()2411 item->type = cJSON_True; in cJSON_CreateTrue()2433 item->type = boolean ? cJSON_True : cJSON_False; in cJSON_CreateBool()2923 return (item->type & 0xff) == cJSON_True; in cJSON_IsTrue()2934 return (item->type & (cJSON_True | cJSON_False)) != 0; in cJSON_IsBool()3007 case cJSON_True: in cJSON_Compare()3030 case cJSON_True: in cJSON_Compare()
215 * `cJSON_True` (check with `cJSON_IsTrue`): Represents a `true` boolean value. You can also check f…
63 assert_parse_value("true", cJSON_True); in parse_value_should_parse_true()
92 TEST_ASSERT_EQUAL_INT(true_item->type, cJSON_True); in cjson_add_true_should_add_true()209 TEST_ASSERT_EQUAL_INT(true_item->type, cJSON_True); in cjson_add_bool_should_add_bool()
122 cJSON_True, in parse_object_should_parse_objects_with_multiple_elements()
123 cJSON_True, in parse_array_should_parse_arrays_with_multiple_elements()
171 item->type = cJSON_True | cJSON_StringIsConst; in typecheck_functions_should_check_type()684 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 1) == cJSON_True)); in cjson_set_bool_value_must_not_break_objects()
502 item->type = cJSON_True; in parse_value()539 case cJSON_True: { in print_value()565 case cJSON_True: in print_value()1046 if (item) item->type = cJSON_True; in cJSON_CreateTrue()1056 if (item) item->type = b ? cJSON_True : cJSON_False; in cJSON_CreateBool()
36 #define cJSON_True 1 macro
3444 … if (item != NULL && item->type == cJSON_True && inst && !inst->portability_enumeration_enabled) { in loader_parse_icd_manifest()