Searched refs:cJSON_SetValuestring (Results 1 – 5 of 5) sorted by relevance
/third_party/cJSON/tests/ |
D | misc_tests.c | 445 TEST_ASSERT_NULL(cJSON_SetValuestring(NULL, "test")); in cjson_functions_should_not_crash_with_null_pointers() 446 TEST_ASSERT_NULL(cJSON_SetValuestring(corruptedString, "test")); in cjson_functions_should_not_crash_with_null_pointers() 657 return_value = cJSON_SetValuestring(cJSON_GetObjectItem(root, "one"), short_valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory() 664 return_value = cJSON_SetValuestring(cJSON_GetObjectItem(root, "one"), long_valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory() 669 return_value = cJSON_SetValuestring(cJSON_GetObjectItem(root, "two"), long_valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory()
|
/third_party/cJSON/ |
D | cJSON.h | 280 CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valuestring);
|
D | CHANGELOG.md | 46 * add new API of cJSON_SetValuestring, for changing the valuestring safely. See [#451](https://gith…
|
D | README.md | 234 it gets deleted as well. You also could use `cJSON_SetValuestring` to change a `cJSON_String`'s `va…
|
D | cJSON.c | 400 CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valuestring) in cJSON_SetValuestring() function
|