Home
last modified time | relevance | path

Searched refs:cJSON_True (Results 1 – 11 of 11) sorted by relevance

/third_party/cJSON/
DcJSON.h91 #define cJSON_True (1 << 1) macro
284 (object != NULL && ((object)->type & (cJSON_False|cJSON_True))) ? \
285 …(object)->type=((object)->type &(~(cJSON_False|cJSON_True)))|((boolValue)?cJSON_True:cJSON_False) …
DcJSON.c1342 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()
DREADME.md215 * `cJSON_True` (check with `cJSON_IsTrue`): Represents a `true` boolean value. You can also check f…
/third_party/cJSON/tests/
Dparse_value.c63 assert_parse_value("true", cJSON_True); in parse_value_should_parse_true()
Dcjson_add.c92 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()
Dparse_object.c122 cJSON_True, in parse_object_should_parse_objects_with_multiple_elements()
Dparse_array.c123 cJSON_True, in parse_array_should_parse_arrays_with_multiple_elements()
Dmisc_tests.c171 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()
/third_party/vulkan-loader/loader/
DcJSON.c502 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()
DcJSON.h36 #define cJSON_True 1 macro
Dloader.c3444 … if (item != NULL && item->type == cJSON_True && inst && !inst->portability_enumeration_enabled) { in loader_parse_icd_manifest()