Home
last modified time | relevance | path

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

/third_party/cJSON/tests/
Dmisc_utils_tests.c34 cJSON *item = cJSON_CreateString("item"); in cjson_utils_functions_shouldnt_crash_with_null_pointers()
54 item = cJSON_CreateString("item"); in cjson_utils_functions_shouldnt_crash_with_null_pointers()
56 item = cJSON_CreateString("item"); in cjson_utils_functions_shouldnt_crash_with_null_pointers()
Dmisc_tests.c355 cJSON *item = cJSON_CreateString("item"); in cjson_functions_should_not_crash_with_null_pointers()
357 cJSON *item1 = cJSON_CreateString("item1"); in cjson_functions_should_not_crash_with_null_pointers()
358 cJSON *item2 = cJSON_CreateString("corrupted array item3"); in cjson_functions_should_not_crash_with_null_pointers()
359 cJSON *corruptedString = cJSON_CreateString("corrupted"); in cjson_functions_should_not_crash_with_null_pointers()
397 TEST_ASSERT_NULL(cJSON_CreateString(NULL)); in cjson_functions_should_not_crash_with_null_pointers()
501 cJSON *string = cJSON_CreateString("test"); in cjson_get_string_value_should_get_a_string()
514 cJSON *string = cJSON_CreateString("test"); in cjson_get_number_value_should_get_a_number()
646 cJSON *item1 = cJSON_CreateString(stringvalue); in cjson_set_valuestring_to_object_should_not_leak_memory()
Dold_utils_tests.c120 object2 = cJSON_CreateString("m~n"); in misc_tests()
127 object4 = cJSON_CreateString("m/n"); in misc_tests()
Dreadme_examples.c66 name = cJSON_CreateString("Awesome 4K"); in create_monitor()
/third_party/vulkan-loader/loader/
DcJSON.h104 cJSON *cJSON_CreateString(const VkAllocationCallbacks *pAllocator, const char *string);
DcJSON.c1068 cJSON *cJSON_CreateString(const VkAllocationCallbacks *pAllocator, const char *string) { in cJSON_CreateString() function
1131 n = cJSON_CreateString(pAllocator, strings[i]); in cJSON_CreateStringArray()
/third_party/cJSON/
Dtest.c169 cJSON_AddItemToObject(root, "name", cJSON_CreateString("Jack (\"Bee\") Nimble")); in create_objects()
DcJSON_Utils.c1110 cJSON_AddItemToObject(patch, "op", cJSON_CreateString((const char*)operation)); in compose_patch()
1114 cJSON_AddItemToObject(patch, "path", cJSON_CreateString((const char*)path)); in compose_patch()
1125 cJSON_AddItemToObject(patch, "path", cJSON_CreateString((const char*)full_path)); in compose_patch()
DcJSON.h200 CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string);
DcJSON.c2142 cJSON *string_item = cJSON_CreateString(string); in cJSON_AddStringToObject()
2456 CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string) in cJSON_CreateString() function
2682 n = cJSON_CreateString(strings[i]); in cJSON_CreateStringArray()
DREADME.md222 * **strings** are created with `cJSON_CreateString` (copies the string) or with `cJSON_CreateString…
357 name = cJSON_CreateString("Awesome 4K");