Home
last modified time | relevance | path

Searched refs:cJSON_SetValuestring (Results 1 – 5 of 5) sorted by relevance

/third_party/cJSON/tests/
Dmisc_tests.c445 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/
DcJSON.h280 CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valuestring);
DCHANGELOG.md46 * add new API of cJSON_SetValuestring, for changing the valuestring safely. See [#451](https://gith…
DREADME.md234 it gets deleted as well. You also could use `cJSON_SetValuestring` to change a `cJSON_String`'s `va…
DcJSON.c400 CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valuestring) in cJSON_SetValuestring() function