Searched refs:cJSON_strdup (Results 1 – 1 of 1) sorted by relevance
45 static char *cJSON_strdup(const char *str) { in cJSON_strdup() function604 out = cJSON_strdup("null"); in print_value()607 out = cJSON_strdup("false"); in print_value()610 out = cJSON_strdup("true"); in print_value()1067 item->string = cJSON_strdup(string); in cJSON_AddItemToObject()1159 newitem->string = cJSON_strdup(string); in cJSON_ReplaceItemInObject()1202 item->valuestring = cJSON_strdup(string); in cJSON_CreateString()1288 newitem->valuestring = cJSON_strdup(item->valuestring); in cJSON_Duplicate()1295 newitem->string = cJSON_strdup(item->string); in cJSON_Duplicate()