Home
last modified time | relevance | path

Searched refs:cJSON_CreateString (Results 1 – 10 of 10) 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.c364 cJSON *item = cJSON_CreateString("item"); in cjson_functions_should_not_crash_with_null_pointers()
366 cJSON *item1 = cJSON_CreateString("item1"); in cjson_functions_should_not_crash_with_null_pointers()
367 cJSON *item2 = cJSON_CreateString("corrupted array item3"); in cjson_functions_should_not_crash_with_null_pointers()
368 cJSON *corruptedString = cJSON_CreateString("corrupted"); in cjson_functions_should_not_crash_with_null_pointers()
406 TEST_ASSERT_NULL(cJSON_CreateString(NULL)); in cjson_functions_should_not_crash_with_null_pointers()
510 cJSON *string = cJSON_CreateString("test"); in cjson_get_string_value_should_get_a_string()
523 cJSON *string = cJSON_CreateString("test"); in cjson_get_number_value_should_get_a_number()
658 cJSON *item1 = cJSON_CreateString(stringvalue); in cjson_set_valuestring_to_object_should_not_leak_memory()
703 sobj = cJSON_CreateString("test"); in cjson_set_bool_value_must_not_break_objects()
Dmisc_int64_tests.c148 cJSON *item = cJSON_CreateString("item"); in cjson_functions_should_not_crash_with_null_pointers_with_int64()
162 cJSON *string = cJSON_CreateString("test"); in cjson_get_number_value_should_get_a_number_with_int64()
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/cJSON/
Dtest.c169 cJSON_AddItemToObject(root, "name", cJSON_CreateString("Jack (\"Bee\") Nimble")); in create_objects()
DcJSON_Utils.c1127 cJSON_AddItemToObject(patch, "op", cJSON_CreateString((const char*)operation)); in compose_patch()
1131 cJSON_AddItemToObject(patch, "path", cJSON_CreateString((const char*)path)); in compose_patch()
1142 cJSON_AddItemToObject(patch, "path", cJSON_CreateString((const char*)full_path)); in compose_patch()
DcJSON.h222 CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string);
DcJSON.c2403 cJSON *string_item = cJSON_CreateString(string); in cJSON_AddStringToObject()
2766 CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string) in cJSON_CreateString() function
2992 n = cJSON_CreateString(strings[i]); in cJSON_CreateStringArray()
DREADME.md242 * **strings** are created with `cJSON_CreateString` (copies the string) or with `cJSON_CreateString…
377 name = cJSON_CreateString("Awesome 4K");