Searched refs:cJSON_CreateString (Results 1 – 11 of 11) sorted by relevance
/third_party/cJSON/tests/ |
D | misc_utils_tests.c | 34 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()
|
D | misc_tests.c | 355 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()
|
D | old_utils_tests.c | 120 object2 = cJSON_CreateString("m~n"); in misc_tests() 127 object4 = cJSON_CreateString("m/n"); in misc_tests()
|
D | readme_examples.c | 66 name = cJSON_CreateString("Awesome 4K"); in create_monitor()
|
/third_party/vulkan-loader/loader/ |
D | cJSON.h | 104 cJSON *cJSON_CreateString(const VkAllocationCallbacks *pAllocator, const char *string);
|
D | cJSON.c | 1068 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/ |
D | test.c | 169 cJSON_AddItemToObject(root, "name", cJSON_CreateString("Jack (\"Bee\") Nimble")); in create_objects()
|
D | cJSON_Utils.c | 1110 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()
|
D | cJSON.h | 200 CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string);
|
D | cJSON.c | 2142 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()
|
D | README.md | 222 * **strings** are created with `cJSON_CreateString` (copies the string) or with `cJSON_CreateString… 357 name = cJSON_CreateString("Awesome 4K");
|