Home
last modified time | relevance | path

Searched refs:cJSON_Parse (Results 1 – 14 of 14) sorted by relevance

/third_party/cJSON/tests/
Dold_utils_tests.c69 root = cJSON_Parse(json); in json_pointer_tests()
178 cJSON *object_to_be_merged = cJSON_Parse(merges[i][0]); in merge_tests()
179 cJSON *patch = cJSON_Parse(merges[i][1]); in merge_tests()
200 cJSON *from = cJSON_Parse(merges[i][0]); in generate_merge_tests()
201 cJSON *to = cJSON_Parse(merges[i][2]); in generate_merge_tests()
Dcompare_tests.c33 a_json = cJSON_Parse(a); in compare_from_string()
35 b_json = cJSON_Parse(b); in compare_from_string()
126 raw1 = cJSON_Parse("\"[true, false]\""); in cjson_compare_should_compare_raw()
128 raw2 = cJSON_Parse("\"[true, false]\""); in cjson_compare_should_compare_raw()
Dmisc_tests.c72 item = cJSON_Parse("{\"one\":1, \"Two\":2, \"tHree\":3}"); in cjson_get_object_item_should_get_object_items()
104 item = cJSON_Parse("{\"one\":1, \"Two\":2, \"tHree\":3}"); in cjson_get_object_item_case_sensitive_should_get_object_items()
133 array = cJSON_Parse("[1]"); in cjson_get_object_item_should_not_crash_with_array()
144 array = cJSON_Parse("[1]"); in cjson_get_object_item_case_sensitive_should_not_crash_with_array()
219 TEST_ASSERT_NULL_MESSAGE(cJSON_Parse(deep_json), "To deep JSONs should not be parsed."); in cjson_should_not_parse_to_deeply_nested_jsons()
371 TEST_ASSERT_NULL(cJSON_Parse(NULL)); in cjson_functions_should_not_crash_with_null_pointers()
614 cJSON *root = cJSON_Parse("{}"); in cjson_delete_item_from_array_should_not_broken_list_structure()
617 cJSON *item1 = cJSON_Parse("{\"a\":\"123\"}"); in cjson_delete_item_from_array_should_not_broken_list_structure()
618 cJSON *item2 = cJSON_Parse("{\"b\":\"456\"}"); in cjson_delete_item_from_array_should_not_broken_list_structure()
641 cJSON *root = cJSON_Parse("{}"); in cjson_set_valuestring_to_object_should_not_leak_memory()
Dparse_examples.c36 parsed = cJSON_Parse(content); in parse_file()
142 tree = cJSON_Parse(test6); in file_test6_should_not_be_parsed()
187 tree = cJSON_Parse(test12); in test12_should_not_be_parsed()
Dreadme_examples.c175 cJSON *monitor_json = cJSON_Parse(monitor); in supports_full_hd()
Djson_patch_tests.c40 json = cJSON_Parse(file); in parse_test_file()
/third_party/cJSON/fuzzing/
Dafl.c116 item = cJSON_Parse(json + 2); in main()
/third_party/vulkan-loader/loader/
DcJSON.h69 cJSON *cJSON_Parse(const VkAllocationCallbacks *pAllocator, const char *value);
DcJSON.c474 cJSON *cJSON_Parse(const VkAllocationCallbacks *pAllocator, const char *value) { in cJSON_Parse() function
Dloader.c1674 *json = cJSON_Parse(inst ? &inst->alloc_callbacks : NULL, json_buf); in loader_get_json()
/third_party/cJSON/
DREADME.md265 Given some JSON in a zero terminated string, you can parse it with `cJSON_Parse`.
268 cJSON *json = cJSON_Parse(string);
279 The allocator used by `cJSON_Parse` is `malloc` and `free` by default but can be changed (globally)…
478 cJSON *monitor_json = cJSON_Parse(monitor);
521 Note that there are no NULL checks except for the result of `cJSON_Parse` because `cJSON_GetObjectI…
DcJSON.h148 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
DcJSON.c1176 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value) in cJSON_Parse() function
/third_party/musl/Benchmark/musl/
Dbenchmark_framework.cpp289 json = cJSON_Parse(file); in RegisterJsonBenchmarks()