Home
last modified time | relevance | path

Searched refs:cJSON_GetObjectItemCaseSensitive (Results 1 – 9 of 9) sorted by relevance

/third_party/cJSON/tests/
Djson_patch_tests.c62 comment = cJSON_GetObjectItemCaseSensitive(test, "comment"); in test_apply_patch()
72 disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled"); in test_apply_patch()
79 doc = cJSON_GetObjectItemCaseSensitive(test, "doc"); in test_apply_patch()
81 patch = cJSON_GetObjectItemCaseSensitive(test, "patch"); in test_apply_patch()
87 expected = cJSON_GetObjectItemCaseSensitive(test, "expected"); in test_apply_patch()
88 error_element = cJSON_GetObjectItemCaseSensitive(test, "error"); in test_apply_patch()
134 disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled"); in test_generate_test()
141 doc = cJSON_GetObjectItemCaseSensitive(test, "doc"); in test_generate_test()
148 expected = cJSON_GetObjectItemCaseSensitive(test, "expected"); in test_generate_test()
Dcjson_add.c55 TEST_ASSERT_NOT_NULL(null = cJSON_GetObjectItemCaseSensitive(root, "null")); in cjson_add_null_should_add_null()
91 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_true_should_add_true()
171 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_false_should_add_false()
208 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_bool_should_add_bool()
213 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_bool_should_add_bool()
249 TEST_ASSERT_NOT_NULL(number = cJSON_GetObjectItemCaseSensitive(root, "number")); in cjson_add_number_should_add_number()
288 TEST_ASSERT_NOT_NULL(string = cJSON_GetObjectItemCaseSensitive(root, "string")); in cjson_add_string_should_add_string()
325 TEST_ASSERT_NOT_NULL(raw = cJSON_GetObjectItemCaseSensitive(root, "raw")); in cjson_add_raw_should_add_raw()
361 TEST_ASSERT_NOT_NULL(object = cJSON_GetObjectItemCaseSensitive(root, "object")); in cJSON_add_object_should_add_object()
396 TEST_ASSERT_NOT_NULL(array = cJSON_GetObjectItemCaseSensitive(root, "array")); in cJSON_add_array_should_add_array()
Dreadme_examples.c187 name = cJSON_GetObjectItemCaseSensitive(monitor_json, "name"); in supports_full_hd()
193 resolutions = cJSON_GetObjectItemCaseSensitive(monitor_json, "resolutions"); in supports_full_hd()
196 cJSON *width = cJSON_GetObjectItemCaseSensitive(resolution, "width"); in supports_full_hd()
197 cJSON *height = cJSON_GetObjectItemCaseSensitive(resolution, "height"); in supports_full_hd()
Dmisc_tests.c104 found = cJSON_GetObjectItemCaseSensitive(NULL, "test"); in cjson_get_object_item_case_sensitive_should_get_object_items()
107 found = cJSON_GetObjectItemCaseSensitive(item, NULL); in cjson_get_object_item_case_sensitive_should_get_object_items()
110 found = cJSON_GetObjectItemCaseSensitive(item, "one"); in cjson_get_object_item_case_sensitive_should_get_object_items()
114 found = cJSON_GetObjectItemCaseSensitive(item, "Two"); in cjson_get_object_item_case_sensitive_should_get_object_items()
118 found = cJSON_GetObjectItemCaseSensitive(item, "tHree"); in cjson_get_object_item_case_sensitive_should_get_object_items()
122 found = cJSON_GetObjectItemCaseSensitive(item, "One"); in cjson_get_object_item_case_sensitive_should_get_object_items()
146 found = cJSON_GetObjectItemCaseSensitive(array, "name"); in cjson_get_object_item_case_sensitive_should_not_crash_with_array()
382 TEST_ASSERT_NULL(cJSON_GetObjectItemCaseSensitive(NULL, "item")); in cjson_functions_should_not_crash_with_null_pointers()
383 TEST_ASSERT_NULL(cJSON_GetObjectItemCaseSensitive(item, NULL)); in cjson_functions_should_not_crash_with_null_pointers()
/third_party/cJSON/
DREADME.md276 If you want to access an item in an object, use `cJSON_GetObjectItemCaseSensitive`.
509 name = cJSON_GetObjectItemCaseSensitive(monitor_json, "name");
515 resolutions = cJSON_GetObjectItemCaseSensitive(monitor_json, "resolutions");
518 cJSON *width = cJSON_GetObjectItemCaseSensitive(resolution, "width");
519 cJSON *height = cJSON_GetObjectItemCaseSensitive(resolution, "height");
540 …NULL checks except for the result of `cJSON_Parse` because `cJSON_GetObjectItemCaseSensitive` chec…
584 …ins objects that have multiple members with the same name. `cJSON_GetObjectItemCaseSensitive` howe…
DcJSON.h173 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItemCaseSensitive(const cJSON * const object, const char * con…
DCHANGELOG.md82 * Fix a bug where `cJSON_GetObjectItemCaseSensitive` would pass a nullpointer to `strcmp` when call…
276 * Fix inconsistent prototype for `cJSON_GetObjectItemCaseSensitive`, see [51d3df6](https://github.c…
DcJSON.c1922 CJSON_PUBLIC(cJSON *) cJSON_GetObjectItemCaseSensitive(const cJSON * const object, const char * con… in cJSON_GetObjectItemCaseSensitive() function
2252 cJSON *to_detach = cJSON_GetObjectItemCaseSensitive(object, string); in cJSON_DetachItemFromObjectCaseSensitive()
DcJSON_Utils.c734 return cJSON_GetObjectItemCaseSensitive(object, name); in get_object_item()