Home
last modified time | relevance | path

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

/third_party/cJSON/
H A DcJSON.h96 #define cJSON_True (1 << 1) macro
312 (object != NULL && ((object)->type & (cJSON_False|cJSON_True))) ? \
313 (object)->type=((object)->type &(~(cJSON_False|cJSON_True)))|((boolValue)?cJSON_True:cJSON_False) : \
H A DcJSON.c1580 item->type = cJSON_True; in parse_value()
1639 case cJSON_True: in print_value()
2668 item->type = cJSON_True; in cJSON_CreateTrue()
2690 item->type = boolean ? cJSON_True : cJSON_False; in cJSON_CreateBool()
3224 return (item->type & 0xff) == cJSON_True; in CJSON_PUBLIC()
3235 return (item->type & (cJSON_True | cJSON_False)) != 0; in CJSON_PUBLIC()
3320 case cJSON_True: in CJSON_PUBLIC()
3343 case cJSON_True: in CJSON_PUBLIC()
/third_party/cJSON/tests/
H A Dparse_value.c63 assert_parse_value("true", cJSON_True); in parse_value_should_parse_true()
H A 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()
H A Dparse_array.c123 cJSON_True, in parse_array_should_parse_arrays_with_multiple_elements()
H A Dparse_object.c122 cJSON_True, in parse_object_should_parse_objects_with_multiple_elements()
H A Dmisc_tests.c171 item->type = cJSON_True | cJSON_StringIsConst; in typecheck_functions_should_check_type()
694 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 1) == cJSON_True)); in cjson_set_bool_value_must_not_break_objects()
/third_party/vulkan-loader/loader/
H A DcJSON.h34 #define cJSON_True 1 macro
H A DcJSON.c510 item->type = cJSON_True; in parse_value()
547 case cJSON_True: { in print_value()
573 case cJSON_True: in print_value()
H A Dsettings.c149 if (treat_as_implicit_manifest && treat_as_implicit_manifest->type == cJSON_True) { in parse_layer_configuration()
H A Dloader.c3547 if (item != NULL && item->type == cJSON_True && inst && !inst->portability_enumeration_enabled) {

Completed in 19 milliseconds